Hello everyone,
I would like to explain to you all my project and get any feedback from you guys, in hope of helping me out figure out some stuff I'm missing. Hope the post isn't too long for you too read but I'm going to give a quick run down on where I started.
V1.
So I started a simple project with a basic 30$ RC Car that I bought at Costco. Stripped everything strapped a Arduino Yun in with a adafruit MotorShieldV2 to control the front and back motors and a webcam on top for live streaming that was moved by a servo connected to the MotorShieldV2. All that was controlled by a Nexus 7 Android tablet via WiFi. That was proof of concept then anything else. So then we moved on to V2 of that idea.
V2.
Ok so here we are, we bought a bigger platform to work on, It's a huge hummer that once again stripped down. We are still using the Arduino Yun, but now we need to control one motor for the rearWheels, one servo for the front direction, and a 2 axis servo that's going to have a paint gun mounted on it. Right now I have a couple of questions about my build
- I need to know how can I determine how much torque I need on my servo to be able to rotate and lift my paintgun?
- Right now I use a tablet to control my RC Car and the web cam and the servos once I'll mount them... I would like to use the tablet only for live feed from my webcam and connect a BlueTooth controller to drive the car and webcam with the two thumbsticks. What are your suggestions?
- Is the Arduino Yun the best platform for this project or another Arduino would be more fitted?
- I would like to be able to drive the Truck even when the WIFI limitation has been reached, would a GSM shield be a good option for that and how can I use a GSM shield without a lag?
I'm open for all kind of suggestions here since I'm still learning alot and I'm far from being an expert.
Thank you everyone.
AllSystemGO:
::::SNIP::::
- I need to know how can I determine how much torque I need on my servo to be able to rotate and lift my paintgun?
- Right now I use a tablet to control my RC Car and the web cam and the servos once I'll mount them... I would like to use the tablet only for live feed from my webcam and connect a BlueTooth controller to drive the car and webcam with the two thumbsticks. What are your suggestions?
- Is the Arduino Yun the best platform for this project or another Arduino would be more fitted?
- I would like to be able to drive the Truck even when the WIFI limitation has been reached, would a GSM shield be a good option for that and how can I use a GSM shield without a lag?
I'm open for all kind of suggestions here since I'm still learning alot and I'm far from being an expert.
Thank you everyone.
On #2, It looks good. However, on bluetooth make sure you'll need to make sure you use the classic and not the BLE (bluetooth low energy). Otherwise that radio link might be challenged over distance. On the wifi, try to stay on the lower bands. The 5ghz might give you problems when not in line-of-sight.
On #3, when using the Yun, you might find it more effective to remove the bridge software and write your own. Reminder, the stock bridge software is just a link between the two processors. And the Linux side is laden with multiple layers, including http.
On #4, ignore for now. The time till you get to where this is an issue is months away. They might have a 4G module by then.
Jesse
Thank you Jesse for your input.
on #2
I think it's a great idea too but my problem is that BL as a limitation of 10 meters... Once I'm pass that how am I going to control the car and the limitation of wifi is about twice that.
I would like to know what is the best way to send command to the arduino, for my v1 i was creating a ssh to the arduino then telnet the commands and it was working pretty good, the latency was really minor even not existent is that the best way?
AllSystemGO:
::::SNIP::::
I would like to know what is the best way to send command to the arduino, for my v1 i was creating a ssh to the arduino then telnet the commands and it was working pretty good, the latency was really minor even not existent is that the best way?
@AllSystemGO,
I would say since latency is not an issue stick with it. You can optimize this part later.
One thing that would be nice is if the Yun had a dedicated socket function for the ATmega32u4. The "bridge" library an function is a bit of a hack, but I understand why they did it. That said, you might want to consider using the REST interface that was suggested, and perhaps build your own REST sketch for the ATmega32u4 side of the bridge.
Jesse