Hi all
I just built a tracker with Eduards fw and got it working so here is some info that I hope will help others.
We need to download Arduino IDE, Im using arduino 1.8.9 and I know Eduard is using 1.8.8 so either should work, you find it on
Then you need to add the following code to your boards.txt file under Program files/arduino/hardware/arduino/avr? ?(boards.txt is included in the rar)
and then choose this board in Tools menu, when compiling it will probably give a few warnings about the board but its ok.
##############################################################
pAvaR6LP.name=pAVA R6 Low Power (1.8V, 4 MHz) w/ ATmega328
pAvaR6LP.upload.tool=avrdude
pAvaR6LP.upload.protocol=arduino
pAvaR6LP.upload.maximum_size=30720
pAvaR6LP.upload.speed=57600
pAvaR6LP.bootloader.tool=avrdude
pAvaR6LP.bootloader.low_fuses=0xFD
pAvaR6LP.bootloader.high_fuses=0xDA
pAvaR6LP.bootloader.extended_fuses=0xFE
pAvaR6LP.bootloader.path=atmega
pAvaR6LP.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex
pAvaR6LP.bootloader.unlock_bits=0x3F
pAvaR6LP.bootloader.lock_bits=0x0F
pAvaR6LP.build.mcu=atmega328p
pAvaR6LP.build.f_cpu=4000000L
pAvaR6LP.build.core=arduino
pAvaR6LP.build.variant=standard
----
We are using the delayMicroseconds function. We need to get the arduino ide aware of our 4Mhz clock. You'll need to replace the wiring.c file under program files/arduino/hardware/arduino/avr/cores/arduino
wiring.c is attached in rar, and as you see, the 328 is driven with a? 4Mhz osc.
If you use another program to burn the hex then set fuses FD DA FE
test the boards: if you solder a board up and want to test if it tx and see that the 328 can communicate with si5351,
upload oscillator.ino and it will put a carrier on 14.097.000, no gps is needed to run this, as of the complete build and flight fw loaded will probably only work if you have a (ublox) gps soldered on.
Libraries needed, unrar and put in ...\arduino-1.8.9\libraries
Time? //? TinyGPS++? //? Si5351? //? JTEncode
----
Edit the files to fit your conditions
There are three importent setting,?
1. Call is set in the main ino file.
2. 27Mhz tcxo "real" freq is set in TelemFunctions.h
3.Telemetry channel is also set in TelemFunctions.h.
----
I include a test hex file with a fake call (AA0AAA) that is tested running on 20m wspr freq, it starts 2 min in, in every 10min slot like 10:02? /? 10:12 and so on, if you get this working you have a good working tracker.
---- /g/HABalloon/files/HABalloon_v0.3.zip I hope I have not forgot anything, but feel free to ask if there is anything unclear :) /Mikael |