-
Forum
-
Main Forum
-
Builders Forum
-
HVPS Code for an AVR
HVPS Code for an AVR
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
11 years 10 months ago #247
by croftj
I'm wanting to use an AVR to generate the 180 volts to drive some nixie tubes. My thought is to set up a timer to generate a PWM signal which drives a MOSFET in a maner like the MAX1771. When the voltage gets above the threshholld, the CPU turns off the PWM signal until the voltage drops below the threshhold.
Does this sound like a reasonable aproach?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 72
-
Thank you received: 3
-
-
11 years 10 months ago - 11 years 10 months ago #251
by bcoggs
Yup. Works fine. I started with TimerOne.cpp from the Arduino. I arrived at the best period and duty cycle through experimentation.
I use the circuit below. Besides the usual buck-boost power mosfet (w/a driver), I have 220V TVS to protect for overvoltage. In addition, I sample the voltage with one of the adc channels and shut things down in case it goes over-voltage.
Last edit: 11 years 10 months ago by
bcoggs.
Please Log in or Create an account to join the conversation.
-
Forum
-
Main Forum
-
Builders Forum
-
HVPS Code for an AVR
Time to create page: 0.088 seconds