Skip to content

RastusZhang/arduino_pc2lcd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino PC to LCD

Data output from the computer to the LCD screen. In the current version the only supported Linux server.

Arduino PC to LCD

To find the address of the Arduino:

ls /dev/tty*

Example address: /dev/ttyACM0

TTY settings:

stty -F /dev/ttyACM0 cs8 115200 ignbrk \
-brkint -icrnl -imaxbel -opost -onlcr \
-isig -icanon -iexten -echo -echoe \
-echok -echoctl -echoke noflsh -ixon \
-crtscts

Test display:

echo "Hello Arduino" > /dev/ttyACM0

Additional information: http://playground.arduino.cc/Interfacing/LinuxTTY

Run application. Print action output to LCD and auto switch:

cd /var/www/html/arduino_pc2lcd
php -f index.php

Print action output to CLI:

php -f index.php print <action_name>

Print action output to LCD once:

php -f index.php print_lcd <action_name>

Description in Russian: http://wdevblog.net.ru/dnevnik/veb-razrabotka/vyivod-informaczii-na-malenkij-lcd-ekran.-arduino-pc2lcd.html

Releases

No releases published

Packages

No packages published

Languages

  • PHP 75.7%
  • Other 24.3%