Hi, I'm interested in setting up a motion detection system with a PIR detector and camera connected to Raspberry pi, so that an email is sent to me with photo (or video) when movement is detected.
Would I need to buy a specific PIR detector that is compatible with Raspberry pi? Or would any PIR detector work? I'd be interested in one with a detection range of around 10 metres.
Also, is it possible to connect a normal webcam to the Raspberry, or only the small module camera? And finally, could I use a 2 metre cable to connect the PIR sensor and camera?
I'm thinking of placing the Raspberry pi indoors (connected to a home 3g WIFI router by LAN cable) and just outside an exterior wall, install the sensor and camera, so I'm wondering about cable lengths, also for camera .
Thanks
Any PIR sensor should work if it has 3 pins Power Data and Ground
OK, thanks
Hi again, I bought a 12V Abus PIR detector and the company has told me that the detector needs to be connected with at least 4 cables: 2 for the "alarm", and 2 for voltage input and ground. How would I connect these to the RP 3+ ? Thanks
Related
Hi
Could anyone help with hooking up an RS232 link between my XDA2 and some CNC machinery?
In the past I have had success with Rx, Tx GND and software handshaking between CNC and a laptop. This is what I'm trying to emulate here.
On a XDA cable I removed the 9 pin female D type and replaced it with a 25 pin male.
The brown wire was originally connected to 9pin/2 (rxd???) I now have this going tp 25pin/2(txd??)
The red wire was originally connected to 9pin/3 (txd??) I now have this going to 25pin/3 (rxd??)
I've configured demo versions of PockeTTY and vxHpc to check for any upload / download activity and the IR beam is switched off.
I see absolutely nothing.
Any ideas? Is the XDA fundamentaly not suited to this application?
On the 25 pin the shield connects to pin 7 and 4/5 and 6/8/20 are connected respectively.
Any help appreciated.
Regards
Rob
maybe this will help
http://www.jspayne.com/io/schematics.html
otherwise more hits here
http://www.google.com/search?hl=en&q=serial+25pin&btnG=Search
Does anybody know of the "new" schematics of ExtUSB on TouchPro that includes the TV-out functionality? (or even for that matter the USB-Host ability of 7500?)
It would be interesting to know how they fit those things on the 6 extra pins...
Try this
http://forum.xda-developers.com/showpost.php?p=2515344&postcount=7
ah thanks
strange though...
Pin 1 was the Mic line.
Pin 5 was the Mic ground but also the antenna.
Hands-free accessories still work, don't they? So how did they make it?
I see they probably use USB ground (11) for the audio, although they used to use pin 4.
Strange...
I tried to put the info together here: http://forum.xda-developers.com/showpost.php?p=2610305&postcount=19
Pin A (or 11, digital ground) is used as ground, pins 3 and 5 are connected to detect the video cable. In a headset, pins 4 and 5 are connected, with pin 3 being connected to them only when pressing the switch.
nice, makes sense
Hello, I am trying to do an Internet of Things project with the help of a Raspberry Pi. While most of the project is complete, there is one small thing I am stuck at. I need to connect a solenoid valve to the Pi. The valve needs a voltage of 24v-36v to operate. I connected three 9v batteries together in series to operate it. The valve opens when the voltage is applied and closes when it not. I want to control the opening and closing of the valve by the Pi’s GPIO pins. I’m using a NPN 2N3904 transistor for that. However, it’s not working. The circuit works sometimes and doesn’t work other times when I manually pull and put in the GPIO pin. It never works with code. Is the 27v causing problems with the Pi? What can I do? Is there another way to control it apart from NPN transistors?
i suggest to use a 5v relay with an external power supply to control your solenoid.
Regards.
What is the recommended way of protecting a Raspberry Pi GPIO pin from being fried as a result of unintentionally setting the pin to output mode while it is indirectly connected to the opposite polarity (ground or 3.3V) through a sensor (because it is intended to be used as an input pin connected to the sensor instead of an output pin)? I've read that there are different protection circuits for the GPIO pins that can be implemented, but I don't know which one that is sufficient for this particular situation.
I have what is hopefully a simple and straight forward question. I purchased this unit about 12 months ago https://www.aliexpress.com/snapshot...&orderId=87843158798481&productId=32807153130 and I have both a DVR USB Camera and DAB+ Module connected to the 2 USB ports on the rear of the unit.
It appears that one of the USB ports is faulty, so I can only get reliable DVR or DAB+ but not both. If I were to buy a small, simple USB Hub like this https://www.aliexpress.com/item/keb...-Splitter-Hub-Adapter-For-PC/32889011052.html, connected it to the working USB and then connected the USB Camera and DAB+ Module to the hub, would this work?
Thanks for reading!
I'm not certain if it works correctly on Android 6, but on my unit that has Android 8 i have a similar USB Hub connected that has a memory stick, the TPMS receiver and the receiver for a wireless keyboard, they all work correctly.
Taking into account how cheap a USB Hub is, i think it's worth checking it out.
Also, i managed to get one of the USB connectors into the glove compartment and connect the USB Hub into it, so the devices are easily accessible but not too visible.
Note, if you can take the unit out and send it to a service, they can probably fix the USB connector (the one that doesn't always work), it might have a loose connection, they sometime come loose and can be resoldered to the motherboard.
Also, if you open the unit and check the motherboard, some units have a 3rd internal connector that needs an adapter, not all of them though.