Senba PIR digital output #7974
Unanswered
enaon
asked this question in
Electronics
Replies: 2 comments 3 replies
-
|
That looks interesting! Looks like you could request the datasheet from them? Can you look at it with an oscilloscope? Both with/without the connection to the solar lights? I guess it depends if it's self-clocked, or if it really is data out, clock in. If it's that protocol you suggested, you might be best off doing some inline c code to read it? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I got it working, Gemini but I helped, it a very nice PIR |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I got some solar lights off aliexpress, different models, and they all have a strange PIR inside. It's very good, reliable and long distance, and the board does not have a single resistor or capacitor. I tried using it on espruino, but cannot get it to work.
So it looks like it is not outputting hi/low, but instead it outputs a 16bit digital signal output. The model I got is YS342, it must be very new, I can only find it at 1688.com
https://detail.1688.com/offer/977379806209.html?spm=a261b.12436357.ul20190116.3.4bc42882IkRC5Y
but it looks like it is as the YS312, it uses a Single-wire serial, data out clock In,16-bit digital signal output
https://www.senbasensor.com/pyroelectric-infrared-sensor/ys312.html
the protocol could be this one
http://www.mos.co.za/?page_id=21
Has anyone played with a sensor like that?
Beta Was this translation helpful? Give feedback.
All reactions