1. OUTLINE STAMP-PICO is the smallest ESP32 system board launched by M5Stack. It focuses on cost-effectiveness and simplification. It embeds an ESP32-PICO-D4 IoT control on a small and exquisite PCB board as small as a stamp (STAMP). core. With the support of ESP32, this development board integrates 2.4GHz Wi-Fi and Bluetooth dual-mode...
3. QUICK START STAMP-PICO adopts the most streamlined circuit design, so it does not include a program download circuit. When users use it, they can download the program through a USB-TTL burner. The wiring method is shown in the figure below.
3.2. BLUETOOTH SERIAL Open the Arduino IDE and open the example program `File`->`Examples`->`BluetoothSerial`->`SerialToSerialBT`. Connect the device to the computer and select the corresponding port to burn. After completion, the device will automatically run Bluetooth, and the device name is `ESP32test`. At this time, use the Bluetooth serial port sending tool on the PC to realize the transparent transmission of Bluetooth serial data.
#if !defined(CONFIG_BT_ENABLED) !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and en able it #endif BluetoothSerial SerialBT; void setup() { Serial.begin(115200); SerialBT.begin("ESP32test"); //Bluetooth device name Serial.println("The device started, now you can pair it with bluetoot h!"); void loop() { if (Serial.available()) { SerialBT.write(Serial.read());...
Page 8
#include "WiFi.h" void setup() Serial.begin(115200); // Set WiFi to station mode and disconnect from an AP if it was pre viously connected WiFi.mode(WIFI_STA); WiFi.disconnect(); delay(100); Serial.println("Setup done"); void loop() Serial.println("scan start"); // WiFi.scanNetworks will return the number of networks found WiFi.scanNetworks();...
Page 9
} else { Serial.print(n); Serial.println(" networks found"); (int < n; ++i) { // Print SSID and RSSI for each network found Serial.print(i Serial.print(": "); Serial.print(WiFi.SSID(i)); Serial.print(" ("); Serial.print(WiFi.RSSI(i)); Serial.print(")"); Serial.println((WiFi.encryptionType(i) WIFI_AUTH_OPEN)?" ":"*"); delay(10); Serial.println(""); // Wait a bit before scanning again delay(5000);...
Page 10
FCC Statement: Any Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.
Need help?
Do you have a question about the PICO and is the answer not in the manual?
Questions and answers