blenky

quickly configurable low-power BLE to GPIO bridge and gpioASM runtime

https://github.com/dakhnod/blenky

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary

Keywords

automation battery ble bluetooth-le bluetooth-low-energy cr2032 gpio gpio-pins gpioasm low-power robot robotics sleep
Last synced: 6 months ago · JSON representation ·

Repository

quickly configurable low-power BLE to GPIO bridge and gpioASM runtime

Basic Info
  • Host: GitHub
  • Owner: dakhnod
  • License: other
  • Language: C
  • Default Branch: main
  • Homepage: https://ble.nullco.de
  • Size: 543 KB
Statistics
  • Stars: 119
  • Watchers: 4
  • Forks: 1
  • Open Issues: 2
  • Releases: 25
Topics
automation battery ble bluetooth-le bluetooth-low-energy cr2032 gpio gpio-pins gpioasm low-power robot robotics sleep
Created over 3 years ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

BLEnky

Firmware test badge

Running sequence

Want to make a device smart and super low power withing minutes? Here you go!

Got your hardware ready? Try first steps.

You can see this Project in action here, here and here. An exhaustive list of Projects can be found here under Projects/Software/Automation/BLEnky.

Firmware for cheap, nRF51 or nRF52-based IO-modules to control LEDs, relays, servos, motors (and more) and read from buttons, sensors (etc.), build Cycling sensors and HID controlelrs via Bluetooth low energy. An IO module can have inputs and outputs that can be read from and written to.

All of the features can be enabled/disabled to save ram and flash storage.

To summarize, this is basically like Tasmota for the nRF51/52, that can be powered from a coin cell for a long time.

|Board|Supported|LF-Crystal available|Pin configuration template available|Remarks| |-----|---------|-------|---------|-----| |nice!nano|✅|✅||| |Big beacon thing|✅||✅| |Small beacon thing|✅|✅|✅| |WS51822-S4AT|✅||✅| |HolyIOT 17095|✅|||whole board is only 9x9mm!| |BLE400|✅|✅|✅| |XIAO nRF52840|✅|✅|| |nRF52840 dongle|✅|✅||use dfu usb-serial -pkg dongle.zip --port /dev/ttyACMX to flash. |Any board with an nRF51|✅|?|| |Any board with an nRF52|✅|?||

With this firmware you can use every available pin on the chip as an input or an output. Well, until a buffer overruns or the RAM runs out or something...

This firmware allows for flashing an nRF51/nRF52 once and control and configuration via a website, without needing to reflash the chip.

Furthermore, it gives you the oppurtunity to not only write and read bits to/from pins, but also to upload little gpioASM programms that run offline on the chip.

Learn about my other projects here.

Table of contents

  1. First steps
  2. Configuration
  3. gpioASM
  4. Compilation
  5. Programming the chip
  6. Feature configuration
  7. Pin inputs/outputs (Automation IO)
  8. Pin inputs (Binary Sensor Service)

Roadmap

Here are a few things I have planned for the future

  • [x] Add analog (PWM) outputs for servo control
  • [ ] Add analog inputs to read out voltage(s)
  • [x] Add debounce settings to allow for quicker button presses
  • [x] Add selection of common boards to website

Owner

  • Name: Daniel Dakhno
  • Login: dakhnod
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Dakhno"
  given-names: "Daniel"
  orcid: "https://orcid.org/0009-0003-8245-6537"
title: "BLEnky"
version: 1.0.0
doi: 10.5281/zenodo.13694971
date-released: 2024-09-05
url: "https://github.com/dakhnod/BLEnky"

GitHub Events

Total
  • Create event: 9
  • Release event: 14
  • Issues event: 25
  • Watch event: 174
  • Issue comment event: 34
  • Push event: 140
  • Pull request event: 4
  • Fork event: 1
Last Year
  • Create event: 9
  • Release event: 14
  • Issues event: 25
  • Watch event: 174
  • Issue comment event: 34
  • Push event: 140
  • Pull request event: 4
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 13
  • Total pull requests: 2
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 5 days
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 2.46
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 13
  • Pull requests: 2
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 5 days
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 2.46
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dakhnod (19)
  • aguaviva (2)
  • jwende (1)
Pull Request Authors
  • dakhnod (3)
Top Labels
Issue Labels
Pull Request Labels