Difference between revisions of "How to use with Arduino IDE"

From Banana Pi Wiki
Jump to: navigation, search
(uPyCraft(microPyhton))
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
Need to be prepared:
 
Need to be prepared:
*BPI-UNO32 1  
+
*BPI-UNO32 1 or BPI:bit 1
 
*Jumper Cap 4
 
*Jumper Cap 4
 
*microUSB 1
 
*microUSB 1
Line 16: Line 16:
 
[[File:Uno32_start_1.png]]
 
[[File:Uno32_start_1.png]]
  
open VS Code \(you can also choose other compilers\) and open BPI-UNO32 on the PlatformIO Home page Code project, for example, to open a test code engineering folderPlatformIO\_VSCode。
+
open Arduino IDE and install ESP32 Expansion pack
*Project:
 
[[File:Uno32_start_2.png]]
 
  
open the VS Code terminal console, input , compile the program, input , compile and burn the program. (if it hasn't been compiled before, it may be slow to compile the first time and need to be connected because he needs to get the corresponding platform information).
+
Arduino IDE Software:(*[[https://www.arduino.cc/en/Main/Software  Arduino IDE]])
  
*platformio run:
+
ESP32 Expansion pack:(*[[https://github.com/espressif/arduino-esp32/blob/master/README.md  Installation guide]]) ->Installation Instructions
[[File:Uno32_start_3.png]]
 
*platformio run --target upload:
 
[[File:Uno32_start_4.png]]
 
  
2,then open the serial port assistant tool, select BPI-UNO32 on the computer corresponding to the serial serial number, the serial port settings are selected as:
+
*Open Arduino IDE and setup baord:
Baud rate: 115200 Data bit: 8 Parity check: no Stop bit:
+
[[File:ArduinoIDE-1.png]]
*Serial Config:
+
 
[[File:Uno32_start_5.png]]
+
If you install ESP32 package you can ESP32 board in Tools->Boards see <ESP32 Arduino>
  
3,Test content:
+
*Arduino IDE Compile and Download:
 +
[[File:ArduinoIDE-2.png]]
 +
*Arduino IDE serial port setup:
 +
[[File:ArduinoIDE-3.png]]
  
*RGB LED fading.
+
2,You can click Serial Monitor in Arduino IDE. It will open a new window ,in this window ,you can setup serial :
*AD acquisition and testing of 6 ADC\_channel1.
+
*Serial Config:
*WiFi scan testing.
+
[[File:ArduinoIDE-4.png]]
*Control test of buzzer gradient.
 

Latest revision as of 21:00, 24 August 2018

Ardino IDE

How to setup and start

Need to be prepared:

  • BPI-UNO32 1 or BPI:bit 1
  • Jumper Cap 4
  • microUSB 1

quickstart:

1,connect the four jumper caps to the top of the board, respectively, to connect the RGB LED to the buzzer. Then use the microUSB line to connect the development board to the computer.

  • port:

Uno32 start 0.png

  • Connect:

Uno32 start 1.png

open Arduino IDE and install ESP32 Expansion pack

Arduino IDE Software:(*[Arduino IDE])

ESP32 Expansion pack:(*[Installation guide]) ->Installation Instructions

  • Open Arduino IDE and setup baord:

ArduinoIDE-1.png

If you install ESP32 package you can ESP32 board in Tools->Boards see <ESP32 Arduino>

  • Arduino IDE Compile and Download:

ArduinoIDE-2.png

  • Arduino IDE serial port setup:

ArduinoIDE-3.png

2,You can click Serial Monitor in Arduino IDE. It will open a new window ,in this window ,you can setup serial :

  • Serial Config:

ArduinoIDE-4.png