|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Monday, December 27, 2010 5:21 PM
Posts: 55,
Visits: 139
|
|
I have a device that connects via I2C that requires a max of 3.3v. However, the serializer outputs 5v. Any ideas on the best way to lower the voltage?
Would a voltage divider work with a few resistors or do i need to get a voltage regulator from 5v to 3.3v?
I have both readily available but wanted your opinions before going ahead.
In my toolbox i have 1/2, 1/4, and 1/8 resistors as well as many 5v to 3.3v 1A voltage regulators.
Please advise.
-Danny
Animusoft
RUG Community
|
|
|
|
|
Forum Guru
      
Group: Moderators
Last Login: Wednesday, March 16, 2011 1:17 PM
Posts: 73,
Visits: 96
|
|
What is the device? It depends on if the inputs are 5V tolerant. Even if the device is powered by 3.3v, maybe the SDA and SCK lines can handle 5V. If it can then if it is a very low power device you can use a voltage divider, if not then you need a regulator.
If the inputs to the device are not 5V tolerant then you will need a way to reduce the voltage, let me think about that a bit.
Ringo Davis
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Monday, December 27, 2010 5:21 PM
Posts: 55,
Visits: 139
|
|
Its a navigation board for surveyor corp. I have spoke with the manuf of the board and they clearly stated it requires 3.3v.
I have tried a voltage divider in the passed in this situation and it does not work as expected. As for the regulator - the regulators I am using are 1A 5v to 3.3v. I recall using these previously in another project only to find that it also did not work correctly. Will this particular regulator work with the Serializer or does it require a different regulator?
These are the regulators I have in my box
http://www.protostack.com/index.php?main_page=product_info&cPath=29&products_id=70
-Danny
Animusoft
RUG Community
|
|
|
|
|
Forum Guru
      
Group: Moderators
Last Login: Wednesday, March 16, 2011 1:17 PM
Posts: 73,
Visits: 96
|
|
That regulator should be fine. Make sure to check the data sheet and use the correct caps on the input and output of the regulator(more cap is better than less cap). Use that 3.3V to power the new board.
The I2C lines are pulled up with 1.5K resistors. If you add a 750 ohm pulldown to SCK and SDA it should drop the voltage down to 3.3V. Verify that before you hook up your device. Please note that if you have any other I2C devices on the bus they will get 3.3V as well on the data lines so they may not work.
I'm assuming you will be powering the new 3.3V regulator from the same supply as the serializer, if not make sure you have a common ground.
Ringo
Ringo Davis
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Monday, December 27, 2010 5:21 PM
Posts: 55,
Visits: 139
|
|
Are you saying that I will need to do more than just change the voltage on the VCC and GND? So the other two lines also require changes?Or can I just drop the voltage and plug in to the existing I2C lines with out changes?
I am not quite sure what mean by this impacting the rest of the I2C bus.
-Danny
Animusoft
RUG Community
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Tuesday, May 11, 2010 7:32 AM
Posts: 7,
Visits: 10
|
|
| 1. The Power conversion regulator If we assume the navigation board (GPS I assume) draws no nore than 1A at 3.3V, the LD1117xx-33 will be a sufficient linear regulator. You will need a 10uF 6V electro at the input and at least a 100uF 4V electro on the output. These should be mounted closeby and have short leads to prevent oscillation. The regulator also needs to mounted to a metal heatsink to remove the heat it has to get rid off, otherwise it will die. So looking at the LD1117 TO-220 package, with the plastic square bit in front of the metal tab which is at the back, pin 1 is the leftmost pin, and pin 3 is the rightmost pin. Unfortunately that stupid Chinese datasheet doesn't tell you what pins 1,2,3 actually are. Another datasheet shows that pin 1 is ground, 2 is output and 3 is input. This regultor will continue to draw up to 10mA itself, without any 3.3V nav board load (so it will eventually discharge the battery by itself). 2. The I2C Signalling Unfortuantely you need to add additional level-shifters to make the Nav board play well with others on the I2C bus. These can be simple transistors on the SDA and SCL lines or a dedicated open-drain (not totem-pole) logic chip. The NPN transistors can have their bases fed through a 10k resistor, their emitters tied to ground and their collectors tied to the appropriate bus line. Or you could use N-channel JFETs or depletion-mode MOSFETs. Plenty of options, but an active (not resistive) level-shifter is necessary.
So long, and thanks for all the fish.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Tuesday, May 11, 2010 7:32 AM
Posts: 7,
Visits: 10
|
|
I forgot to add that regulator has no output short-circuit protection. So if you, even just momentarily, short out the regulator's output, alas, it will die.
So long, and thanks for all the fish.
|
|
|
|