R/C Tech Forums - View Single Post - Transponder Design
View Single Post
Old 10-04-2013 | 05:07 PM
  #156  
howardcano's Avatar
howardcano
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by PA3EXV
Hi all,
This week my 4-layered PCB for the transponder came in. I already shared the design with you, and now it's time to show the hardware.
The boards look fantastic!!

Originally Posted by PA3EXV
I now must continue on the software inside the transponder to have a blinking LED. I must use interrupt service routines which is a new programming technique for me to explore. By using this, the data-transmissions are not disrupted by the blinking LED.
No interrupts are necessary, but if you want to learn about them, go right ahead. I did it the same way as edeca:

Originally Posted by edeca
Another option is to simply count transmissions and change the LED state when a variable rolls over. Something like the following pseudo-code:

1) Send data
2) Random delay
3) Increment variable i
4) If i == 0, LED equals the opposite of the LED (use XOR)
5) Repeat
howardcano is offline