Author Options:

+Help with Digital PSU+? Answered

Hi everyone

after many days of constant tinkering, I finally got the circuit of my Digital Power supply made. However, I am experienced difficulty in the programming side. I am using an Arduino with an LCD (and various other io such as a current sensor, voltage divider, button and rotary encoder). My program is limited to what I could find online for an ammeter/ voltmeter sketch.

I wanted help or some guidance in figuring out how to use the rotary encoder to 'set' a voltage (visible on the lcd) and when i press the button, i send a certain signal to my DAC which is connected to my psu circuit. and i wanted to be able to switch over from voltage 'setting' to current 'setting'. Frankly, i have no idea how to do this :s !

here is a video of what i want it to almost look like





5 years ago

Check the arduino forums and start learning about the various features you want to have.Look for sketches that use a rotary encoder and an LCD. You will get a lot more help in the Arduino forums.