Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: BuddingContraptionist on November 09, 2008, 04:53:06 PM
-
hey, I want to try out this h-bridge (http://www.sparkfun.com/commerce/product_info.php?products_id=315) chip that i got. I've bought a 9v dc motor, and a 9v battery, and i believe that i have wired up the two power sources correctly (common ground, vcc1 from the 5v that my Axon uses, 9v to vcc2). I've also wired the outputs to the motor. I'm unsure, however, how to wire up the logic inputs to the axon. Do they go on the unregulated or regulated (adc) headers? And if I'm just running 3 individual lines for an ouput current, which of the 3 pins in the header row do i use? And what functions do i do to set it high or low for the logic?
-
The input of the H-Bridge goes to the output of the AXON, and the outputs of the H-Bridge connect to the Motors, i think thats what your asking? As for the logic, dont quote me, but connecting to outputs 0 and 1 on the Axon, you can just use high 1 and low 0 to turn it 360 degrees I think? Thats all you need for the Picaxe atleast.
-
no im asking which specific pins on the axon to use as outputs to the h-bridge inputs.
-
Every single pin on the Axon can be used to drive logic commands.
However your H-bridge also requires a PWM signal. Use the beta Axon software, and read the documentation - it'll tell you exactly which pins to use.