fishpepper / OpenSky

opensource implementation of the frsky protocol for multiple targets (D4R-ii, VD5M)
http://fishpepper.de/projects/opensky/
GNU General Public License v3.0
154 stars 70 forks source link

Add a note about the raspberry pi fork of CC2510Lib #4

Closed jimmyw closed 8 years ago

jimmyw commented 8 years ago

Hi @fishpepper.

I got stuck trying to flash my VDM5 with my Arduino. Not really sure why, but i did not manage the flash tool to communicate to the Arduino.

Instead i forked your code, and rewrite it to use a raspberry pi, and flash using its 3.3v gpio. This worked really good for me, and it is very speedy and required no voltage dividers. Now my microquad works perfect using S.BUS 👍

If you want, you can add a note to your README about this, so other users also can try it out.

Thanks again for your work, and the d4r_porting looks promising. If i got time, i am going to try to flash my x4r, i guess it is very minor differences in hardware.

Keep up the good work!!

hpcre commented 8 years ago

Hello Jimmy, I'm at the same position you're in and wish to use the rpi solution of possible. Can you help me out with details of how I you did this? Thanks!

jimmyw commented 8 years ago

Np. Read the README.md at https://github.com/jimmyw/CC2510Lib. It is as easy as connecting all 5 wires correctly :) Tell me if you need help.

hpcre commented 8 years ago

Yeah thanks a lot, just saw your fork..

jimmyw commented 8 years ago

Good luck! Tell me if you succeed!

If you get read/write errors, try increase the serial delay in Python/cclib/ccraspberry.py:34 a little. I successfully flashed my VD5M with just 1us delay.

fishpepper commented 8 years ago

Hi! Thanks for your work, i added this. Right now i am preparing more and more documentation on my blog (http://fishpepper.de/projects/opensky/). I will add more tutorials the next days. I recently pushed my d4r_porting branch to the master, it should be really easy to add new targets now. If you want to flash your x4r make a copy of the board/d4rii directory, add it to the main makefile and edit the config.h file in board/x4r. I would be happy to add this to Opensky! There should be minimal hardware differences i guess..