element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Spy Nerd
  • Challenges & Projects
  • Project14
  • Spy Nerd
  • More
  • Cancel
Spy Nerd
Blog MiniZeroCam
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Spy Nerd to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: maxpowerr
  • Date Created: 11 Nov 2021 9:19 AM Date Created
  • Views 2956 views
  • Likes 5 likes
  • Comments 5 comments
  • spynerdch
  • raspberry pi zero
  • raspberry pi 1.54inch
  • minizerocam
Related
Recommended

MiniZeroCam

maxpowerr
maxpowerr
11 Nov 2021

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.

imageimageimageimage

imageimageimageimage

 

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

image

 

     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.

imageimageimage

imageimageimage

 

4. Hardware

 

    1. Raspberry Pi Zero W;
    2. Raspberry Pi 1.54inch mini LCD touchscreen;
    3. Raspberry Pi Camera Rev 1.3;
    4. Microphone INMP441 MEMS;
    5. TP4056 charging module;
    6. Module step-up voltage from 3.7v to 5v.
    7. Audio module PAM8403;
    8. 10KOhm Potentiometer;
    9. Power Switch;
    10. Screws 4pcs. M3x12;
    11. Screws 4pcs. M3x20;
    12. Screws 4pcs. M2x7;
    13. 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.

imageimageimage

 

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.

imageimage

     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.

imageimageimage

 

Pinout of the module.

image

Charging module
     To charge the battery, I decided to take such a module.
image
     The module is based on the TP4056 chip, a 3.7V Li-Ion and Li-Po battery charging controller with built-in temperature sensor, it is a complete product with constant voltage / constant current linear charging for single cell lithium-ion batteries.The controller is made in the SOP-8 package, has a metal heat collector on the bottom surface that is not connected to the contacts, allows charging the battery with a current of up to 1000 mA (depending on the current-setting resistor on the board, it is designated R3).
Resistor (kΩ) R3Charge current (mA)
3050
2070
10130
5250
4300
3400
2580
1.66690
1.5780
1.33900
1.21000

 

     TP4056 automatically completes the charging cycle when the voltage on it reaches 4.2V and the charge current drops to 1/10 of the programmed value. The module has an indication of the charging process. At the moment of charging, the red LED lights up, and when the battery is fully charged, the green LED lights up, the red one turns off. In addition to the TP4056 charging controller, two chips DW01 (protection circuit) and ML8205A (double MOSFET key) are added to the board, they serve to protect the battery from overdischarge, overcharge, overload and short circuit.

 

DC-DC module

I used a 3.7v to 5v step-up module. Unfortunately, I did not find any description either for this module or for the F1A9 microcircuit that is installed on it. Module dimensions 24x18mm.

image

 

5. Connection

image

 

6. 3D Print

Attention. This case is the first trial version in which errors may be present and which will allow me to correct all gaps and holes. Therefore, if you want to print it, consider this.

     I was printing parts with an Ender3 printer. The upper and lower parts of the case and the battery cover were printed with a layer height of 0.2 using supports and with a filling of 20%. The inner part of the case where the on / off button is attached is also only without supports. The buttons were printed with a layer height of 0.1 and 100% infill.

image

 

 

7. Assembly

Attention. Unfortunately, while writing this article, the delivery of some spare parts was delayed (microphone, audio module, potentiometer). As soon as they come to me, I will install them and supplement the article.

1. Before assembling and slightly processed the edges of the buttons with sandpaper so that they would slide better. Then we put the buttons in our holes.

image

 

2. We put the display module and fasten it with screws m3x12 and stands m3x10.

Attention. I found that this module has thin tracks next to the screw hole. Although the board is covered with a solder mask and painted. It seems to me that this is very risky, because if you tighten it tightly, if the rack rotates, you can scratch the board and damage the tracks. Therefore, it is better to use nylon stands or did I just glue a piece of tape and cut a hole in it.

imageimage

 

3. It is best to remove the memory card before installing the Raspberry Pi. We insert a 16cm long ribbon cable for the Raspberry Pi camera, bend it at 90 degrees and insert the module into the display.

image

 

 

image

 

5. I screwed the Camera module with four screws to the body and connected the ribbon cable.

imageimage

 

6. Then I bent the ribbon cable and twisted the two parts of the case with the m3x20 screws. To understand how best to bend the train, I cut off a piece of paper of the same size as the train and bent it. This helped me calculate the curves.

image

 

7. Soldered the battery and put it in its place. Closed the lid and screwed it down with four m2x7 screws.

imageimage

 

{gallery} MiniZeroCam

image

IMAGE TITLE: Front

image

IMAGE TITLE: Back

image

IMAGE TITLE: Front

image

IMAGE TITLE: Back

image

IMAGE TITLE: Up

image

IMAGE TITLE: Switching-on

 

8. Software

     In order for the image to be displayed on the display and the touchscreen to work, drivers are needed. But the manufacturer already has a prepared original image of the Raspberry Pi OS (Raspberry Pi 1.54inch Game LCD) with built-in drivers on the website, which you just need to download and write to an SD-Card.

    

     When you turn on and configure for the first time, although the display has a touchscreen, you still have to connect at least a keyboard. The first thing I would advise is to go to the terminal and install the on-screen keyboard. Here are the three options I found:

Matchbox-keyboard

sudo apt-get install matchbox-keyboard

Florence

sudo apt-get install florence

OnBoard

sudo apt-get install onboard

 

Links:

     Case STL file: https://www.thingiverse.com/thing:5137992

     Raspberry Pi OS: Raspberry Pi 1.54inch Game LCD

  • Sign in to reply

Top Comments

  • genebren
    genebren over 3 years ago +2
    Very cool project. Looks like you were able to squeeze a lot into a tiny package. Well done!
  • maxpowerr
    maxpowerr over 3 years ago in reply to shabaz +2
    Thanks! Yes, I also thought to experiment with machine learning. But I think that the Raspberry Pi Zero will be too loose for such tasks. I am planning to get my hands on Zero 2 or Banana Pi Zero.
  • maxpowerr
    maxpowerr over 3 years ago in reply to genebren +2
    Thanks! It could have been made even thinner, but then it would not have been demountable.
  • dougw
    dougw over 3 years ago

    Neat packaging design.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • maxpowerr
    maxpowerr over 3 years ago in reply to genebren

    Thanks! It could have been made even thinner, but then it would not have been demountable.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • maxpowerr
    maxpowerr over 3 years ago in reply to shabaz

    Thanks! Yes, I also thought to experiment with machine learning. But I think that the Raspberry Pi Zero will be too loose for such tasks. I am planning to get my hands on Zero 2 or Banana Pi Zero.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 3 years ago

    Very cool project.  Looks like you were able to squeeze a lot into a tiny package.  Well done!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 3 years ago

    Nice project, very cool miniature camera/recorder : ) I'm thinking it could be used as an all-in-one device for capturing sound or image data for machine learning too, like a data logger but with sound and video capability too.

    Also the photos of the old technology are amazing : ) The Steineck one looks fascinating. Also the photo with the coat-button on the camera really puts it into perspective how small it was.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube