This article is for my hackaday.io project (BYOP).
https://hackaday.io/project/9526-bring-your-own-pizero-byop
By way of the message station, you can communicate with your friends or your family.
Store the message to send
Following is the steps to message communication
- Prepare
name.txt
andsend.txt
on USB flash having the volume nameBYOP
- Boot the PiZero having
FileMessenger
auto run - Insert the USB flash to the PiZero
-
name.txt
andsend.txt
will be overwritten on/home/pi/BYOP
-
rcvd.txt
on/home/pi/BYOP
will be overwritten on USB flash - for detail see http://qiita.com/7of9/items/947112a811d55a8457f1
Then, your PiZero is ready for BYOP.
Message exchange using the message station
At the place where you can find the message station, you can get/post the message from/to your friends and family.
- Connect the GPIO (UART TX/RX/GND) between the message station and PiZero
- Power on the PiZero
- PiZero will automatically get/post message using
BYOP-main.py
script - If the message station has the 8x2 LCD, you can see the progress of the get/post messages.
- Shutdown the PiZero
- TODO: need some shutdown feature (GPIO?)
Then, your PiZero might have messages from your friends or family.
With the same procedure on Store the message to send
, you can obtain rcvd.txt
from PiZero to USB flash. Then you can see the received message on PC/Mac/Linux.