PICAXE Speed Controller
High Power Modification
d. bodnar revised 01-12-12
Introduction While the original PICAXE based model train controller works very well and can operate most model trains, including fairly large G-Scale locomotives pulling as much as 3 amps, there may be hobbyists who need "more power!" In response to this need I have found an external H-Bridge that can be used with the original unit to provide 12 continuous amps of power with surges up to 30 amps! The modification to the circuit is very simple and it is not even necessary to make any changes to the controller or software. Not only will the external H-Bridge work with both versions of the circuit (the TV Remote Control version and the Train Recorder Version), you don't even need to remove the original L298N H-Bridge. All that is needed is a few wires that go between the PICAXE controller and the H-Bridge circuit board. The Pololu
VNH5019 Motor Driver Carrier More information on the board is here: http://www.pololu.com/catalog/product/1451 |
|
Wiring the Circuit Start by building the circuit as described here: http://www.trainelectronics.com/PicaxeSpeedController/article . It is not necessary to install the L298N power IC unless you want to have both power options available. Five wires need to be connected between the left side of the H-Bridge board and the PICAXE board. In addition the two boards need to share a common ground so power for the both boards must come from the same source. Connect wires to the following pins on the H-Bridge board: INA, PWM, INB, VDD and GND
These pins connect as follows:
To share the power between the boards connect the positive power pin on the input side of the 7805 on the PICAXE board to VIN (on the right hand side) and the ground pin to GND (on the right hand side). The photo below shows the boards wired together as described above. If you are planning on using the H-Bridge with high current loads you must use wire that is capable of handling such power. The wire shown below was used for testing only and will be replaced when used with more than a few amps. The individual red and black wires that go between the two boards are the ones that need to be sized to the load. The five wires in the ribbon cable can be quite thin as they carry no significant current. |
|
Video This video demonstrates the power board as it is used to power motors drawing up to 12 amps. (right click on the box below and select Play or click HERE) Conclusion |