Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Economic (and elegant) solution required .....

Status
Not open for further replies.

Azaruk

Member level 1
Joined
Feb 12, 2007
Messages
37
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,572
I am putting together an ultrasonic reversing alarm/display for the heavy transport industry.

Using the SRF04 sensors into a PIC for processing and display. There are two sensors - and two displays.

I would like to display distance from rear of trailer to loading dock by means of two bargraphs. Minimum of 10 segments, prefer 16, but 20 segments would be cool.

I'm looking for an elegant and simple solution to the problem of driving the led bargraphs with the minimum number of PIC pins.

I will probably multiplex the two bargraph channels to save on pin commitments.

I would be OK with using additional hardware to solve the problem.

Anyone got any absolutely brilliant ideas?:D
 

Just looking back through my posts.
That was a particularly illuminating reply, kender, which helped me so much in my project! Thanks you so much!
 

You could use a PWM PIC output to generate analog input of two LM3914 IC's cascaded.
PWM duty-cycle will be allmost proportional to accquired distance.
A lookup table stored in flash program memory could give it compensation.


+++
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top