
This is the first tech help post ive posted since i joined, there's something i just cant figure out..
Ive been having a lot of trouble recently trying to connect 12v motors through a h-bridge and the IoTiny.
Earlier magic smoke came from my IoTiny so now i have plenty of time to work out what ive done wrong and possibly get some help along the way..?
Im VERY confused as to connecting motors with encoders to the Iotiny.
Also the wiring from the h-bridge has me confused. The 4 pins on the h-bridge, if i were to run cables from them to the Iotiny, there would be no room for the encoder cables I thought the encoder cables would bypass the need for running all those extra cables.
Is the Iotiny large enough to run 4x DC encoder motors? The pic here is of the h-bridge with the 4 pins.
Im only trying to get 2 motors to run at the moment.
This is what has me most confused, because of the encoder cables, can i forget about the 4 pins? It seems a very silly question for all the tutorials ive seen, the ezb4 needs those cables connected to speak with the h-bridge?
If i connect those cables, where would the encoder cables go? I see no room where they could possibly be connected unless....i need an ezb4..?
I apologize for my dumb questions, but i have spent quite a few hours trying to work this out. In the end i just connected the encoder cables and for the first time i saw a green led on each motor showing, but of course something wasn't right for the motors never moved.
I copied the script into the connection established window, double checked i had the correct ports assigned, but playing with the Movement Panel gave no motor movement.
Ive searched online and can only find encoder motors being connected to Arduino/Raspberry and nothing else.
Any help would be GREATLY appreciated thanks.
This is what happens after spending hours on something, you slip up and let the iotiny touch metal... sleep Silly mistake.
Oh ok thats great news then thanks. can just order an ezb4 then and try again.
Yes, encoders are great for autonomous driving however when ez robot's indoor navigation (IPS) is released, having encoder's will be a moot point... For now just get your robot driving around with your ezb and h-bridge using the h-bridge ARC control. Once IPS is released you will have an autonomous robot that will drive around by itself... No coding needed....
That sounds really good for indoors for sure, especially not needing code also.