Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boards:moteino [2021/11/18 17:12]
darron [Programming]
boards:moteino [2022/09/01 13:07] (current)
darron [Resources]
Line 26: Line 26:
 input for DIO1 which may be utilised for Rx timeouts. input for DIO1 which may be utilised for Rx timeouts.
  
-On the XRobotix clone the LDO VREG has been replaced. VIN max is 6V rather than 16V and current max is 200mA instead of 600mA.+On the XRobotix clone the LDO VREG has been replaced. VIN max 
 +is 6V rather than 16V and current max is 200mA instead of 600mA
 + 
 +The board has been tested to work at 2.5V and will transmit at 
 +this frequency even with the 16 MHz XTAL, however, the boot-loader 
 +has a BOR setting of 2V7 which means it will continually reboot at 
 +around 2.9V which is as the top of the BOR range for 2V7. The ATmega 
 +and SX1276 can operate at 1.8V minimum.
 ===Pinout=== ===Pinout===
 <wrap right> <wrap right>
Line 50: Line 57:
 </code> </code>
  
-=== Programming ===+===Boot-loader===
  
-==Boot-loader test== 
 <wrap right> <wrap right>
 {{:boards:clonetest.jpg?200}} {{:boards:clonetest.jpg?200}}
-\\ 
-{{:boards:cloneisp.jpg?200}} 
 </wrap> </wrap>
  
 This is a quick test that communications are working. This is a quick test that communications are working.
  
-The bootloader is probably DualOptiboot_V5.0_atmega328_BlinkD9.hex+The bootloader is related to DualOptiboot_V5.0_atmega328_BlinkD9.hex, perhaps an older revision.
  
 __[[:interfaces:pololu|Pololu USB AVR Programmer v2.1]]__ __[[:interfaces:pololu|Pololu USB AVR Programmer v2.1]]__
Line 68: Line 72:
 power for radio transmission. power for radio transmission.
  
-__Configure__+==Configure==
  
 <code> <code>
Line 76: Line 80:
 </code> </code>
  
-__Probe__+==Probe==
  
 <code> <code>
Line 92: Line 96:
 </code> </code>
  
-==ISP==+===ISP===
  
-ISP must be performed at 3V3 and beware that cheap programmers will bit bit-bang+<wrap right> 
 +{{:boards:cloneisp.jpg?200}} 
 +</wrap> 
 + 
 +ISP must be performed at 3V3. Beware of cheap programmers that bit-bang
 I/O at 5V. I/O at 5V.
  
 __[[:interfaces:pololu|Pololu USB AVR Programmer v2.1]]__ __[[:interfaces:pololu|Pololu USB AVR Programmer v2.1]]__
  
-I/O pins on the Pololu have 470R in series.+I/O pins on the Pololu have 470R in series and it uses target voltage sense.
  
-__Moteino__+==Moteino==
  
 PB2 must be pulled high via 100K when ISP is connected to PB2 must be pulled high via 100K when ISP is connected to
Line 117: Line 125:
 </code> </code>
  
-__ISP__+==Pololu==
  
 Vcc must be connected to target 3V3 because ISP will not function Vcc must be connected to target 3V3 because ISP will not function
Line 129: Line 137:
  
  
-__Configure__+==Configure==
 <code> <code>
 pavr2cmd --restore-defaults pavr2cmd --restore-defaults
Line 136: Line 144:
 </code> </code>
  
-__Probe__+==Probe==
  
 <code> <code>
Line 171: Line 179:
  
 [[https://www.hoperf.com/data/upload/portal/20190801/RFM95W-V2.0.pdf|RFM95W datasheet]] [[https://www.hoperf.com/data/upload/portal/20190801/RFM95W-V2.0.pdf|RFM95W datasheet]]
 +
 +[[https://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p|ATMega fuse calculator]]