An IoT watch with WIZnet W7500
The good old 7-segment display was used extensively towards the end of the last century. It is a kind of electronic display for displaying decimal numbers, which was a cost-effective alternative to the more complex matrix displays. Somewhere in a drawer you will surely find a copy. SNTP (Simple Network Time Protocol) is a network protocol used to synchronize Internet time. The Real Time Clock provides the current time information. It counts the date, time, minutes, and seconds through independent MCU or CPU operation.
: 1EA (Cortex-M0 Platform board)
• LED Display
Common Anode Type, Array 7 Segment: 2EA
• tact switch
• 220Ohm resistance
• 1kOhm resistance
• 10k resistance
• jumper wires
The A ~ G pins of the 7-segment display are connected in parallel with the WIZwiki W7500 board, as shown in the diagram above. By using a npn transistor of 3.3 V, general pins can be optionally connected.
As you can see in the demonstration movie, when the WIZwiki W7500 board is reset, the time information is retrieved from the NTP server. If the RED LED is on, this means that the time information is successfully retrieved via the NTP server. The time information is recorded in the RTC. The current time of the RTC is displayed on the 7-segment display. Each time the switch is operated, the time and date information is displayed alternately on the 7-segment display.
code The firmware is programmed on the mbed-Online compiler. If you click the link below, you can get the source code.
Source : https://www.soselectronic.de/articles/wiznet/eine-iot-uhr-mit-wiznet-w7500-1912
Tag : 201603, W7500, NTP, RTC