Here, we will demonstrate how to use this kit to make a remote family message board. We can send messages to this message board remotely through the Blynk APP.
Before starting this lesson, you can get more information about the I2C 1602 LCD display from this link.
First, please plug OSOYOO MEGA-IoT Extension Board into MEGA2560 board:
Build the circuit as below:
You also need to install the I2C library as above operations.
Step 4 After installing above library, please download the code from following link, unzip it:
Step 5 After above operations are completed, connect OSOYOO MEGA2560 Board to PC with USB cable.
Step 6 Open Arduino IDE: Choose corresponding board type and port type for you project.
Step 7 Arduino IDE: Click file – Open, then choose code in the folder, load up the sketch onto your Arduino.
Note: In the sketch, find these lines as following:
char auth =”YourAuthToken”;
It should look similar to this:
char auth = “f45626c103a94983b469637978b0c78a”;
Then find these lines:
char ssid = "******"; // your network SSID (name) char pass = "******"; // your network password
please replace the ****** with your correct wifi SSID and password, otherwise your project can not connect to Internet.
Upload the sketch to the board. Wait until you see something like this:
Congratulations! You are all ready! Your hardware is now connected to the Blynk cloud!
Overhere we need to add a Text Input wiget to get the real time distance value. Follow the next operations:
Open your project page and press the “+” button to add the “Text Input” Widget.
Name Column: You can name your widget, whatever you like.
Click the text input field, enter what you want to say (up to 16 characters), click the send button to send, and then you can see your message is displayed on the 1602 LCD screen.
Now we enter “Hello OSOYOO!” here, and leave a message telling the family that they need to do housework. Does it feel convenient and fun?
You can also write code to scroll the words on the LCD screen, and you can also try to display your message on another line on the screen, as long as you are willing to use your brain, these are not difficult.
If you find the device is offline, please check your code, wiring and app settings, and try again.
|1||OSOYOO MEGA2560 Board||1||Click here to buy|
|2||OSOYOO MEGA-IoT Extension Board||1||Click here to buy|
|3||Photosensitive Sensor||1||Click here to buy|
|4||Temp & Hum Sensor||1||Click here to buy|
|5||OSOYOO Active Buzzer Module||1||Click here to buy|
|6||Flame Detection Sensor||1||Click here to buy|
|7||Fan Motor Module||1||Click here to buy|
|8||Micro Servo Motor||1||Click here to buy|
|9||RGB Module||1||Click here to buy|
|10||Ultrasonic Sensor||1||Click here to buy|
|11||PIR Motion Sensor||1||Click here to buy|
|12||Microphone Module||1||Click here to buy|
|13||1602 I2C LCD Screen||1||Click here to buy|
|14||RFID Module||1||Click here to buy|
|15||White LED Module||1||Click here to buy|
|16||Red LED Module||1||Click here to buy|
|17||Colorful Light||1||Click here to buy|
|18||Red Button Module||1||Click here to buy|
|19||Blue Button Module||1||Click here to buy|
|20||Philips Screwdriver||1||Click here to buy|
DownLoad Url osoyoo.com