Skip to content

Paulware/piHatWirelessController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


This cute little (1.44 in display) controller is available on ebay for $12: here, and is perfect for a $10 pi zero (available at adafruit.com).
To create an sd card for this device, follow these steps:

  • Obtain the latest raspbian image from https://www.raspberrypi.org/downloads/raspbian/
  • Place the raspbian .img file on a 8gb (or larger) sd card (I use win32diskimager for this)
  • Place all the files and directories from this repository on the sd card (this will be considered the /boot directory on the pi). Any windows machine can be used for this as the sd card has a small amount of space which is windows compatible.
  • Bootup the raspberry pi, open a line terminal and execute these commands:
      sudo bash
      cd /boot
      chmod 777 all.sh
      ./all.sh
      
  • reboot the raspberry pi
  • Open a line terminal and run the python examples by typing python filename.py

Description of .sh files

NameDescription
all.shRun all the .sh files. Check that user is super user and parameter contains gmail info
ap.sh(No longer used because pi should be connected to home router) Create an acccess point with SSID="vehicle1" and password="ABCD1234"
crontab.shSetup the crontab which can run a task every minute
keyboard.shConfigure the usb keyboard for US keys
ssh.shSetup the pi for ssh access
timezone.shSet the pi's current timezone to match the user's locations

Description of examples

NameDescription
watchA functioning watch, use top button to set hours, middle to set minutes, and bottom button to set seconds
buttonLineDraw (main.py)Draw lines and show images based on button presses (pong and tic-tac-toe static screens)
displayButtons(main.py)Show images on screen bassed on button presses
email:paulware@hotmail.com

About

Scripts to configure 1.44 inch display with buttons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages