![]() |
|
a16v3 - reed switch and motion sensor connection - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16v3 (https://www.kincony.com/forum/forumdisplay.php?fid=68) +--- Thread: a16v3 - reed switch and motion sensor connection (/showthread.php?tid=8753) Pages:
1
2
|
RE: a16v3 - reed switch and motion sensor connection - bartasp - 12-18-2025 (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? RE: a16v3 - reed switch and motion sensor connection - admin - 12-18-2025 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. RE: a16v3 - reed switch and motion sensor connection - bartasp - 12-21-2025 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.php?tid=6502&highlight=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 RE: a16v3 - reed switch and motion sensor connection - admin - 12-21-2025 do you use by KCS firmware or your own software code? RE: a16v3 - reed switch and motion sensor connection - bartasp - 12-21-2025 (12-21-2025, 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. RE: a16v3 - reed switch and motion sensor connection - admin - 12-21-2025 you can test by this sample using ESPHome: https://www.kincony.com/forum/showthread.php?tid=6503 RE: a16v3 - reed switch and motion sensor connection - bartasp - 12-22-2025 started working. I wasn't using the same GND as the Kincony A16v3. RE: a16v3 - reed switch and motion sensor connection - admin - 12-22-2025 yes, should connect with GND together. |