Jump to content


Photo

Hacking the I2C interface of Spektrum DX and AR ?


  • Please log in to reply
355 replies to this topic

#201 brashley

brashley

    RC-Cam'er

  • Members+
  • PipPip
  • 75 posts

Posted 13 March 2008 - 10:25 AM

That looks fantastic Mr.RC-Cam. Yep, that SOT is about the size of 5 fleas.

I would imagine since we had no problems with the failsafe working in the PIC12F509 between the DX6 and the DX7 that the timing limits between the two is fairly close and that your code for the PIC10F should work equally well for both as well. :D

Richard

Edited by brashley, 13 March 2008 - 10:26 AM.


#202 Mr.RC-Cam

Mr.RC-Cam

    RC-Cam Mentor

  • Admin
  • PipPipPipPipPip
  • 4,559 posts
  • Location:USA
  • Interests:R/C video and photography.

Posted 13 March 2008 - 11:41 AM

... the two is fairly close and that your code for the PIC10F should work equally well for both as well.

The memory space on the PIC10F is much smaller, so I had to create new code to fit it in. So, it's never as simple as it seems. :)

Truth be told, the version I created for the PIC12F509 was really just to help out the ongoing efforts with the V2 interface. I knew brashley had some, because of our recent rework of the PanCam firmware. I never intended to use that part with the MK PPM interface, but it shared some routines from another project and it wasn't a hardship to re-purpose the code.
- Thomas

#203 Arthur P.

Arthur P.

    RC-Cam'er

  • Members+
  • PipPip
  • 68 posts

Posted 13 March 2008 - 12:05 PM

For some reason they don't want to guarantee shipping outside of the US and Canada. So here I am with my high Euro/low Dollar and I can't even buy US stuff (even accepting excessive customs taxes in the bargain)..... Guess I-ll have to wait until united have them back in stock ;=))

You can get them form Horizon Hobby http://www.horizonho...?ProdID=SPM9545

They also have extensions for the receivers
http://www.horizonho...?ProdID=SPM9012

Richard



#204 Victor

Victor

    RC-Cam Visitor

  • Members+
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Live Oak, FL
  • Interests:RC Heli, Quadro, Boat, Truck, Robots. I Love to Tinker with stuff.

Posted 20 March 2008 - 07:27 AM

Hi Guys, Sorry I don't have anything to add to this, but following your discussion, I have a similar problem with trying to Hack a board for a Walkera UAVP. Arthur P has already seen my questions in the other forum, but for a lack of funding, I now find that buying a UAVP board already populated and designed for brushless motors is my best approach.

I can't read German, so don't have a clue what I was trying to look at, do any of you have any details on where I can purchase a ready made UAVP board that will control 4 brushless motors with a DX6 radio?

I don't have a problem assembling parts, but I don't know enough about all this to know what parts I need to buy to make it work. It would be nice if there was a Pre Populated controller board that had everything including the gyro's, and all I had to do was attach my DX and brushless motors.

Do any of you know where I can find such a board?

Vic

#205 Arthur P.

Arthur P.

    RC-Cam'er

  • Members+
  • PipPip
  • 68 posts

Posted 20 March 2008 - 12:00 PM

-AT-Victor, Assuming your located in the USA: http://www.quadroufo.com/ Look under Flight Controler for the populated board. I would suggest that you check with them whether you an use the AR6x00 and/or AR7x00. I believe the UAVP had problems with the latter due to the unusual sequence of the channels. Also check whether the ESCs you want to use will work if you want to use PWM control. You can of course use Holgers, YGExxi-s, or converted TowerPro 18A, 25A, or 30A ESCs over I2C/TWI.

Note that there are two threads here on UAVP and/or Mikrokopter under Floobydust. E.g. http://www.rc-cam.co...?showtopic=2524.

Edited by Arthur P., 20 March 2008 - 12:05 PM.


#206 Victor

Victor

    RC-Cam Visitor

  • Members+
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Live Oak, FL
  • Interests:RC Heli, Quadro, Boat, Truck, Robots. I Love to Tinker with stuff.

Posted 20 March 2008 - 01:18 PM

@Victor, Assuming your located in the USA: http://www.quadroufo.com/ Look under Flight Controler for the populated board. I would suggest that you check with them whether you an use the AR6x00 and/or AR7x00. I believe the UAVP had problems with the latter due to the unusual sequence of the channels. Also check whether the ESCs you want to use will work if you want to use PWM control. You can of course use Holgers, YGExxi-s, or converted TowerPro 18A, 25A, or 30A ESCs over I2C/TWI.

Note that there are two threads here on UAVP and/or Mikrokopter under Floobydust. E.g. http://www.rc-cam.co...?showtopic=2524.


Hi Arthur, My DX6 radio can only use the stock AR6000 Rx. The DX6i and DX7 are the ones that use an AR6100 or above.

I sent them an email to ask if their product will support my DX6 radio system. I guess it's too early in the morning there. I Hope to receive something from them by tomorrow.

I was also looking at http://www.lipoly.de...roducts_id=5750 Do you think this will do what I need?

#207 Arthur P.

Arthur P.

    RC-Cam'er

  • Members+
  • PipPip
  • 68 posts

Posted 20 March 2008 - 03:55 PM

Hi Victor, I didn't check completely, but I think you're pointing to the same set as the US shop is offering. I expect you'll have it quicker and with less hassle with e.g. customs when you order there. And it will get you English language support from them.

#208 Victor

Victor

    RC-Cam Visitor

  • Members+
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Live Oak, FL
  • Interests:RC Heli, Quadro, Boat, Truck, Robots. I Love to Tinker with stuff.

Posted 21 March 2008 - 01:50 AM

Hi Victor, I didn't check completely, but I think you're pointing to the same set as the US shop is offering. I expect you'll have it quicker and with less hassle with e.g. customs when you order there. And it will get you English language support from them.


Thanks Arthur, I went there and checked it out. and I can actually read it. They had a couple choices, and I have asked them about their basic board, but haven't heard back from them yet. I asked them if my DX6 and AR6000 would work with it. I hope they reply soon, I would like to get this thing in the air.

#209 Arthur P.

Arthur P.

    RC-Cam'er

  • Members+
  • PipPip
  • 68 posts

Posted 22 March 2008 - 12:28 AM

Thanks Arthur, I went there and checked it out. and I can actually read it. They had a couple choices, and I have asked them about their basic board, but haven't heard back from them yet. I asked them if my DX6 and AR6000 would work with it. I hope they reply soon, I would like to get this thing in the air.


You could also do a search for DX6 and AR6000 in the forum on http://www.uavp.de/ . It is one of the frustrating forums where you have to register before being allowed in. But it does supply a lot of info on the UAVP system, and will get you a lot of support if you post quesions there. I don't believe they're too strict on the use of German.

#210 Victor

Victor

    RC-Cam Visitor

  • Members+
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Live Oak, FL
  • Interests:RC Heli, Quadro, Boat, Truck, Robots. I Love to Tinker with stuff.

Posted 22 March 2008 - 03:41 AM

You could also do a search for DX6 and AR6000 in the forum on http://www.uavp.de/ . It is one of the frustrating forums where you have to register before being allowed in. But it does supply a lot of info on the UAVP system, and will get you a lot of support if you post quesions there. I don't believe they're too strict on the use of German.


I tried looking around there after I registered, but I didn't see any english in any of the topics.

I guess I will just keep knocking along till I figure this thing out

Thanks again Arthur
Vic

#211 Arthur P.

Arthur P.

    RC-Cam'er

  • Members+
  • PipPip
  • 68 posts

Posted 23 March 2008 - 12:11 AM

I tried looking around there after I registered, but I didn't see any english in any of the topics.

I guess I will just keep knocking along till I figure this thing out

Thanks again Arthur
Vic


Hi Vic,

Sorry about that. Haven't looked in that forum for a long time. I thought they did have a bit of an international section. There is currently a new UAVP parameters thread in www.RCGroups.com under Aerial Photography. If you post your question there, I expect you will get confirmation quickly.

#212 superdave420

superdave420

    RC-Cam Visitor

  • Members+
  • Pip
  • 2 posts

Posted 22 April 2008 - 01:28 PM

Hello, I want to use a AR6000 or even an AR6300 with a DX6 TX on the new Alien Air Jump Jet. it's stock control is IR. a FM hack has been done by feeding the PPM stream directly into the Jump Jet main control board.

I have read all the pages here in this forum and I must say it was awesome to see the development of the PWM to PPM converter. I have learned a lot in that process. I am a Mechanical Designer though and don;t have too much serious electronics backround.

I'd like to use the V2. schematic and layout without the microcontroller. what would I have to do to modify it to work with 6 channels ? would I just remove the entire channel 7 parts ?

I really appreciate your help, and if there is anything I can do in return to help payback for the help let me know < 3D soldiworks designs, photo-rendering etc.. >

this is my info on RCgroups http://www.rcgroups....ber.php?u=32806


David

#213 brashley

brashley

    RC-Cam'er

  • Members+
  • PipPip
  • 75 posts

Posted 22 April 2008 - 01:42 PM

Hi David. All you need to do is identify the last channel in the sequence (as the receiver spits it out, not sure on the AR6000 but RC-CAM might know, for the AR7000 it is the RUDD channel) and hook that up to the last channel on the converter (channel 7), the others don't matter in terms of order.

The channel 7 parts are needed to produce the final pulse on the falling edge of the last channel PWM signal. The rest of the pulses are generated from the rising edge of the other PWM channels. So if you have six PWM channels you need 7 PPM pulses (start and 6 for the channels)

I have an AR6000, if I get time I will check to see what the last channel is. I have just never checked before.

Richard

Edited by brashley, 22 April 2008 - 01:45 PM.


#214 Mr.RC-Cam

Mr.RC-Cam

    RC-Cam Mentor

  • Admin
  • PipPipPipPipPip
  • 4,559 posts
  • Location:USA
  • Interests:R/C video and photography.

Posted 22 April 2008 - 02:00 PM

On the AR6000, the last channel is CH-6. They are sequenced in standard JR order too. Spektrum did good on this Rx (did not use the goofed up channel ordering found on the AR7000).
- Thomas

#215 superdave420

superdave420

    RC-Cam Visitor

  • Members+
  • Pip
  • 2 posts

Posted 22 April 2008 - 02:40 PM

Thank you both very much for your quick replies, I perfectly understand what was said. very cool.

I'll let the others in the "Jump Jet" thread know the details then. I really hate the word "can't" it gets tossed aorund waaay too much :-)

#216 skygizmo

skygizmo

    RC-Cam Visitor

  • Members+
  • Pip
  • 2 posts

Posted 25 July 2008 - 11:37 PM

is it any that has the last ver for sell?
either card or complete kitt
thank you on for hand

Magnus
Sweden

#217 Mr.RC-Cam

Mr.RC-Cam

    RC-Cam Mentor

  • Admin
  • PipPipPipPipPip
  • 4,559 posts
  • Location:USA
  • Interests:R/C video and photography.

Posted 26 July 2008 - 05:29 PM

I have extra blank PCB's (no components) from the one that is shown in post 200. This is the version with failsafe. I don't have assembly instructions, so the builder would need to be able to follow a schematic. The blank PCB's are $5 each plus shipping. You would need to gather the parts to stuff it (I may be able to help supply the parts that you cannot find from your vendor). If interested, please PM me (don't use email).

I think that Brashley has built all three versions of this hack. He may be able to advise which circuit is the best. So, it might be best to ask him what he recommends.
- Thomas

#218 tantive

tantive

    RC-Cam Visitor

  • Members+
  • Pip
  • 2 posts

Posted 13 August 2008 - 02:44 AM

Just curious, do you think the v3 board will work with a Futaba FASST Receiver as well?

#219 Mr.RC-Cam

Mr.RC-Cam

    RC-Cam Mentor

  • Admin
  • PipPipPipPipPip
  • 4,559 posts
  • Location:USA
  • Interests:R/C video and photography.

Posted 13 August 2008 - 08:12 AM

I have no idea if it would work, but I recall that the FASST Rx is being hacked to gain access to the internal PPM signal. Try searching rcgroups for the tricks others have tried.
- Thomas

#220 Mr.RC-Cam

Mr.RC-Cam

    RC-Cam Mentor

  • Admin
  • PipPipPipPipPip
  • 4,559 posts
  • Location:USA
  • Interests:R/C video and photography.

Posted 13 August 2008 - 09:59 AM

Attached are the schematic, BOM, and hex files for the PPM V3 Interface. It has been tested on a DX6's AR6000 and a DX7's AR7000.

The parts I used are from mouser.com and digikey.com. Assembly instructions are not provided. So, you'll have to use the schematic and your technical skills to create this little gem. If you've bought the custom PCB from me then the included photos should help you stuff the board.

If you don't want the failsafe feature them omit the PIC (U3) and jump U3-1 to U3-5. Of course R6, R7, and LED1 would not stuffed if the PIC is not installed.

.

Attached Thumbnails

  • pcb1_top.jpg

Attached Files


- Thomas