Interactive LED Coffee Table – Arduino Compatible

  • Rajkumar Sharma
  • 23 Views
  • easy
  • Tested
  • SKU: EL130660
  • Quote Now
socialicon

The project demonstrated here is an IR proximity sensor-based LED light, mainly designed for interactive coffee tables, but also can be used as single interactive light. The table can be made with multiple of these PCBs. Multiple tiles can be used as shown in the image below, each tile will light up when an object is placed over the sensor. Only the LEDs that are to the sensor area will light up. The project is Arduino compatible and consists of an ATMEGA328 chip, 16 x 5mm LEDs, ULN2803 multi-output driver for LEDs, IR Sensor, 5mm IR LED, and BC847 BJT transistor. The operating supply is 5V DC @ 200mA current.

Note 1: It is important to use an original IR LED and IR sensor from Vishay, as cheap sensors have lots of noise and cause abnormal behavior. Especially black sleeve/cover is required around the LED so IR emissions do not leak and hit the IR sensor directly.
Note 2: The user may replace the LED with green, blue, yellow, orange, or white. In this case, consider the voltage and current of LEDs, and choose the appropriate LED series resistor as per the LED datasheet.
Note 3: The project may be used for other LED light applications as well, that’s why all 8 LED groups kept independent to create multiple light effects and colors.
Note 4: Optional U4 connector provided for Analog sensor input, in case of external sensor interface is required.

Features

  • Supply 5V DC @ 200mA
  • 8 x LED Groups to Create Multiple LED effects
  • On-Board IR LED
  • Sensing Distance 2 cm to 15 cm
  • On-Board IR Sensor
  • PCB Dimensions 95.98 x 95.25mm
  • 4 x 3mm Mounting Holes

Arduino Pins and Other Connections

  • Arduino Analog Pin A0 Optional analog Sensor Interface Connector U4
  • CN1: Arduino Programming and Boot-Loader, Pin1 TX, Pin 2 RX, Pin 3 Reset, Pin 4 GND, Pin 5 VCC, Pin 6 D11, Pin 7 D12, Pin 8 D13
  • Arduino Digital Pin D4 = LED 8 and LED 16
  • Arduino Digital Pin D5 = LED 7 and LED 15
  • Arduino Digital Pin D6 = LED 6 and LED 14
  • Arduino Digital Pin D7 = LED 5 and LED 13
  • Arduino Digital Pin D8 = LED 4 and LED 12
  • Arduino Digital Pin D9 = LED 3 and LED 11
  • Arduino Digital Pin D10 = LED 2 and LED 10
  • Arduino Digital Pin D11 = LED 1 and LED 9
  • Arduino Digital Pin D2 IR Sensor
  • Arduino Digital Pin D3 IR LED
  • CN2: Pin 1 VCC 5V DC, Pin 2 VCC 5V DC, Pin 3 GND, Pin 4 GND

Arduino Programming

Sample Arduino code is available as a download. The ATmega328 chip generates 38Khz pulses which drive the IR LED using a BC847 transistor, IR sensor is installed close to IR LED, When an object approaches the IR light, it reflects and falls on the IR sensor. IR sensor sends the signal to the ATMEGA328 chip and it drives all the outputs high, thus all LEDs are ON and continue in the same state until the object is removed. Refer to the connection diagram for bootloader burning and programming the ATMEGA chip with help of Arduino IDE. Users may write their own code as per requirements.

Schematic

Parts List

NOQNTYREFDESCMANUFACTURER PART NO
11CN18 PIN MALE HEADER RIGHT ANGLE PITCH 2.54MMWURTH732-5321-ND
21CN24 PIN MALE HEADER RIGHT ANGLE PITCH 2.54MMWURTH732-5317-ND
34C1,C4,C5,C90.1uF/10V CERAMIC SMD SIZE 0805YAGEO/MURATA
41C247uF/10V CERAMIC SMD SIZE 1210YAGEO/MURATA
51C310uF/10V CERAMIC SMD SIZE 0805YAGEO/MURATA
62C6,C722PF/50V CERAMIC SMD SIZE 0805YAGEO/MURATA
73U4,C8,D17DNP
816D1 TO D165MM RED LED OR GREENSUNLED1497-XCMDK12D-ND
91D18IR LED 5MMKINGBRIGHT754-2222-ND
101J1WIRE JUMPER JUMPERWIRE JUMPER
111Q1BC847ALNEXPERIA1727-2924-2-ND
128R1,R2,R3,R4,R5,R6,R7,R8100E 5% SMD SIZE 0805YAGEO/MURATA
132R9,R1110K 5% SMD SIZE 0805YAGEO/MURATA
141R101M 5% SMD SIZE 0805YAGEO/MURATA
152R12,R1310E 5% SMD SIZE 0805YAGEO/MURATA
161R142.2K 5% SMD SIZE 0805YAGEO/MURATA
171R1562E 5% SMD SIZE 0805YAGEO/MURATA
181U1ATMEGA328TQPF-32MICROCHIPATMEGA328PB-AURCT-ND
191U2ULN2803ATIULN2803ADW-ND
201U3TSMP58138VISHAYTSMP58138
211X116MhzECS INCX1103-ND

Connections

Installation



Gerber View

Photos

Video


ULN2803 Datasheet

uln2803a

PCB

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS