BPI:bit for MicroPython: Difference between revisions

From Banana Pi Wiki
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Webduino_gif.gif|thumb|Overview: [[BPI-Bit]]]]
[[File:Webduino_gif.gif|thumb|Overview: [[BPI-Bit]]]]
[[File:ESP32_6.JPG|thumb|[[BPI-UNO32]] with ESP32 design]]
[[File:BPi_bit_webduino_3.jpg|thumb|Overview: BPI:bit for Webduino]]
[[File:BPI_bit_acrylic_shell_1_.JPG|thumb|[[BPI-bit acrylic shell compatible LEGO bricks]]]]
[[File:Bpi_bit_gpio_expansion_board_2.JPG|thumb|[[BPI:bit gpio expansion board]]]]
[[File:BPIbit_breadboard_GPIO_expansion_board_3.jpg|thumb|[[BPI:bit gpio expansion board]]]]
[[File:BPI-bit_robort_board_3.JPG|thumb|[[BPI:bit robot expansion board]]]]


[[File:Mircopython.png]]
[[File:Mircopython.png]]
=Banana Pi BPI:bit for microPython source on github=


BPI:bit have full support microPyton。firmware、exploitation environment、software and wiki documtnets have update to :   
BPI:bit have full support microPyton。firmware、exploitation environment、software and wiki documtnets have update to :   
code on github and support :
*1. Provide terminal command line operation tools
*2. Provide wired or wireless to operation board
*3. Provide Pycharm IDE development
*4. Provide Microbit for MicroPython function library


'''https://github.com/BPI-STEAM/BPI-BIT-MicroPython'''
'''https://github.com/BPI-STEAM/BPI-BIT-MicroPython'''


 
=Banana Pi BPI:bit for microPython online tutorial=
Basic board development


{| class="wikitable"
{| class="wikitable"
|-
|-
| style="background: PaleTurquoise; color: black" colspan="4"| ''Basic board development'''
| style="background: PaleTurquoise; color: black" colspan="4"| '''Basic board development'''
|-
|-
|  [[1 Get the development suite]] ||  [[2 Wired connection board]]||  [[3 Try burning the board]]||  [[4 Hello, World!]]||  [[5 Light up all kinds of LED]]
|  [[1 Get the development suite]] ||  [[2 Wired connection board]]||  [[3 Try burning the board]]||  [[4 Hello, World!]]||  [[5 Light up all kinds of LED]]
|}
|}


<div id="Banana Pi AI"></div>
{| class="wikitable"
{| border="0" cellpadding="10" width="100%"
|-
| style="background: PaleTurquoise; color: black" colspan="4"|'''Board development tools'''
|-
|-
|width="10%" valign="top" align="left"|
|   [[1 Auto series one key burn]] || [[2 ESPBlocks Beginner's only]]|| [[3 Mpfshell details]]|| [[4 Pycharm IDE programming]]
*[[1 Get the development suite]]
|width="10%" valign="top" align="left"|
*[[2 Wired connection board]]
|width="10%" valign="top" align="left"|
*[[3 Try burning the board]]
|width="10%" valign="top" align="left"|
*[[4 Hello, World!]]
|width="10%" valign="top" align="left"|
*[[5 Light up all kinds of LED]]
 
|}
|}


Board development tools
{| class="wikitable"
 
|-
<div id="Banana Pi AI"></div>
| style="background: PaleTurquoise; color: black" colspan="4"| '''Development tutorial(Based on MicroBit):'''
{| border="0" cellpadding="10" width="100%"
|-
|  [[1. Panel scrolling text]] || [[2. Panel display images]]||[[3 Bottom IO port control]]||[[4 Panel key detection]]||[[5 Gets the board temperature]]||[[6 Play MIDI music]]
|-
| [[7 Photosensitive gesture]]||[[8. MPU-9250 9-axis sensor]]||[[9. Make a compass]]||[[10 Free to define gesturesl]]||[[11 Random number generator]]
|-
| [[12 S2m Scratch2]]||[[13 Codelab Scratch3]]
|-
|-
|width="10%" valign="top" align="left"|
*[[1  Auto series one key burn]]
|width="10%" valign="top" align="left"|
*[[2  ESPBlocks Beginner's only]]
|width="10%" valign="top" align="left"|
*[[3 Mpfshell details]]
|width="10%" valign="top" align="left"|
*[[4 Pycharm IDE programming]]
|width="10%" valign="top" align="left"|
*
|}
|}


Development tutorial(Based on MicroBit):
{| class="wikitable"
 
|-
<div id="Banana Pi AI"></div>
| style="background: PaleTurquoise; color: black" colspan="4"| '''Development of advanced:'''
{| border="0" cellpadding="10" width="100%"
|-
|-
|width="10%" valign="top" align="left"|
|   [[1 The basic algorithm]] || [[2 WiFI wireless connection]]|| [[3 WiFI wireless programming]]||[[4 MQTT communication applications]]||[[5 Get the city weather]]
*[[1. Panel scrolling text]]
|width="10%" valign="top" align="left"|
*[[2. Panel display images]]
|width="10%" valign="top" align="left"|
*[[3 Bottom IO port control]]
|width="10%" valign="top" align="left"|
*[[4 Panel key detection]]
|width="10%" valign="top" align="left"|
*[[5 Gets the board temperature]]
|width="10%" valign="top" align="left"|
*[[6 Play MIDI music]]
|width="10%" valign="top" align="left"|
*[[7 Photosensitive gesture]]
|}
 
<div id="Banana Pi AI"></div>
{| border="0" cellpadding="10" width="100%"
|-
|-
|width="10%" valign="top" align="left"|
*[[8. MPU-9250 9-axis sensor]]
|width="10%" valign="top" align="left"|
*[[9. Make a compass]]
|width="10%" valign="top" align="left"|
*[[10 Free to define gesturesl]]
|width="10%" valign="top" align="left"|
*[[11 Random number generator]]
|width="10%" valign="top" align="left"|
*[[12 S2m Scratch2]]
|width="10%" valign="top" align="left"|
*[[13 Codelab Scratch3]]
|width="10%" valign="top" align="left"|
*
|}
|}


 
=Resources=
code on github and support :
 
*1. Provide terminal command line operation tools
*2. Provide wired or wireless to operation board
*3. Provide Pycharm IDE development
*4. Provide Microbit for MicroPython function library


We are now testing all micro:bit online documentation examples,we have let BPI:bit compatibility micro:bit function library,so,microPyton support for micro:bit,You can run it directly on BPI:bit.
We are now testing all micro:bit online documentation examples,we have let BPI:bit compatibility micro:bit function library,so,microPyton support for micro:bit,You can run it directly on BPI:bit.
Line 109: Line 71:


microbit online simulator genuine: http://www.micropython.org.cn/pye/editor-en.html
microbit online simulator genuine: http://www.micropython.org.cn/pye/editor-en.html
*more sample code on github: https://github.com/BPI-STEAM/micropython-samples

Latest revision as of 04:49, 24 February 2019

Overview: BPI-Bit
BPI-UNO32 with ESP32 design
Overview: BPI:bit for Webduino
BPI-bit acrylic shell compatible LEGO bricks
BPI:bit gpio expansion board
BPI:bit gpio expansion board
BPI:bit robot expansion board

Banana Pi BPI:bit for microPython source on github

BPI:bit have full support microPyton。firmware、exploitation environment、software and wiki documtnets have update to :

code on github and support :

  • 1. Provide terminal command line operation tools
  • 2. Provide wired or wireless to operation board
  • 3. Provide Pycharm IDE development
  • 4. Provide Microbit for MicroPython function library

https://github.com/BPI-STEAM/BPI-BIT-MicroPython

Banana Pi BPI:bit for microPython online tutorial

Basic board development
1 Get the development suite 2 Wired connection board 3 Try burning the board 4 Hello, World! 5 Light up all kinds of LED
Board development tools
1 Auto series one key burn 2 ESPBlocks Beginner's only 3 Mpfshell details 4 Pycharm IDE programming
Development tutorial(Based on MicroBit):
1. Panel scrolling text 2. Panel display images 3 Bottom IO port control 4 Panel key detection 5 Gets the board temperature 6 Play MIDI music
7 Photosensitive gesture 8. MPU-9250 9-axis sensor 9. Make a compass 10 Free to define gesturesl 11 Random number generator
12 S2m Scratch2 13 Codelab Scratch3
Development of advanced:
1 The basic algorithm 2 WiFI wireless connection 3 WiFI wireless programming 4 MQTT communication applications 5 Get the city weather

Resources

We are now testing all micro:bit online documentation examples,we have let BPI:bit compatibility micro:bit function library,so,microPyton support for micro:bit,You can run it directly on BPI:bit.

This is BPI:Bit run:https://microbit-micropython.readthedocs.io/en/latest/tutorials/hello.html code . You can run the code directly on BPI:bit, you can see the video demo.

https://www.youtube.com/watch?v=AczqV6zMi9E&feature=youtu.be

For more board examples, see the following url:

microbit online documents :https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html

microbit online simulator genuine: http://www.micropython.org.cn/pye/editor-en.html