Getting Started BPI-UNO32 with Visuino

From Banana Pi Wiki
Jump to: navigation, search

About BPI-UNO32

How to use BPI-UNO32 with Visuino

The BPI:UNO32 is fully supported in Visuino and can be selected as board by double clicking on the Arduino component in the design are, or by clicking on the button\

Visuino start 1.png

This will open a dialog listing all supported boards, and bpi:uno32 can be selected:

Visuino start 2.png

Once the board is selected the component in the design area will change to represent all the capabilities available on the BPI:UNO32:

Visuino start 3.png

Including the Hall Sensor, the Button, Buzzer, LED pins, and the Wi-Fi module:

Visuino start 4.png

No as example, by simply connecting the Output of the Hall sensor to the Input of the Serial port, the BPI:UNO32 can be programmed to send the Hall Sensor values to the Serial Terminal:

Visuino start 5.png

The Wi-Fi Module supports variety of operations, even including programming over the air (Wi-Fi).

Adding the operations is as simple as clicking on the “...”and Visuino start 6.png button of the Operations property:

Visuino start 7.png

And selecting the Operations to add:

Visuino start 8.png

Once as example “Scan Networks” operation is added, it will appear on the BPI:UNO32 component and it can be connected, as example to print the SSIDs of the discovered hot-spots:

Visuino start 9.png

Adding sockets is equally simple:

Visuino start 10.png

Visuino start 11.png

And once the sockets are added, they can be connected to send the data from any sensor, or control any actuator:

Visuino start 12.png

All the Visuino components for sensors, displays, actuators, processing communication and more are available to be used with BPI:UNO32 as shown in this example displaying the Temperature and Humidity on OLED display, and controlling servo position based on the temperature:

Visuino start 13.png

All currently supported shields are also available and can be added to the BPI:UNO32 component:

Visuino start 14.png

Visuino start 15.png

Visuino start 16.png

And once added their functionality will appear on the component:

Visuino start 17.png

Once a project is designed, by simply clicking on the Visuino start 18.png button, Visuino will generate the necessary C++ code, and will open the Arduino IDE:

Visuino start 19.png

In the Arduino IDE the generated code can be compiled and uploaded:

Visuino start 20.png