{"id":15043627,"url":"https://github.com/v3lectronics/spirit","last_synced_at":"2025-04-14T23:12:48.933Z","repository":{"id":251933426,"uuid":"838875469","full_name":"V3lectronics/SPIRIT","owner":"V3lectronics","description":"Smartphone based on the Raspberry Pi CM 5.","archived":false,"fork":false,"pushed_at":"2025-01-05T20:19:25.000Z","size":37029,"stargazers_count":32,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T23:12:34.997Z","etag":null,"topics":["compute-module-5","debian","electronics","electronics-engineering","electronics-projects","mobile","raspberry","raspberry-pi","rpi","rpi5"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/V3lectronics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-06T14:10:30.000Z","updated_at":"2025-03-30T23:13:46.000Z","dependencies_parsed_at":"2024-08-16T20:01:42.501Z","dependency_job_id":"d6fcafe5-fbe3-47eb-9b87-7c20c9913f21","html_url":"https://github.com/V3lectronics/SPIRIT","commit_stats":null,"previous_names":["barbarjan/spirit","v3lectronics/spirit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V3lectronics%2FSPIRIT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V3lectronics%2FSPIRIT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V3lectronics%2FSPIRIT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V3lectronics%2FSPIRIT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/V3lectronics","download_url":"https://codeload.github.com/V3lectronics/SPIRIT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975328,"owners_count":21192210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compute-module-5","debian","electronics","electronics-engineering","electronics-projects","mobile","raspberry","raspberry-pi","rpi","rpi5"],"created_at":"2024-09-24T20:49:21.376Z","updated_at":"2025-04-14T23:12:48.925Z","avatar_url":"https://github.com/V3lectronics.png","language":null,"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/60e87523-02cf-482b-8433-5f611e48ca2d\" width=\"40%\"\u003e\n    \n\u003c/p\u003e\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/V3lectronics/SPIRIT)\n[![Contribution Guide](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)\n\nOpen source smartphone, from available components. Prioritizing user experience, performance, control, repairability, innovation and privacy.\n(Currently in the development phase, progress documented here and on the V\nElectronics [YT channel](https://www.youtube.com/@V_Electronics)). Contribution\nand feedback are very welcome! If you want to contribute please read the [Contribution Guide](https://github.com/V3lectronics/SPIRIT/blob/main/CONTRIBUTING.md).\n\n# Contents\n1. [General Specifications](https://github.com/barbarjan/SPIRIT#general-specifications)\n2. [Hardware And Electronics](https://github.com/barbarjan/SPIRIT#hardware-and-electronics)\n3. [Software And Operating System](https://github.com/barbarjan/SPIRIT#software-and-operating-system)\n4. [DIY Build Guide](https://github.com/barbarjan/SPIRIT#diy-build-guide)\n5. [Parts List](https://github.com/barbarjan/SPIRIT#parts-list)\n6. [Cost](https://github.com/barbarjan/SPIRIT#cost)\n7. [Ethical And Environmental Concerns](https://github.com/barbarjan/SPIRIT#ethical-and-environmental-concerns)\n8. [Compliance And Legality](https://github.com/barbarjan/SPIRIT#compliance-and-legality)\n9. [Resources](https://github.com/barbarjan/SPIRIT#resources)\n\n![image](https://github.com/user-attachments/assets/cdea4cf8-1d98-4f79-8434-2e76fc693916)\n\n(click to expand)\n\n\u003cimg src=\"https://github.com/user-attachments/assets/4dba7969-60c1-43f5-814a-f7a4f81a73d9\" height=\"350\"\u003e\n\n\u003cimg src=\"https://github.com/user-attachments/assets/1b5c8317-5b61-42c4-aa28-2d652b7e3833\" height=\"270\"\u003e\n\n\u003cimg src=\"https://github.com/user-attachments/assets/4742305e-44ab-4d84-8185-f4b7e9df42e7\" height=\"270\"\u003e\n\n# General Specifications\n\n#### RAM\n\n- 2GB / 4GB / 8GB / 16GB(2025) LPDDR4\n\n#### CPU\n\n- Broadcom BCM2712 64-bit 2.4 GHz\n\n#### Storage\n\n- 16GB, 32GB, or 64GB eMMC\n\n#### Connectivity (IO)\n\n- 1 x USB C 3.0\n- 2.4 GHz, 5.0 GHz WiFi\n- Bluetooth 5\n- GSM\n- GPS\n\n#### Screen\n\n- 5.5\" Capacitive Touch TFT Display\n- resolution: 720x1280 pixels\n\n#### Battery\n\n_will change soon_\n- Capacity: 2.05Ah\n- Type: Lithium Polymer\n- Voltage: 3.7 V\n- Dimensions: 84.5mm x 47.5mm x 6.0mm (3.33\" 1.87\" 0.24\")\n- The battery can be easily swapped for a fully charged one to effectively get back to 100%\nalmost instantly.\n\n#### Dimensions\n\n80mm x 148mm (±1mm)\n\nTotal estimated thickness is 12.3mm (excluding camera module lens sticking out)\n\nMain components that contribute thickness:\n\n| Component      | Thickness |\n|----------------|-----------|\n| Chassis        | 1 mm      |\n| PCB            | 1.4 mm    |\n| Battery        | 6 mm      |\n| Screen         | 3.9 mm    |\n\n#### Camera\n\nSPIRIT is compatible with [Arducam](https://www.arducam.com/) cameras e.g. the [64 MP Hawkeye](https://www.arducam.com/64mp-ultra-high-res-camera-raspberry-pi/) or the more affordable [16 MP Autofocus](https://www.arducam.com/16mp-autofocus-camera-for-raspberry-pi/).\n\nBelow are the stats for the Hawkeye:\n\n| Name    | Sensor Resolution  | Zoom | Field Of View |\n|---------|-----------------|-----|---------------|\n|Pi Hawk-eye| 64MP (9152 x 6944 pixels) |  10x (digital) | 84 degrees |\n\nSensor: 1/1.7\" stacked CMOS image sensor, 0.8 μm pixel size Lens: f/1.8 aperture, 8 cm–∞ focal range, motorised focusing Max Resolution: 9152×6944 stills; 1080p 30 fps video\n\nFor more details see the [product page](https://www.arducam.com/64mp-ultra-high-res-camera-raspberry-pi/)\n\n*(For now there is only one camera for simplicity and cost reduction)*\n\n# Hardware And Electronics\n\n(click to expand)\n\n\u003cimg src=\"https://github.com/user-attachments/assets/4dba7969-60c1-43f5-814a-f7a4f81a73d9\" height=\"270\"\u003e\n\n### Raspberry Pi Compute Module 5\n\n\"The power of Raspberry Pi 5 in a compact form factor for deeply embedded applications\" [(CM5 website)](https://www.raspberrypi.com/products/compute-module-5/?variant=cm5-104032).\n\nBy default SPIRIT uses the 4GB RAM, 64GB eMMC version of the CM. It is possible to use a different CM4 variant (for example to increase the RAM to 8GB).\n\n### EDA Software\n\nFor schematic, PCB layout etc. KiCad 8 is used.\n\nAll design files are openly available through this repository.\n\n### Carrier PCB\n\nCustom carrier board (motherboard) that interfaces between the Compute Module and the rest of the electronics.\n\nThis is the only custom electronic component in this project. The design files\nare publicly available.\n\n### Touchscreen\n\nCapacitive LCD Display TFT MIPI \nDimensions: 5.5\" (139.70mm) 1280px x 720px\n\n### Replaceable Battery\n\nThe battery is mounted such that it can be easily uninstalled for replacing or privacy reasons. The user is free to swap the battery for any compatible model.\nIt is also possible to run the phone without a battery, or using an external one\nif you attach long enough leads.\n\nAn added benefit is that the user can easily replace an empty battery for a charged one - effectively eliminating the need to wait for the phone to charge. An external battery charger can also be used for unmounted batteries.\n\n### GSM, GPS Module\n\nEC25VFA-512-STD\n\nCellular, Navigation BeiDou, EDGE, Galileo, GLONASS, GPS, GNSS, LTE Transceiver Module 1.561GHz, 1.575GHz, 1.602GHz\n\n### Speakers\n\n2 x CMR-15062S-67\n\n32 Ohms Receiver Speaker 20 mW 300 Hz ~ 7 kHz Top Rectangular\n\nThe speaker system consists of a pair of speakers mounted symmetrically facing upwards.\n\n### Biometric Module\n\n100018754\n\nThe fingerprint scanner is located on the back of the phone and has a sensing\narea of 8x8mm. It is rated for 10 million finger placements and can store up to\n50 templates.\n\nFalse acceptance rate: 1/500k (per finger)\nFalse rejection rate: 1.4-3.5 %\n\n### Headphone Jack\n\nThis phone has a TRRS headphone jack. This way the user can decide between wireless or wired.\n\n### Microphone\n\nSPH0645LM4H-B\n\nOmnidirectional with a theorethical frequency range 20 Hz - 10 kHz.\nSensitivity: -26dB ±3dB @ 94dB SPL.\nDigital output (I2S)\n\n### Buttons\n\nThe power, volume and programmable buttons are identical rectangular, tactile switches with a life\nexpectancy of 30k cycles.\n\nThe Programmable Button's function can be customized by the user. For example, it can be used for quick launching an app, instantly dialing a saved contact, toggling sound settings (silent, vibrate, sound) etc. The list of potential use cases is very long. One of them could be enabling small children or elderly people to instantly call for example a parent, or supervisor in case of emergency. Another could be to immediately launch the camera app to quickly capture a moment.\n\n### Privacy Switches\n\nSPIRIT has 4 physical switches that cut off the power lines to specific modules\nensuring they are 100% inactive and not drawing power. Notice, you can also\ncompletely disconnect the battery. Needless to say, this is a very useful\nfeature for people who want to have direct control over the hardware and want to\nprotect their privacy without relying on software.\n\n| Switch Number | Module |\n|----------------|-----------|\n| 1| Microphone|\n| 2|GPS/GSM EC25 chip |\n| 3|Camera |\n| 4|Battery |\n\n### Flashlight\n\nLXML-PWC1-0100\n\n1W 3V white, cool LED.\n\nToggling on/off can be binded to the programmable button.\n\n# Software And Operating System\n\nOnce the hardware is functional it will be time to test various operating\nsystems as well as explore the possibility of developing one based on Debian.\n\nList of operating systems to test/research:\n\n| Name           | Website |\n|----------------|-----------|\n| Ubuntu Touch   | https://ubuntu-touch.io/     |\n| Lineage        | https://lineageos.org/    |\n| Graphene       | https://grapheneos.org/features      |\n| Android        | https://www.android.com/      |\n\nAdditionally, The Yocto Project has been suggested (not an OS) https://www.yoctoproject.org/\n\n# DIY Build Guide\n\nLink to build guide/tutorial: No build guide yet\n\n# Parts List\n\nThe list will be updated soon. To get the most up-to-date parts list please look\nat the BOM. Certain components such as the camera can be swapped for a different\nmodel - the presented setup is just a suggestion.\n\nTODO update parts list\n\n\u003cdetails\u003e\n      \u003csummary\u003eClick here to show/hide\u003c/summary\u003e\n\n| Amount | Name | Unit Price (USD)| Digikey Link |\n|--------|------|---------------|--------------|\n|1|RPi CM4 |65|https://www.digikey.pl/en/products/detail/raspberry-pi/SC0686/13530938?s=N4IgjCBcoLQCxVAYygMwIYBsDOBTANCAPZQDaIAHAJwAMVA7CALoC%2BLhATGSBwGxwUYAZQDCNZiyA|\n|1| Carrier PCB|?|N/A|\n|1| Touch screen|96,99|https://www.digikey.pl/en/products/detail/nxp-usa-inc/RK055HDMIPI4MA0/16274141 |\n|1| Main Camera|66|https://www.digikey.com/en/products/detail/sparkfun-electronics/SEN-21276/21443092 |\n|1| Battery|9,85|https://www.digikey.pl/en/products/detail/jauch-quartz/LP504783JU-PCM-2-WIRES-70MM/13540155|\n|1| ??? BMS chip | | |\n|1| 21 pin FFC connector|2.76|https://www.digikey.ca/en/products/detail/hirose-electric-co-ltd/FH72-31S-0-3SHW/13553267|\n|1| 22 pin FFC connector|2,21|https://www.digikey.pl/en/products/detail/hirose-electric-co-ltd/FH12-22S-0-5SH-55/1110321|\n|1| 10 pin FFC connector|0,20|https://www.digikey.pl/en/products/detail/te-connectivity-amp-connectors/1-2328702-0/9565577|\n|1| Flashlight LED|3,03|https://www.digikey.pl/en/products/detail/lumileds/LXML-PWC1-0100/3961144|\n|1| 35mm Jack|0.97|https://www.digikey.com/en/products/detail/same-sky-formerly-cui-devices/SJ2-3574A-SMT-TR/6619530|\n|2| Speaker|2,53|https://www.digikey.pl/en/products/detail/cui-devices/CMR-15062S-67/9561156|\n|1| Microphone|1,95|https://www.digikey.pl/en/products/detail/knowles/SPH0645LM4H-B/5332440|\n|1| USB C 2.0 Connector|0,81|https://www.digikey.com/en/products/detail/gct/USB4105-GF-A/11198441|\n|?| Overvoltage protector|0,43|https://www.digikey.pl/en/products/detail/littelfuse-inc/SMBJ5-0A/285950|\n|1| Fingerprint Card|29|https://www.digikey.pl/en/products/detail/fingerprint-cards-ab/100018754/11480144?s=N4IgjCBcpgnAHLKoDGUBmBDANgZwKYA0IA9lANogAMIAugL7EC0ATMiGpAC4BOArkVIUQAVjqMQTAGztOvAcTKRKAZhDE2DCW2Uh0ASwB2Ac3w8ADjyNdxQA|\n|1| GPS Module|7,25|https://www.digikey.pl/en/products/detail/yic/YIC31009EBGG/16499057|\n|1| GSM Module|||\n|1| Vibration Motor|1,71|https://www.digikey.pl/en/products/detail/pui-audio-inc/HD-EMB1205-3-SC-R/16522073|\n|1| Small LED|||\n|1| Thermistor|0,10|https://www.digikey.pl/en/products/detail/panasonic-electronic-components/ERT-JZEG103FA/9646736|\n|1| DAC for audio output||\n|1| Jumper female nRPI_BOOT||\n|1| Jumper female GND||\n|?| Header pins||\n|?| M1.6 stainless screws||\n|?| M? RPi size stainless screws||\n|?| M? Arducam size stainless screws||\n|?| M? RPi size stainless tandoffs||\n\n\u003c/details\u003e\n\n# Cost\n\nThe total cost of the device is x (excluding shipping)\n\n# Ethical And Environmental Concerns\n\nSPIRIT phones avoid components produced in unfair or harmful ways, as well as\ncontaining conflict minerals if possible.\n\nTODO\nHere are ethical details for each major component:\n\n-Chassis\n-CM5\n-Battery\n-Screen\n-Chassis\n-Speakers\n\nThe goal is to be 100% ethically and environmentally \"clean\" as soon as possible, however that is\na hard task and presents multiple enginnering challenges.\n\nTODO\n?RoHS complicance\n\n# Compliance And Legality\n\nTODO research\n\n### EU\n\nEcodesign Regulation 2023/1670\n\n?EMI norms\n\n?RoHS\n\n?REACH\n\n?WEEE\n\n### N America\n?\n\n### S America\n?\n\n### Asia\n?\n\n### Africa\n?\n\n### Australia\n?\n\n# Resources\n\n- [Rpi CM5 datasheet](https://datasheets.raspberrypi.com/cm5/cm5-datasheet.pdf)\n- [Rpi CM4 pinout from datasheet](https://datasheets.raspberrypi.com/cm4/cm4-datasheet.pdf#page=18)\n- [Rpi CM5 and CM 4 useful interactive pinout](https://atctwo.net/projects/pinout/index.html)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv3lectronics%2Fspirit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv3lectronics%2Fspirit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv3lectronics%2Fspirit/lists"}