All Projects → openbikesensor → OpenBikeSensorFirmware

openbikesensor / OpenBikeSensorFirmware

Licence: LGPL-3.0 license
Overtaking distance measurements for cyclists

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to OpenBikeSensorFirmware

Lime Packages
OpenWrt packages composing LibreMesh meta-firmware for wireless mesh networking
Stars: ✭ 204 (+126.67%)
Mutual labels:  firmware
Espurna
Home automation firmware for ESP8266-based devices
Stars: ✭ 2,650 (+2844.44%)
Mutual labels:  firmware
Qmkbuilder
Online GUI for QMK Firmware
Stars: ✭ 254 (+182.22%)
Mutual labels:  firmware
Chameleonmini Rebooted
Chameleon Mini revE rebooted - Iceman Fork, the ChameleonMini is a versatile contactless smartcard emulator (NFC/RFID)
Stars: ✭ 208 (+131.11%)
Mutual labels:  firmware
Iot Pt
A Virtual environment for Pentesting IoT Devices
Stars: ✭ 218 (+142.22%)
Mutual labels:  firmware
Ipsw
iOS/macOS Research Swiss Army Knife
Stars: ✭ 230 (+155.56%)
Mutual labels:  firmware
Ghidra Firmware Utils
Ghidra utilities for analyzing PC firmware
Stars: ✭ 194 (+115.56%)
Mutual labels:  firmware
ansible-ilo
Prepare, configure and upgrade HP firmwares using iLO REST API and SSH
Stars: ✭ 15 (-83.33%)
Mutual labels:  firmware
Lightpack
Lightpack and Prismatik legacy open repo
Stars: ✭ 219 (+143.33%)
Mutual labels:  firmware
Ailight
AiLight is a custom firmware for the esp8266 based Ai-Thinker (or equivalent) RGBW WiFi light bulbs
Stars: ✭ 248 (+175.56%)
Mutual labels:  firmware
Kafl
A fuzzer for full VM kernel/driver targets
Stars: ✭ 204 (+126.67%)
Mutual labels:  firmware
Pawn
Extract BIOS firmware from Intel-based workstations and laptops
Stars: ✭ 214 (+137.78%)
Mutual labels:  firmware
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (+158.89%)
Mutual labels:  firmware
Platform Espressif8266
Espressif 8266: development platform for PlatformIO
Stars: ✭ 206 (+128.89%)
Mutual labels:  firmware
Tasmota
Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Stars: ✭ 16,624 (+18371.11%)
Mutual labels:  firmware
Platform Ststm32
ST STM32: development platform for PlatformIO
Stars: ✭ 201 (+123.33%)
Mutual labels:  firmware
Uefi retool
A tool for UEFI firmware reverse engineering
Stars: ✭ 227 (+152.22%)
Mutual labels:  firmware
timonel
ATtiny85/45/25 I2C bootloader
Stars: ✭ 108 (+20%)
Mutual labels:  firmware
wrt-hisicam
OpenWrt based HiSilicon`s System-On-a-Chip ip camera firmware
Stars: ✭ 21 (-76.67%)
Mutual labels:  firmware
Yi Hack Allwinner
Custom firmware for Yi 1080p camera based on Allwinner platform
Stars: ✭ 243 (+170%)
Mutual labels:  firmware

OpenBikeSensor

GitHub version GitHub version GitHub downloads GitHub commits since latest release (by date)

GitHub version GitHub version GitHub last commit GitHub downloads

GitHub downloads OpenBikeSensor - CI Open Issues Contributors quality gate bugs Discourse Discourse Matrix

Platform for measuring and collecting data on a bicycle. Currently, we measure the distance with either HC-SR04 or JSN-SR04T ultrasonic sensors connected to an ESP32.

Description

Inspired by the Berlin project Radmesser. This version uses a simple push button at the handle bar to confirm distance-measures were actually overtaking vehicles. It has its own GPS, and a SD card for logging, so it does not require any additional hardware (like a smartphone).

Starting with version v0.3 the firmware also exposes the measured data via BLE bluetooth. You can use this to feed data to the SimRa App or any other app collecting heart-rate BLE data.

Initial ESP installation

There are various ways to flash the ESP, if you are an expert feel free to choose whatever way you want. The official way to install the firmware is via a browser. To do this open https://install.openbikesensor.org/ with either your Chrome or Edge browser and follow up from there. A more none technical documentation can be found at https://www.openbikesensor.org/docs/firmware/. The old technical documentation with different variants in the former documentation on github.

Updating

For a more none technical description of the process switch to https://www.openbikesensor.org/docs/firmware/.

Updating to 0.14.x

Updating to 0.14.x will require you to download the latest release firmware.bin and flash it using the file upload section in the firmware update screen.

The reason for this is that Github changed their SSL Certificate Root and the old Firmware did not trust the new certicate. Once you are at 0.14.x, updates will work as usual again.

Step By Step with version v0.7.x and above

  1. Check if the Flash App is already installed. Go to Update Flash App if no, or an outdated version is installed, push Update to vX.Y.ZZZ. The latest version of the "Flash App" gets then installed directly from GitHub, and you are redirected to the Update firmware page. You might need to look twice - the Update firmware page looks similar to the Update Flash App page.

  2. On Update Firmware push "Update to vX.Y.ZZZ". The version is downloaded directly to your OBS device from GitHub. After the Download the device reboots and does some housekeeping so be patient within one or two minutes the device boots up with the new version.

Details

The update mechanism consists of 2 parts. A small firmware called Flash App is used to read the new firmware from the SD card and flash it to the obs.

So as a 1st step you need to make sure that the Flash App part is installed on you ESP, you can do so by using "Update Flash App" button and start the update b pressing "Update to vX.Y.ZZZ". The data is directly downloaded from GitHub, so the ESP needs to have access to the internet via your WiFi. You can also download the flash.bin directly from the GitHub releases page. The direct update from GitHub has currently no progress bar so be patient.

Now you need to download the OBS Firmware and place it as /sdflash/app.bin on the SD Card. This is also fully automated behind the "Update Firmware" button, There you can again directly download the latest version and start the internal update process with the "Update to vX.Y.ZZZ" button. Make sure it is a version newer v0.6.x. At the time of writing there is no such version released yet. Do not downgrade to a version prior v0.6.x, once the Flash App was installed. A hint on the "Update Firmware" page will show the version of the Flash App you have installed or if the Flash App is not installed hint you to install the Flash App 1st. With the "File Upload" option you can also update to locally built versions. Make sure they are pos v0.6 versions! The 1st update includes a repartitioning of the ESPs flash where you do not see any indication of progress. Be patient all does not take more than one or two minutes after the upload was completed.

The About page gives you some insight of the current partitioning a more detailed documentation will come.

older versions

Updates from older versions are described in the former documentation on github and on https://www.openbikesensor.org/docs/firmware/. Consider making a backup and start with a fresh installation.

Find the more documentation

You can find the OpenBikeSensor documentation under:

Getting Started Coding

  1. You need a OpenBikeSensor in order to try work on the Firmware. Head over to our Hardware Guide to assemble one.
  2. Clone this repo: git clone https://github.com/openbikesensor/OpenBikeSensorFirmware.git and cd into it.
  3. Choose between developing with recommended VSCode, or CLion (license required), respectively Arduino IDE (discouraged).
  4. Happy Coding! 🎉 We are open for your pull request.

License

Copyright (C) 2020-2021 OpenBikeSensor Contributors
Contact: https://openbikesensor.org

This file is part of the OpenBikeSensor firmware.

The OpenBikeSensor firmware is free software: you can
redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.

The OpenBikeSensor Website and Documentation is distributed in the hope
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the OpenBikeSensor Website and Documentation. If not, see
<http://www.gnu.org/licenses/>.

Supporters

JetBrains supports the development with one license for their IDEs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].