Difference between revisions of "TrigGateway"

From Kevin Darrah Wiki
Jump to: navigation, search
Line 3: Line 3:
 
[[File:trigGatewayHome.png|600px]]
 
[[File:trigGatewayHome.png|600px]]
  
The Weather Board is a breakout for the [https://www.bosch-sensortec.com/bst/products/all_products/bme280 BME280] (Temperature/Humidity/Pressure) and [http://www.ti.com/lit/ds/symlink/lmt01.pdf LMT01].  The board was designed to pair up nicely with the [[trigBoard]].
+
This is the first version of a board called the "trigGateway" and this will take your trigBoard project to the next level!
  
[[File:weatherGerb.png|200px]]
+
The purpose is simple - if you are using trigBoards to send push notifications, then you want those notifications FAST!  That's where this board comes into play. Instead of the trigBoards all waking up connecting to the provisioned SSID and then sending directly to the service (pushbullet), NOW the trigBoards just wake up and immediately send a packet to the trigGateway, then it will take care of getting it off to the notification service (pushbullet).  It does this with the help of two radios - one is listening for trigBoards, the other is always connected to the SSID ready to send off with the push notification. With this setup, trigBoards are only awake for ~1sec... then you get the notification really fast now. 
  
Note! Make sure to watch the video below on the assembly of the board:
+
* Using ESPnow for point-point encrypted communication within ESP8266 modules, thanks to [https://github.com/HarringayMakerSpace/ESP-Now HarringayMakerSpace]
 
 
{{#evt:
 
service=youtube
 
|id=https://youtu.be/SfBbGuwqzGI
 
|dimensions=560x315
 
}}
 
  
 
== Schematic ==
 
== Schematic ==
  
[[File:weatherSCH.png|800px]]
+
Note that this was also an experimental board for an auto-reset circuit, so make sure you pay careful attention to the rework notes:
 
 
== Programming ==
 
 
 
For the BME280, the [https://github.com/sparkfun/SparkFun_BME280_Arduino_Library Sparkfun Library] works perfectly.  Only thing to change is the Address to 0x76, and of course make sure to use I2C.  I tested using the "I2C_ReadAllData" example. 
 
 
 
The LMT01 is very simple to work with - follow this tutorial, make sure the code is setup for the ESP8266 and the pulsePin is 14. 
 
  
{{#evt:
+
[[File:trigGatewayReworkSCH.png|800px]]
service=youtube
 
|id=https://youtu.be/Jf8fhW68vYs
 
|dimensions=560x315
 
}}
 
[http://www.kevindarrah.com/download/arduino_code/LMT01.ino CODE HERE]
 

Revision as of 22:36, 8 November 2018

...Back to Projects:

TrigGatewayHome.png

This is the first version of a board called the "trigGateway" and this will take your trigBoard project to the next level!

The purpose is simple - if you are using trigBoards to send push notifications, then you want those notifications FAST! That's where this board comes into play. Instead of the trigBoards all waking up connecting to the provisioned SSID and then sending directly to the service (pushbullet), NOW the trigBoards just wake up and immediately send a packet to the trigGateway, then it will take care of getting it off to the notification service (pushbullet). It does this with the help of two radios - one is listening for trigBoards, the other is always connected to the SSID ready to send off with the push notification. With this setup, trigBoards are only awake for ~1sec... then you get the notification really fast now.

  • Using ESPnow for point-point encrypted communication within ESP8266 modules, thanks to HarringayMakerSpace

Schematic

Note that this was also an experimental board for an auto-reset circuit, so make sure you pay careful attention to the rework notes:

TrigGatewayReworkSCH.png