Proximity Sensor to display LED color pattern.

Hi everybody!

Can anybody can help me or give me ideas/hints on how to design, what to use a circuit that will display with LEDs a color pattern depending on an object approximation to the circuit ?

Let me explain:

Say you have the circuit wich has RGB LED's; i need that whenever someone or something approximates to the proximity sensor (any type) the RGB LED fades into a different color upon closeness of such object. Say the RGB LED is set to display a default color Red; if something comes closer it FADES into blue, even closer and it fades to green until having a color (say white) for a 100% closeness to the circuit.

Any ideas ?? 😔


  • gohm
    Not really my area, however how about an IR occupancy sensor hooked up to a speed controller and a servo? As the IR return rate increases due to closing distance, the speed controller would operate the servo which would switch your color. You could also hook it up to a x & y axis device (think tiny theramin) that would automatically ajust color based on spacial location.
  • reachrkata
    I don't know about IR, but I surely know that Ultrasound is used for distance measurements in parking assist systems of cars. Its simple. Just use the distance data measured to control the LED.
    I would suggest against servos. You anyway would using a uC to measure the distance. You the same to control the PWMs to the RGB LED, whereby you can give many colour combos.

  • ericlp
    Hmmm, this sounds like an interesting project ... any updates on this?
  • khooper
    So, it’s surprising that cars don’t have proximity sensors at the back to tell you when you’re too close to something. I think that some “luxury” cars do, but isn’t a proximity sensor something that could benefit everyone? Wouldn’t it make reversing so much easier for drivers, inexperienced or otherwise?
  • sauravgoswami
    by taking the reference from proximity sensors,you can use comparator to control your LEDS.

You are reading an archived discussion.

Related Posts

Hi All,( back after finishing exams) I was just seeing few posts,when i saw a post regarding "changing my display name?" I was thinking what if we have the power...
hi guys i m doing bteh(electrical) I need ur help in selecting the project topic
What is your opinion about the best operating system for desktop/laptops ? Basis of your opinion should be on following parameters Reliability Scalability Ease to use Easy to administer Security
What will be best branch of technology from 6-10 years from today ? Imagine that you have to recommend this to for some in 10th today. I am not sure...
i am a computer science engineer who ll b passin out in 2009. i wanna establish my career in microprocessors. is my engineering degree enough for that or do i...