-
Notifications
You must be signed in to change notification settings - Fork 5
senseRev4_Sensor Setup
After getting the PCB manufactured and assembled, we need to set it up in the enclosure, G256 (from Gainta Enclosures). This enclosure is selected because it is small in size, rugged and easily available. You can find the G256 CAD file here. We prepared the enclosure by cutting a rectangular opening on the top for Fresnel lens and two holes in the bottom side for the push button and the audio jack, as you can see in the image below.
As you can see in the above image, we need the Fresnel lens and PIR sensor to be 25mm apart, as the focal length of Fresnel lens is 25mm, as mentioned in their datasheets, PF 11HC and PF 11LR. So, keeping all the different heights inside the enclosure in mind, we need to provide spacers of 10.70mm(11mm Approx.) below the PCB. This will give more precise and accurate readings of the PIR sensor.
The AA battery holder will be attached to the bottom of the enclosure using double-sided tape or hot glue. We will need M3 screws to attach the PCB to the enclosure. We will use Molex connectors for connecting the AA batteries(two pins), push button(two pins) and audio jack(four pins) to the PCB.
As shown in the above image, the Audio Jack, Mechanical Button, and Tripod stand holder are all arranged in this manner on the bottom side of the enclosure.
After setting up the PCB and Fresnel lens in the enclosure it's time to test the Sense_rev3 board by keeping it at a constant position and moving the target object at different distances and heights from the sensor.