-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hello, I'm having trouble receiving and maybe sending commands to the unit (actually tried on two devices). Can you guys sanity check my setup? I'm using Putty, Teraterm, and SSCOM (posted to git), and the Python script (all on windows 10)
Baud Rate = 512000, 8 data bits, 1 stop bit, 0 parity bits, no flow control
I'm expected the data in UTF-8.
Using Prolific 2303 5v USB-TTL converter.
The python script freezes when triggered, basically does nothing. I believe the sensor is working, as I can see detection's triggered via VOUT, any motion causes VOUT to go to 5V for 1 second, then back to 0V. I have 5V and GND connected to the top pins (nothing connected to VOUT). I have the TTL converter TX connected to sensor RXD/IO, and I have the TTL converter RX connected to sensor TXD/IO. When I have any terminal program open and connected, if I reset power to the sensor, I get a burst of characters that are currently gibberish. I can't seem to convert the gibberish to anything meaningful though I get the burst consistently when restarting the sensor. The sensor doesn't respond to any command of the form AT+DEBUG=0002 or AT+DEBUG=?, and I've tried all posted commands.
Has anyone else had this much trouble and does anyone have any recommendations? Thanks!