An Arduino-based clock with 180 RGB LEDs. The LEDs are driven via 12 TLC5925 1- channel constant-current addressable drivers – [via]
Its built on doublesided copper clad board using Toner transfer method. The routes aren’t smaller than 0.44mm and all vias are made for 0.8mm drilling (truly DIY). Just around 5 vias are under a component and 7 segment displays have singnals only from bottom side (for easy soldering)
- 180 RGB LEDs driven by TLC5925 constant current LED drivers
- each LED addressed separately (12x TLC5925 with 16 outputs each)
- each colour adressed individually
- 4x 7 segment LED display
- Atmega328P as MCU
- DS1307 real time clock
- Photoresistor (for adjusting brightness)
- And DHT11 for temperature and humidity
- Backup battery for clock
- 5V DC (eg USB)
Clock with 180 RGB LEDs on home-etched circuit board - [Link]
I’d really like to know how to “”convert”” an analog value to a digital one. In a word : I have an Arduino, a photoresistor, with a pull-down resistor. I want to know if the light is above or below a given threshold.
I know how to read the value with analogRead(photoResPin), and compare it to my threshold (in code), but I’d like to do that without software (only using digitalRead), handling that threshold in hardware.
Can you help me ?
I guess I can use a transistor, but don’t know how to “”precisely”” set the threshold (by changing the pull-down resistor value ?).
How can I convert an analog value to a digital one? - [Link]