Skip to content

This repository contains code related to setting up a HC-SR04 sensor to properly gather data and display this data as characteristics over BLE.

Notifications You must be signed in to change notification settings

hot-tea-and-driver-updates/BLEDistance_Sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BLEDistance_Sensor

License

Description

The BLE Distance Sensor repository contains a main file with relevant code in order to properly measure data from the HC-SR04 sensor and display these values over BLE using the BLESS middleware library. The main file contains code related to the software based interrupt, initializes hardware and makes use of the BLE protocol to properly display values. This library is designed to work with the HC-SR04 sensor and PSoC6 MCU.

Features

  • Software based interrupt to correctly measure distance from HC-SR04 sensor
  • BLE support to accurately display sensor data as characteristics on a BLE supported application.

Contributing

Contributions are welcome and greatly appreciated. To contribute to the BLE Distance Sensor repository, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your modifications and ensure they adhere to the existing code style.
  4. Test your changes to ensure they work as expected.
  5. Commit your changes and push them to your fork.
  6. Submit a pull request, clearly describing the changes you made.

License

This project is licensed under the MIT License. You are free to modify and distribute the library. However, any contributions you make must be provided under the same MIT license.

Contact

For any questions or suggestions, feel free to open an issue on the GitHub repository.

About

This repository contains code related to setting up a HC-SR04 sensor to properly gather data and display this data as characteristics over BLE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages