It’s time to assemble the components purchased in the Wireless Security Camera shopping list. You will need a USB keyboard, mouse, and HDMI connected monitor in addition to the components in the shopping list above. The additional computer peripherals are necessary to configure the Raspberry Pi and download and install the necessary scripts to run this Blueprint.
Why prototype with a Raspberry Pi?
Raspberry Pi's are ideal for the proof of concept or prototyping phase. They help us produce a small scale working model to validate our use case. After you've confirmed that your prototype meets your business requirements, you can use it as a working specification to get manufactured at companies such as Dragon Innovations.
Need a USB keyboard and mouse? Try Amazon’s keyboard and mouse bundle pack.
You will perform the following tasks in this section:
- Set up the cellular USB modem
- Attach the Raspberry Pi camera
- Plug in all peripherals necessary to operate the Raspberry Pi
- Power on the device
In less than 7 minutes you will have an assembled Raspberry Pi attached to an eight megapixel camera!
Insert SIM in USB modem
- Open the SIM protective cover on the right side of the USB modem
- Locate the SIM card that you activated in the Get started with Programmable Wireless step
- Place the middle punch (2FF) of the SIM card into the USB modem
- Press the SIM card in until it locks in place
- Set USB modem aside for now
Looking to activate or update SIMs in bulk? SIMs ordered using the Multi Size Pack will automatically be registered to your account. You can create a script in any language of your choice to update the SIMs on your account automatically. Visit our documentation on updating a SIM to learn more.
How do I pick the correct cellular modem?
Twilio SIMs support roaming onto hundreds of networks around the world - 2G, 3G and LTE. LTE networks, in particular, require devices to support specific LTE frequency bands.
In the USA, our sponsor network - T-Mobile USA - supports LTE frequency bands 2, 4 and 12.
Visit our compatible hardware documentation to learn how to pick a cellular module.
Connect camera cable
- Remove the white camera ribbon that came pre-attached to the Raspberry Pi camera
- Replace the camera ribbon with the newly purchased ribbon cable from the shopping list
Some camera cables have an exposed wire side and a painted side. Have the painted side of the ribbon facing you if this is the case. Note in the picture above, the black painted side is facing up.
Add peripherals to USB hub
Attach the following peripherals to the USB hub:
- USB cellular modem
- USB keyboard
- USB mouse
Plug in cables to operate the Raspberry Pi
Plug the following cables into the Raspberry Pi:
- Plug the USB hub cable into the port labeled USB on the Raspberry Pi
- Plug the 5.1V power adapter into the port labeled PWR on the Raspberry Pi
- Plug an HDMI monitor cable into the micro HDMI to HDMI adapter on the Raspberry Pi
- Plug the micro HDMI to HDMI adapter into the port labeled HDMI on the Raspberry Pi
Use the 5.1V power adapter during development to handle all necessary hardware perephials.
The device should be powered up! We’ll come back later and remove the USB hub and power adapter to make this a portable device.
The default user for the Raspberry Pi is named pi and the password is raspberry. The default password is fine for testing but must be changed if you ever put these devices out in the field. Visit the Raspberry Pi passwd documentation to learn how to change this default password.
In this section you connected all the components necessary to take photos and operate the Raspberry Pi. Continue to the next section to configure your Raspberry Pi and install the necessary scripts to upload the camera feed to the Twilio Functions created in the Deploy scripts to Functions step.