Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
And it looks like you're drawing main power from the Arduino voltage pin. That is unlikely to work for any significant amperage.
Also, the trace loop around D1 from the inductor sense is very bad for a switching regulator. The switching node to feedback input pin should be as short and straight as possible to avoid parasitic inductance and oscillation.
Could you explain how you think the optocouplers help in this case?How did you choose the value for the pull-up for the opto-coupler outputs?
I do not see de-coupling caps on the atmega or sensors. 100nF caps very close to the Vcc & ground pin of each chip is important.I do not see any pull-ups on the I2C lines.
Here is a schematic for an H-bridge with logic to prevent any accidental 'smoke states'.The OUT A and OUT B from the logic in the lower left connect to the INPUT A and INPUT B to the transistors.