Tired of static displays? Transform your digital signage with the power of Arduino and IoT sensors! By integrating Arduino controllers and the versatility of IoT sensors with OptiSigns' Lift & Learn feature, you can create a dynamic and engaging customer experience that boosts interaction and drives sales.
In this blog, we'll explore how to set up an Arduino board with an RFID IoT sensor to deliver personalized content and create truly interactive displays that captivate your audience on the OptiSigns Digital Signage Platform.
What is Lift & Learn?
Imagine you're in a store, browsing through different products on a shelf. You pick one up to get a closer look, and suddenly, a nearby screen displays a video showcasing the features of that specific item and how it can benefit you!
That's Lift & Learn in action. It's a cool technology that uses sensors to know when you pick up an item, and then it automatically shows you tailored content on a screen. This might include things like videos, reviews from other customers, or even comparisons to similar products.
Lift & Learn not only enhances the customer experience by providing relevant information at the moment of interest but also helps businesses increase engagement, drive sales, and create memorable interactions.
Here’s a brief walkthrough of an Arduino RFID IoT sensor we built and integrated with OptiSigns Digital signage platform.
Getting the Tools Together
Before we start, we’ll need to gather the following tools necessary for this build.
Tools: (You may not need all tools listed below)
- Personal protective equipment (PPE)
- Solder
- Soldering Gun
- Female-to-Female wires (optional)
- Male-to-Male wires (optional)
- Male-to-Female wires (optional)
- Breadboard (optional)
While we're focusing on an RFID IoT sensor today, don't forget that a wide variety of sensors can be integrated with your digital signage. From motion sensors that detect customer presence to environmental sensors that respond to changes in light or temperature, these tools open up exciting new possibilities for creating dynamic and engaging displays.
For our setup, solder and a soldering gun are necessary to connect the components securely. See image below of how we soldered this Arduino board together.
![arduino board soldered together](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f6850c2cd5f9a808e1d_AD_4nXdqC4Ef180oiz-03IoI0O5t9_X5a796_--hoXrT7y9kqzqNSBHxQBsxt_c5q21potTmnXr0LAMD20IECmSOiwL934-_aakcA7Shv8JCx24wV-Ax6EFrQDQx5vOrOv8UhAzkE_fQ0g.jpeg)
Wiring the Sensor
Connect the wires to the correct pins as shown below:
Pin
Connection
3.3V pin
3.3V pin
RST pin
Pin 9
GND pin
GND pin
MISO pin
Pin 12
MOSI pin
Pin 11
SCK pin
Pin 13
SDA pin
Pin 10
The wires and breadboard provide flexibility in designing your circuit and making connections easier to manage, especially for beginners. Here's an example of how we wired our Arduino controller and RFID reader on a breadboard:
![Arduino controller and RFID on breadboard](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68a21f37c8fed720e4_AD_4nXdAQEVLx7WqDijCzz17wnP0GHXFUroe09DDAS5xrnlmrfqkZX5vt27nc6aoFOZyPoxijagw9ibGyG0FSgpeO3FqOZc1D89qqCfQNcOwlhineXkYsQiyuva2EP_h6U82k3yUF2tU_A.jpeg)
Programming the Sensor
Once your wiring is complete, connect the device to your desktop or laptop and program it using the Arduino IDE. This platform is widely used for its ease of use, extensive community support, and compatibility with a variety of hardware. This makes it an excellent choice for beginners and advanced users alike.
Steps:
1. Install Arduino IDE
- Download Arduino IDE and install it.
2. Configure Arduino IDE
- Open Arduino IDE, create a new sketch, and navigate to Tools > Board > Arduino Nano.
- Go to Sketch > Include Library > Manage Libraries and install the `MFRC522` library (or the one your sensor requires).
3. Write and Upload Code
- Create a sketch that works for you. (See example of my sketch below)
![code for use of arduino ide](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68a0e304efded2b497_AD_4nXfSIqE_Qc6QQAbJ3JnFYetx1dJ5kdw8j4-RMRtIe0VWu4GW5dWz68o0vUOO2fJhL6jSjdUF84y-PKHLXHH2acCGGkX5_HSIO49rnkf-V8f8AnARFXYCr41wZ0Y_Etm8uwtxw9PQUg.png)
- Verify the code by clicking the checkmark.
- Upload the code by clicking the forward arrow.
![code upload instruction](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68226bff92262b56dc_AD_4nXcko-0ZgbZIB5zEh8vIRFdZSs7mawjTZYFkRhays5DEmEB1UjLV5f9ZcOxOWZktMkfgirhAZ5HnQxuT8HpQdyjMaXmbmywrV3TcNUo2r5KzotOxWwmXhF1XticyaOsbQpxM-4hQ.png)
4. Test Your Sensor
- Place an RFID card on the sensor and view the output in the Serial Monitor to confirm the setup.
Configuring the Engage App in OptiSigns
Once your sensor is ready, it is time to set up the Engage app to link your IoT sensor and screen together.
Steps:
1. Create a New Engage App
- Navigate to Engage > New App > Lift & Learn > Build.
- Name your app.
- Set “Play for at least” and “Rest for” durations.
- Use the commands tested earlier to configure content triggers.
- Save your app.
![](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f681cb65b236768daf6_AD_4nXe4hniIX6tbHKbIHTe0gaOJ49p8w45y5WHpJJDFR_zhj2nZuFgu7vNd96x9z970hUK9UGZ2NduBH6j7tDK38z4JJvLRHElUXI9mS8MYn_IOOIHh_JqQNGRJG6v5l6P7Tb823EF6TA.png)
![optisigns engage panel](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68e2ac3a535381c249_AD_4nXc22Hbun6LVccuif4121Y3a6ig8CcyEY1lIMlwsseHfJYqANfuIcsy0WR5vIl0Pt4BlSWi5eNzBCIo2bv0IDkHxXcbs_SP84vq80e0nH1Y-oxlJxeVl6JcFDmbIP9i5ZiYSqYdgfQ.png)
![optisigns lift and learn](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68b584ecb76984d1ba_AD_4nXfVteKsf6TdKTOTPbotkjoPZ5AdlSMLBIw-BKD0OqKU-_IT5d6UJb0_ydaFeiS_i-UZVQLDC-h3-4ctkD6g_X_JWD2JK9RJv0LttBOAFRx7qcS5RK1X1tvVO-I97oX6J6GR_0ME2w.png)
2. Set Up External Communications (RS232)
- Go to Advanced > External Communications (RS232).
- Select Add New and fill out:
- Name: Descriptive name for your sensor.
- COM Port: Use “USB0” for Android players or “/dev/ttyUSB0” for Pro players.
- Baud Rate: 9600 for Android players or 115200 for Pro players.
- Save the profile.
![external communications rs232 setup](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f686158a55fcccf0f5c_AD_4nXdGJwx404kF7700pmi-Z57_swIssVdlo2UHgzLijUvBBwx3CGPiqaigMWZLsq9I-eWm-0mEXCFB0Qk5zm8G5b-uLraL5-nZMVrkBz9t41JU4AGpU24AHwBX5PdeHA1I9k4ClzV2WA.png)
![rs232 connections instruction](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68e62c42c3e6376f5e_AD_4nXcQpEUs_11G5O5-9_oEvZOlxMMayLNF4I1NqNpyC-zGwRLnXdSnl5mgOfGOzyHioXY4uUzUr0zzp2BkXLfRfVRpQG0ndjb2vSEh4NaRcW932KEYDFCVmWhrcDAjL5V4hZNG0Aq5-w.png)
![creating a new iot connection](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f685bafcfce4cc6fd0d_AD_4nXejCX8qaR_2nfdrV7AB6K-6rpBKa1kyr4HyjizcmuIV0nGMgFHgh6MDV06r_r6YQTBph9DQDLoF64-YJ21Hqan80qh77LjyEh74xGrsb1OHLPG1ImJSizQfTLSLKH87tyMG6-WU.png)
3. Assign the App to a Screen
- Select the screen you want to use.
- Assign content as usual.
- Go to Advanced > More and activate the Sensor Add-on
- Select Engage, choose your app, and link the COM port.
- Save the configuration.
![edit screen assigning asset to screen](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68756bb5ddc8789b16_AD_4nXeg7E55h4Gshpe7I7z_cfV1W7_PJn6GptgtQkp5ZmD9bGmiHAVHt6dpAJt5vtwTHDa4kt1ldY3dzhDGo8QDjVyxmiEHzX2ZVBrtupu3Dqw5S0c_tHSzUI7agI5VJmg-wYUgZ5wu.png)
![sensor added on](https://cdn.prod.website-files.com/638ec3d4fcf5e083b0519cf8/67aa3f68586959710c347f23_AD_4nXcyUKjzMvdW3L98m3pAwrPaLMlrSrrH0k9sW5xa_KcGRZqfyFtWirFMq3eOS9__ZNI97I6uWdXGszGx8B7Xzz6JsXgL3xX7soAv8riN3Lz73uA3uToPbrhMmIMJ3eTUbhj3Jj4d-A.png)
Final Testing
Place an RFID card on the sensor and verify that the screen changes content dynamically based on the commands received.
As you've seen, setting up Lift & Learn with Arduino, IoT sensors, and OptiSigns is a breeze! By combining the versatility of Arduino with the power of OptiSigns, you can create truly interactive and engaging experiences that captivate your audience and drive results.
Remember, this technology not only enhances the customer experience by providing timely and relevant information but also empowers businesses to boost engagement and increase sales.
Ready to transform your experience with Lift & Learn? Start creating amazing interactive experiences today! Reach out to our team for support! With Lift & Learn, the possibilities are endless.
Download the app today and see how easy it is to get started!
For more information on set up click here.