Plot clock&weather station, button enabled by linahirsch 3d model
3dmdb logo
Thingiverse
Plot clock&weather station, button enabled by linahirsch

Plot clock&weather station, button enabled by linahirsch

by Thingiverse
Last crawled date: 4 years, 1 month ago
https://www.youtube.com/watch?v=v00p0OMZU2o
I modified Joo's plotclock and the plotclock stand by Monaro a little bit.
Pushing one of the buttons triggers code execution. You can choose wether it should display the time(Real-time clock chip inside) or the temperature (in °F) plus a weather icon.
The buttons are wired with a 8.2k resistor to GND and Power.
The signal cable goes to pin 5 for the time and pin 6 for the weather. The trigger in the code is a if-structure like this:
if(digitalRead(TIMEPIN)!=HIGH){
//execute time code
}
if(digitalRead(WEATHERPIN)!=HIGH){
//execute weather code
}
UPDATE
Source code can be found here:https://github.com/imbalino/plotclock-weatherstation

Tags