I want to connect esp8266 with bolt module, Can I use bolt Arduino library for that.
Hi @Rahulk15,
Yes, you can use it. Just make sure you use a supported baud rate, I recommend using 9600. Do let me know if you face any trouble or need any other help.
Arduino: 1.8.19 (Windows 10), Board: “DOIT ESP32 DEVKIT V1, 80MHz, 115200, None”
In file included from C:\Users\Downloads\new\new.ino:1:0:
C:\Users\Documents\Arduinov\libraries\boltiot-arduino-helper-master\src/boltiot.h:14:28: fatal error: SoftwareSerial.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
How can resolve this error?
I am getting this error when I am bolt-arduino library with esp32.
Library is working with ESP8266 but not with ESP32. Does library support ESP32?
Hi @Rahulk15 ,
Please install the ESPSoftwareSerial library from here. Do let me know if you need any other help.
After adding the library, it shows warning like:
WARNING: library boltiot-arduino-helper-master claims to run on avr, esp8266 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
ESP8266 is sending data to bolt cloud but not ESP32. I want to use ESP32 because ESP8266 has only one analog pin. I want to connect two analog pins.
Is it possible to connect one analog pin to esp8266 and another to bolt module and exchange data using UART as I want to connect two analog sensor.
Hi @Rahulk15,
The Bolt Arduino Library might not be supported on the ESP32 because of its microcontroller architecture as the Bolt Arduino Library depends on the SoftwareSerial library and not the ESPSoftwareSerial if using custom UART pins(software serial port). You may use UART without using the Bolt Arduino Library by using the ESPSoftwareSerial library on the esp32, or try using the hardware Serial Port. Do let me know if you need any other help.
Code for using hardware serial:
boltiot.begin(Serial);
Please add support for ESP32 in Bolt Arduino Library. Bolt library is not working with ESP32.
Hi @Rahulk15,
I have forwarded your request to the team. Keep checking for updates for the Bolt Arduino Library.