Summary of MKR1000 Message of the Day
This project uses an Arduino MKR1000 to display a dynamic "Message of the Day" on an LCD screen via MQTT. The system connects to Wi-Fi, subscribes to a topic on a Mosquitto server, and updates the display whenever new data is received from a phone or laptop.
Parts used in the MKR1000 Message of the Day:
- Arduino MKR1000
- Adafruit Standard LCD - 16x2 White on Blue
- Mosquitto Server
- WiFi101 Library
- LiquidCrystal Library
- PubSubClient Library
- Arduino IDE
Use Arduino MKR1000 and a LCD to set the message of the day.

Things used in this project
Story
I wanted to display text on an LCD screen with the MKR1000. I wrote a simple sketch that subscribes to a topic from my own Mosquitto server and updates the screen with on the data it receives.
You can update the screen using your phone or your laptop, all you need is a MQTT client. Setting up your own Mosquitto server is a little harder and I won’t be covering this, you could use Arduino Cloud as an alternative.
Wiring
To wire the LCD just search for the UNO wiring and invert pin 11 with pin 4.
Code
Source : MKR1000 Message of the Day
-
How do I wire the LCD to the MKR1000?
Search for the UNO wiring diagram and invert pin 11 with pin 4. -
Can I update the screen using my phone?
Yes, you can use any MQTT client to send data to the subscribed topic. -
What happens if the message length exceeds 16 characters?
The code only processes and displays messages that are 16 characters or shorter. -
Does the project require setting up a custom Mosquitto server?
No, while the example uses one, you could use Arduino Cloud as an alternative. -
Which libraries are required for this sketch?
You need the LiquidCrystal, PubSubClient, and WiFi101 libraries. -
What port is used for the MQTT connection?
The code sets the port to 8883, which requires certificates via Firmware Updater. -
How does the device handle lost connections?
The reconnect function loops until connected, waiting 5 seconds before retrying if it fails. -
What topic does the MKR1000 subscribe to?
The device subscribes to the topic named motd by default.



