Skip to main content

Questions tagged [i2c]

Inter-Integrated Circuit (I²C) is a bus for low speed peripherals. Use this tag for questions regarding how to use I²C with an Arduino, or for problems with I²C and your Arduino.

-1 votes
1 answer
225 views

I have to simulate an ADC that behaves as an I2C slave. The simulated values that the ADC shall expose are sent over serial, saved on an attribute and are requested by a master device over I2C. A ...
0 votes
1 answer
52 views

I am working with I2C for the first time and having an issue with a very simple problem. I want to send 2 bytes from an Arduino and nvidia jetson orin. On the Arduino, my code looks like this: #...
0 votes
2 answers
17k views

I'm trying to optimize the communication (minimize wires) on a project where I can control a motor and toggle some 230V devices by using RS485 and I2C. On this project, I'm using an Arduino (Mega) ...
0 votes
1 answer
75 views

I want to use several Arduino Modulino Thermo modules in one project and therefore change the default I2C addresses of the sensors. On the internet, I find conflicting info about if this is possible. ...
0 votes
1 answer
1k views

Please let me know if you know any good library for DS2482 I2C to 1-Wire bridge. I tried to use the DS2482_OneWire library but I got errors when trying to run the library examples (Read_temp_sensors ...
0 votes
1 answer
50 views

I run into an issue with querying a uint32_t with an atmega328p master from an attiny85 master. I have put both codes below. I did run the equivalent code for just sending a uint8_t and all works ...
0 votes
1 answer
52 views

I am trying to read a WNK811 pressure sensor connected by i2c to an STM32 Nucleo F401RE, programmed as arduino. The WNK811 is a Chinese device, the device datasheet is highly minimal (inadequate in my ...
2 votes
2 answers
7k views

Consider a scenario where two (or more) master devices (the NodeMCUs, in this case) share an I2C bus with one (or more) slave device(s), like thus: Would this be a feasible setup? In other words, ...
0 votes
2 answers
207 views

I'm having trouble reading the I2C data from the CPS8200, that has a 32 bit Register Address. Since I'm not too familiar with I2C register addresses more than 8 bits, and right now I'm not sure if I'm ...
0 votes
1 answer
177 views

I am using an ATTiny88 to measure temperature using a 470 ohm thermistor attached to port A3 on the Arduino. The thermistor is attached in series with an 1870 ohm resistor connected to Vcc. At room ...
0 votes
0 answers
35 views

I have a Circuit Playground Express (CPX) mounted on a Crickit. I want to control two air pumps using the motor output on the Crickit, but also connect two Adafruit SCD41 sensors using I2C. When I ...
0 votes
0 answers
147 views

I'm using the Arduino IDE (v1.8.19) with the Earle Philhower core to program a Raspberry Pi Pico (RP2040) board. I2C bus 0 of the Pico (pins 4 (SDA) and 5 (SCL) are coupled to a first MCP23017 port ...
1 vote
1 answer
386 views

I have been searching the internet about how to transfer data from multiple sensors from one Arduino to another using I2C, but no luck. All the code and tutorials online focus on multiple slaves with ...
0 votes
2 answers
88 views

I'm trying to use INA219 DC current sensor with Arduino, using the exact same wiring as the one in Adafruit article, with the exact same Arduino code. It works with the default address 0x40 when A0 ...
4 votes
3 answers
17k views

I recently got myself an SSD1306 OLED display: I haven't been able to successfully wire it to an Arduino (Mega 2560) however. I have been reading up on I2C and SPI and checked some libraries from ...

15 30 50 per page
1
2 3 4 5
52