
rbonari
I am looking to control a basic RC Truck using an HBridge from EZ-Robot. The RC truck is quite simple in that it has one motor for forward and reverse. It has another motor for left and right steering. With the regular RC Controller there is no PWM to control the speed going forward or reverse. My goal is to use the EZB controller along with a mobile app to control the RC Truck and add headlights, the EZB camera in the truck bed, etc.
My thought was to use the HBridge PWM Movement Panel along with the joystick pads in the mobile interface builder to control the truck motors to simulate the original RC Controller. I need to control the motors separately. It looks as if the EZB HBridge PWM Movement Panel is set up to control a left and right motor to give you the forward, reverse, left and right functions. This won't work in my case because there is one motor for forward/reverse and another for left/right.
I wanted to control the motors separately and not in conjunction with each and I have looked at the EZB HBridge PWM Movement Panel and the Joystick Pad in the Mobile Interface Builder to see if I could make them work like I want with no success.
Is there a way to do what I want with the existing Movement Panel and joystick pads and if not can the movement panel/joystick pad controls be modified to accommodate cases where one might want to control the motors individually?
Ideally I would like to have one joystick in the mobile interface builder control the forward/reverse function with PWM and another joystick pad to control the left/right functions with no PWM required. Doesn't look like the existing HBridge PWM Movement Panel and Mobile Interface Builder in their current forms won't work. This is my view and I certainly could be wrong. Any thoughts on this matter would be much appreciated.
I think an HBridge PWM Movement Panel/Mobile Interface Joysticks that allow the motors connected the HBridge Hardware to be controlled individually would be useful not only for my application but also other applications. Again, any thoughts on this are much appreciated and other solutions are also welcome.
When the IOTINY's are available, will you announce it on the forum or should we be looking in the EZ-Robot Store or both?
Chinese New Year is just ending so we are ramping back up. It's a whole month off they take
Alan
Alan
I came up with a Movement Panel for the truck and it works well. However yours looks better than mine and has more direction buttons. I was wondering if I could use your Movement Panel graphics and put my code in for the button scripts? Also interested in what graphics program you used to make the Movement Panel graphics and how you imported it into ARC software? Thanks for your help !
Is it ok if I use your buttons for the movement panel. Also, in the icons library area, I saw an export button but not an import button to get images into ARC. I'm probably missing something obvious. Maybe the export button means to export from say google into ARC? I checked in forum and didn't see any direct information on this subject. I've got the script part down just fine. Thanks again !
When you select change can you import an image into ARC from a source on the internet like PJ was mentioning? In other words change is the same as import? Thanks much ! Rick
Thanks much ! I will investigate how to get images into ARC and give it a try. I will try and click on the change button to see if it comes up with a box to enter url to download images. Haven't had time yet to try this out. Thanks again for your help ! Rick
Just wondering if you had a chance to check out the SayEZB issue in my project using your android phones with version 6.0.1 software? Thanks for your efforts........Rick
Alan
Alan
Looks like maybe this was successfull. Rick
Rick
On the left (red circuit board) is the H bridge controller, and on the right (Green circuit board) is the voltage regulator for the 3x Ultrasonics sensors. The LED's are wire directly to the EZ-B, used signal wire (D14, D15) to turn them on and off with a simple script.
Quick breakdown of the pins assignments also in the demo project,
D0 PWM Sterring
D1 PWM Rear
D2 Hbridge A1
D3 Hbridge A2
D4 Hbridge B1
D5 Hbridge B2
D6 Scan Trig White
D7 Scan Echo Red
D8 E-Stop Trig White
D9 E-Stop Echo
D10 Rear Trig White
D11 Rear Echo Red
D12 servo Y 1-71
D13 servo X 2-180
D14 Brake Light
D15 Headlight
Picture below, try several time to remove the built in steering motor, but difficult to mount the servo without buying new stuffs (wanted to used what I had laying around) , so I tap into the original steering, not precise. Do not turn as sharp as I would like but for learning purposes does the job.
Thanks much for the pictures ! I will probably add an ultrasonic sensor somewhere in the front of my truck. Just happy my truck is up and running....Take care....Rick