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.

  • 3,359 views
  • 1 comment
  • 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

Pac-Man LED Pixel Panel Costume

Project tutorial by Ben Muller

  • 25,180 views
  • 40 comments
  • 198 respects

Bluetooth control led with lcd led status display real time.

Project tutorial by Youssef Sabaa

  • 20,340 views
  • 4 comments
  • 40 respects

LED Emergency Lights using WS2812 RGB LED Module

Project tutorial by bigboystoys13

  • 10,004 views
  • 5 comments
  • 20 respects

Valentine Blink: Wireless LED Hearts

Project showcase by AdiK

  • 5,496 views
  • 15 comments
  • 32 respects

Wireless LED Lamp with IR Remote Control

Project showcase by Peter Wallhead

  • 4,275 views
  • 2 comments
  • 16 respects

LED Matrix + Motion Sensor Door Display [Arduino Holiday]

Project tutorial by HeathenHacks

  • 2,707 views
  • 2 comments
  • 19 respects
Add projectSign up / Login