Difference between revisions of "BakeBit Starter Kit with NanoPi NEO/NEO2/NEO Air"

From FriendlyELEC WiKi
Jump to: navigation, search
(Connect NanoHat Hub Board to NanoPi NEO/AIR)
Line 11: Line 11:
 
Use male pin-headers to connect your NanoPi NEO/AIR to the [http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_NEO_Hub NanoHat Hub]:
 
Use male pin-headers to connect your NanoPi NEO/AIR to the [http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_NEO_Hub NanoHat Hub]:
 
::[[File:NEOHubConnect.jpg| frameless|600px|NEOHubConnect]]<br />
 
::[[File:NEOHubConnect.jpg| frameless|600px|NEOHubConnect]]<br />
 +
 +
==支持BakeBit的开发板型号及固件列表==
 +
下表中列出了当前已支持BakeBit的开发板型号,以及对应的固件文件,固件文件位于下载链接的officail-ROMs目录,在安装BakeBit软件之前,请确否你所使用的系统固件是下表中列出的版本: <br />
 +
 +
::{| class="wikitable"
 +
|-
 +
|开发板型号||固件文件名||下载地址1||下载地址2
 +
|-
 +
|NanoPi NEO2|| nanopi-neo2_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip||[https://pan.baidu.com/s/1eRDbeG6 百度盘] ||[https://www.mediafire.com/folder/ah4i6w029912b/NanoPi-NEO2 MediaFire]
 +
|-
 +
|NanoPi NEO2|| nanopi-neo2_ubuntu-core-xenial_3.10.65_YYYYMMDD.img.zip||[https://pan.baidu.com/s/1eRDbeG6 百度盘] ||[https://www.mediafire.com/folder/ah4i6w029912b/NanoPi-NEO2 MediaFire]
 +
|-
 +
|NanoPi NEO||nanopi-neo_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip||[http://pan.baidu.com/s/1boQFxN5 百度盘]||[https://www.mediafire.com/folder/n5o8ihvqhnf6s/Nanopi-NEO MediaFire]
 +
|-
 +
|NanoPi NEO||nanopi-neo_ubuntu-core-xenial_3.4.39_YYYYMMDD.img.zip||[http://pan.baidu.com/s/1boQFxN5 百度盘]||[https://www.mediafire.com/folder/n5o8ihvqhnf6s/Nanopi-NEO MediaFire]
 +
|-
 +
|NanoPi NEO Air||nanopi-neo-air_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip||[https://pan.baidu.com/s/1kUMRucf 百度盘]||[https://www.mediafire.com/folder/sr5d0qpz774cs/NanoPi-NEO_Air MediaFire]
 +
|-
 +
|NanoPi NEO Air||nanopi-neo-air-ubuntu-core-qte-sd4g-YYYYMMDD.img.zip||[https://pan.baidu.com/s/1kUMRucf 百度盘]||[https://www.mediafire.com/folder/sr5d0qpz774cs/NanoPi-NEO_Air MediaFire]
 +
|}
  
 
==Install BakeBit Package==
 
==Install BakeBit Package==

Revision as of 02:25, 24 May 2017

查看中文

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.

Bakebit


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:

NEOHubConnect

3 支持BakeBit的开发板型号及固件列表

下表中列出了当前已支持BakeBit的开发板型号,以及对应的固件文件,固件文件位于下载链接的officail-ROMs目录,在安装BakeBit软件之前,请确否你所使用的系统固件是下表中列出的版本:

开发板型号 固件文件名 下载地址1 下载地址2
NanoPi NEO2 nanopi-neo2_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip 百度盘 MediaFire
NanoPi NEO2 nanopi-neo2_ubuntu-core-xenial_3.10.65_YYYYMMDD.img.zip 百度盘 MediaFire
NanoPi NEO nanopi-neo_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip 百度盘 MediaFire
NanoPi NEO nanopi-neo_ubuntu-core-xenial_3.4.39_YYYYMMDD.img.zip 百度盘 MediaFire
NanoPi NEO Air nanopi-neo-air_ubuntu-core-xenial_4.11.0_YYYYMMDD.img.zip 百度盘 MediaFire
NanoPi NEO Air nanopi-neo-air-ubuntu-core-qte-sd4g-YYYYMMDD.img.zip 百度盘 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 BakeBit Starter Kit

The BakeBit Starter Kit currently contains 12 sensor modules.
Here is a list of the sensor modules:

1 BakeBit-Button
BakeBit - Button01.jpg
Button

Connection: to NanoHat Hub's Digital Interface D2 ~D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_button.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Button

2 BBakeBit-Buzzer
BakeBit - Buzzer.jpg
Buzzer

Connection: to NanoHat Hub's Digital Interface D3 or D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_buzzer.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Buzzer

3 BakeBit-Green LED
BakeBit - Green LED.jpg
Green LED, Luminance Adjustable

Connection: to NanoHat Hub's Digital Interface D2 ~D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_led_blink.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Green_LED

4 BakeBit-JoyStick
BakeBit - JoyStick.jpg
Joystick

Connection: to NanoHat Hub's Analog Interface A0 ~A2
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_prj_UIControl_via_Joystick.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_JoyStick

5 BakeBit-LED Bar
BakeBit - LED Bar.jpg
Multi-Color LED Bar, Five LEDs

Connection: to NanoHat Hub's Digital Interface D3 or D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_ledbar.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_LED_Bar

6 BakeBit-Light Sensor
BakeBit - Light Sensor.jpg
Light Sensor

Connection: to NanoHat Hub's Analog Interface A0~A2
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_light_sensor.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Light_Sensor

7 BakeBit-OLED 128X64
BakeBit - OLED.jpg
Monochromatic OLED (0.96”, 128x64)

Connection: to NanoHat Hub's I2C Interface
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_128_64_oled_test.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_OLED_128x64

8 BakeBit-Red LED
BakeBit - Red LED.jpg
Red LED, Luminance Adjustable

Connection: to NanoHat Hub's Digital Interface D2 ~D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_led_blink.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Red_LED

9 BakeBit - Rotary Angle Sensor
BakeBit - Rotary Angle Senso.jpg
Rotary Angle Sensor

Connection: to NanoHat Hub's Analog Interface A0~A2
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_rotary_angle_sensor.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Rotary_Angle_Sensor

10 BakeBit - Servo
BakeBit - Servo.jpg
Servo

Connection: to NanoHat Hub's Digital Interface D3 or D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_servo.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Servo

11 BakeBit - Sound Sensor
BakeBit - Sound Sensor.jpg
Sound Sensor

Connection: to NanoHat Hub's Analog Interface A0~A2
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_sound_sensor.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Sound_Sensor

12 BakeBit - Ultrasonic
BakeBit - Ultrasonic.jpg
Ultrasonic Sensor, Measure Distance

Connection: to NanoHat Hub's Digital Interface D2~D5
Source Code: https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_ultrasonic.py
WiKi Site: http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Ultrasonic

6 Resources

Project Page: https://github.com/friendlyarm/BakeBit
User's Manual in PDF: http://wiki.friendlyarm.com/bakebit/bakebit_starter_kit_manual_en.pdf

7 Update Log

7.1 December-11-2016

  • Released English version

7.2 Jan-19-2017

  • Renamed "NEO-Hub" to "NanoHat-Hub"

7.3 Jan-20-2017

  • Renamed "NanoHat-Hub" to "NanoHat Hub"