Skip to main content

Unanswered Questions

453 questions with no upvoted or accepted answers
7 votes
0 answers
394 views

Handling non-standard I2C read response lengths with Wire library

I'm trying to read from a Sam&Wing XW12A 12 channel touch sensor IC using I²C. The IC responds to an address read packet with 16 uninterrupted bits representing its state. However, since I²C ...
5 votes
0 answers
903 views

Internet in ESP32 is not working with IPv6

I am using ESP-WROOM-32D in STA mode with Arduino IDE(2.0.5) ESP32 board(2.0.9). I am trying to do http post request with ESP32. Router that provides internet supports only IPv6. Here I am getting ...
5 votes
0 answers
7k views

Why is Wire.onReceive() called during requests?

I'm building a complex I2C-based networking protocol and have noticed that the Wire.onReceive() handler is called both for I2C read and write operations. When the master writes to the slave, it is ...
4 votes
0 answers
140 views

Arduino IDE v 2.2.1 log file not limited in size (on Ubuntu 23.04)

I was learning/building with a new Arduino Nano ESP32 yesterday and left the Arduino IDE running overnight on Ubuntu 23.04 and it used all the space on my hard drive to write log files which broke my ...
4 votes
0 answers
2k views

Is there a way to use ESP8266 in promiscuous(monitor) mode and see the the wifi packets?

I didn't find much documentation about ESP promiscuous mode (just from the espressif sdk although I'm using ArduinoIDE https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/api-reference/wifi/...
3 votes
0 answers
1k views

How to use C++20 in Arduino IDE?

I'm writing a program for esp32 using the Arduino IDE that needs to count the number of '1' bits in a byte. I found a post elsewhere that says there's a nice function in the standard library to do it: ...
3 votes
0 answers
781 views

How can I connect my ESP32-WROOM-32 to Arduino IDE?

I'm using this 'ESP32-WROOM-32' but I can't find the correct board in the IDE. I see the esp32-wroom-DA (edit, i took it to the store where i bought it and it worked fine with theirs. they were on ...
3 votes
0 answers
227 views

Using 2 VL53L4CD ToF sensors and getting error after getting first reading

pretty new to arduino stuff and was hoping to get some help with my code. I'm trying to use 2 ToF sensors and get continuous readings from them. I understand that I have to use the xshut feature and ...
3 votes
0 answers
5k views

String.format("%i",i) equivalent

How do I format an arduino String when I do not want to print it? I know that one can use printf() or other methods to print a formated string and unfortunately that's all I find with google. But that'...
3 votes
0 answers
2k views

How to use SPI to set/ read registers for a sensor (Avoiding need for Github Lib)

Ok so as some readers might have seen, my current project involves using MPU's. The idea is sending data via CAN bus to a controlling MCU to then send to a raspberry pi to perform the calculations ...
3 votes
0 answers
957 views

Using CLion as Arduino IDE — Cannot find Libraries

I'm having a problem using CLion as Arduino IDE when integrating 3rd-party libraries: Here is the CMakeList.txt cmake_minimum_required(VERSION 2.8.4) set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/...
3 votes
0 answers
522 views

Connecting arduino and EV3 using I2C

I'm trying to connect arduino uno and ev3 by using this guide (http://www.dexterindustries.com/howto/connecting-ev3-arduino/), everything works perfectly but when i tried to use analogRead block to ...
3 votes
0 answers
328 views

Arduino IDE programs Leonardo but cannot open serial terminal

I'm using Arduino: 1.6.7 (Mac OS X 10.11.3), Board: "Arduino Leonardo". When I try to program my code, it works without problems. When I want to open the built-in Serial Monitor or Serial Plotter, ...
3 votes
0 answers
692 views

ATtiny85 + HC-05 + Oled = smart watch

I am using an ATtiny85 for making a smart watch. Bluetooth module HC-05 with ATtiny85 pins PB3->TX, PB4->RX and it works. Secondly I have connected a 0.96" OLED on PB0 (SDA) and PB2 (SCL) and this is ...
3 votes
0 answers
150 views

How can I send a number from a master and make the slave read it?

I am building a fan controller using an Arduino and a Raspberry Pi (the Pi is the master and the Arduino is the slave). The Raspberry Pi generates random numbers and I want the slave (Arduino) to be ...

15 30 50 per page
1
2 3 4 5
31