marp |
---|
true |
- Reads Amplifier Output
- Moving Average Filter
- Sends Reading Over I2C
- Microcontroller
- Arduino + WiFi & Bluetooth
- 30 pins
- https://www.arduino.cc/en/software
- Open "
File
>Preferences
>Additional Board Manager URLs
" and add: https://dl.espressif.com/dl/package_esp32_index.json - Open the Boards Manager at "
Tools
>Board
>Boards Manager
", search for "ESP32" and press the install button for "ESP32 by Espressif Systems"
- Select "
DOIT ESP32 DEVKIT V1
" at "Tools
>Board
" - Select the correct COM port under "
Tools
>Port
" - Choose an example program in "
File
>Examples
>Examples for DOIT ESP32 DEVKIT V1
>WiFi
>WiFiScan
" - Program the code to the ESP32 with the Upload button (➡)
- Open the Serial Monitor via "
Tools
>Serial Monitor
" and set the Baud-rate to "115200 baud" - If you can see the nearby WiFi networks everything is working!
- I2C = Inter-Integrated Circuit
- Invented in 1982 by Philips
- SDA = Serial Data Line
- SCL = Serial Clock Line
- Every target has his own address ''
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
void setup() {
Serial.begin(115200); // Open the serial port at 115200 baud
}
/* Send "Salamu, Dunia!" via serial every second. */
void loop() {
Serial.println("Salamu, Dunia!"); // Send text over the serial port
delay(1000); // Wait 1000ms or 1s
}