{"id":20332439,"url":"https://github.com/zeroby0/ble-camera-trigger","last_synced_at":"2025-06-10T17:38:27.105Z","repository":{"id":175198117,"uuid":"269983901","full_name":"zeroby0/BLE-Camera-Trigger","owner":"zeroby0","description":"Click photos on Android with Bluetooth LE","archived":false,"fork":false,"pushed_at":"2020-06-06T13:29:45.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T14:31:53.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeroby0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-06-06T13:06:16.000Z","updated_at":"2020-06-06T13:29:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"578a4206-1184-4497-8e22-ff532c1bf201","html_url":"https://github.com/zeroby0/BLE-Camera-Trigger","commit_stats":null,"previous_names":["zeroby0/ble-camera-trigger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroby0%2FBLE-Camera-Trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroby0%2FBLE-Camera-Trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroby0%2FBLE-Camera-Trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroby0%2FBLE-Camera-Trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeroby0","download_url":"https://codeload.github.com/zeroby0/BLE-Camera-Trigger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroby0%2FBLE-Camera-Trigger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259118708,"owners_count":22808035,"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":[],"created_at":"2024-11-14T20:26:37.164Z","updated_at":"2025-06-10T17:38:27.081Z","avatar_url":"https://github.com/zeroby0.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BLE Camera Trigger\n\nYou can trigger camera capture on Android devices with an nRF-52DK with this code.\n\nThis is just a modification of the BLE_HID_Keyboard example to send '\\n' on button press.\nPress Button-1 for capture. Read [this page](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hids_keyboard/README.html)\nfor more details.\n\n## Uses\n\nI use this to capture photos from my telescope without touching the phone and disturbing the camera.\nIf you have friends, you can take a group photo while you're in it.\n\n\n## Requirements\n\nThe [nRF52DK](https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK).\nOr a custom nRF52 based board with a button on it.\n\n\n# Setup\n\n## MacOS\n\n1. Download nRF SDK from Nordic Semiconductors' website\n2. Unzip SDK and place it in project root (or wherever you want, really)\n3. Download [GNU ARM](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads) Embedded toolchain.\n4. Unzip ARM tool chain and place it in /usr/local \n5. Download and install JLink software from [Segger](http://www.segger.com/jlink-software.html).\n6. Install [NRF Jprog](https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools).\n7. Also, you'll need to have Make installed. Comes with XCode if it's not installed by default.\n8. Now edit SDK/components/toolchain/gcc/Makefile.posix. You'll need to update GCC_INSTALL_ROOT and GNU_VERSION. I found my version at /usr/local/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi\n\n\nThat's it! Open a terminal in one of the examples' armgcc folder and run `make` to compile.. `make flash_softdevice` to upload the Softdevice, and `make flash` to flash the chip.\nRemember to edit the Makefile to set the SDK location correctly.\nRun `make erase`, `make flash_softdevice`, and `make flash` if you need to connect to a new device.\nThis software acts as a HID Keyboard, and may hide the virtual onscreen keyboard.\nThat can be changed in the settings.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroby0%2Fble-camera-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeroby0%2Fble-camera-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroby0%2Fble-camera-trigger/lists"}