- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good Morning,
I'm running a project which involves the use of Psoc 5Lp board.
I was wondering if it is possible to connect the USB port J2 to PC and, at the same time, the Vin pin to external 12V power supply.
The reason why is that I need to control a circuit which is powered by a 12 V power supply and meanwhile I need to communicate with the PC through the USB.
Thank you very much,
Giada
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but the GPIO pins cannot handle voltages higher than Vddd. To do that you need a level shifter (when ist low-speed: for inputs a simple resistor divider, for outputs a transistor).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PSoC cannot withstand voltages > 5V
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
isn't there a regulator which converts the input voltage Vin from 12V to 5V or to 3.3V?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but the GPIO pins cannot handle voltages higher than Vddd. To do that you need a level shifter (when ist low-speed: for inputs a simple resistor divider, for outputs a transistor).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regulator depends on the board you use. Consult your kit's datasheet on how to connect external power.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
Can I use as a level shifter a voltage divider as shown in the figure below and attached? the 12 V would come from the power source, then they would be converted into 5V thanks to this circuit and finally I would insert the 5V pin (coming from the voltage divider circuit)into the Psoc Vin pin.
So, I would have both the USB connection through J2 and the Vin pin inserted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use resistor divider for input signals at GPIO(low speed signals)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content