BakeBit Starter Kit with NanoPi NEO/NEO2/NEO Air
- 1 Introduction to BakeBit
- 2 Connect NanoHat Hub Board to NanoPi NEO/AIR
- 3 FriendlyElec Boards and Image Files that Work with BakeBit
- 4 Install BakeBit Package
- 5 Run Code Sample in Python
- 6 Run Code Sample in C
- 7 BakeBit Starter Kit
- 8 Resources
- 9 Update Log
Introduction to BakeBit
The BakeBit Starter Kit is a development kit composed of various sensor modules. This kit contains hardware extension boards: a NanoHat Hub, sensor modules and a software utility: BakeBit Library.
The BakeBit modules can be easily connected to and work with FriendlyElec's Nano boards. They support digital interfaces, analog interfaces, I2C interfaces and etc.
Connect NanoHat Hub Board to NanoPi NEO/AIR
Currently the BakeBit modules work with FriendlyElec's NanoPi NEO and NanoPi NEO Air.
Use male pin-headers to connect your NanoPi NEO/AIR to the NanoHat Hub:
FriendlyElec Boards and Image Files that Work with BakeBit
Here is a table of the FrendlyElec boards and their image files that work with BakeBit. These image files are under the "officail-ROMs" directory of the download link. Make sure the image file that runs on your board supports BakeBit before you want to play BakeBit with your board.:
Board Type Image File Download Link 1 Download Link 2 NanoPi NEO2 nanopi-neo2_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip baidu space MediaFire NanoPi NEO2 nanopi-neo2_ubuntu-core-xenial_3.10.65_YYYYMMDD.img.zip baidu space MediaFire NanoPi NEO nanopi-neo_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip baidu space MediaFire NanoPi NEO nanopi-neo_ubuntu-core-xenial_3.4.39_YYYYMMDD.img.zip baidu space MediaFire NanoPi NEO Air nanopi-neo-air_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip baidu space MediaFire NanoPi NEO Air nanopi-neo-air-ubuntu-core-qte-sd4g-YYYYMMDD.img.zip baidu space MediaFire
Install BakeBit Package
- Connect your NanoPi NEO/AIR to the internet, open a terminal on your NanoPi NEO/AIR from SSH login and download the BakeBit source code from github:
cd ~ git clone https://github.com/friendlyarm/BakeBit.git
- Run the installation script for BakeBit:
cd BakeBit/Script chmod +x install.sh sudo ./install.sh
- Reboot your board after installation is finished:
Run Code Sample in Python
Connect a BakeBit Starter Kit’s LED module to the NanoHat Hub's D3 interface and run the following command on a master device's command line:
If the LED is blinking your BakeBit is proved to be working. For more code samples in Python you can check them in the directory ~/BakeBit/Software/Python/ .
Run Code Sample in C
Connect a BakeBit Starter Kit’s LED module to the NanoHat Hub's D4 interface and run the following commands on a master device's command line:
cd ~/BakeBit/Software/C/ gcc bakebit_digital_write.c bakebit.c -Wall ./a.out
If the LED is blinking your BakeBit is proved to be working. For more code samples in C you can check them in the directory ~/BakeBit/Software/C/ .
BakeBit Starter Kit
The BakeBit Starter Kit currently contains 12 sensor modules.
Here is a list of the sensor modules:
Project Page: https://github.com/friendlyarm/BakeBit
User's Manual in PDF: http://wiki.friendlyarm.com/bakebit/bakebit_starter_kit_manual_en.pdf
- Released English version
- Renamed "NEO-Hub" to "NanoHat-Hub"
- Renamed "NanoHat-Hub" to "NanoHat Hub"
- Added section 3
- Added sections 5 and 6