Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Are there any drivers that need to be installed?
#1
Arduino IDE can't seem to find it.

Is there a quick how to for this board with Arduino? I just need to write the sensor data to MQTT.
Reply
#2
not need to install any library for arduino IDE.
do you use KC868-M16 board? it just use ADC of arduino IDE. here are some deom source code:
https://www.kincony.com/forum/forumdisplay.php?fid=50
Reply
#3
> do you use KC868-M16 board?

Yes, just arrived but I can't get it to work

> it just use ADC of arduino IDE

Not sure what that means. I just need it to push the sensor data to MQTT.

> here are some deom source code:

I can get that to work. I just can't connect to the M16 in any way.

I don't know which board to select here.

https://imgur.com/smST06D

Ok, this did it:

Install the ESP32 board in your Arduino IDE:

If you haven't already installed the ESP32 board in your Arduino IDE, the ETH.h file will not be available. The ESP32 is not included by default, so you will need to manually install it:

Open your Arduino IDE
Click on "File"
Then "Preferences"
Then add https://dl.espressif.com/dl/package_esp32_index.json to the "Additional Boards Manager URLs" field (if you have multiple URLs, separate them by commas).
Click on "OK"
Now, click on "Tools"
Then "Board"
Then "Boards Manager"
In the search bar, type "ESP32" and then install the board by Espressif Systems.
After this, you should be able to use the ETH.h file in your sketches.

Check Your Sketchbook Location:

The libraries you install are saved in your sketchbook location. If the sketchbook location is not properly set, the Arduino IDE may not be able to find your libraries. To check this:

Open the Arduino IDE.
Click on "File".
Then "Preferences".
The "Sketchbook location" is displayed in the Preferences window. Make sure this is set to the directory where your libraries are installed.
Check Your #include Statement:

Ensure you've typed the #include statement correctly. It should look exactly like this: #include <ETH.h>. If there's any mistake in the case or spelling, the IDE will not be able to find the file.

Check if the Library is Correctly Installed:

The ETH.h file is part of the Ethernet library for the ESP32 board. Ensure the library is correctly installed. You can re-install it to make sure.

Go to "Sketch" -> "Include Library" -> "Manage Libraries".
In the Library Manager, search for the ESP32 Ethernet library and install it.
Reply


Forum Jump:


Users browsing this thread: