Offset ground for 4V-8V low current programmable circuit?

Thread Starter

rkuris

Joined Feb 27, 2012
2
Hi,

I need a circuit that will pro grammatically provide between 4V and 8V of output. I have a 10.5V power supply already. What I was thinking of doing was to float the ground of an arduino to 3.3V using a regulator, then build a simple PWM circuit to generate between 0-5V, which should be between 3.3V and 8.3V when compared to the original 10.5V ground.

Questions: Will this work? Can I use a simple voltage regulator and connect the arduino's ground to the positive side of the regulator? How much current should I expect to flow through the regulator (so I can select the right 3.3V regulator)? The arduino is sure to draw far less than 500ma, but can I get by with a 250ma regulator for this?
 

Alec_t

Joined Sep 17, 2013
10,739
Welcome to AAC!
Might work, but wouldn't it be simpler just to have a common ground for the Arduino and PWM circuit? A potential divider could feed back a fraction of the output voltage for comparison with a programmable reference voltage generated by the Arduino.
 

ErnieM

Joined Apr 24, 2011
8,011
Do keep in mind that any and all ripple on the PWM output WILL be a part of the output of that supply.

You can keep adding cap to the output to make it smaller but some will always be there.
 

Thread Starter

rkuris

Joined Feb 27, 2012
2
It does seem like adding a simple NPN transistor is the way to go. Thanks guys!

The reason why I was hesitant is because I really don't ever want the output to be 0V or close to 10.5V, which is what will happen if the arduino locks up.
 

Alec_t

Joined Sep 17, 2013
10,739
You could incorporate zener diodes to clamp the output voltage within a defined range in the event of Arduino error.
 
Top