Skip to content


Arduino, ESP8266 & Raspberry Pi stuff


Not really an Arduino this time, but one of the smaller chips (Attiny45) that is used to control the watering of the garden. However, the Arduino was used to develop the software Glimlach.

The schedule is quite simple: The connector at the left is attached to a humidity sensor. Together with R1 that forms a voltage divider that feeds into physical pin 3 of the Attiny which is analog pin 2. The voltage on that pin is then compared to the voltage on physical pin 2 (which is analog pin 3).

If the soil is dry, the resistance between the two poles of the sensor will go up and thus the voltage on pin 3 will drop below the value set with P1. This will make the software in the chip turn Digital I/O 2 (physical pin 7) high. This will signal LED1 and switch on SolidState relais IC2.


View original post 1,353 more words


From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: