![]() I Bought a new dagu 4 channel motor controller and it arrived today. I have bought another Dagu 4 motor controller and am hoping I dont fry this one. ![]() *********NOTE******** KEEP motor naming in this order for everything Here's the code, just incase the program might have errors: I changed the Dagu controller's external power supply to 6AA alkaline batteries, I ran the motors for quite a while (liek 10 seconds) and no smoke, but that same chip was getting very hot. When I set the arduino's PWM output to 10 (arduino accepts 0-255), I hear a high pitch noise from hear motor. I've repeated this step a few times and the chip smokes everytime. now, I am only trying to ruen one motor: the motor would run for a few seconds, the motor would stop and one of the chips on the board starts smoking. when it did one of the dagu controller's chips started smoking I tried running all 4 motors and it took 2 seconds before one of the motors started moving slowly. Then plug power to the dagu controller's external power supply pins. The process is that I would power the arduino and then the dagu motor contorller's logic. Setup 2 (because the arduino 5v regulator got fried from setup 1) Arduino is powered through USB, and the 9.6v NiMH only powers the dagu motor controller's external power supply connections: Maybe it's to do with the regulator not coping with the battery?). Leads me to think that my battery is too powerful? (It did say in the manual to use for RC applications only, although I've seen other people use NiMH batteries and I thought that a device would only draw as much current as it needs. eventually after connecting the dagu motor controller and turning on the arudino and then the dagu motor controller, the arduino's 5V voltage regulator died. powering just the arduino mega 2560 alone (nothing connected to it at all) and the board gets quite hot around the USB port area Setup 1 (the ideal setup), both boards are powered from one battery: NOTE: I FORGOT to add the motors to the circuit diagram, I am using brushed MM18 (size 260) motors (I am only controlling one motor for this experiment), their nominal voltage is less than 6V but I've ran them at 9.6v (which obviously shortens their lifetime) I have programmed the arduino mega to set the direction pin to HIGH and the PWM pin to 255. I am having power problems and after researching and some testing, I am quite clueless about what exaclty is wrong. I am trying to control 4 motors using my Dagu 4 channel motor controller and Arudino Mega 2560. I am quite new to electronics and it would be no surprise if I miss something basic in the theory side. MEAN WELL is one of the world's few standard power supply mainly professional manufacturers, covering 0.5 to 25,600W products are widely used in industrial control, medical and other fields, in line with international safety certification, short.I am currently working on a line following car project. MEAN WELL Switching Power Supply Manufacturer But they are not cheap and some have exposed mains connections. The switchmode supplies older laptops used might work, these were around 15V and may provide up to 3A.Ĭheck the Meanwell web site, they have many power supplies and their products have a good reputation. Plug packs are not going to give 3A at best 1.5A. Something that plugs into the mains, is safe and produces 14.5V 3A output. While my electronics experience would enable me to build a 14.5V 3A supply it may be better for you to source something from a model railway supplier. I have become interested in model trains recently and have briefly looked at what is required. I must admit to understanding the principles but I’m not good on the specifics.Ī separate 14.5V DC 3A supply to supply traction current via the motor shield They suggest this power supply should be capable of providing around 14.5 volts at 3 Amps as the Motor Shield would drop the output voltage by around 2 volts. There is appropriate software uploaded to the Arduino Mega 2560 which in conjunction with other control ‘throttle’ software is used to control the locomotives. The info talks about using two separate power supplies - one for the Arduino Mega 2560, which has lower voltage & current requirements (They say 7-9 volts as there is a 2V voltage drop in the Arduino voltage regulator), and one for use with the Motor Shield to provide power to run the locomotive. The locomotives are equipped with suitable DCC decoders that operate the loco and other functions as required. This details the requirements to build a unit using the Arduino Mega 2560 R3 and the Arduino Motor Shield to provide DCC control for a model railway. I’m basing my query on the info provided on the DCC++ EX website ( ), which a friend has sent me. According to my original order, the Motor Shield had an sku of A000079.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |