This step could go any number of ways - I chose to use a mini breadboard & jumper wires to the three pins soldered onto the remote. PIN0 will go to a 3V wire, PIN1 to ground, and PIN2 to the drain of a MOSFET I had sitting around. The source...
Create an AWS account if you haven't already, and then use the SQSGateway app to provision an API Gateway, SQS queue, and an API key in your AWS account. I think the services provisioned as part of this step should fit within the free tier,...
Install your OS of choice and connect your Raspberry Pi to your network. It is highly encouraged to install UFW to add a simple firewall to your Pi, and disable swap memory since you won't really be using a whole lotta resources to run the SQS monitor...
The SQSGateway repository has a sample polling script you can modify to take an action whenever a new message is placed on the SQS queue you created in the previous step. If you use this script as a starting point, you will need to install Node.JS,...
By default, the SQSGateway monitor script will just log inbound messages from the API Gateway - it won't act on them. Still, running this script and checking logs is the best way to test and ensure your setup is working correctly. To test, first run...
Okay... yes... this is lazy "an exercise left to the reader" step.Next you will need to modify the monitor.js script to actually take an action when a message is received. You may also want to add some additional validation to the inbound message...
Finally, wire the breakout board you just constructed to the Raspberry Pi. Pin #17 serves a very convenient 3.3 volts, which is the perfect replacement for a CR2032 battery. There is a ground pin nearby on pin #20, as well as GPIO24 right between the...
Next find the Pi/remote combo a good home next to the garage door opener and within wifi range. Send an API call to the SQSGateway and see if GPIO24 fires! If all is well, your garage door opener is now wired to the internet.
The AHT10 Temp and Humidity Sensor Module is being used in this project, and it is a compact and highly accurate sensor designed to measure temperature and humidity in various applications. The module integrates a high-performance AHT10 sensor chip,...
Here's the code that was used in this project, and its a simple one. This code essentially demonstrates how to use the AHT10 sensor library to read temperature and humidity, display the results on an OLED screen, and handle errors. The delays between...
The next step of this project was to put everything together to create a basic PCB that would contain all of the components we used to create the breadboard version, in addition to a lithium cell with a charge discharge circuit to power the XIAO module,...
After finalizing the PCB and generating its Gerber data, I sent it to SEEED Studio for samples. The PCB was ordered in a white solder mask with black silkscreen. PCBs were received in a week, and their quality was super good considering the rate, which...