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
projects:laura [2022/11/30 18:38]
127.0.0.1 external edit
projects:laura [2023/09/15 19:01] (current)
darron [STM32]
Line 1: Line 1:
 ====Laura long range radio ==== ====Laura long range radio ====
  
-Laura utilises [[:interfaces:semtech|LoRa]] radios with at least one transmitter on an ATMega or STM32 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.
Line 7: Line 7:
 The tranmistter 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 tranmistter 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.
  
-At this time, the STM32 based B-L072Z-WRLAN1 board is in active development as a sensor node.+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 recommeneded LoRa board is used. The Raspberry Pi has can be any model with a 40 pin header if the recommeneded LoRa board is used.
Line 80: Line 80:
 ===STM32=== ===STM32===
  
-Work-in-progress.+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 106: 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_AVR+hg clone http://hg.kewl.org/pub/LoRa_avr
 </code> </code>
  
Line 119: Line 130:
  
 <code> <code>
-make -f uno.mk SENSOR=DHT11+make -f Makefile.uno SENSOR=DHT11
 </code> </code>
  
Line 128: 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 150: 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 194: Line 205:
 __Client__ __Client__
  
-TWI (I2Cerror recovery.+TWI/I2C error recovery.