Stationeers

Stationeers

评价数不足
In-game clock on logical elements
由 PheoniX 制作
In this manual, I will describe the composition of the scheme for converting the angle of position of the sun relative to a daylight sensor in in-game time. Time output will be carried out on 2 LED-displays. Also, this scheme can be accommodated in just one block, which contributes to its maximum compactness.

P.S. English is not my native language, please dont judge strictly for errors :)
   
奖励
收藏
已收藏
取消收藏
Video review of the construction and configuration of the whole scheme (in Russian)
Elements for construction
1) Input/Output Logic Chips - x4
2) Processor Logic Chip - x12
3) Memory Logic Chip - x5
4) LED display - x2
5) Cable ~ 130-150
Energy consumption
330W - so much consume all the logical elements
120W - scheme of recording hours and minutes in LED displays (for each scheme)
General view of the scheme
Labeling of schema elements
LR1-LR2 - Logic Reader
MU1-MU7 - Logic Math
SU1-SU2 - Logic Select
CU1 - Logic Compare
UMU1-UMU2 - Logic Unary
M1-M5 - Logic Memory
LW1-LW2 - Logic Writer
Values of the coefficients M1-M5
M1 = 4 - The ratio of the angle of the sun to the minutes for half the day
M2 = 720 - Minutes in half a day (12 hours)
M3 = 60 - Minutes in an hour
M4 = 6 - Hours to shift the beginning of the day
M5 = 24 - Hours in a day
Daylight sensor and its placement
The sensor should be directed to the east, located as close to the surface and illuminated by the sun throughout the day - in this case, the moment of transition from day to night time will be almost invisible.
Description of circuit elements and their connections
The description is given in the order of operation of the circuit.

1) LR1 - Obtaining the angle of the sun from the sensor
Input (1) - Daylight sensor
Output (2) - Solar angle

2) LR2 - Receiving time-of-day data
Input (1) - Daylight sensor
Output (2) - Activate

3) MU1 - Conversion of the angle of the sun in minutes for 0-180 (Day)
Input (1) - LR1
Input (2) - M1
Action (3) - Multiply

4) MU2 - Correction for the direction of counting minutes at an angle of 180-0 (Night)
Input (1) - M2
Input (2) - MU1
Action (3) - Subtruct

5) MU3 - Add 720 minutes for the night to start at 721 minutes
Input (1) - MU2
Input (2) - M2
Action (3) - Add

6) SU1 - Determination of the required minutes depending on the time of day
Input (1) - LR2
Input (2) - MU3
Output (3) - MU1

7) MU4 - Convert minutes to hours
Input (1) - SU1
Input (2) - M3
Action (3) - Divide

8) MU5 - Receiving current minutes (0-59)
Input (1) - SU1
Input (2) - M3
Action (3) - Mod

9) MU6 - The shift of sunrise to 6:00 instead 00:00
Input (1) - MU4
Input (2) - M4
Action (3) - Add

10) CU1 - Restriction of the duration of the day to 24 hours, after their shift at 6 o'clock
Input (1) - MU6
Input (2) - M5
Action (3) - Less

11) MU7 - Getting "lost" hours 0-5
Input (1) - MU6
Input (2) - M5
Action (3) - Mod

12) SU2 - Adjusting the hour value to 0-24
Input (1) - CU1
Output (2) - MU7
Output (3) - MU6

13) UMU1 - Rounding minutes to format 0-59
Input (1) - MU5
Action (2) - Floor

14) UMU2 - Rounding the clock to the format 0-23
Input (1) - SU2
Action (2) - Floor
Time display scheme on LED-displays
The values of UMU1 and UMU2, we output on 2 LED-displays, for example, according to the following scheme:


1) LW1 - Record in the LED-display for hours
Input (1) - UMU2
Output (2) - LED-display for hours
Mode (3) - Setting

2) LW2 - Record in the LED-display for minutes
Input (1) - UMU1
Output (2) - LED-display for minutes
Mode (3) - Setting
Compact version
The whole scheme can be placed inside one block, as shown in the pictures below

1 条留言
KK419 2018 年 2 月 5 日 上午 2:20 
nice :-) using the sun angle to work out time. brilliant.