✨ 💾 🌿 プランとけい // plantokei 🌿 💾 ✨
#プランとけい Plantokei is a golem made up of:
- An Arduino Uno
- A SainSmart ST7735 LCD
- A simple photocell
- A plant! :3
The following I/O is in the works:
- Soil moisture
- Nearby motion
- Humidity and temperature
- Photosynthetically active radiation (a.k.a. PAR)
- Bluetooth/wifi/Xbee perhaps?
I post lots of photos & updates on Twitter with the #plantokei
hashtag!
The easiest way to get going with Plantokei is to load up plantokei.ino
in the
Arduino IDE. You'll need to download
the two libraries for the LCD screen, Adafruit_GFX.zip
and Adafruit_ST3775.zip
, available in this helpful tutorial along with instructions to install said libraries.
If you're like me and you value text editor shortcuts over your own happiness, then congratulations! You can build and upload the plantokei source yourself.
NOTE: plantokei's build process depends on the excellent Arduino-Makefile project. If you're on a system other than OS X or if these instructions don't work out of the box, check out the similarly great Bare Arduino Project for instructions on setting up Arduino-Makefile for other systems like Linux and Windows.
- Install the dependencies:
$ brew tap osx-cross/avr
$ brew install avr-libc
$ brew install avrdude
$ pip install pyserial
- After cloning the plantokei repo, install the git submodules. This includes the Arduino-Makefile dependency, as well as all of the Arduino libraries:
git submodule init && git submodule update
- Make sure your Arduino is plugged in, then compile and upload the program:
$ make && make upload
- (Optional) Open up the serial monitor. To quit:
<^A+k>
$ make monitor
- Many thanks to @vogon for the cute name!
- Natalie Silvanovich's Tamagotchi-hacking work has been invaluable (and cool as heck)
- mrt-prodz did a great write-up on a Flappy Bird clone using the ST7735
- Jasper van Loenen's awesome image2cpp tool is great for sprite creation
- Tweaking4all.com's has a great write-up on the on the ST7735