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:laura [2022/11/30 17:31] darronprojects:laura [2024/09/02 23:21] (current) darron
Line 1: Line 1:
-====Laura AVR long range radio ====+====Laura long range radio ====
  
-Laura utilises two [[:interfaces:semtech|LoRa]] radios with one transmitter on an ATMega acting as a sensor and the other as a receiver on a Raspberry Pi running as a processor of the sensor readings. The software has been written to support the 868 MHz EU band only.+Laura utilises [[:interfaces:semtech|LoRa]] radios with at least one transmitter on an ATMega or STM32 acting as a sensor and another as a receiver on a Raspberry Pi running as a processor of the sensor readings. The software has been written to support the 868 MHz EU band only.
  
 This project was designed to monitor the humidity of a remote location and as such has been written to support (initially) one of three humidity sensors boards, namely the DHT11, [[:interfaces:aht10|AHT10]] and SHT3X. This project was designed to monitor the humidity of a remote location and as such has been written to support (initially) one of three humidity sensors boards, namely the DHT11, [[:interfaces:aht10|AHT10]] and SHT3X.
  
-The tranmistter may be either a standard Arduino or [[:boards:rkat28sb|compatible]] else a low power board run from 3 AA cells or equivalent such a [[:boards:moteino|Moteino]] or clone.+The tranmitter can be a standard Arduino or [[:boards:rkat28sb|compatible]] else a low power board run from 3 AA cells or equivalent such a [[:boards:moteino|Moteino]] or clone.
  
-The Raspberry Pi has can be any model with a 40 pin header if the recommeneded LoRa board is used.+A version targeting the STM32 based [[:boards:bl072z|B-L072Z-WRLAN1]] board also exists either powered using libopencm3 or STM32 LL. 
 + 
 +The Raspberry Pi has can be any model with a 40 pin header if the recommended LoRa board is used.
  
 ===ATMega=== ===ATMega===
Line 23: Line 25:
 ==Arduino== ==Arduino==
  
-For a fixed power installation an Arduino or any clone with a [[:interfaces:semtech|Dragino LoRa Shield]] or various alternatives for the 868MHz EU frequency band.+For a fixed power installation an Arduino or any clone with a [[:interfaces:draginoshield|Dragino LoRa Shield]] or various alternatives for the 868MHz EU frequency band.
  
 ==Moteino== ==Moteino==
Line 75: Line 77:
 43.77% of a common year (365 days) 43.77% of a common year (365 days)
 </code> </code>
 +
 +===STM32===
 +
 +This documentation is work-in-progress, but fully operational code can be found below.
 +
 +==libopencm3 (obsolete)==
 +<code>
 +http://hg.kewl.org/pub/LoRa_stm32/
 +</code>
 +
 +==STM32 LL==
 +<code>
 +http://hg.kewl.org/pub/LoRa_stm/
 +</code>
 +
  
 ===Raspberry Pi=== ===Raspberry Pi===
Line 100: Line 117:
 Along with any sensor reading transmitted (humidity and temperature) the client will also send the current Vcc voltage level of the processor. Along with any sensor reading transmitted (humidity and temperature) the client will also send the current Vcc voltage level of the processor.
  
-Fetch the code+Fetch the code for AVR
  
 <code> <code>
-hg clone http://hg.kewl.org/pub/LoRa_node+hg clone http://hg.kewl.org/pub/LoRa_avr
 </code> </code>
  
Line 113: Line 130:
  
 <code> <code>
-make -f uno.mk SENSOR=DHT11+make -f Makefile.uno SENSOR=DHT11
 </code> </code>
  
Line 122: Line 139:
  
 <code> <code>
-make -f uno.mk SENSOR=NONE+make -f Makefile.uno SENSOR=NONE
 </code> </code>
  
 __Arduino MEGA2560 with SHT30__ __Arduino MEGA2560 with SHT30__
  
-A more accurate that has not been test extensively.+A more accurate device that has not been test extensively.
  
 <code> <code>
Line 144: Line 161:
 Program device Program device
 <code> <code>
-make -f uno.mk SENSOR=AHT10 program+make -f Makefile.uno SENSOR=AHT10 program
 </code> </code>
  
Line 178: Line 195:
 ===Schematic=== ===Schematic===
  
-Work in progress schematic.+Work in progress AVR schematic.
  
 {{:projects:schematic_laura_wip.png?400}} {{:projects:schematic_laura_wip.png?400}}
- 
  
 ===TODO=== ===TODO===
Line 189: Line 205:
 __Client__ __Client__
  
-TWI (I2Cerror recovery.+TWI/I2C error recovery.