I'd like to connect the 24v batteries to my motor controller, but I know that's too high for the Arduino. The motor controller can also output 5v, but that's too low for the Arduino. So can I use another battery for the Arduino? Say 9v or 12v?
I thought I read something somewhere that the grounds would need to be connected if I did that, I could be wrong...?
OK I know this one should be pretty easy, but for some reason my brain isn't working anymore these days. Here's what I'n trying to code. The motor turns on & stays on until the photo interrupter beam is blocked. The motor then turns off & a timer starts. When the timer is done the motor starts up again. I can get this all to work, but my problem is when the motor starts up again the photo interrupter beam is still blocked, so it wants to turn the motor off again.
Any suggestions on how to get this to work? Maybe an example or pseudo code...
Ok thx, I guess the main thing I'm still wondering is if I can put 2 motors on each channel of the 2x30A board (4 motors total) or do I need (2) 2x30A boards? If so then can I use just (1) 2x60A board? I don't want to 'experiment' with a $200 board & fry it
Hi guys, First thanks very very much for the replies. They're very helpful & informative. @zacstaples: What where the moving displays they had at the airport? Last year I did a 7' tall R2-D2 with a rotating head.
I haven't seen any other moving can sculptures, but I'm sure they're out there. He only rotated 90 deg. & the head was only around 200 lbs. so it was much easier then the cube this year.
1. No I don't think I'll try to reverse engineer the controller. I know that's over my head, but might be fun one of these days.... :-)
2. So you think 4 motors total? So, I'll need a 4 channel control or 2x 2 channel controls..?
3. Actually no I didn't want them to spin consistently in the same direction. I'd like one level to spin 90 deg. then maybe wait 30-60 sec. then spin the other level maybe in the other direction. I was thinking of having it choose randomly which level to turn & which direction it'll rotate, so it's not a repeating pattern. I also think it should start out slow, then speed up, then slow down as it comes to a stop at the 90 deg. position. PID, I think it's called...
4. I'm so glad you think I should use 30A per channel. The 2x60A controllers seam to be a lot harder to find & a lot of money. It's hard for me to justify spending $200 on something where the funds are supposed to be going to charity & it'll only be on display for a week. I also e-mailed these guys: http://store.eurtonelectric.com/wheelchairscootermotorsmodel425500.aspx since they repair them & they said the motor was 5 amps (pretty close to your 7.5 amps)
5. There will be what I call a "Rotation Ring", basically a big circle all the way around inside the cube. Then the motors will spin against that ring. The ring is attached the the plywood below & the motor to the plywood above. It's like a big turntable. In the first version, shown above, I just had a rubber wheel against the ring (this is how I did R2-D2). But I'm afraid the wheels won't get enough traction with all this weight, so I want to try to do a geared system, cut on a CNC machine out of think plywood. See the new version attached below, with the correct sized motors & gears.... I've already build a small prototype version:
Maybe this video will help show how the rotation is happening. This is of course with the small motors & no Arduino... Also, note at the end of the video, I can have both motors going in opposite directions to make the middle level spin & keep the top level stationary. So I have 3 rotation options: top only, bottom only, or top & bottom in opposite directions...
Hope that all makes since. I guess now I have to narrow down which controller to use...
OK here's a stupid question. If I cut down on the volts, does that mean I can cut down on the amps too? So could I do 12v & 30 amps?
If I connect my 12v, 12ah battery to the motor it seams to run fine.... Sorry for all the stupid questions, as you can tell I'm a noob.
I also have the wheelchair controller & joystick. Another thought is to use the Dynamic Shark controller as is & try to figure out what the joystick is sending to it & have the Arduino replicate that. But that sounds way over my head...