Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Display the number of people online on the AVR

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


The assumption was to display the number of people online on a web page.
On a www server, a web page should be created, that shows only the number of people who currently are on the page (NOTE! The number is also displayed in the page title).
The page that shows the number of people online looks like that: http://www.mini-gry.net/counter/index2.php.
When we already have the number of people in the title, it has to be moved to the uC, which in turn sends it to 7-segment display.
Originally, after starting PHP server locally on the computer, it connected with the page via Curle and got the number of people, then sent the number through RS232. It was added in the schedule of tasks to every 1 minute run the php file from the hard disk (which reads from the page the number of people online and sends data by RSA).
But a better solution is possible.
An application in Delphi was written. First thing to do is find the library that sends data through RS232. WebBrowser_V11 was used to get data from the Internet. CoolTrayIcon minimizes the application to Tray.
The program in Delphi always sends 2 bits (fist the number of tens, then the number of unities).
The application is run when the system is started and immediately minimizes to Tray.
The application on the PC looks like that:

8567263500_1310304176.png


Link to original thread (useful attachment) – Wyświetlacz ilości osób online na AVR
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top