J
[email protected]
- Jan 1, 1970
- 0
I recently decided to undertake my first shot at a micro-controller
project, just for fun, to learn more about the little beasts.
Something simple, like a digital speedometer for the car. Okay, I can
hear the laughter, but I thought DSP was a little too ambitious for my
first project.
The design is very straight forward, a Microchip PIC uC, a 3 digit LED
display, the car's VSS signal, and a separate power supply (12V dc- 5V
dc converter, beefy enough to handle future auto projects).
The software is really straight forward, count some pulses, a little
time slicing, a quick binary to bcd conversion, and voila, digital
speed readout...
My concern is in the dc and signal ground paths. I'm not sure, but I
don't think the dc-dc converters negative terminal is really tied to
the vehicles ground system at all. So, what does the PIC see on the
VSS input line, since that signal is referenced to the vehicles
ground? I'm aware I could get around this with a different power
supply option, like a voltage regulator tied to a series pass
transistor from the cars +12V (13.whatever), and the ground would be
common to both the VSS and the power supply. But, I'd like to try and
make it work using the dc-dc converter. So, I would most happily
entertain any suggestion you folks may have regarding the proper way
to tie these pieces together.
As you can tell, I don't have an extensive background in electronics,
but I'm ready to expand my knowledge.....and who knows, for my next
project, maybe a TFT display driven from my little PIC (just kidding,
but I had to go there after reading some other postings)
Thanks!
John Clement
project, just for fun, to learn more about the little beasts.
Something simple, like a digital speedometer for the car. Okay, I can
hear the laughter, but I thought DSP was a little too ambitious for my
first project.
The design is very straight forward, a Microchip PIC uC, a 3 digit LED
display, the car's VSS signal, and a separate power supply (12V dc- 5V
dc converter, beefy enough to handle future auto projects).
The software is really straight forward, count some pulses, a little
time slicing, a quick binary to bcd conversion, and voila, digital
speed readout...
My concern is in the dc and signal ground paths. I'm not sure, but I
don't think the dc-dc converters negative terminal is really tied to
the vehicles ground system at all. So, what does the PIC see on the
VSS input line, since that signal is referenced to the vehicles
ground? I'm aware I could get around this with a different power
supply option, like a voltage regulator tied to a series pass
transistor from the cars +12V (13.whatever), and the ground would be
common to both the VSS and the power supply. But, I'd like to try and
make it work using the dc-dc converter. So, I would most happily
entertain any suggestion you folks may have regarding the proper way
to tie these pieces together.
As you can tell, I don't have an extensive background in electronics,
but I'm ready to expand my knowledge.....and who knows, for my next
project, maybe a TFT display driven from my little PIC (just kidding,
but I had to go there after reading some other postings)
Thanks!
John Clement