Software

I use the standard IDE software development environment to write my Arduino code. And I use the standard C-compiler to get executables which I send to the Arduino via a USB port. For debugging it is very nice to have also an output com port on your PC.

I use this with the command "Serial.println", which is working flawless.

The general set up of the software is following (after a lot of experimenting,...):

- I use interrupts for TX and RX, so the RX input from the FT-950 is connected to an interrupt capable pin of the Arduino and the software reads the interrupt on the rising flank RX and the falling edge the TX. Two void() modules are doing the work after the interrupts are activated.

- writing to the display costs a lot of time,.......I did that first in the main loop but is slows down the process down to 180 ms per loop. I did not like that (too slow for reacting on calamities), so I put all the display writing related software in one module and run this only once per second. All other code is fast, just putting codes to outputs and getting codes from inputs and a few calculations. The loop was now only a few ms's.

- After starting up (putting power on the PA, the Arduino starts up and I let him do a lot of tests. Relay tests, CAT input tests, etc. You can make it as beautiful as you wish.

After entering the main loop() the Arduino is constantly measuring temperature, powers, band info and everything I like to see on my display.

 

If you want my code, you can get if for free. Just give me an e-mail with call sign (by the way, I like good whiskey. GOOD whiskey). You can get me also in the good mood to give it away, is donating to the maasbreewebsdr project.

 

Create Your Own Website With JouwWeb