PROP chip setup
Just got my Propeller setup today. I am currently wiring it up to my breadboard using the schematic out of PELabsFunBook.pdf. Just have a couple questions:
1) Looking at the schematic power is run through a 5v voltage regulator and then through a 3.3v voltage regulator. The 3.3 volts is then wired to everything on the board. (according to the schematic) Why the use of the 5v regulator, why not just the 3.3v?
2) I have everything needed, except the 3.3v voltage regulator, but i have a few brand new LM317T's. would this work for the 3.3? the only thing i worry about is the fact that as voltage drops, the voltage divider is going to be different.. e.g. I can make 3.3 v starting with 7.5 volts, but when voltage drops so does the output voltage of the LM317T. I thought I had a 3.3v regulator but turns out i do not. Fry's is a long trip (30+ mi) for a $1 part. And gas is currently 2.50/gal.
-Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
1) Looking at the schematic power is run through a 5v voltage regulator and then through a 3.3v voltage regulator. The 3.3 volts is then wired to everything on the board. (according to the schematic) Why the use of the 5v regulator, why not just the 3.3v?
2) I have everything needed, except the 3.3v voltage regulator, but i have a few brand new LM317T's. would this work for the 3.3? the only thing i worry about is the fact that as voltage drops, the voltage divider is going to be different.. e.g. I can make 3.3 v starting with 7.5 volts, but when voltage drops so does the output voltage of the LM317T. I thought I had a 3.3v regulator but turns out i do not. Fry's is a long trip (30+ mi) for a $1 part. And gas is currently 2.50/gal.
-Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
Comments
-Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
You can download the data sheet from National Semiconductor. It has a schematic for a typical circuit connection.
btw - The main reasons for having a 5V and a 3.3V regulator is to have 5V available for circuits that require it (servos, driver IC's etc.) and reduce the power dissipation of the 3.3V regulator, as well as providing it with a pre-regulated voltage.
-mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
The voltage output on the 317 should hold much better than that, what value resistors are you using? ..and what does your connection look like?
A 330 Ohm resistor from Vadj to GND, and a 220 Ohm resistor from Vout to Vadj, should produce about 3.2V ... As long as the input voltage remains at 1.2V above what your are trying to regulate at you shouldn't see much if any drop as the input voltage changes. Don't forget the caps... .1uf between the input and GND, and a 1uf between the output and GND.
Vout = 1.25V ( 1 + R2 / R1) + Iadj * R2
R2 = 330
R1 = 220
Iadj is controlled to less than 100uA from within the regulator.
Vout = 1.25V ( 1 + 330 / 220) + Iadj * 330
Vout = 1.25V ( 2.5) + .033
Vout = 3.125 + .033
Vout = 3.158 <-- I've done this setup a few times and have always measured a little high
Another reason for having two cascode voltage stages is not only to provide a 5V supply, but to also dissipate the HEAT (wasted power) across both regulators as opposed to just one regulator.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
Still curious what your circuit looks like, the LM317 should hold a tighter regulation.
470 and 200 would produce about 4.23V ... A 7.25V input minus the 4.23V would give about 3V and you would "see" this difference much more as the voltage dropped.
likewise an input of 6V minus the 4.23V would give about 1.8V and an input of 5V would give about 0.8V
As mentioned earlier, the pin out for the LM317 is NOT the same as a standard regulator.
With the correct LM317 wiring I measure 4.3V using a 470 ohm and a 200 ohm resistor with an input voltage ranging from 5.6V to 11.8V
With an incorrect wiring to the LM317 resembling how you would connect a typical 78xx regulator I saw results as you are describing. ... 5.6V input I see 1.8V on the output ... 7.3V input I see 3.12V output ... 11.8V input I see 6.4V
Using the correct wiring and the 330 Ohm and the 220 Ohm resistors I see a steady 3.2V on the output with an input voltage ranging from 5.6V to 11.8V
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I ran all the multi-meter tests and everything checked out perfect. Hooked the prop plug on and away we went with no problems. YAY!
Thank you everyone for your help. And I called the nearest Frys (which is the only store in washington state that i can find that sells individual components) and they did not even carry the 3.3v regulator, so this setup will have to do for prototyping until i order it online.
Again thank you everyone!
-Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH
"...LM317T from left to right (with inscription facing toward you) Pin 1: Vin, Pin 2: J-Adj, Pin 3: Vout." <- This is my point, this is incorrect, and this is how I wired it to get the same results that you are describing. From left to right with inscription facing toward you on the LM317T, the wiring should be: Pin 1: Adj , Pin 2: Vout, Pin 3: Vin
I don't mean to sound harsh, I just don't want anyone to damage their Propeller due to excessive voltage if they decide to go this route with a regulator. The LM317 will work fine if it is wired properly.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I have attached a diagram with the pinout of the 3 most common regulators.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
-mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
======
······ I'll try everything once [noparse]:)[/noparse]
If you are designing a commercial product, I highly recommend ordering some free samples from TI, then use their products in your own design. I am in no way affilliated with TI, other than living 30 minutes from their Dallas Campus. [noparse]:)[/noparse]
My suggestion is to order some of the uA78M33 voltage regulators. They come in a surface mount D2PAK, and a run-of-the-mill TO220 case. They can handle 500mA, and have a pretty good voltage tolerance.
If you are expirementing with different parts, many companies offer a free sample program to their customers. This is usually a good way for you to find the right part for your application, and for the semiconductor companies to gain new customers.
A smidge off topic, but I hope that helps in the future.
Just pick the part you want, click on Sample Quantity, enter quantity. Rinse and repeat
I save a fortune in parts costs that way.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH