Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

i2c

  1. G

    PIC16F877AA - NON-CONTACT THERMOMETER

    I'm developing a project with the PIC16F877A, the MLX90614 sensor and the oled display SSD1306, the code compiled normally but in the simulation the display receives a temperature that has nothing to do with the sensor. I believe I'm missing out on setting up something of I2C in the code, but I...
  2. O

    Reading Digital + Analog Data from Sensors / Bus

    Hello! I have a PCB that uses STM32U575 MCU and it has 3 sensors shown in the image connected to it through I2C bus. Using internal ADC of the MCU I want to also read the analog data that is coming from the bus. Is there a way to do it? Maybe there is a example or a reference project which I...
  3. M

    Interfacing ZMOD4410 with Arduino UNO

    Hello Everyone I am working on a project in which I am interfacing ZMOD4410 with Arduino UNO. The Issue I am facing is that I am unable to read data from the sensor. To debug issue I used logic analyzer to see what kind of data is writing on the i2c bus, Here I found some strange result which I...
  4. R

    I2C Master with PIC*K42

    Hi, I've once again bashed my head to what is called HW I2C on the PIC K42 architecture. This time, yet again ran into a wall. And since granddad seems to have gotten it to work in the old thread, which is locked...
  5. J

    Problem trying to send several bytes using I2C, TM4C123 biard

    Hi all, I am asking for your help because I am trying to send several bytes using the I2C protocol in a program wich makes use of 2 I2C modules, and looks that it gets stuck after sending the first byte when checking the BUSY bit in I2CMCS. The board I am programming is the TM4C123GH6PM. Here...
  6. S

    Stm32f103c8 microcontroller i2c speed

    I recently bought a monochrome oled 0.96 inch and after hooking it upto to the stm32(blue pill) board, i noticed that the refresh rate was quite slow. I tested out the display with an arduino nano, but the nano's refresh rate was a lot faster. I programmed them both using arduino ide. Is there...
  7. GettinBetter

    dsPIC33CH128MP508 PIM I2C BNO055 Comms Issue (SOLVED)

    HW: Explorer 16/32 ver3, 8MHz, PIC33CH128MP508 PIM SW: MPLABX v5.3, MCC, XC16, terminal via UART1/mini USB Slave: BNO055 Absolute Orientation Sensor Aims: Output BNO055 data to terminal via UART. PIN Config: Debug (PGEC2 dp 45, PGED2 dp 43). I2C (SCL dp 60, SDA dp 61). UART (Tx dp 50 - pp 49...
  8. O

    UART or I2C sensor version?

    Hello! The tfmini is an IR lidar sensor. There is a UART and an I2C version, quite at the same price. For my project, I need 2 tfmini hooked up to an Arduino UNO with a +/- 1m cable. I've been doing some tests with 2 tfmini UART versions and it works fine following the example...
  9. riccardo

    MCP45HVX1 Digital POT and SH1106 OLED Display both on I2C

    Hello, I am having a problem using an MCP45HVX1 digital pot and a common SH1106 OLED display together on the same bus. Using an Arduino; If I talk to the display, sometimes the POT will glitch, and if I talk to the POT, the screen gets messed up. Below is a simple sketch which should slowly...
  10. D

    Control I2C Relay device from longer distances

    I need to Control I2C Relay device switching with 2 ESP8266, As I have to use wired connection and control the relay from 40 m distance from every ESP8266. According to some suggestion, I should be using I2C extender but how much far we can use these extenders and is there any other way also...
  11. D

    Create the power supply for ESP8266 and I2C module sensor

    Require circuit Suggestion to make the special power supply for ESP8266 connected with I2C module - https://dcubestore.com/product/sht31-humidity-and-temperature-sensor-%C2%B12rh-%C2%B10-3c-i2c-mini-module/, I want to connect it with ESP32 which also provides the power to sensor module , Any...
  12. 3

    I2C display doesn't give an acknowledge

    Hello everyone! I've got a NHD-C160100DiZ-FSW-FBW display and a Simcom sim5360 module. The display is connected correctly - that is for sure. I tried to get connected using a datasheet example (using Lua language), but the display doesn't get ACK-bit - the SDA line is staying HIGH. Here is a...
  13. Mosaic

    ESp8266 and PIC16F I2C combo

    Hi all: Spent a lot of hours debugging i2c comms between a 16F886 and ESP12e using a 24LC256 i2c EEPROM as a bridge.:grumpy: The data transfer involved the PIC getting a few Kbytes serially over a USB/CP2102 bridge and converting it on the fly to I2C via 64byte page writes to the EEPROM using...
  14. SUPER COPTER

    1-Wire sensors randomly failing

    Hi, i'm having a wired problem. I have a custom made telemetry equipment: it consists basically on a pic32 microcontroller (Pinguino board), a SIM900 modem, in I2C 16x2 LCD and a DS2482 1-wire to I2C bridge. The DS2482 chip is connected to a (multiple) **broken link removed** 1-wire network. So...
  15. SUPER COPTER

    I2C to Onewire problem

    Hi, i'm working with pic32 and I2C, specifically DS2482 I2C to OneWire chip. I'm reading some DS18B20 Onewire temperature sensors, everything works fine, except under certain contitions (randomly), sometimes it seems onewire bus stops responding. Now I'm checking the code to see if everything is...
  16. B

    HundaTech 4.3" I2C TFT Display Please Help

    Hi I hava a HundaTech 4.3" I2C TFT Display (Link Below) and want to display value read from the analog pin of my arduino DUE. The communication config i using is I2C Has anyone successfully managed to get the display on the lcd...

New Articles From Microcontroller Tips

Back
Top