[neonixie-l] Re: Microcontroller driven boost converter

2017-12-02 Thread Tomasz Kowalczyk
Thanks! I looked into the code and it generally looks similar to my 
pseudo-PI approach (preloading PWM to some value and then simply ++ or -- 
if output is too high or too low). I had troubles with slow response, but I 
think that it was because how analogRead is handled on STM32 hacked to work 
with Arduino. Also I wasn't calculating new PWM in main loop, but in an 
interrupt - maybe it was too slow?
I'll copy and paste his code and test it with an oscilloscope, when I find 
my real Arduino...


W dniu sobota, 2 grudnia 2017 01:11:53 UTC+1 użytkownik Paul Andrews 
napisał:
>
> Ian Sparkes’ kits use the microcontroller 
> https://www.nixieclock.biz/Store.html . The source code is on Github.

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neonixie-l+unsubscr...@googlegroups.com.
To post to this group, send an email to neonixie-l@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/cab96939-71d1-4fb4-ace4-374453b83285%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[neonixie-l] Re: Microcontroller driven boost converter

2017-12-01 Thread Paul Andrews
Ian Sparkes’ kits use the microcontroller https://www.nixieclock.biz/Store.html 
. The source code is on Github.

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neonixie-l+unsubscr...@googlegroups.com.
To post to this group, send an email to neonixie-l@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/b4f330aa-4ed7-47ff-b67d-981225f18f68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[neonixie-l] Re: Microcontroller driven boost converter

2017-12-01 Thread gregebert
I'm actually using a CPLD (FPGA) for my next project, because the attached 
RasPi is running Linux and does not have guaranteed response time. It's too 
risky to have logic controlling something critical, like a DCDC converter, 
if the behavior is not deterministic at all times. Leaving a transistor on 
for a few extra microseconds will cause something to burn-up.
Non-critical tasks, such as reading A/D converters, sending status updates 
to my server, getting & displaying time-of-day, and checking fuses are OK 
for the RasPi.

I used a CPLD  previously for my wristwatch, and it works nicely.

The logic controlling the DCDC converter will be running at 50Mhz, while 
most of the other logic on the FPGA will be at 1Mhz.

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neonixie-l+unsubscr...@googlegroups.com.
To post to this group, send an email to neonixie-l@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/29d4d8a7-ebb9-43d4-b974-f2dc26147d6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.