AWS Projects
Description
While pursuing my specialist diploma in smart nation technologies, I embarked on a journey to create a mobile app that communicates seamlessly with Amazon AWS and my trusty Raspberry Pi. This projects involves 3 component, the mobile application, the aws console as well as the script which runs in my Raspberry Pi.
The Mobile application - User management and Authentication
The mobile application is implemented using Android Studio. I uses various services from aws to implement various functionalities in the application.
Sign up flow
Forget password flow
User Management
The user account and authentication are implemented using Amazon Cognito services. Administrator will be able to manage the user account using the AWS Management Console. After registering for an account and verifying it, user will be able to login the application.
The Mobile application - Registering a device
The Mobile application - List Device and Send Message to cloud
Conclusion and thoughts
The devices are connected and validated using AWS IoT and the commands and status are publish/subscribe using mqtt messages. In this particular project. The demo shows the mobile application is able to send messages to the cloud and triggers a script in my Raspberry Pi to power on/off the usb power which is then connected to a usb led devices to on and off the LED. The current status of light on/off are also publish from the Raspberry Pi back to the mobile application which in turn reflects the status. The use cases for the idea implemented in this project doesn't necessarily applies to led though. It allows custom implementation of any commands (Of course you will have to implement the functionalities on the device end as well) to the remote devices from your mobile application.