Smart Light
OBJECTIVE
Learn to make android application to control Light Module wirelessly
LET’S EXPLORE
• Smart lighting is an advanced way to light your home. Smart Light connects to mobile
app so you can automate your lights or control them remotely, eliminating the need
for traditional wall switches.
• Conventional light bulbs work by flipping a switch on and off. Sometimes they are
hardwired into a dimmer switch, allowing you to dim or brighten the lights.
• Smart lighting, on the other hand, gives you far more control over your lights.
• They are still connected to power supply of your home, but each smart bulb and LED-
integrated fixture allows you to control it wirelessly with your phone, tablet, or smart
assistant, such as Google Assistant or Amazon Alexa.
MODULES NEEDED
1. Battery – 1
2. NetLogic
3. Light -2
CIRCUIT CONNECTION
Connect the Modules as shown in the diagram below.
Copyright @ MakerInMe Technologies Private Limited. Page | 1
PROGRAM
Open [Link] in browser to make code using block-based programming.
The “ssid” and “password” should is your network’s name and password. You can get the
network name in the WIFI settings of your laptop or phone as shown below.
Copyright @ MakerInMe Technologies Private Limited. Page | 2
ANDROID APP BUILDING
Step 1: Open MIT App Inventor using below link
Link- [Link]
Step 2: Download .aia file provided in the link (File link)
Step 3: Go to Project tab and import the downloaded file
Copyright @ MakerInMe Technologies Private Limited. Page | 3
Step 4: Now make a design for your android app as shown below.
Step 5: Click on the “Blocks” tab after completing design of an app. You will find few codes
already present as shown below
Copyright @ MakerInMe Technologies Private Limited. Page | 4
Step 6: Make the following code using blocks.
Step 7: Once you make the code, click on build button to make .apk file of your project
Step 8: Now, you can install the .apk file in your mobile phone
Step 9: For IOT communication, we need to install [Link] on our phone
You can download and install it from below link-
Cretile Service App-
[Link]
[Link]
Copyright @ MakerInMe Technologies Private Limited. Page | 5
WORKING
• Open smart light app in your phone. IOT connection status should show connected
status.
• Now, power ON the NetLogic, the out 1 Light of NetLogic should turn ON, this
indicates NetLogic is connected to the internet.
• If the Light is OFF, kindly check your router connection or SSID, Password in the
program.
• The Light will turn ON when you click on “ON button” in the mobile app and Light
will turn OFF when you click on “OFF button” in the mobile app
• Here, you will need two Light Modules. So for testing you can borrow one Light
Module from other kit.
Copyright @ MakerInMe Technologies Private Limited. Page | 6