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

From FriendlyELEC WiKi
Jump to: navigation, search
(Connect NEO-Hub Board to NanoPi NEO/AIR)
(BakeBit Starter Kit)
Line 45: Line 45:
 
|-
 
|-
 
|1    || '''BakeBit-Button'''<br />[[File:BakeBit - Button01.jpg |frameless|150px]]    || '''Button'''<br />
 
|1    || '''BakeBit-Button'''<br />[[File:BakeBit - Button01.jpg |frameless|150px]]    || '''Button'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D2 ~D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D2 ~D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_buzzer.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_buzzer.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Buzzer <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Buzzer <br />
 
|-
 
|-
 
|2  || '''BBakeBit-Buzzer'''<br />[[File:BakeBit - Buzzer.jpg |frameless|150px]]    || '''Buzzer'''<br />
 
|2  || '''BBakeBit-Buzzer'''<br />[[File:BakeBit - Buzzer.jpg |frameless|150px]]    || '''Buzzer'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D3 or D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D3 or D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_button.py<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_button.py<br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Button <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Button <br />
 
|-
 
|-
 
|3    || '''BakeBit-Green LED'''<br />[[File:BakeBit_-_Green_LED.jpg |frameless|150px]]    || '''Green LED, Luminance Adjustable'''<br />
 
|3    || '''BakeBit-Green LED'''<br />[[File:BakeBit_-_Green_LED.jpg |frameless|150px]]    || '''Green LED, Luminance Adjustable'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D2 ~D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D2 ~D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_led_blink.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_led_blink.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Green_LED <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Green_LED <br />
 
|-
 
|-
 
|4  || '''BakeBit-JoyStick'''<br />[[File:BakeBit_-_JoyStick.jpg |frameless|150px]]    || '''Joystick'''<br />
 
|4  || '''BakeBit-JoyStick'''<br />[[File:BakeBit_-_JoyStick.jpg |frameless|150px]]    || '''Joystick'''<br />
'''Connection''': at NEO-Hub's Analog Interface A0 ~A2<br />
+
'''Connection''': to NEO-Hub's Analog Interface A0 ~A2<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_prj_UIControl_via_Joystick.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_prj_UIControl_via_Joystick.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_JoyStick <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_JoyStick <br />
 
|-
 
|-
 
|5  || '''BakeBit-LED Bar'''<br />[[File:BakeBit_-_LED_Bar.jpg |frameless|150px]]    || '''Multi-Color LED Bar, Five LEDs'''<br />
 
|5  || '''BakeBit-LED Bar'''<br />[[File:BakeBit_-_LED_Bar.jpg |frameless|150px]]    || '''Multi-Color LED Bar, Five LEDs'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D3 or D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D3 or D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_ledbar.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_ledbar.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_LED_Bar <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_LED_Bar <br />
 
|-
 
|-
 
|6  || '''BakeBit-Light Sensor'''<br />[[File:BakeBit - Light Sensor.jpg|frameless|120px]]    || '''Light Sensor'''<br />
 
|6  || '''BakeBit-Light Sensor'''<br />[[File:BakeBit - Light Sensor.jpg|frameless|120px]]    || '''Light Sensor'''<br />
'''Connection''': at NEO-Hub’s Analog Interface A0~A2<br />
+
'''Connection''': to NEO-Hub’s Analog Interface A0~A2<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_light_sensor.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_light_sensor.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Light_Sensor <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Light_Sensor <br />
 
|-
 
|-
 
|7  || '''BakeBit-OLED 128X64'''<br />[[File:BakeBit - Button01.jpg |frameless|150px]]    || '''Monochromatic OLED (0.96”, 128x64)'''<br />
 
|7  || '''BakeBit-OLED 128X64'''<br />[[File:BakeBit - Button01.jpg |frameless|150px]]    || '''Monochromatic OLED (0.96”, 128x64)'''<br />
'''Connection''': at NEO-Hub’s I2C Interface<br />
+
'''Connection''': to NEO-Hub’s I2C Interface<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_128_64_oled_test.py<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_128_64_oled_test.py<br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_OLED_128x64 <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_OLED_128x64 <br />
 
|-
 
|-
 
|8  || '''BakeBit-Red LED'''<br />[[File:BakeBit_-_Red_LED.jpg |frameless|150px]]    || '''Red LED, Luminance Adjustable'''<br />
 
|8  || '''BakeBit-Red LED'''<br />[[File:BakeBit_-_Red_LED.jpg |frameless|150px]]    || '''Red LED, Luminance Adjustable'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D2 ~D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D2 ~D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_led_blink.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_led_blink.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Red_LED <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Red_LED <br />
 
|-
 
|-
 
|9  || '''BakeBit - Rotary Angle Sensor'''<br />[[File:BakeBit_-_Rotary_Angle_Senso.jpg |frameless|150px]]    || '''Rotary Angle Sensor'''<br />
 
|9  || '''BakeBit - Rotary Angle Sensor'''<br />[[File:BakeBit_-_Rotary_Angle_Senso.jpg |frameless|150px]]    || '''Rotary Angle Sensor'''<br />
'''Connection''': at NEO-Hub’s Analog Interface A0~A2<br />
+
'''Connection''': to NEO-Hub’s Analog Interface A0~A2<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_rotary_angle_sensor.py <br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_rotary_angle_sensor.py <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Rotary_Angle_Sensor <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Rotary_Angle_Sensor <br />
 
|-
 
|-
 
|10  || '''BakeBit - Servo'''<br />[[File:BakeBit - Servo.jpg|frameless|120px]]    || '''Servo'''<br />
 
|10  || '''BakeBit - Servo'''<br />[[File:BakeBit - Servo.jpg|frameless|120px]]    || '''Servo'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D3 or D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D3 or D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_servo.py<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_servo.py<br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Servo <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Servo <br />
 
|-
 
|-
 
|11    || '''BakeBit - Sound Sensor'''<br />[[File:BakeBit_-_Sound_Sensor.jpg |frameless|150px]]    || '''Sound Sensor'''<br />
 
|11    || '''BakeBit - Sound Sensor'''<br />[[File:BakeBit_-_Sound_Sensor.jpg |frameless|150px]]    || '''Sound Sensor'''<br />
'''Connection''': at NEO-Hub’s Analog Interface A0~A2<br />
+
'''Connection''': to NEO-Hub’s Analog Interface A0~A2<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_sound_sensor.py<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_sound_sensor.py<br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Sound_Sensor <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Sound_Sensor <br />
 
|-
 
|-
 
|12    || '''BakeBit - Ultrasonic'''<br />[[File:BakeBit_-_Ultrasonic.jpg |frameless|150px]]    || '''Ultrasonic Sensor, Measure Distance'''<br />
 
|12    || '''BakeBit - Ultrasonic'''<br />[[File:BakeBit_-_Ultrasonic.jpg |frameless|150px]]    || '''Ultrasonic Sensor, Measure Distance'''<br />
'''Connection''': at NEO-Hub’s Digital Interface D2~D5<br />
+
'''Connection''': to NEO-Hub’s Digital Interface D2~D5<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_ultrasonic.py<br />
 
'''Source Code''': https://github.com/friendlyarm/BakeBit/blob/master/Software/Python/bakebit_ultrasonic.py<br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Ultrasonic <br />
 
'''WiKi Site''': http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Ultrasonic <br />

Revision as of 14:20, 20 December 2016

查看中文

1 Introduction to BakeBit

The BakeBit Starter Kit is a development kit composed of various sensor modules. This kit contains hardware extension boards: a NEO-Hub, sensor modules and etc, and a software utility: BakeBit.
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 NEO-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 NEO-Hub:

NEOHubConnect

3 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
./install.sh
  • Reboot your board after installation is finished:
reboot
  • Verify BakeBit Functions:

Connect a BakeBit Starter Kit’s LED module to the NEO-Hub’s D3 interface and run the following command on the NanoPi NEO’s command line:

python ~/BakeBit/Software/Python/grove_led_blink.py

If the LED is blinking your BakeBit is proved to be working.

4 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 NEO-Hub’s Digital Interface D2 ~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

2 BBakeBit-Buzzer
BakeBit - Buzzer.jpg
Buzzer

Connection: to NEO-Hub’s Digital Interface D3 or 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

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

Connection: to NEO-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 NEO-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 NEO-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 NEO-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 - Button01.jpg
Monochromatic OLED (0.96”, 128x64)

Connection: to NEO-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 NEO-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 NEO-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 NEO-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 NEO-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 NEO-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

5 Resources

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

6 Update Log

6.1 December-11-2016

  • Released English version