Introduction: Distance Meter With RGB

I made a distance meter but the catch is its not like a normal distance meter the further or closer it goes it changes into different colours.I had got this idea from when in class I had made a normal distance meter and I had made a normal RGB led so I thought to myself why don't I add these two together and see the outcome.The outcome was amazing.

Supplies

  • RGB LED
  • 220 resistor
  • ardunio
  • ultra sonic distance meter

Step 1:

Thats my code:took inspiration from Domingo