I took a new digispark and instead of the multimeter i connected an emagnet to the h bridge. I cannot distuinguish whether the small two pins are pulled and pushed away continously because the h bridge switches the polarity and thus creates a positive and a negative magnetic field but i believe...
I changed the code in line 56 from
SetupState = digitalRead(SETUP_PIN)
to
SetupState = HIGH
in order to deactivate setup mode. Hopefully i understood that correctly.
Now when i power on digispark and measure voltage on yellow / green (output_pins 3 /4) (red tip 12v / black tip pin3 or 4) i...
Now i am checking voltage on pin3 and 4.
digispark gets 12v
The red measuring tip of my Multimeter is on 12v directly and the black tip measures on pin4:
The voltage varies between 10,85v and 11,77 on pin4. .
When i measure pin3 (black tip in pin3 & red tip on 12v) i see constant and stable...
ok, once again.
Here we see that without arduino the voltage output of the h bridge switches between +12v and -12v - depending on whether gnd is on the left pin or the right pin. So if digispark switches to low (gnd) on pin 3 there should be 12v And if pin4 is on gnd there should be -12v.
We...
Hey there,
when i tried the first time to test your code it didnt worked out but i wanted to check everything before proclaiming that and be sure that this wasnt caused by a wrong edited code. i dont need a variable multiplier but just a fixed value of 2.0 and i dont need a setup mode either so...
Excellent. I will give it a try. I would prefer to use the single L9110 too without the other stuff but wondered whether it would still work without all the resistors and capacitors. However, thx for the precious info.
Hello,
@megabora do you have an updated code that incorporates the use of the L9110 H bridge? At the moment there is only pin4 adressed as output in the code (at least in my case) and i cannot simply replace / connect the L9110 to pin4.
Thanks in advance