Introduction to Microcontroller
Programming
NetLogic- Microcontroller Board
NetLogic is a programmable board that can be programmed to perform many tasks.
NetLogic is useful when you need to perform tasks that need to be repeated multiple times
e.g. You want to switch ON the Buzzer for 10 seconds and then switch OFF for 5 seconds.
NetLogic is also quite useful in cases when there are multiple conditions to check before
you take any action. e.g. you need to control the Buzzer and Light based on the number of
people entering the room. In such cases, it is quite convenient to make your project using
NetLogic and programming instead of making it work without programming. Giving
instructions to NetLogic is called programming. It can be programmed using software called
app.cretile.com or Arduino IDE.
NetLogic includes built-in WiFi and Bluetooth capability, making it suitable for IOT and
Wireless applications.
NetLogic provides many features
1. General Purpose Inputs and Outputs
2. DC motor control
3. Servo Motor Control
4. External Display connection (I2C)
5. Connections for Cretile Sensors
6. Wi-Fi connectivity
7. BLE connectivity (Bluetooth Low Energy)
8. IOT capability using Cretile Libraries
All these features can be used in NetLogic program to perform actions according to
your project requirement. NetLogic can be connected to a computer (windows based)
using a micro-USB data cable or Bluetooth connection to upload program on it.
Copyright @ MakerInMe Technologies Private Limited. Page | 1
1. Bluetooth Connection
2. Serial Connection
You can make and upload programs for NetLogic using app.cretile.com. It is visual
programming interface as shown below:
Copyright @ MakerInMe Technologies Private Limited. Page | 2
NETLOGIC – ON BOARD FEATURES & CONNECTIONS
HOW TO CONNECT AND UPLOAD THE PROGRAM TO NETLOGIC
Step 1: Connect Battery/ power source to NetLogic and power ON the NetLogic
Step 2: Open app.cretile.com in a browser
Copyright @ MakerInMe Technologies Private Limited. Page | 3
Step 3: Connect your computing device with NetLogic by clicking on connect icon
as shown below
Step 4: List with all Bluetooth devices will appear. Select NetLogic and Click on Pair
button.
Copyright @ MakerInMe Technologies Private Limited. Page | 4
Step 5: Once Bluetooth has connected the connection status looks as below. Generate
code and Click on the Play/Stop icon to run and stop the program
Step 6: Download the program by clicking save blocks, rename, and save it
ACTIVITY- CONTROLLING LIGHT AND BUZZER USING
PROGRAMMING
Let’s write the program to turn ON and OFF the Light and Buzzer module.
MODULES NEEDED
• Battery Module
• NetLogic
• Buzzer
• Light
Copyright @ MakerInMe Technologies Private Limited. Page | 5
CIRCUIT CONNECTION
Connect the circuit as shown below
PROGRAM:
Open app.cretile.com in your browser
Make the program using blocks as shown in the image.
Copyright @ MakerInMe Technologies Private Limited. Page | 6
WORKING
• Switch ON the Battery. Click on the connection button in app.cretile.com to
connect NetLogic. After successful pairing click on the Run button to
execute the program.
You Will notice that the Light Connected to Netlogic at Out-1 and Buzzer connected
to Out-2 will turn ON and OFF after every 2 seconds.
Copyright @ MakerInMe Technologies Private Limited. Page | 7