• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. mglowinski
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 27
    • Best 1
    • Controversial 0
    • Groups 0

    mglowinski

    @mglowinski

    1
    Reputation
    4
    Profile views
    27
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mglowinski Unfollow Follow

    Best posts made by mglowinski

    • RE: Disturbed communication on I2C bus

      It is a problem related to power-supply.
      It was some voltage peaks while connecting anything to the same circuit as power-supply.
      I've a better one (Phoenix Contact) and it's working stable now.

      Topic closed.

      posted in Official API - Evok
      M
      mglowinski

    Latest posts made by mglowinski

    • RE: Disturbed communication on I2C bus

      It is a problem related to power-supply.
      It was some voltage peaks while connecting anything to the same circuit as power-supply.
      I've a better one (Phoenix Contact) and it's working stable now.

      Topic closed.

      posted in Official API - Evok
      M
      mglowinski
    • RE: UniPi1.1 and I2C voltage levels

      @Giancarlo-Bazzi did you manage to set 3.3V as I2C voltage level?

      posted in Unipi 1 - First Generation
      M
      mglowinski
    • Set 3.3V as I2C voltage level

      Is there a way to set 3.3VDC as I2C voltage level on UniPi 1.1?
      I can see that there is some I2C configuration header, but I can't find any information about it.

      PS. I've seen https://forum.unipi.technology/topic/467/unipi1-1-and-i2c-voltage-levels, but it is quite old and there is no answer.

      posted in Unipi 1 - First Generation
      M
      mglowinski
    • RE: Disturbed communication on I2C bus

      I found the source of the problem, but I don't know how to solve it. The problem is caused by connecting an electrical device (resistor like a light bulb) to the circuit that supplies power to the UniPi. I tried to replace the power supply, but the same thing happens.

      Video:
      https://www.youtube.com/watch?v=p-k9daYUK58

      Do you have any tip how to solve that issue?

      posted in Official API - Evok
      M
      mglowinski
    • RE: Disturbed communication on I2C bus

      Here is exact topology of I2C network:
      I2C network.png

      According to documentation:
      BH1750 has 10kΩ pull-up resistors (pinout or electrical scheme)
      ICM20948 has 10kΩ pull-up resistors (pinout or electrical scheme)
      LiDAR has internal 3kΩ (here is information), but documentation recommends to connect additional external 4.7kΩ (i did NOT connect that).

      I checked the impact of BH1750 sensors and I2C speed on the I2C bus communication quality.
      Here are results: https://we.tl/t-bBP0UiNtLZ

      I noticed that every time the LiDAR stops responding there is a small peak on the I2C data bus.
      Example disturbance 2 closer.png
      or
      Example disturbance.png

      Here is screen of successful read from LiDAR, noice and LiDAR does not ACK frame anymore:
      400kHz no BH1750 communication when LiDAR stop responding closer look.png

      This error occurs both with and without the BH1750 sensors connected. At lower speeds it occurs much less frequently, but it also occurs.

      posted in Official API - Evok
      M
      mglowinski
    • Disturbed communication on I2C bus

      Hi,
      I would like to ask about problem related to I2C communication on UniPi 1.1.

      To be more precise, from time to time my application written in python crashes with the error OSError error: [Errno 121] Remote I/O, which indicates that the device is not connected to the I2C bus. It' not true, since for most of the time it's working just fine.

      I've noticed that UniPi is using I2C for controlling peripheral devices e.g relays.
      Might it be that I'm trying to get access to I2C bus from python application, while EVOK is executing some other command via I2C?

      posted in Official API - Evok
      M
      mglowinski
    • RE: Check date/time of last action on relays

      ok, thx:)

      posted in Official API - Evok
      M
      mglowinski
    • Check date/time of last action on relays

      Hi,
      I'm using EVOK API for controlling UniPi 1.1 relays.
      Is there a way to get to know recent action on particular relay?

      posted in Official API - Evok
      M
      mglowinski
    • RE: Recommended way of connecting I2C device

      ok, thx for feedback

      posted in Unipi 1 - First Generation
      M
      mglowinski
    • Recommended way of connecting I2C device

      Hi,
      what is recommended way of connecting I2C device consuming up to 85mA to UniPi 1.1?

      Let's say I want to connect LiDAR Lite V3HP sensor to UniPi 1.1 over I2C Rj11 interface.

      Would you recommend to use +5V from RJ11?
      Direct connection.png

      Or rather use external power-supply?
      Indirect connection.png

      Thanks for answer in advance:)!

      posted in Unipi 1 - First Generation
      M
      mglowinski