sudomesh / gardenmesh

a mesh for your garden
GNU General Public License v2.0
9 stars 2 forks source link

Decide on light sensor setup #13

Open paidforby opened 7 years ago

paidforby commented 7 years ago

A couple different ideas have been thrown around.

Ideally, we want to be able to use a digital pin to perform this measurement. I think the cheapest, simplest option is to use two photocells connected to two different value capacitors (one to detect dark values and one to detect bright values).

paidforby commented 7 years ago

Me and scott seem to think using an analog multiplexer IC would be the best/cheapest route, plus it would add a lot of analog pins for additional modules. Just picked a few ICs from Al lashers, will test later and update code.