Jaycar ESP8266 Wi-Fi Mini Main Board Instructions

May 15, 2024
Jaycar

Jaycar ESP8266 Wi-Fi Mini Main Board

Product Specifications :

  • Product Name : ESP8266 WiFi Mini
  • Features : WiFi compatibility, 80Mhz microcontroller, 4 MB on-board flash

Product Usage Instructions

Computer Drivers Installation (Windows):

  1. Download the driver package from the website.
  2. Extract the zip file into a folder on your desktop.
  3. Run SETUP.EXE in the folder and install the drivers.
  4. Delete the folder after installation.

Arduino Setup :

  1. Add the index URL in Arduino IDE preferences.
  2. Install the board type by searching for ‘esp8266’ in the Board Manager.
  3. Select LOLIN(WEMOS) D1 R2 & mini as the board in the boards menu.
  4. Upload the blink sketch to test functionality.

Using On-Board Flash:

  1. Download the zip file from the provided GitHub repository.
  2. Extract it into Documents/Arduino/tools directory.
  3. Restart Arduino IDE and find ESP8266 Sketch Data Upload in Tools menu.
  4. Create a ‘data’ folder in your sketch directory and upload desired data into it.

Source Code for On-Board Flash:

#include 
void setup() {
    Serial.begin(9600);
    SPIFFS.begin();

    File f = SPIFFS.open("/hello.txt", "r");
    if(!f){
        Serial.println("failed to open hello.txt, did you upload data?");
    } else {
        String firstLine = f.readStringUntil('n');
        Serial.println("first line of hello.text :");
        Serial. println(firstLine);
    }
}

void loop() {
}

Frequently Asked Questions (FAQ):

  1. Q: Can I use the ESP8266 WiFi Mini without Arduino IDE?
    A: While the Arduino IDE is recommended for programming, you can use other platforms compatible with ESP8266.

ESP8266 WiFi Mini

Hardware
The main focus of the ESP8266 is the WiFi compatibility in a small form factor. It also has an 80Mhz microcontroller and 4 MB of on-board flash.

  • Computer Drivers (Windows)
  • Linux and Mac computers will have the drivers installed already.
  • To use the TA0840 on windows, you must first download the driver package on our website, and fully extract the zip file into a folder on your desktop.
  • In that folder, you will find SETUP.EXE which you can run and click ‘OK’ to install the drivers.
  • Once the drivers have been installed, you can now delete the folder on your desktop.

Arduino Setup
To set it up in the Arduino IDE software, you must first add the index, then install the board type:

  • Open File > Preferences
    In the “Additional Boards Manager URLs, place the following:

  • http://arduino.esp8266.com/stable/package_esp8266com_index.json

  • Click OK to save.

  • Click Tools > Board > Board Manager

  • In the new window that shows up, type in “esp8266” in the search bar.

  • Install esp8266 by ESP8266 Community.

  • Once the boards have been installed, you can now select ESP8266 boards in the boards menu.

  • The board to select for TA0840 is “LOLIN(WEMOS) D1 R2 & mini”

  • Once you have selected the board and selected the correct port, you can go File > Examples and upload the blink sketch to test. There are more examples to try as well.

Using on-board Flash

  • The ESP8266 has 4MB flash on board; this can be useful if you want to upload static website data or images to the ESP. The Data is sharing the same memory as code.
  • The easiest way is to download the zip file from this GitHub repository:
  • https://github.com/esp8266/arduino-esp8266fs-plugin/releases/latest
  • Then extract the zip into your Documents/Arduino/tools directory, creating it if it does not already exist.
  • The final path of the tool should be:
    • Documents\Arduino\tools\ESP8266FS\tool\esp8266fs.jar

Restart your Arduino IDE and you should find “ESP8266 Sketch Data Upload” in your Tools menu.

  • Create a folder in your sketch directory called “data” and put what data you want to upload into this folder.
  • In the latest version of the ESP8266 WEMOS board, the default value in the Arduino IDE reserves 2MB of flash for the data folder. You can use the Sketch Data Upload command to push the data folder onto the memory.
  • Source Code to use on-board flash

Jaycar-ESP8266-Wi-Fi-Mini-Main-Board-1

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals