I have 2 DC boat (trolling) motors that I want to control using only a pair of PICAXE 08M chips. My current configuration is independent motor control with 1 chip for 1 motor (like a bulldozer or skidloader control scheme for example), each chip reading a single POT to determine direction and speed for its own motor. This system works very nicely, but I want to eliminate the double controls and use a joystick instead. However, I want to implement it with only a pair of PICAXE 08M's (Yes, I know there are better chips for the job, but I want to do it with what I have on hand now, no extra $$ layout).
I'm having trouble figuring out exactly how to tackle this challenge. My thought is to have each 08M read both joystick POT's (one POT for speed and forward/reverse control and one for directional control), and from those ADC results, determine the direction and speed of its own motor. Its easy enough to read the ADC's and assign them to variables, then output the interpreted data for each motor, but coming up with the algorithms and code to have each chip interpret that data is giving me a brain fart. I am a complete and total newbie to this area of micro-controlling, I need someone to point me in the right direction here. I don't think I need the full code, just the basic algorithms to manipulate the data. Any help and thoughts would be appreciated.
If I need to give more detail, let me know. Oh, for the mad scientists on the forum, I plan on running the two 12-volt, 50-pound thrust motors from 24 volts just to see how fast I can make a 12-foot jon-boat go on batteries. MUAHAHAHA!!
I'm having trouble figuring out exactly how to tackle this challenge. My thought is to have each 08M read both joystick POT's (one POT for speed and forward/reverse control and one for directional control), and from those ADC results, determine the direction and speed of its own motor. Its easy enough to read the ADC's and assign them to variables, then output the interpreted data for each motor, but coming up with the algorithms and code to have each chip interpret that data is giving me a brain fart. I am a complete and total newbie to this area of micro-controlling, I need someone to point me in the right direction here. I don't think I need the full code, just the basic algorithms to manipulate the data. Any help and thoughts would be appreciated.
If I need to give more detail, let me know. Oh, for the mad scientists on the forum, I plan on running the two 12-volt, 50-pound thrust motors from 24 volts just to see how fast I can make a 12-foot jon-boat go on batteries. MUAHAHAHA!!