Pages: 1 ... 3 4 [5] 6   Go Down
Author Topic: Starting my first UGV project - need some starting help  (Read 15389 times)
0 Members and 1 Guest are viewing this topic.
Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay I did a few more tests today, and it is not only on the grass, but just always when the wild thumper get's 'resistance'.
With resistance I mean things like hills, turning on a carpet, going fast forward and backward,... so it's not just by turning.
I'll replace the tamiya's with deans when I receive my lipo battery, and lower the safety voltage at the controller.
Logged

Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just tested a 9,6V 1600mAh battery, and that worked like a charm. All my 8.4V batteries does not work with the Wild Thumper, although, it works, but it can't spin on carpet, etc..., like I said in my previous post.

It was also very remarkable that the Wild Thumper drove much more powerfull and faster.

I'll lower my safety voltage and see what that does.
Logged

Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It works now!
I've installed 4mm² wires and a 7.4v 2s 5000mAh battery and now it works great!

Here is a work in progress picture of it:

« Last Edit: June 28, 2012, 03:07:34 am by TiboJ » Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That does look the part. Does it steer or counter rotate ?

Heres a body shell idea for you, (not one of mine unfortunately) -



Duane B
Logged


Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Counter rotates.

That bodyshell looks nice, and I'll do something 'military style' in the future.
First I'm going to tweak the fpv performance, and then I'll start with the extra things.
Logged

Virginia
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very cool TiboJ. I have just started working on a wild thumper project too except I am using the 4 wheel version with 75:1 motors. I am also using the WT Robot Controller. I have a Spectrum DXi6 radio.

This is also very new to me. I noticed you were going to add a pan and tilt unit at some time. Have you done that? I purchased the Lynxmotion unit. (http://www.lynxmotion.com/p-707-micro-pan-and-tilt-kit-black.aspx). I am struggling on how to control (code) the PT.

I like the switch method that Chargrin noted:

Yes, it would be possible to utilize a switch to tell your Rover that the joysticks (speed and turn signals) control the camera. This would require additional programming on your part; you should look at the example code for the Wild Thumper Controller and make sure you understand it. in the RCMode() function you'll see it reading the speed/turn channels and here is where you'd have it read an additional channel to determine if those readings are for the camera or the wheel motors.

I'd suggest you also set the Rover's speed to zero whenever it detects you've flipped your switch to camera control.

How did you connect yours and can you share your code? Thanks!
Logged

New Hampshire
Offline Offline
God Member
*****
Karma: 17
Posts: 781
There are 10 kinds of people, those who know binary, and those who don't.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you're using a 4+ channel transmitter/receiver with two joysticks, there's no reason to use a 'switch' method.  You can set up one stick to control the rover and one stick to control the pan/tilt.

Doesn't even have to require any code modification either.  Just connect the pan and tilt servos directly to the appropriate channels on the receiver.  Voila, you have pan/tilt and rover control without any switching required.
Logged


Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very cool TiboJ. I have just started working on a wild thumper project too except I am using the 4 wheel version with 75:1 motors. I am also using the WT Robot Controller. I have a Spectrum DXi6 radio.

This is also very new to me. I noticed you were going to add a pan and tilt unit at some time. Have you done that? I purchased the Lynxmotion unit. (http://www.lynxmotion.com/p-707-micro-pan-and-tilt-kit-black.aspx). I am struggling on how to control (code) the PT.

I like the switch method that Chargrin noted:

Yes, it would be possible to utilize a switch to tell your Rover that the joysticks (speed and turn signals) control the camera. This would require additional programming on your part; you should look at the example code for the Wild Thumper Controller and make sure you understand it. in the RCMode() function you'll see it reading the speed/turn channels and here is where you'd have it read an additional channel to determine if those readings are for the camera or the wheel motors.

I'd suggest you also set the Rover's speed to zero whenever it detects you've flipped your switch to camera control.

How did you connect yours and can you share your code? Thanks!
Hello highrad,

Nice to know that you're also working on a similar project!
As I'm now busy with tweaking the range of the camera and the controls, I'm not yet started with a pan/tilt mechanism.
I'll do that after the range tweaking.
As jraskell said, you just need to plug the servos into the right channel into the receiver, that's all.
The 'switch' method is nice if you don't have enough channels on your transmitter, for exemple:
if I want to control a pan/tilt system and a robot arm, but I only have one stick left on my transmitter that already is in use for the pan/tilt. So when I toggle a switch on the transmitter, then the Arduino will 'tell' to use that stick for the robot arm, but not anymore for the pan/tilt.
That is what I'm planning to do.

Let me know about your progress, I'll do that also smiley-wink

Logged

Virginia
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the help jraskell and TiboJ!

I was able to control WT and the PT using the radio. This will allow me to fine tune the WT platform.

Now my application will require the WT to operate in a very thick steel wall vessel about 100 feet away from the operator so to solve the radio wave penatration and multipath issues, I will have to go wired vs. wireless. Let me know if you have any insight in eliminating the radio receiver and connecting directly to the WT Controller with a cable. 

BTW, I will keep you up to date with my project too!
Logged

Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you sure that a good 40Mhz(don't know if it's legal in your country) transmitter and receiver can't penetrate it?
If not, or if not want to use wireless, then it would surely be possible to control the WT with a wired controller, like a ps2 controller.
I think you would need to use the serial pins on the WP controller, not sure. I never did something like that before smiley-wink
I'm sure that there is people out here that know much about that.
« Last Edit: July 14, 2012, 06:07:03 am by TiboJ » Logged

Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just bought a Futaba f-14 40mhz transmitter, but got a problem:
So, Digital pin 1 of the WP controller is connected to channel 2 on the receiver and it works good(forward and backward), although, digital pin 0(steering) doesn't work on any channel, it just doesn't react on any of the channels of my transmitter...
What is the problem here? I can't find it.
The strange thing is that it worked very good on my previous futaba t6ex 2.4ghz transmitter.

I'm still using the standard code:
http://www.exp-tech.de/service/Sample%20Code/Wild_Thumper_Controller.zip

Any help would be appreciated very much!

Logged

Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried to change  digital pin 0 to digital pin 9 and that also didn't make it work.

EDIT: Got it working now, the problem was that the D9 was set as a servo output. Now it's strange that D0 doesn't work, probably it is broken.
« Last Edit: July 29, 2012, 02:48:04 am by TiboJ » Logged

Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does anyone know if I can connect a servo to my 40mhz rc receiver?
I'm not sure because the servo consumes around 230mA and the receiver is powered by the pins of the WP controller like here:


Can the WP controller deliver that current?
How much current can the WP controller deliver on that pins?

I'm talking about this servo:
http://www.servocity.com/html/hs-785hb_3_5_rotations.html
« Last Edit: July 30, 2012, 10:35:38 am by TiboJ » Logged

Greenville, IL
Offline Offline
Edison Member
*
Karma: 15
Posts: 1330
Warning Novice on board! 0 to 1 chance of errors!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


 The picture says you have a LM1084, 5V, 5 amp regulator on board. Given that I would think you have up to 5 amps available. Would need a datasheet to say anything more specific.
Logged


Belgium
Offline Offline
Full Member
***
Karma: 2
Posts: 211
I love Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


 The picture says you have a LM1084, 5V, 5 amp regulator on board. Given that I would think you have up to 5 amps available. Would need a datasheet to say anything more specific.
I think you're right. A friend of me thought the same as you.
There is no datasheet available, but I've contacted the designer of the controller.
Logged

Pages: 1 ... 3 4 [5] 6   Go Up
Jump to: