UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


projects:jimbob:habtrk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:jimbob:habtrk [2013/08/03 10:22] kevwalprojects:jimbob:habtrk [2013/08/08 16:58] (current) kevwal
Line 1: Line 1:
  
-==== Dev board 1 ====+==== PCB Version 006 Board 1 ====
  
 NCP1400 Voltage Reg at 1.8v NCP1400 Voltage Reg at 1.8v
Line 9: Line 9:
  
 RFM22B Radio RFM22B Radio
 +
 +
 +{{http://i.imgur.com/AT0nboq.jpg?nolink&200|}}
 +
 +{{http://i.imgur.com/0rDx5Ef.jpg?nolink&200|}}
  
  
Line 55: Line 60:
 ==== Arduino ==== ==== Arduino ====
  
-Arduinio Software Serial library doesn't support 4mhz clocks - so I created a SoftwareSerial4Mhz with just a 9600 baud line - not yet tested+Arduinio Software Serial library doesn't support 4mhz clocks - so I created a SoftwareSerial4Mhz with just a 9600 baud line - works fine, verified timing with scope to the best of my ability.
  
-Arduinio wiring.c does not support 4Mhz clocks, so delays in the code will be wrong - either edit your delays (/2) or edit wiring.c+<code> 
 +#elif F_CPU == 4000000 
 + 
 +static const DELAY_TABLE table[] PROGMEM =  
 +
 +  //  baud    rxcenter    rxintra    rxstop  tx 
 +  { 9600,     19,         54,        54,     51,    }, 
 +}; 
 + 
 +const int XMIT_START_ADJUSTMENT = 3; 
 +</code> 
 + 
 +Arduinio wiring.c does not support 4Mhz clocks, so delays in the code will be wrong I think - either edit your delays (/2) or edit wiring.c
  
 Added a section to boards.txt to tell the Arduinio IDE about the board: Added a section to boards.txt to tell the Arduinio IDE about the board:
Line 78: Line 95:
 avrispmkiis.protocol=stk500v2 avrispmkiis.protocol=stk500v2
 </code> </code>
- 
 ==== Checking ==== ==== Checking ====
  
Line 100: Line 116:
  
 I should really implement another variable in the sentence to define lock directly for the PUBX code, but I am told the above should do what I want it to do. I should really implement another variable in the sentence to define lock directly for the PUBX code, but I am told the above should do what I want it to do.
- 
- 
projects/jimbob/habtrk.1375525335.txt.gz · Last modified: 2013/08/03 10:22 by kevwal

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki