Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a16v3 - reed switch and motion sensor connection
#11
(11-24-2025, 11:19 PM)admin Wrote: sure, you can use A16v3 free GPIOs on PCB, connect with two free gpio work as RXD and TXD pin for SIM7600 4G module.

you mean these 3x GPIO?
   

i have in my configuration:
# UART configuration for SIM7600E
uart:
id: uart_1
tx_pin: GPIO16
rx_pin: GPIO17
baud_rate: 115200
debug:
direction: BOTH
dummy_receiver: true
after:
timeout: 10ms
sequence:
- lambda: UARTDebug::log_string(direction, bytes);

Which one on the screen is 16 and which one is 17? Or for which one I should connect kincony SIM7600E module?
Reply
#12
see this photo have free gpio can use for SIM7600 RXD and TXD pins.
because your photo's free gpio have pull up resistance on PCB, it's not suitable for serial communication.
   
Reply
#13
Hi. Module working connected directly to PC via Uart Assistant tool.

But can't call via a16v3 board. Connected to GPIO40 - RX and GPIO41-TX as you maintained in previous comment. Configured as on https://www.kincony.com/forum/showthread...t=sim7600e

Log:
14:27:53 [D] [binary_sensor:047] 'Call Button': ON
14:27:53 [D] [uart_debug:157] >>> "ATD607....;\r\n"
14:27:53 [D] [uart_debug:157] <<< "ATD607....;\r\n"
14:27:57 [D] [binary_sensor:047] 'Call Button': OFF

14:28:02 [D] [binary_sensor:047] 'Call Button': ON
14:28:02 [D] [uart_debug:157] >>> "ATD607....;\r\n"
14:28:02 [D] [uart_debug:157] <<< "ATD607....;\r\n"
14:28:07 [D] [binary_sensor:047] 'Call Button': OFF

Configuration:
# UART configuration for SIM7600E
uart:
  id: uart_2
  tx_pin: GPIO41
  rx_pin: GPIO40
  baud_rate: 115200
  debug:
    direction: BOTH
    dummy_receiver: true
    after:
      timeout: 10ms
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);


  - platform: gpio
    name: "Call Button"
    on_press:
      then:
        - uart.write:
            id: uart_2
            data: "ATD607....;\r\n"  # Replace with the phone number you want to dial
    pin:
      pcf8574: pcf8574_hub_extra
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "Send SMS Button"
    on_press:
      then:
        - uart.write:
            id: uart_2
            data: "AT+CMGF=1\r\n"  # Set SMS to text mode
        - delay: 1s
        - uart.write:
            id: uart_2
            data: "AT+CMGS=\"607....\"\r\n"  # Replace with the recipient's phone number
        - delay: 1s
        - uart.write:
            id: uart_2
            data: "KinCony-SMS-Sensor\x1A"  # Send the message "KinCony-SMS-Sensor" and terminate with Ctrl+Z
    pin:
      pcf8574: pcf8574_hub_extra
      number: 4
      mode: INPUT
      inverted: true

   
Reply
#14
do you use by KCS firmware or your own software code?
Reply
#15
(Yesterday, 02:02 PM)admin Wrote: do you use by KCS firmware or your own software code?

KCS firmware and integrated with ESP Home.
Nothing changed on sim7600e module.
Reply
#16
you can test by this sample using ESPHome: https://www.kincony.com/forum/showthread.php?tid=6503
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)