Hi All!
There are probably several ways to interface a PIC running on 5 volts to a sensor that has a maximum operating voltage of 3 volts. I understand the sensor may need its own 3 volt supply rather than a resistor divider off the 5 volts or 2 each 1N914 diodes in series with the 5 volts which may be another possibility? Okay so I think you can take the output of the PIC through a 1K resistor to the base of an NPN (2N3904) transistor and either place another 1K resistor in either between the collector and +3 volts or between the emitter to ground. Anyone know which method is best? Next question. The sensor has a pin marked "SCLK". My best guess is this is an "input" from the PIC? The sensor in an MS5541C and what I understand so far is that " SCLK " wants a 3 volt clock signal, " MCLK " is an input (Master Clock?), " Din " is "Data in" requiring a 3 volt signal and " Dout " is data out at a 3 volt level? Therefore SCLK, MCLK, DIN, will each require a transistor to provide a 3 volt signal and DOUT will need to feed a transistor to supply a 5 volt signal? Or should I go back to my doctor and have him adjust my medications?
Thanks, Ed![]()
Bookmarks