Banana BPI:bit wifi

Hello,

Is it possible to programme your bpi bit webduino via Python or micropython with Mu IDE for exemple? Do you have a example of programme? Thanks to help me. Your sincerely.

Julien

yes, you can see our wiki online documents:

http://wiki.banana-pi.org/BPI:bit_for_MicroPython

Hello,

Very thanks to answer. I already use the microbit card with the Mu editor which is perfect with autocompletion. Very practical for development. I saw that you propose a tool too basic to program your map in Python with the file windows-mpfshell.exe. It is a tool that allows to communicate with the python interpreter on the Microbit card? is it this. If so, then the tool is unusable to properly perform program and be used in teaching. Could you add your bit-beep card to the IDE Mu? Would you otherwise have a development tool (IDE) worthy of the name? Would it be possible to have all the APIs in one clean and well-informed document like on the Microbit website here: https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html Thank you for your very specific answers. Your sincerely.

Julien

this wiki for chinese , it is any help for you???

HI~

If you need a micropython development tool.

  1. mpfshell.exe

too simple !

  1. pycharm for mpfshell.

http://wiki.banana-pi.org/4_Pycharm_IDE_programming

too professional !

  1. thonny support micropython

https://thonny.org/

better than mu-editor ~!

Your choice~

But Scratch3 and blockly support mpfshell in the future.

So stay tuned~

Hello,

Thank you for your answers. Your mpfshell.exe software is not suitable for programming at all, since you have to type all the codes one after the other. This tool is used only for simple tests. Could you tell me how to upload a python program into your bit-bip map with thonny. No explanation on the site thonny. Thonny is a very good IDE too. Pyscharm is the top, but more complicated to use for students and more difficult to install. You allow yourself to judge the IDE Mu too quickly. Indeed, it has the advantage of being very simple with all the basic functions for teaching. It lacks the mode of debugging and visualization of variable. But you can draw graphique, use REPL mode and very easy to use with autocompletion. Do you have a python simulator for the bit_bip map like the one on the microbit map here? https://create.withcode.uk/ Thank you for your help. your sincerely. Julien

Hello, Would you have a website that gives all the information on the functions and commands in micropython to drive your Bit-bip card especially on the new features compared to the microbit card, such as color management, gyroscope, wifi, bluetooth. Indeed, the microbit card does not manage the bluetooth micropython because its 16K RAM is too low for the Bluetooth stack. Thank you for your clarification and links to your specific explanatory documents. https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html Your sincerely. Julien

english wiki :

http://wiki.banana-pi.org/BPI:bit_for_MicroPython

about wifi wireless:

http://wiki.banana-pi.org/2_WiFI_wireless_connection

http://wiki.banana-pi.org/3_WiFI_wireless_programming

Well, for mu editor, I also provide the corresponding espblock, and support blockly and microbit simulation, because mu editor does not support micropython native, and for me there is no blockly, so I think espblock may be more in line with your meaning.

See this https://github.com/BPI-STEAM/BPI-BIT-MicroPython/wiki/espblock

Hello,

I have seen your documents, but none of them shows how to program a very simple micropython application on your card bit-bip to fix whether the card is in access point or client mode. How to fix its IP address and subnet mask. how then send (TCP) a single byte to a recipient (IP address), or broadcast in UDP. How to receive a byte in TCP or UDP. Could you send me a python program example to set IP address and send and receive one byte under TCP and UDP protocol for exemple. In short, a lot of information is still missing. Could you group at a given address all micropython commands, because I would not want to ask you without stopping where is this or that command. Propose a global menu by theme as you see it on this site very well done and very clear, it lacks nothing. I’m talking about the map bit-bip not the banana Pi! This link no nowhere, with no information!?? https://github.com/BPI-STEAM/BPI-BIT-MicroPython/wiki/espblock How use Mu with your bit-bip? same question, but no answer from you with thonny IDE?? thanks to be very precise and help me to program your bit-bip in micropython. Thanks to answer. Your sincerely. Julien

Oh, sorry, about the core of the wifi interface, you need to look at the http://docs.micropython.org/en/latest/esp8266/tutorial/network_basics.html? Highlight = ifconfig

Part about the wifi code, can refer to the https://github.com/BPI-STEAM/BPI-BIT-MicroPython/tree/master/12.network

Or is the https://github.com/micropython/micropython/tree/master/examples/network

Hello, Could you ask your engineers to give me a simple example in MicroPython to send and receive a simple byte between two bit cards: beep in wifi. Many thanks for your very specific help. Your sincerely.

Julien

well, in http://docs.micropython.org/en/latest/esp8266/tutorial/network_tcp.html

attention HTTP is TCP on port 80

Hello,

do you have command to set the bit/bip in access point, and not in station mode in wifi? Thanks to be very precise. Julien

Hello,

Could you give me the IDE to use to program in Python the BPI:bit. Do you have a documentation online off all the API in python. How to upload the Python file in the BPI:bit card? Thanks to be very precise with examples and screen shot. Thanks to help me.

Julien

Hello,

I finally could flash your BPIbip card with the firmware. It works perfectly with the Mu editor in ESP32 python mode. I search all the APIs usable in micropython and especially how to set the card in station mode or access point and how to send and receive data with another device connected to the IP network. I am looking for the APIs to read the light sensors, the temperature sensor, the MPU 9250, to sound the buzer, LED RGB, etc … in python. Thank you for your very specific help with examples. Here are example for the microbit. Do you have the same document for the BPI bit https://microbit-micropython.readthedocs.io/en/latest/index.html Very thank to help me. Regards.

Julien Launay

Hello,

could you give us all the python API to read all your sensors without using your firmware. in your example we don’t need to import microbit import *.

Where is all the documentation to read button, light sensor, etc… who to set RGB led, buzzer, etc… in python?

Thanks to be very precise.

regards.

JL

Dear JL,

You can check the examples at https://github.com/BPI-STEAM/MicroPython-Samples

-tim