Implementation a Web-Based Remote Control System for Moving Led Dot-

advertisement
Implementation a Web-Based Remote
Control System for Moving Led DotMatrix Display
Presented by:
BUI, Phuong Nhung, 裴芳绒
Contents
Introduction
System configuration
Design Software
Application
Conclusion
Southern Taiwan University
Introduction
• Small size
• Low cost
• Less power consumption
• Immune of electrical
interferences
• Limited by distance
• Verities of functions
with poorly labeled
buttons
Southern Taiwan University
Introduction
Appear on:
• Streets
• Malls
• Buildings
• Parks
• Other public places
Update the
information?
Southern Taiwan University
Introduction
Cost reduction of computer
Drawbacks of
&& network services
using
promotes extensive
remote controller
applications on
the Internet
User-friendly interface
by using a web page
Southern Taiwan University
Web based
systems
are increased
rapidly
System Configuration
Southern Taiwan University
System Configuration
PC:




Installed Fedora Core
Connected to the Internet: Ethernet interface
Connected to Drive Circuit: UDP/IP
Installed Apache Web Server and PHP script
Southern Taiwan University
System Configuration
Drive circuit: Charon I Development Kit
 Atmel AT89C51RD2 microcontroller
 Realtek RT8019AS Ethernet controller
 Network protocol: ARP, IP, ICMP, UDP, SNMP,
DNS and WOL.
Southern Taiwan University
System Configuration
Infrared Module:
 Simple circuit with IR led
 The chains of pulses from drive circuit will
drive the IF led emitting the infrared ray
control Moving Led Dot-Matrix Display.
Southern Taiwan University
System Configuration
Moving Led Dot-Matrix Display
 Dimension: 32x120
 Provided two functions:
• Display messages
• Display date and time
 Currently, users can use remote controller to
update the message, date and time.
Southern Taiwan University
Design software
User-End Software
Device-End Software
Web Browser
Internet
Web Server
PHP Scrips
User-End
Software
Device-End
Software
UDP/IP
C Control
Program
IR Module
Southern Taiwan University
Design software
User-End Software
 Apache Web Server
• Open source web server
• Handle user request.
 PHP script
 How they cooperate:
Request from the user => web server will execute the
PHP code to generate a webpage + send new control
message through UDP/IP socket to Drive Circuit
Southern Taiwan University
Design software
User-End Software
 use C to program for Atmel AT89C51RD2
 How to replace the IF remote controller
• Generate chains of pulses
• Problem: the period time of pulse is very strict!
Can not use C to program
Solve: integrate Assembly program to C program
Southern Taiwan University
Design software
Chain of pulse by using Assembly:
Logical “0”
575us
9.2 ms
Start
585us
00 1
001 0 1
First Byte
Logical “1”
575us
00 1 0 01
Second Byte
1.648ms
0 1 00 0 00 1 0 0 1 1
Third Byte
Southern Taiwan University
1 1
1
0 1
Fourth Byte
1
Design software
How the Device-End software work?
 Use UDP/IP protocol to communicate with
User-End program.
 Receive the control message + generate the
chains of pulses though 1 I/O pin to IF Module
Southern Taiwan University
Application
Southern Taiwan University
Application
The design has numerous applications:
 Advertising agencies: update the bill boards
 Public places:
• Airport, railway stations: information display is a
necessity and the ability to update data and to be
sure that it is correct is very critical.
• Hospitals, cinemas, restaurants: it is important to
updated events, queue number, latest prices.
• Highway signboards: especially useful in case the
road salutation changes => easy to display detour
messages without causing any roadblocks and other
congestions.
Southern Taiwan University
Conclusion
The user’s interface is quite convenient,
via internet web browser from any
platform to access the server.
We still need to improve:
 Provide more functions.
 Make the system accessible though wireless:
we will be able to send update message
through MSM from a normal cell phone.
Southern Taiwan University
Download