Difference between revisions of "BakeBit Starter Kit with NanoPi NEO/NEO2/NEO Air"
(→BakeBit Starter Kit) |
|||
Line 57: | Line 57: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If the LED is blinking your BakeBit is proved to be working. | If the LED is blinking your BakeBit is proved to be working. | ||
+ | |||
+ | ==Run Python Code Sample== | ||
+ | 以LED配件为例,将LED配件连接到NanoHat Hub上的D3插座,在命令行执行以下命令操作LED: <br /> | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | python ~/BakeBit/Software/Python/bakebit_led_blink.py | ||
+ | </syntaxhighlight> | ||
+ | LED将会闪烁,更多的Python示例源代码,可进入~/BakeBit/Software/Python/目录查看。 | ||
==BakeBit Starter Kit== | ==BakeBit Starter Kit== |
Revision as of 14:32, 29 May 2017
Contents
1 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.
2 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:
3 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
4 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:
reboot
- Verify BakeBit Functions:
Connect a BakeBit Starter Kit’s LED module to the NanoHat Hub's D3 interface and run the following command on the NanoPi NEO's command line:
python ~/BakeBit/Software/Python/bakebit_led_blink.py
If the LED is blinking your BakeBit is proved to be working.
5 Run Python Code Sample
以LED配件为例,将LED配件连接到NanoHat Hub上的D3插座,在命令行执行以下命令操作LED:
python ~/BakeBit/Software/Python/bakebit_led_blink.py
LED将会闪烁,更多的Python示例源代码,可进入~/BakeBit/Software/Python/目录查看。
6 BakeBit Starter Kit
The BakeBit Starter Kit currently contains 12 sensor modules.
Here is a list of the sensor modules:
7 Resources
Project Page: https://github.com/friendlyarm/BakeBit
User's Manual in PDF: http://wiki.friendlyarm.com/bakebit/bakebit_starter_kit_manual_en.pdf
8 Update Log
8.1 December-11-2016
- Released English version
8.2 Jan-19-2017
- Renamed "NEO-Hub" to "NanoHat-Hub"
8.3 Jan-20-2017
- Renamed "NanoHat-Hub" to "NanoHat Hub"
8.4 May-24-2017
- Added section 3