Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use the Peguino Uno ESP 32 Board with Visuino
#1
Using Peguino Uno with Visuino

When you start Visuino usually the Arduino Uno is selected as default.
To change the board to the ESP 32 board which can be used in the Peguino Uno Brick click the symbol top right (1) and select “ESP 32 Development Board” (2). Then click “ok” (3).


[Image: Visuino_ESPSelect_01.jpg]

If you change the Board inside the Peguino Uno Brick go ahead in the same way. The Peguino Uno Brick can house three different types of boards: Arduino Uno, Arduino Nano, ESP 8266 and ESP 32 boards. (If you change the boards check or switch the blue jumpers on the Peguino board inside the case).


Transfer your Visuino project to the Peguino Uno Brick (with Visuino):

The process to copy your Visuino project to the Peguino Uno Brick works in three steps:

  1. 1. Generate the programcode (the sourcecode) with Visuino and transfer it to the Arduino IDE.2. Compile the program with the Arduino IDE (to generate the executable program for the tiny computer inside the Peguino Uno brick).3. Transfer the compiled program to the tiny computer-board inside the Peguino Uno. This is done usually via USB connection between your PC and the board.

As long the board stays connected via USB with your PC you can send and receive data from the board. This is useful for finding software bugs or drawing realtime graphs inside Visuino.



Variation 1: The single click approach


In this Version click the “compile and upload” -icon #2. See image below:

[Image: Visuino_Compile_01.jpg]


Variation 2: Or in three steps

If it isn´t working as described above, click “copy to Arduino IDE” icon #1. See image above.
Then the Arduino IDE opens and show you the generated source code. Here click on the green arrow as shown below:

[Image: Arduino_Compile_01.jpg]


Now the program is compiled and transferred to the Peguino Uno -Board. In case of failure check the USB cable and see the error message on the bottom of the Arduino IDE.

Note: To avoid the error message "Failed to connect to ESP32: Timed out waiting for packet header" while upload - press and hold the "BOOT" button on the board while uploading:

[Image: Upload_Arduino_ESP_01.png]


More about see Arduino IDE -Installation here https://www.peguino.com/chat/thread-7.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)