Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kc868-a2 SIM7600
#6
Thank you for your feedback. I have started experimenting with I2C, referencing the pins of the ESP-WROOM-32E which indicates 22 -> SCL and 21 -> SDA.

Code:
[01:04:55][C][ssd1306_i2c:010]: Setting up I2C SSD1306...
[01:04:55][E][component:113]: Component display was marked as failed.
...
[01:04:57][C][i2c.arduino:053]: I2C Bus:
[01:04:57][C][i2c.arduino:054]:   SDA Pin: 21
[01:04:57][C][i2c.arduino:055]:   SCL Pin: 22
[01:04:57][C][i2c.arduino:056]:   Frequency: 50000 Hz
[01:04:57][C][i2c.arduino:059]:   Recovery: bus successfully recovered
[01:04:57][I][i2c.arduino:069]: Results from i2c bus scan:
[01:04:57][I][i2c.arduino:071]: Found no i2c devices!
...
[01:04:57][C][ssd1306_i2c:023]: I2C SSD1306
[01:04:57][C][ssd1306_i2c:023]:   Rotations: 0°
[01:04:57][C][ssd1306_i2c:023]:   Dimensions: 128px x 64px
[01:04:57][C][ssd1306_i2c:024]:   Address: 0x3C
[01:04:57][C][ssd1306_i2c:025]:   Model: SSD1306 128x64
[01:04:57][C][ssd1306_i2c:027]:   External VCC: NO
[01:04:57][C][ssd1306_i2c:028]:   Flip X: YES
[01:04:57][C][ssd1306_i2c:029]:   Flip Y: YES
[01:04:57][C][ssd1306_i2c:030]:   Offset X: 0
[01:04:57][C][ssd1306_i2c:031]:   Offset Y: 0
[01:04:57][C][ssd1306_i2c:032]:   Inverted Color: NO
[01:04:57][C][ssd1306_i2c:033]:   Update Interval: 1.0s
[01:04:57][E][ssd1306_i2c:036]: Communication with SSD1306 failed!

As I am not confident in my configuration, could you please tell me what is incorrect?
Board KC868-A2

Code:
i2c:
  sda: 21
  scl: 22
  scan: true
  id: bus_a

font:
  - file: "gfonts://Roboto"
    id: roboto
    size: 10

display:
  - platform: ssd1306_i2c
    i2c_id: bus_a
    model: "SSD1306 128x64"
    #model: "SH1106 128x64"
    address: 0x3C
    #address: 0x3D
    lambda: |-
      it.print(0, 0, id(roboto), "Hello");

(01-29-2024, 08:54 AM)admin Wrote: here is our customer have made SIM7600 4G component for ESPHome: https://github.com/chino-lu/sim7600

Thank you very much, I will pass this important information on to the team and get back to you.
Reply


Messages In This Thread
kc868-a2 SIM7600 - by petez69 - 04-13-2023, 08:26 AM
RE: kc868-a2 SIM7600 - by admin - 04-13-2023, 12:41 PM
RE: kc868-a2 SIM7600 - by krosand - 01-28-2024, 05:14 PM
RE: kc868-a2 SIM7600 - by admin - 01-29-2024, 12:06 AM
RE: kc868-a2 SIM7600 - by admin - 01-29-2024, 08:54 AM
RE: kc868-a2 SIM7600 - by krosand - 01-29-2024, 09:48 AM
RE: kc868-a2 SIM7600 - by admin - 01-29-2024, 12:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)