User Tools

Site Tools


setting_up_the_master_umd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
setting_up_the_master_umd [2016/12/21 14:50] walkeradminsetting_up_the_master_umd [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== Setting up the Master UMD =====+====== Setting up the Master UMD ======
 \\  \\ 
 {{:rpi_umd_001b.jpg?650|}} {{:rpi_umd_001b.jpg?650|}}
 \\  \\ 
 \\  \\ 
-===== Master Raspberry Pi =====+==== Master Raspberry Pi ====
 \\  \\ 
 The primary Raspberry Pi does a little more than the others. As well as writing to the LCD display, this unit has a web server (Apache) and PHP running. The web server hosts a text file (my_data.txt) that is hosted and is editable via a web interface and PHP. The primary Raspberry Pi does a little more than the others. As well as writing to the LCD display, this unit has a web server (Apache) and PHP running. The web server hosts a text file (my_data.txt) that is hosted and is editable via a web interface and PHP.
Line 19: Line 19:
 \\  \\ 
 \\  \\ 
-The default login is <color red>username: pi and password: raspberry</color>+The default login is <color red>username: pi and password: raspberry</color> (if this is an existing unit that is misbehaving, the login will be <color blue>pi and Ericss0n</color>)
 \\  \\ 
 \\  \\ 
Line 28: Line 28:
     sudo nano /etc/dhcpdc.conf     sudo nano /etc/dhcpdc.conf
          
-    Add these lines to the end of the file (default is dhcp) using  your own IP Address details+    Add these lines to the end of the file (default is dhcp) using your own IP Address details
          
     eth0     eth0
Line 136: Line 136:
 \\  \\ 
 These files need to be copied to the /home/pi/Python location These files need to be copied to the /home/pi/Python location
 +\\ 
 +\\ 
 +<color red>sudo chmod 777 /home/pi/Python/my_data.txt</color> or Apache might have trouble writing to it.
 +\\ 
 +\\
 +<color red>sudo chmod 777 launchUMD.sh</color>
 +\\ 
 +\\
 +<color red>sudo chmod 777 UMDisplay01.py</color>
 \\  \\ 
 \\  \\ 
Line 163: Line 172:
  
 </file> </file>
-\\  
 \\  \\ 
 Now reboot the RPi Now reboot the RPi
Line 235: Line 243:
 \\  \\ 
 {{:rpi_umd_005.jpg?300|}} {{:rpi_umd_005.jpg?300|}}
 +\\ 
 \\  \\ 
 Adjusting these two potentiometers will allow you to balance the text and backlight intensity to get the brightness level you require. Adjusting these two potentiometers will allow you to balance the text and backlight intensity to get the brightness level you require.
Line 252: Line 261:
     add this line at the end:     add this line at the end:
     sudo ./home/pi/Python/launchUMD.sh     sudo ./home/pi/Python/launchUMD.sh
-\\  
 \\  \\ 
 To test this, reboot and the LCD should start up automatically (the LCD won't clear on boot, but wait for the "Waiting for 5 Seconds for Network Start" message). To test this, reboot and the LCD should start up automatically (the LCD won't clear on boot, but wait for the "Waiting for 5 Seconds for Network Start" message).
setting_up_the_master_umd.1482331809.txt.gz · Last modified: 2023/03/09 22:35 (external edit)