Posts

Remote car engine start using AWS Greengrass and Raspberry Pi

Image
This project incorporates using AWS Greengrass running locally on a RaspberryPi to execute a lambda function to remotely start a car engine. I also included the use of the AWS IoT button as the remote trigger. At a high level, to summarise, when I press the IoT Button a message is sent to the RPi via AWS IoT, which in turn triggers a Lambda function to run locally with AWS Greengrass. The Lambda function turns on a set of relays on a relay board using GPIO pins. The relays are connected directly to the battery and the starter motor solenoid, when the relays activate the starter motor starts. Below is a short video explaining the process To start with I built a circuit from the RaspberryPi to a relay board. The following diagram below shows the GPIO pins used for the circuit to the board. (Diagram TBC) Once connected I configured an AWS Greengrass group on the Raspberry Pi (the ‘core device’) using the default methodology outlined in the AWS documentation