Introduction: Iotrix(Smart Advertisement Led Board)
Lets Make a Double Sided Pharmacy plus shape Smart Led Board !!! You can always use this method to build any shape of advertisement board .The software support multiple led matrix for it.And the App makes no Coding , once deployed anywhere .I didn't get time to work on Remote message and control the board with Iotrix. But it can be done in future.
The major objective of this project was to make a smart advertisement board that is power efficient and user friendly .You cant tell a 40 year old guy to program the words he want to display on the board every now and then.The Iotrix app makes super easy for anyone to add multiple messages with just an APP.Not only you can control the messages but also add animations for the led strip's in the corner of the board.
This app has tons of customization.
A person can choose from 8 different widgets in the app and add messages in the buffer. I have to add a limit of 6 messages total in the buffer, as the json data size was becoming a bit large for a simple Arduino to process,This was the reason i have to replace arduino nano to arduino Mega . The project, if done with a Raspberry Pi, can significantly improve the performance. For example: You can have a message that blinks 5 times then you want to show the time and date, then scroll the message and so on
Step 1: Hardware Components
- Arduino Mega 2560 & Genuino Mega 2560×1
- ESP ESP8266 ESP-01×1
- Dual Voltage 12v/5V 12A Power Supply×1
- White Led strip 5050(5m) ×1
- Green Led Strip 5050 (5m) ×1
- Dc Fan 12v×1
- P10 led matrix 32*16 x 2
- Real Time Clock (RTC)×1
- Adafruit Dsb 1820 waterproof Temperature sensor×1
- Adafruit N-channel power MOSFET - 30V / 60A×2
- Jumper wires (generic)×30
SparkFun Logic Level Converter - Bi-Directional×1
2 wire Jst connector with wire
Software apps and online services:
- IoTrix APP
- Arduino IDE
- Google Android Studio
Hand tools and fabrication machines:
- Green plus laser cutter acrylic x2 (22")
- Transparent plus laser cutter acrylic x2 (22")
- Screws and nuts
- Hot Glue Gun
Silicon Gun for waterproofing
- Heat Shrink
- Extra power wires
- Power cord 16A rated
Step 2: LED Matrix Features
- Single screen Blink mode
- Double screen Blink mode
- Simple Message mode
- Scrolling Message mode
- Split Display mode
- Temperature mode
- Counter mode
- Easy Brightness control
- Three Mode Display control
- Switch on/off displayControl the Display size from 32*16 to 64*64.
The sending of dynamic messages on the LED matrix with an app has never been done. This make IoTrix stand out in the crowd. The only thing I could not achieve was sending GIF images on the LED matrix.
Not only can you control the LED matrix but you can also control the LED strips.
Step 3: LED Strip Features
- Two LED strip control
- Blink mode
- Fade mode
- Alternate light mode
- Brightness control
- Speed control
Step 4: Wifi Setup to IoTrix
I have make sure the IoTrix connect to the smart advertisement board seamlessly.The Led board can be connected in two modes either in Local mode or it can connect to router .
Note:This App has a filter in it .So it will work only with ESP8266 .If you'd like to support the app with RPi or any other device, let me know. I will make sure the app works on other devices too.
This is also my First android app on the playstore :)
Step 5: Build,Testing and DemoSite Video
With the help of Metal sheet worker i made a plus of size 2*2 feet .From a rough diagram he made a plus of 1mm metal sheet .
Next i painted with waterproof Black spray paint and also drilled some holes.
Arduino Mega pin mapping
- D0 -------NOT USE---[X]
- D1 -------NOT USE---[X]
- D2 -------NOT USE---[X]
- D3~ ---------------- DSB1820 TEMP SENSOR
- D4 -------NOT USE---[X]
- D5~ ------NOT USE--- [X]
- D6~ ---------------- A of p10
- D7 ----------------- B of p10
- D8 ----------------- SCK of p10
- D9~ ----------------- OE of p10
- D10~ ------NOT USE--- [X]
- D11~ ---------------- R of p10
- D12 -------NOT USE---[X]
- D13 ----------------- CLK of p10
- A4 ----------------- RTC SDA
- A5 ----------------- RTC SCL
- A3 ------NOT USE--- [X]
- A2 ------NOT USE--- [X]
- A1 ------NOT USE--- [X]
- A0 ------NOT USE--- [X]
- D18 ----------------- ESP RX
- D19 ------------------ ESP TX
P10 LED matrix is connected to Arduino Mega .The reason to choose Mega was Sketch size and Ram to process the Complex json data. The RTC module and DSB1820 waterproof temperature sensor also connected to mega.
I could have connected LED Strips to arduino mega.But i choose to skip arduino mega and use ESP01 instead of it. If Arduino Mega gets failed in future. At least the LED strip's will work. Also it does not make sense to use esp just for communication purpose.it has a strong microcontroller build into it .
Later I implemented OTA part in ESP too. It can be turned on with Android app.
If ESP does not find the previous WiFi network connection, it automatically turn on its app mode. This way we can change WiFI credentials at any time.
People have done projects based on sending one message to the LED matrix. With IoTrix, we can do more.
I have installed this LED board in one of the pharmacy shop in mumbai. With the help of waterproof silicon glue , i make sure that no water gets inside .The size of The board is 2*2 ft .it took me $123 to make this board. This is a Dual Side LED board. Its cheap compared to the market. There are no P10 display in market offers this type of app based feature.One of the major problem this board has is brightness that is 100% and it is not controllable. This is okay, if the board is running in daylight but in night the brightness of this board is too much , that people cant see what is written on the board .This makes the board useless and also power inefficient. When I installed my IoTrix board in the pharmacy shop I realize only 25% of brightness is enough.Making the board visible as well as power efficient. Even the LED strip is running on 50% brightness only.
Step 6: Code and Manual
The code is for only esp01 .To turn on Led strips .
Mail us at info@meOhm.com for arduino side code too.
Step 7: Conclusion
This project shows that it's easy to add dynamic messages on the LED matrix Board with IoTrix app. Right now people use RS232 cables from the LED board to computer for programming. With IoTrix we don't have to program using a computer or call any technician to do it. We can just use the app and send the messages that we want to display. There are some challenges to make it a complete IoT-enabled smart advertisement board, for example: adding GIF support, improving the code efficiency, adding an encryption layer, and sending data via internet and not just locally.