Project tutorial
P10 LED Panel Matrix Configured Wirelessly

P10 LED Panel Matrix Configured Wirelessly © CC BY-SA

Use a wireless device to connect to your 4x4 or 2x2 LED P10 panel screen remotely and configure the display information.

  • 8,220 views
  • 2 comments
  • 10 respects

Components and supplies

Abx00021 featured mh3emrn0ms
Arduino UNO Wifi Rev.2
use itw WiFi for Screen Data Configuration
×1
P10 white LED screen
×16

About this project

Since the gasoline prices became more volatile in Mexico, it has been a problem for gas station to keep the price sign readable, updatable and cheap.

A friend came to me with the idea of using this as a business, so I did the whole development and prototyping. I have decided to make it open.

I have seen people using them for showing the prices or routes in public transport, to update the names of routes in bus stops, etc.

Basically, you can buy the cheap P10 led screen from any chinese vendor, and I recommend to use an Arduino WiFi for further WiFi connection and configuration of the screen.

Code

WiFi configurable P10 LED Screen Arduino
1. Connect to arduino Wifi
2. Use any web explorer to open: 192.168.1.240/arduino
3. Go to Wifi console.
4. Use the command to update the price: “actualizar/10.23” will show a price of $10.23
/*
  Daniel Grajales Garcia. 1 de abril de 2017.
  BioHacking lab at Hangar
*/
#include <SPI.h>
#include <DMD2.h>
#include <fonts/Arial14.h>
#include <fonts/Droid_Sans_24.h>
#include <UnoWiFiDevEd.h>

#define DISPLAYS_WIDE 4
#define DISPLAYS_HIGH 4

SoftDMD dmd(DISPLAYS_WIDE,DISPLAYS_HIGH);

String valueInts = "00";
String valueCents = "00";
String valueStr = "$"; 
String myValueToDisplay = "x";


// the setup routine runs once when you press reset:
void setup() {
  dmd.setBrightness(250);
  dmd.selectFont(Droid_Sans_24);
//  dmd.selectFont(Arial14);
  dmd.begin();
  dmd.drawString(1, 4, myValueToDisplay);
  // Se inicializa la WiFi
  Wifi.begin();
  Wifi.println("REST server is up");
  myValueToDisplay = String(valueStr) + valueInts + "." + valueCents;
  Wifi.println(myValueToDisplay);

}

void loop() {
  myValueToDisplay = String(valueStr) + valueInts + "." + valueCents;

  dmd.drawString(1, 4, myValueToDisplay);
  if(Wifi.available()){
    String command = Wifi.readStringUntil('/');
    if (command == "actualizar") {
      Wifi.println("comando encontrado...");
      valueInts = Wifi.readStringUntil('.');
      valueCents = Wifi.readStringUntil('/');
      Wifi.println("Status: 200 OK\n");
      Wifi.print("El valor ahora es: ");
      Wifi.print(valueInts);
      Wifi.print(".");
      Wifi.println(valueCents);
      Wifi.print(EOL);    //char terminator
      dmd.begin();      //limpiar la pantalla
    }
  }
  delay(50);
}

Schematics

Connection Diagram
How to connect the panels.
Conectiondiagram v7le3wiq7j
Connection scheme between Arduino and Screen
arduino Ports connected to the P10 LED display
Connectionp10toarduino 2gumsyo2vv

Comments

Similar projects you might like

LED Matrix + Motion Sensor Door Display [Arduino Holiday]

Project tutorial by HeathenHacks

  • 5,799 views
  • 5 comments
  • 22 respects

128 x 64 LED Flat Panel Display

Project tutorial by Doug Domke

  • 2,970 views
  • 1 comment
  • 14 respects

48 x 8 Scrolling LED Matrix using Arduino.

Project tutorial by Prasanth K S

  • 39,314 views
  • 11 comments
  • 46 respects

Pac-Man LED Pixel Panel Costume

Project tutorial by Ben Muller

  • 33,352 views
  • 41 comments
  • 221 respects

Bluetooth Speaker w/ Music-Reactive LED Matrix

Project tutorial by Modustrial Maker

  • 30,644 views
  • 4 comments
  • 113 respects

Snake LED Matrix Game

Project tutorial by Team Arduino bro

  • 13,710 views
  • 9 comments
  • 14 respects
Add projectSign up / Login