1. Introduction
Most of us, when we think of spies, do not think of George Koval, the Soviet spy who obtained the most valuable information for Moscow on the Manhattan nuclear project in the United States, or Rudolf Abel, who worked for the USSR, or the famous Mata Hari, who worked for German intelligence, nor about Sydney Reilly, the British spy nicknamed "The King of Espionage." Most of us think about whom? Right. About James Bond - a character created by Ian Fleming, about whom many books have been written and as many films have been shot. By the way, it is believed that the image of Bond was copied from Sydney Reilly in the above list. So that's it. When we think about Bond, we, of course, think about spy gadgets, which, of course, were used by the most real spies. And perhaps the most popular spy gadget is the spy camera.
Therefore, I also wanted to try to build a small camera, based on the small and most popular single-board computer Raspberry Pi Zero W.
2. Concept.
I wanted to assemble a full-fledged mini camera that will work from a battery, capable of recording video with sound and playing it back, and which will have a display and buttons for convenient control. And all this should fit into a small case and be conveniently assembled and disassembled. I chose several modules that I want to place in the case and which were easily accessible to me.
- Raspberry Pi 1.54inch mini LCD touchscreen;
- Raspberry Pi Camera Rev 1.3;
- Microphone INMP441 MEMS;
- TP4056 charging module;
- Module step-up voltage from 3.7v to 5v.
- Audio module PAM8403;
3. Design
I tried to arrange the modules and design the case so that all the buttons and USB holes are at the top or side. I placed the battery and charging modules with a voltage converter on the bottom so that it would be convenient to install them inside. The niche for the battery is closed with a separate lid, so you will not need to completely disassemble the case in order to change it, moreover, this niche will allow you to install a large battery.
4. Hardware
- Raspberry Pi Zero W;
- Raspberry Pi 1.54inch mini LCD touchscreen;
- Raspberry Pi Camera Rev 1.3;
- Microphone INMP441 MEMS;
- TP4056 charging module;
- Module step-up voltage from 3.7v to 5v.
- Audio module PAM8403;
- 10KOhm Potentiometer;
- Power Switch;
- Screws 4pcs. M3x12;
- Screws 4pcs. M3x20;
- Screws 4pcs. M2x7;
- Accumulator 3.7V 1000mA;
Display module
I found such an interesting module with a display and buttons for the Raspberry Pi Zero. It has a 1.54-inch color touchscreen display with a resolution of 480x480, eight buttons and one joystick. The display and sensor work very well, even the smallest letters are readable. Therefore, I will use it for the project.
Very long pins were soldered on this module and the distance between the boards is 2 cm. This option did not suit me very much because I plan to make a compact device. Therefore, I had to unsolder them.
It is best to use PH3.5 2x20P surface mount pins. But I didn’t have these in stock and it took a long time to wait for delivery. Therefore, it was decided to take the usual classic Arduino single-row PH8.5 pins, glue them together, grind them with a file on top of 1.5 mm and bend the legs at 90 degrees. And I got a pin height of 7.5 mm. And I got a pin height of 7.5 mm and a distance between the boards 1 cm. This distance is enough for a cooling radiator if you have to use a Raspberry Pi Zero 2 that heats up as much as 75 degrees.
Pinout of the module.
sudo apt-get install matchbox-keyboard
sudo apt-get install florence
OnBoard
sudo apt-get install onboard
Links:
Top Comments