- Select SODAQ SARA as your board (Tools > Board > SODAQ SARA)
More details on the setup here
- Open sodaq_sniffer_bike.ino from the downloadable zip (files attached)
- Upload the source code into the board
By default, the setting requires a T-mobile sim card (you can request from us when ordering SARA Board) and the upload destination is T-mobile's server.
OPTIONALLY, You can re-configure the settings such as Sampling frequency, Upload frequency, Upload destination, etc..
- First reset your board
- Then, configure your board in the serial monitor (Tools > Serial Monitor)
Be sure to know that if you are going to change the upload destination to your own server, these are the format of the message you sent every 10 seconds (1 sample)
- Disconnect the board from your computer after your setup is done
Step 2: Connecting Pololu booster to the PCB
- Together with the Pololu booster, comes 4 male header pins. Cut one off - this is the one you need.
- Solder the pin onto GND on the PCB. Then add the Pololu on it's GND pin and solder again. (GND Polulu → GND PCB)
- Solder the 5 cm cable on the VIN on the Pololu onto the 3V3 on the PCB. (VIN Pololu → 3V3 PCB)
- Solder the 10 cm cable on the SHDN on the Pololu onto the D.3 on the PCB. (SHDN Polulu → D.3 PCB)
Step 3: Connecting the PM Sensor to the PCB
Connect the PM Sensor as such (each cable should be about 15 - 20 cm):
- Cable 1 → GND Polulu
- Cable 2 → TX PCB
- Cable 3 → RX PCB
- Cable 4 → VOUT Polulu
Step 4: Attach components together
- Place the PM Sensor into Divider as shown below - this is important for it to function properly. The arrow points towards the position of the lid of the box. Also, this is the side where the Divider has two "notches" in the corners.
- Attach the PCB/Battery Mount to the Divider with double sided tape in the center of the Divider. Make sure the back side of the PCB/Battery Mount aligns with the surface.
- Attach the PCB to the PCB/Battery Mount with double sided tape. Make again sure that the PCB aligns with the surface. Only this way, it will fit properly in the case.
- Mount Temp/Humid Sensor to the bottom of the divider
- Mount the sensor to PCB (left port)
- Mount the Antenna to the PCB with a gentle push.
- Place the battery in the mount and connect it to the battery port of the PCB
- Insert the NB-IoT sim card into the board
Step 5: Prepare the case
Drill the enclosure as such:
- 2 Bottom (20.5 mm) → Vents
- 1 Top (6mm) → Clamp
- 1 Forward Side (22 mm) → USB
- Sand the inside around the USB and Bike clamp holes to remove the flanges inside the box. This will let the bike clamp and USB fit tightly.
- Mount the clamp on top side of the enclosure
- Attach and glue the vents to the enclosure
Step 6: Connecting the USB:
- Solder the cable onto the USB:
- Red Cable → #1
- Black Cable → #4
- Then mount the usb in the side hole. Remember to add the rubber seal of the cap under the nut, before screwing the USB on.
- Connect USB to the solar port on the PCB (the one next to the battery) and then gently place the board in the box. It will take a little wiggling, but it will fit.
- Close the lid (FINAL PRODUCT)