Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pensono/dogears
4-Channel Beagle-Bone ADC. Designed for low-cost sonar applications
https://github.com/pensono/dogears
adc beaglebone driver linux realtime
Last synced: 11 days ago
JSON representation
4-Channel Beagle-Bone ADC. Designed for low-cost sonar applications
- Host: GitHub
- URL: https://github.com/pensono/dogears
- Owner: pensono
- Created: 2020-01-15T04:34:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T15:37:37.000Z (almost 2 years ago)
- Last Synced: 2024-04-28T03:19:41.761Z (8 months ago)
- Topics: adc, beaglebone, driver, linux, realtime
- Language: C++
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DogEars
## Writing code for the DogEars cape
The driver is currently in development, so the easiest way to write an application is to add a file to the `examples` directory along the ones provided.
In addition to the examples, the tests also demonstrate how the cape can be used. If you would like to run the tests, run the command `make test`.
For information about setting up a development environment, see [the maintainer's notes](NOTES.md).
Currently, you'll need to run the following command after rebooting to see any data:
```sh
make pru-configPins
```## Writing Python Code
Since python isn't a compiled language, there is no `make` command needed to build your program. However, it is necessary to compile, build, and install code from the python DogEars driver to get everything working. Luckily, this can be accomplished with a make command. Unless you already haev `numpy` and `setuptools` installed, this will require an internet connection.
```sh
make pythonsetup
```To run an example, use something like the following:
```sh
sudo python3 examples/frequency_detect.py
```