tag:blogger.com,1999:blog-1323683415527527391.post3709458244405644239..comments2024-02-29T00:58:22.323-08:00Comments on Reefwing Robotics: Parallax HB-25 Motor Control Library for ArduinoDavid Suchhttp://www.blogger.com/profile/10502842288604398442noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-1323683415527527391.post-2432034984320130522018-05-05T17:42:39.099-07:002018-05-05T17:42:39.099-07:00Thanks ErikThanks ErikDavid Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-82105060584886200912018-05-05T01:23:53.141-07:002018-05-05T01:23:53.141-07:00Got an answer here: Erik,
The fan is soldered ...Got an answer here: Erik,<br /> The fan is soldered directly to the HB25's power bus. There is no way to disable it in software; you would have to modify it by desoldering or cutting the wires to the fan.<br /><br />― David Carrier<br />Parallax Inc.Anonymoushttps://www.blogger.com/profile/11086209525381251401noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-21347000024121446682018-05-04T23:25:44.884-07:002018-05-04T23:25:44.884-07:00Thanks for the comment Erik - no not to my knowled...Thanks for the comment Erik - no not to my knowledge. I believe the fan speed is based on the temperature of the H-Bridge but I don't have a circuit diagram of the HB-25 to confirm it.David Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-90078616460142284522018-05-04T04:45:55.837-07:002018-05-04T04:45:55.837-07:00Hi David, thanks for a great post. I wonder, do yo...Hi David, thanks for a great post. I wonder, do you know if it is possible to control the fan on the HB-25?Anonymoushttps://www.blogger.com/profile/11086209525381251401noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-22362157682041013822016-02-20T15:54:39.889-08:002016-02-20T15:54:39.889-08:00Hi Unknown, this library is for using the HB-25 in...Hi Unknown, this library is for using the HB-25 in mode 1, which requires a separate digital output to control each motor controller. Your answer should work. My code looks like this:<br /><br />HB25MotorControl leftMotor, rightMotor;<br /><br />Then in my Robot class initiator:<br /><br />leftMotor(pin_LW_Servo), rightMotor(pin_RW_Servo)<br /><br />then in the Robot.begin() method:<br /><br />leftMotor.begin();<br />rightMotor.begin();<br /><br />Finally, I define a Robot move method:<br /><br /> /*<br /> * @brief Move both motors at speed (-500 to 500).<br /> */<br /> void move(int speed) {<br /> leftMotor.moveAtSpeed(speed);<br /> rightMotor.moveAtSpeed(speed);<br /> state = stateMoving;<br /> }<br /><br />I will do a separate blog on the entire robot code at some stage. Let me know if you are still stuck.<br />David Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-88640666754098748902016-02-18T15:34:26.729-08:002016-02-18T15:34:26.729-08:00Ok, that doesn't work.. :)Ok, that doesn't work.. :)<br />Unknownhttps://www.blogger.com/profile/17610965076868099070noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-51602399296283185312016-02-18T15:31:07.415-08:002016-02-18T15:31:07.415-08:00I think I have my answer..
Call as:
HB25MotorCon...I think I have my answer..<br /><br />Call as:<br /><br />HB25MotorControl motorControl(controlPin);<br /><br />and then for the 2nd HB25:<br /><br />HB25MotorControl motorControl1(controlPin1);<br /><br />?Unknownhttps://www.blogger.com/profile/17610965076868099070noreply@blogger.comtag:blogger.com,1999:blog-1323683415527527391.post-80542939891619359352016-02-18T15:25:34.533-08:002016-02-18T15:25:34.533-08:00How would you use this with 2 HB25s ?
1 for each ...How would you use this with 2 HB25s ?<br /><br />1 for each wheel.<br />Unknownhttps://www.blogger.com/profile/17610965076868099070noreply@blogger.com