Questions tagged [i2c]
I²C (Inter-Integrated Circuit) is a multi-drop serial bus invented by Philips (now NXP) for communication between ICs on the same PCB, i.e. short distance.
2,051 questions
-2
votes
0
answers
49
views
Unable to get data log from INA226 [closed]
I am trying to develop a shell script to log bus voltage, current, power, apply compensation to current shunt resistor every 5 seconds 20 times and store the log file on the board.
Background: I’m ...
0
votes
1
answer
63
views
Proper Grounding in a Multi-Voltage Circuit
I need a little help understanding how I could implement star grounding (or any other type of good grounding technique) in my circuit. I want to create a project where there would be a Raspberry Pi, ...
1
vote
2
answers
75
views
Raspberry Pi Zero 2 I2C with MCP23017
I made an I2C board connected to my Pi Zero 2, for Flashing a ROM. I use two MCP23017 for i/o interface.
The I2C on the Pi is 3.3V and 5V for the MCP23017, so i made a level shifter.
First image of ...
0
votes
1
answer
43
views
Part identification tssop-8 marking 76N4 up and down 93C46I
Any thoughts about this part in the photo?
I cannot identify this ic.
Does anyone knows?
1
vote
1
answer
158
views
Problems with I2C-Extender
I've built a stepper motor control for my magnetic loop antenna. Besides the motor, I also have a 3-axis compass module on the loop to be able to read the heading from a distance.
The sensor runs via ...
0
votes
2
answers
75
views
Unexpected noise levels from ICM-20689 at 200 Hz
I’m using the ICM-20689 6-axis IMU on an STM32F4 board over I²C at 400 kHz. The device is set to accel ±16 g, gyro ±2000 dps, output data rate 200 Hz, DLPF configured for ~92 Hz bandwidth. Supply is 3....
0
votes
0
answers
67
views
How to connect RM3100 magnetometer to a Raspberry Pi
For a school project, I would like to measure the effects of solar winds on the local Earth’s magnetic field using an RM3100 breakout board magnetometer from PNI sensor. I soldered the headers myself ...
0
votes
0
answers
45
views
Jitter on BMM150 3-axis sensor
I'm currently evaluating the "grove - 3-axis digital compass v2.0 board" (BMM150-sensor). But I get very jittery readings (away from any magnetic objects).
So I made a code that takes the ...
2
votes
1
answer
117
views
STM32 I2C Communication with ADC
I have a PCB with ΣΔ ADC ADS112C04IPW, which communicates with the MCU via the I2C interface. The purpose of the PCB is to be an evaluation board, on which I want to try some of the features before I ...
1
vote
1
answer
109
views
ESP32 and 5V I2C sensors
I have a question that has really confused me. I connected an ESP32 to an AHT20 (an I2C-based temperature and humidity sensor) powered by 5V.
I connected the sensor directly to the ESP32 and checked ...
1
vote
2
answers
123
views
Protect ESP32 3.3V I2C from 5V I2C sensor
I am creating a data logger using the ESP32 S3 Mini 1 N8 and utilizing the I2C interface, which operates at 3.3V. What would happen if someone were to connect a 5V I2C sensor to it? How can I protect ...
0
votes
2
answers
159
views
ESD Protection for UART and I2C
I am designing a PCB board that features the ESP32 as the microcontroller. The UART pins will connect to an external HMI LCD, specifically the TJC (a Chinese version of Nextion), through a screw ...
0
votes
0
answers
66
views
Pull up Resistors value for Multiple devices with ESp32
I am designing a PCB board with an ESP32 and multiple I2C devices on the same I2C line.
One I2C device is an RTC (Real-Time Clock) chip, which is included in my board design. I will take the chip and ...
2
votes
2
answers
331
views
A simple I2C one-to-many voltage question
So on the module end we simply have a VCC, GND, and an SCL (yellos) and SDA (Green) IN.
The colours are for context only. These are just copper wires soldered to a perfboard.
On the right the SDA and ...
0
votes
0
answers
74
views
Stop condition is not set at the end of I2c read operation
I am using the Shieldbuddy TC275 kit as an I2C master and a slave sensor.
used Git hub example code to get started.
I am using the Aurix development studio and the example used is : https://github....