| Navigation |
|---|
| Home & news |
| Random page |
| All pages |
| Databases |
|---|
| Fortune cookies |
| SID themes |
| Fund my projects |
|---|
| "Shut up & take my money!" |
| Patreon |
| Steady |
| Don't miss |
|---|
| Page thumbnail Rasp64 |
| Forum |
|---|
| Register |
| Log in |
| Latest comments |
| Syndication |
|---|
| RSS feed |
| Feedback |
|---|
This pot plant is connected to my computer. Every five minutes or so, the resistance of the soil is measured. The resistance varies indirectly with the dampness of the soil, as you can see in the graph.
I water the plant every few days, as indicated. It would be fun to extend this into a full-blown irrigation system by building some kind of motorized watering contraption, but I don't want to risk the wooden floor. =)
This is the world's cheapest ohm-meter:
SchematicThe microcontroller drains the capacitor by providing a 0V output on the pin. It then re-configures the pin into a high-impedance input pin and resets an internal clock. Now the capacitor is slowly charged through the resistor (soil), and when the voltage level has become so high that it corresponds to a logical 1, the microcontroller receives a pin change interrupt, reads the clock and reports this value to the computer.
Posted Wednesday 9-Jan-2008 17:20
Disclaimer: I am not responsible for what people (other than myself) write in the forums. Please report any abuse, such as insults, slander, spam and illegal material, and I will take appropriate actions. Don't feed the trolls.
Jag tar inget ansvar för det som skrivs i forumet, förutom mina egna inlägg. Vänligen rapportera alla inlägg som bryter mot reglerna, så ska jag se vad jag kan göra. Som regelbrott räknas till exempel förolämpningar, förtal, spam och olagligt material. Mata inte trålarna.
9 more comments hidden. Click to show all.