running Psoc 4 off of a battery pack

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 How would I make the connections to power a psoc 4 off of a battery pack and how many volts would I need (12 volts)?

0 Likes
19 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

The PSoC4 needs between 1.8 and 5V. So it will run directly from e.g. a LiIon battery or 2 (or 3) AA cells. For anything else you will need a voltage regulator.

   

Assuming that you are using the Pioneer kit, you need to connect the battery to the GND and V3.3_EXT pins (on the J1 header these are Pins 2 and 5 respectively). The Pioneer kit has a voltage regulator on board (on J1, Pin 1), which can handle 5-12V (see page 33 in the Pioneer kit user guide).

0 Likes
Anonymous
Not applicable
        HI noshavey   
You mean, want to use external power supply   
You can connect a battery to Vin, J11, 2pin header   
voltage is 6V to 12V is better   
0 Likes
Anonymous
Not applicable
        Oh! Do Not Connect a battery to V3.3_EXT pin   
This is the Voltage Output pin for V3.3 devices   
0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Take a look at schematic and blovk diagram for your options.

   

 

   

Attached.

   

 

   

Regards, Dana.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

One can use V3.3_EXT to supply power to the PSoC board. The onboard LDO is pretected against reverse currents. But J9 needs to be set properly for that (to 3.3V, not Vbus).

0 Likes
Anonymous
Not applicable

Can you run Psoc 4 Off battery between 6v-12v  and program it via usb at the same time? silly question but i dont want to burn my board

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

From the Pioneer user guide -

   

 

   

The onboard programmer supports only the RESET programming mode. When using the onboard
programmer, the board can either be powered by the USB (VBUS) or by an external source like an
Arduino shield. If the board is already powered from another source, plugging in the USB
programmer does not damage the board.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

I dont know if it makes a diffrenece but can i use a 2200mah 3 cell li-po battery ? Voltage on it is 12.6v fully charged. Its usually use for RC purposes.

0 Likes
Anonymous
Not applicable
        Hi   
J11 is for an external power supply pin, It has a voltage regulator inside.   
Its allow 5 to 12v, I think 12.6v is in tolerant   
Whatever kind of battery will work,   
0 Likes
Anonymous
Not applicable
    Just taking precaution before i put the battery on. What does this mean in the datasheet?   
   
        
   
    3.3 V (Vin= 5.3 V, Iout= 10 mA, TA= 25°C)  (Vin= 4.75 V to 10 V, Iout= 0 mA to 800 mA) (Note 4)   
   
        
   
    
     5.0 V (Vin= 7.0 V, Iout= 10 mA, TA= 25°C)(Vin= 6.5 V to 12 V, Iout= 0 mA to 800 mA) (Note 4)    
    
          
    
     LDO datasheet link:http://www.onsemi.com/pub_link/Collateral/NCP1117-D.PDF    
    
          
    
     I think it mean if i hook up 12v it will regulate down to 5v not 3.3v.    
    
          
    
     Thank you for you input everyone.    
    
          
    
          
   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

The regulator will take 20V, but you need to compute worst case Pdiss

   

to establish the regulator can handle the rise in Tj for the power you

   

need.

   

 

   

Regards, Dana.

   

 

   

0 Likes
Anonymous
Not applicable
        I see,   
J9 is change VDD voltage to 3.3V or 5.0v but voltage regulator is adjusted to 3.3v   
When you use battery for power supply to J11, VDD is just only 3.3v   
If you want to use VDD as 5.0v you have to use power source from VBUS of USB.   
On other hand, the regulator's voltage is adjust by R35, R36   
so, if you want to use 5.0v with battery power source anyway   
You have to modify the resister R35, R36 ratio.   
0 Likes
Anonymous
Not applicable

The board can also be powered with an external power supply through the VIN (J11) header; the allowed voltage range for the VIN is 5 V to 12 V. The LDO regulator regulates the VIN down to 3.3 V.

   

so to be safe i should probably connect 5v not 12v to pin J11?

0 Likes
Anonymous
Not applicable
        No problem, of course.   
0 Likes
Anonymous
Not applicable

 Hi

   

 

   

I got one more question, the feedback resistors of the pioneer kit (R35, R36) consume about 10mA, not really battery friendly.

   

Is there any particullar reason choosing such low values for those resistors?

   

 

   

All in all the curcuit consumes about 50mA when supplied with 5V from J11, what's the reason for such a high quiesent current? And are there possibilities to reduce that current? I don't think it's possible to make evaluations of low power designs with such a circuit.

   

Note: PSOC4 unprogrammed, no loads the bare evaluation board.

   

 

   

I hope someone can help me out of this.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Since the PSoC4 Pioneer evaluation kit contains a bit more hardware than "just" a PSoC4 (there is additionally a PSoC5 LP for communicating via the USB and programming the PSoC4, a power indicator LED swallowing 5mA and the regulators which are not ment to save energy at all) you will have troubles to design for true low-power applications. You'll have to build your own pcb optimized for low-power consuption and use that for your project.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

NCP1117, LDO, requires a high queiscent current, and high ref current,

   

so set R's are low in value.

   

 

   

Look at other LDO's, you can get LDO adjustables with much lower

   

currents, hence Rset resistors would scale up appropriately.

   

 

   

The board manual also discusses some zero ohm R's you can remove to

   

eliminate board power consumption.

   

 

   

Regards, Dana.

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

I used a cell Portable battery charger to power a Raspberry Pi it ran the Pi for 10 hours with a display and backlight.  The best part it puts out $ bolst at 2.5 amps.

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

It should have read it puts out 5 Volts at  2.5 amp of current and the best part is that it can just be plugged in to the usb port for the PSOC 4. Or you can connect it too the internal power supply input with a special cable.

0 Likes