Powering Addressable LED through Sensor

Devices used

  • Arduino Uno
  • Arduino IDE Software
  • USB Cable to connect Arduino to power source
  • Jumper wires
  • Addressable 5V LED Strip
  • Ultra Sonic Sensor
  • Breadboard

The idea for my device of the work is Ambi-Light – where you stick strips of LED at the back of a computer/TV for some light decoration, especially in a dim-lit setting. I spent  many hours of my weekend getting the code right, partly due to me being particularly unfamiliar and uncertain with Arduino. Eventually, after spending many hours tweaking codes, the outcome is closer to what I have expected.

In the context of a trade show, this ambi-light would be put in a backdrop of a black curtain behind laptops -which are for sale. With the sensor devices attached to it, it can detect distance of an object. This determines how the LED strip will function – where the further the visitors are from device, the more ‘flashy’ the out LED strips appear to be. This would result in an attention drawn to the product as visitors pass by the trade booths.

On the other hand, the closer the visitors are, the more it becomes “less flashy” where there is a gradual change in colours that is less distracting to visitors. This would allow visitors to feel more at ease as they look closely into the products because there is something to illuminate the product without being too distracting with colour changes.

Problems and how they were resolved

  • the problem with coding in arduino ide was understanding how the functions work, and how the order of each function was quite important too, eventually after much tweaking I got the result that I wanted
  • measuring a list of thresholds as a way to determine how the led lights would play out was important – because the rate + type of light patterns determine the outcome of my project which is to sell devices at a trade show
  • The distances measured are as follows

Final Work

In hindsight, the work  I put in was a spent on searching for the right code and tweaking it in terms of distances covered by the sensor. Soldiering was also something that I learnt along the way too, and I had many intense moments working on this project, despite it being “micro project”. That in itself also means the learning curve was quite steep for me, but it has also familiarizing myself with some things that I will use in the next upcoming projects. Soon to come.

Author: Najiha

Always looking for something more.

Leave a Reply