esp8266
1. Install ESP8266 Board Support in Arduino IDE
- Open Arduino IDE.
- Go to File → Preferences.
- In the "Additional Board Manager URLs" field, add the following URL:
- Click OK.
2. Install ESP8266 Board Package
- Go to Tools → Board → Boards Manager.
- In the search bar, type ESP8266.
- Select "ESP8266 by ESP8266 Community" and click Install.
- Wait for the installation to complete.
3. Select the Wemos D1 Board
- Go to Tools → Board.
- Scroll down and select "LOLIN (WEMOS) D1 R2 & mini".
4. Select the Correct Port
- Connect your Wemos D1 board to your PC using a Micro-USB cable.
- Go to Tools → Port and select the correct COM port (e.g., COM3, COM4, etc.).
- If no port is visible, install the CH340 USB Driver Download here.
5. Upload a Test Sketch
Upload the following simple sketch to test if the board is working:
- Click Verify (✓) to compile.
- Click Upload (→) to send the code to the board.
- Open Serial Monitor (Tools → Serial Monitor) and set the baud rate to 115200.
- You should see:
Comments
Post a Comment