Heres one solution, note the schematic on this page.
http://www.sparkfun.com/products/8745
Heres one solution, note the schematic on this page.
http://www.sparkfun.com/products/8745
Thanks Mark!
What a great device! Are my assumptions as to what is an input and what is an output correct?
A simple solution ...
just need to adapt R4 to your requirements ...
Note, the solution generally used is to run the Pic AND the sensor @ 3v ...
Alain
Last edited by Acetronics2; - 24th March 2011 at 08:23.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Thanks Alain!
It is a great idea. This sensor is to measure the depth for a radio controlled submarine. It is one of a group of "sensors" that will be progammed into one big PIC. There is a tachometer on the port and starboard motors with temperature sensors, control for a sound module, a compass, internal flooding alarm, battery voltage and current draw, missile and torpedo status, and speed. Everything is to feed an on screen display as a overlay on the video from a periscope camera. The compass was my first project and turned out to be extremely accurate (.1 degrees). If you are interested, the compass is at http://www.robsonco.com/Dinsmore/Untitled_5.html.
Best, Ed
Hi All!
After reading up on the sparkfun product I became uncomfortable with the posts about how the 3.3 volt side was actually only 2.5 volts due to a resistor divider of 2 equal values (1/2 the 5.0 volts applied).From my experience when you start operating towards the lower limits of a device it will tend to become "spritual" (technical term)
where sometimes it will work and sometimes it won't! A company called "Analog Devices" makes an IC called the ADG3304 which has one side that you give it your 3.3 volts and the other side the 5.0 volts. Another company called "Technological Arts" makes a model AD325V14 which takes this tiny IC and puts it on a board so it will plug in to a standard 14 pin DIP socket. The device has 4 bi-directional channels and they have other versions for upto 8 channels as well as a 4 channel open drain version. I hope this is useful to others.
Best, Ed
You might find this helpful also.
http://ww1.microchip.com/downloads/e...hapter%208.pdf
Regards
Bookmarks