SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
Old Feb 19, 2012, 04:01 PM
Registered User
USA, VA, Virginia Beach
Joined Nov 2011
2 Posts
Help!
Paparazzi PPM encoder board build

Hi,

I build the Paparazzi PPM encoder board according to the information on this site: http://paparazzi.enac.fr/wiki/ATmega..._Encoder_Board
The schematics and the firmware that can be found at the bottom of that site are made for an ATmega168. I used the schematics Version 2 (ATmega168 with 16MHz crystal).
To upload the firmware I used this command:
Code:
avrdude -p atmega168 -P USB -c usbasp -U lfuse:w:0b11110111:m -U efuse:w:0b111:m hfuse:w:0b11011001:m -U flash:w:ppm_encoder_v4_3+bootloader_16Mhz.hex
(same as on the mentioned website)
The upload went ok but it seems like the program is not running. The bootloader is not responding, the LED is not coming on and there is no signal on any of the pins.

Any ideas what might be wrong?

Robin
FlyRobin is offline Find More Posts by FlyRobin
Reply With Quote
Sign up now
to remove ads between posts
Old Feb 20, 2012, 06:33 PM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,774 Posts
did you try this....
http://paparazzi.enac.fr/wiki/ATmega..._Encoder_Board
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Feb 21, 2012, 06:32 PM
Registered User
USA, VA, Virginia Beach
Joined Nov 2011
2 Posts
If you mean this:
avrdude -p atmega168 -P <Insert port here> -c <Insert ISP type here> -U lfuse:w:0b00100010:m -U efuse:w:0b111:m -U flash:w:servo2ppm+bootloader.hex
No. Because on the page in my previous post it says:
"Fuse settings shown above may give unpredictable results and strange behaviour, depending on device and crystal."

And another thing is irritating me. A bit further down on the page you mention is this:
...edit the makefile. Find this:

# The below fuse settings are for the 328p
#Low fuse is the same for the mega 328 and mega 168
LOW_FUSE_328 = 0xDF

...............................

and replace with:

# The below fuse settings are for the mega168
#Low fuse is the same for the mega 328 and mega 168
LOW_FUSE_168 = 0xC2

First: I searched in the makefile but did not find these lines
Second: It says "Low fuse is the same for mega 328 and mega 168" but the following line is different.
I'm using mainly Arduino so this is a bit confusing for me.
FlyRobin is offline Find More Posts by FlyRobin
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Sold FPV Misc stuff (PPM encoder/servo stretcher/HK board camera mrfliboy FPV Equipment (FS/W) 5 Jan 12, 2012 05:51 PM
Sold Quadrino Board & PPM encoder Like new badbill Aircraft - Electric - Multirotor (FS/W) 1 Oct 31, 2011 09:21 PM
Discussion Using a PPM encoder board with the 9C trainer port? AnnihilaT DIY Electronics 12 Apr 07, 2010 03:37 AM
Discussion PPM Encoder Board arminm UAV - Unmanned Aerial Vehicles 0 Aug 12, 2009 01:43 AM