Ajmal Muhammad P
Published © Apache-2.0

Smart Access [Home/Office Automation]

Home/Office automation. Control your electronic devices from anywhere.

IntermediateWork in progress1 hour2,262
Smart Access [Home/Office Automation]

Things used in this project

Hardware components

Android device
Android device
I tested with Android 7 and 8. You can download application from https://play.google.com/store/apps/details?id=com.es.sa
×1
Arduino Mega 2560 & Genuino Mega 2560
Arduino Mega 2560 & Genuino Mega 2560
Also work with Uno and Nano. Uploading sketch from Android app will only work for FTDI, CP2102 chips. This application can even work with NodeMCU, ESP32 etc. But those code is not published here. You can get the bin file [to upload manually] from here. http://erratums.com/Downloads/hardware/sa/hex/
×1
Arduino Ethernet Shield 2
Arduino Ethernet Shield 2
I used a clone device. Chip W5100
×1
Relay Module (Generic)
You can use any relay module depending on the board you selected. I tested with 8 channel relay module.
×1
HC-05 [Bluetooth Transceiver Module with TTL Outputs]
This is required only if you wish to control via bluetooth. Otherwise you can still sync the device with software using usb.
×1

Software apps and online services

Android Smart Access
You need to download this software from play store. I developed this software and published in play store for free. This application is communicating with my server so no need of static IP

Story

Read more

Schematics

How to connect devices

Here I'm using Bluetooth module. So no need to connect to mobile device.
Img 20180608 wa0019 eumvf9ex6l

Code

Smart Access

This projects can communicate with an android application [Smart Access] and you can control your devices at home/office from anywhere through internet. This can also be used to control device locally using Bluetooth module. This inclue 2 files. 1. Smart Access.ino 2. Erratums.h You need to compile and upload to your Arduino Mega board. You need either Ethernet shield or Bluetooth module to control you device from androud application.

Force reset device

This sketch is used to delete the authentication code from the board. Once if you sync a board using your account, then it's locked and not possible to sync with other account. This is done so that, it's not possible for others to simply connect to your board and control devices using Bluetooth. So in case if you are blocked, maybe because you lost your google account then you can use this sketch to reset the authentication code. So that next time you can sync with you new account.

Credits

Ajmal Muhammad P

Ajmal Muhammad P

0 projects • 5 followers
Software Engineer Focusing on Software and Electronics
Contact

Comments