RX 43-D programming with orangutang b-238

All things antweight

Moderators: BeligerAnt, petec, administrator

Post Reply
Roboteernat
Posts: 109
Joined: Fri Oct 05, 2012 12:37 am
Location: Eastleigh, nr Southampton
Contact:

RX 43-D programming with orangutang b-238

Post by Roboteernat »

Well, i bit the bullet and ordered an orangutang pololu b238 to connect to my RX 43-D from deltang.
Im thinking might been easier to buy a peterwaller device, but i like to do things the difficult way...

Instead of building my own controller board (like mentioned in prev post - need to get funds forst to get prof made boards) i got the b238.

Using the code mentioned in prev post
http://robotwars101.org/forum/viewtopic.php?f=1&t=1974
i connected my board and rx up together and tested. Lie in the post above it failed to work, so i attempted the alternative ports,

I have:
CH1 - PD7
CH2 - PD4

Code: Select all

#define CH1 7 // ELE - FWD/REV
#define CH2 4 // AIL - LEFT/RIGHT
copied from full code from post above.

I have programmed RX using data from: http://www.deltang.co.uk/rx43d-3-v503-p.htm
thats 3, 1, 1, 1, 1 flashes of RX

now, my robot is turning both motors on forwards. can anyone suggest setting to set the programmer, or do a link or vid to full programming setup.

One thing i did try to do is try the more complex code mentioned in post above: http://www.pololu.com/docs/0J37/4
but cannot get the orang programmed as AVRDUDE doesnt seem to come with studio 6 anymore, nor does the gui avrdude downloaded seperatly contain facilities to programme a device, but rather simulate it.

Any help is appreciative.

Additional: i have now ordered 2xRX-31-D which seems to be the common RX (if the same but less functionality - thanks peter from prev post i made)

Thanks

Nat
Some projects done: Wirelessly controlled mechanical hand/arm
Heavyweight: Short Circuit
Antweight robot : Locking wheel nuts, dell-apidated bANTtry...
Featherweight : Wanna Choppa, CASPer
Check out http://www.Roboteernat.co.uk for more details
User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: RX 43-D programming with orangutang b-238

Post by BeligerAnt »

Roboteernat wrote:...nor does the gui avrdude downloaded seperatly contain facilities to programme a device, but rather simulate it....
Avrdude DOES program devices, it's not just a simulator!
BUT if you run it under windows you do need to make sure giveio.sys is installed AND RUNNING to allow it to access the parallel port (assuming you are using a parallel port programmer).
It's a while since I used it with a parallel port programmer but as I recall it does take a bit of setting up. Much easier with the Dragon programmer!
Try Avrfreaks.net - plenty of good info about Avrdude and AVRs in general there :)

Run Avrdude from the command line and take note of any messages. Googling them may well unearth your solution.

When Avrdude is running properly you should be able to integrate it with AVRStudio if that's the way you want to go. There is also an AVR plugin for Eclipse which works well (at least it does under Linux - not tried it under Windows). WinAvr is a fairly good integration of open source AVR tools, but AVRStudio is a bit more polished (now that it's basically MS Visual Studio) if you can get it to play with Avrdude.
Gary, Team BeligerAnt
Roboteernat
Posts: 109
Joined: Fri Oct 05, 2012 12:37 am
Location: Eastleigh, nr Southampton
Contact:

Re: RX 43-D programming with orangutang b-238

Post by Roboteernat »

I have a MLP4DSM controller and having difficulty translating the programming of the RX43-d.

Can anyone let me know the commands of flashes to work with the above code (linked in other post)

Thank you

Nat

PS, i assume this works by allowing throttle to do mixing and control forward and back, and the aileron (ch 2) can control left and right to TOS. my attempts at programming the rx have shown mixed outputs and its been a week now :(
Some projects done: Wirelessly controlled mechanical hand/arm
Heavyweight: Short Circuit
Antweight robot : Locking wheel nuts, dell-apidated bANTtry...
Featherweight : Wanna Choppa, CASPer
Check out http://www.Roboteernat.co.uk for more details
Post Reply