2

I wonder if someone could help me with figuring out how to control XL6009 Boost converter via Arduino. I have this popular board, and it has potentiometer to adjust the output voltage. However, I want to adjust output voltage based on sensor reading so I need to do it "non-mechanically".

I tried with PWM voltage to the resistor network, but I didn't get wanted results. Any ideas (except digipot)?

Best regards

Twoface
  • 21
  • 1
  • you posted your question in the wrong place ... this site is for questions about the Arduino – jsotola Aug 09 '21 at 20:54
  • I didn't get wanted results is meaningless ... it does not describe the observed behavior – jsotola Aug 09 '21 at 20:55
  • And why are you excluding digipots? Most Arduinos don't have a DAC, so you would need extra parts anyway – chrisl Aug 09 '21 at 21:29
  • injecting a buffered (low pass, unity gain) voltage into the wiper of the pot didn't work? It works for me. You might not have enough current being injected. No more than a 1k resistor between opamp and wiper. You can also PWM+smooth to feed an optoisolator (or CDS varistor glued to an LED) that call pull one half of the pot down/up. Digipots won't work here, don't even bother. – dandavis Aug 09 '21 at 23:22
  • Thanks for your responses. When I said I didnt get wanted results with resistor network, voltage range to control was too narrow (e.g 22-24V). But here is useful guide https://www.fischl.de/dcdccontrol/. When I changed resistor values a bit, it worked as intended – Twoface Aug 11 '21 at 19:14

0 Answers0