## World Line Rate Tester
[Software Part Address_MicroPython—Github](https://github.com/rtyfghvbnlndl/World_Function_Machine)
### Function
+ World Line Rate Tester (Random Number Generator)
+ WIFI Network Time Correction
+ Pausable Timer
+ Clock
+ Display Sensor Measured Data
![wordfunction.gif]
### Description
+ Power on and it will enter one of the modes [Clock, World Line Rate Tester, Timer, Test Mode]. Press key1 to switch the mode.
+ Press key3 to start/clear the timer, and press key2 to pause the timer .
+ In clock mode, [Temperature, Air Pressure, Humidity, Brightness] is displayed approximately every 20 seconds. Pressing key2 will directly start to display [Temperature, Air Pressure, Humidity, Brightness].
+ After powering on, animation will be displayed and time will be corrected.
+ Key3 is connected to the LED light, and the LED will light up when pressed.
+ In the world line rate tester mode, the LED will flash to indicate that it is exploring the world line, so key3 cannot be pressed. In addition, key2 has no function.
You need to manually fill in the ssid and password in ```main.py```python
if
not wlan.isconnected():
lcdC.display.text('wifi...',0,0)
lcdC.display.show()
#Change the ssid and password of wifi
wlan.connect('openwrt', 'open1234')
``` ### Schematic diagram & list & pictures First take a look at the world line change rate tester! When the number changes, a 3mm led will light up. ![world_function.jpg] The clock will also display sensor data. ![clock.jpg] I made a new timer, but I don't have any photos yet. ### Changes
1. Rotated the nodemcu so that the usb port faces outward. It is convenient for debugging 2. The rst of ds1302 is connected to gpio5. 3. The bh1750 is placed in a better light position to solve the problem of not being able to display the number when the light is too dark. 4. TVS is added to avoid burning IC when plugging in charger. > The new board tries to improve the problem of the old board, but there is no proof, please check. ### List 1. 0.91 OLED 8pcs 2. NODEMCU-ESP32S development board 1pc 3. TCA9548A module 1pc 4. AMS1117 module 1pc 5. DHT11 module (four-pin single module, no base plate) 1pc 6. GY-68 BMP180 module 1pc 7. GY-302 BH1750 module 1pc 8. DS1302 module 1pc 9. Type-C full patch 1pc 10. 6*6 touch switch 3pcs 11. 10k 0603 resistor 2pcs 12. 100Ω 0603 resistor 1pc 13. 5k1 0603 resistor 1pc 14. 4*7 capacitor 0.1uf 8pcs 15. 5050LED WS2812B 8pcs 16. 3mm LED 1pc 17. Several 4*7 direct-insert capacitors for decoration 18. Several pin and female headers