https://github.com/abetlen/lsm303d-l3gd20h-drivers
Linux I2C drivers for the lsm303d and l3gd20h
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.9%) to scientific vocabulary
Repository
Linux I2C drivers for the lsm303d and l3gd20h
Basic Info
- Host: GitHub
- Owner: abetlen
- License: mit
- Language: C
- Default Branch: master
- Size: 10.7 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
LSM303D / L3GD20H I2C Drivers
Character device drivers for the LSM303D and L3GD20H over an I2C interface.
Usage
The drivers use a sysfs interface. To read from the lsm303d and l3gd20h respectively:
cat /sys/bus/i2c/devices/1-001d/read
cat /sys/bus/i2c/devices/1-006b/read
To convert these values to their respective quantities in SI units:
Accelerometer (g) | mg/LSB | Magnetometer (gauss) | mgauss/LSB | Gyroscope (dps) | mdps/LSB ------------------|--------|----------------------|------------|-----------------|--------- 2 | 0.061 | 2 | 0.080 | 245 | 8.75 4 | 0.122 | 4 | 0.160 | 500 | 17.50 6 | 0.183 | 8 | 0.320 | 2000 | 70.00 8 | 0.244 | 12 | 0.479 | | 16 | 0.732 | | | |
Installation
Compile the drivers and install the device tree overlay to the
/boot/overlays folder:
sudo make
cd board
sudo make install
Insert the drivers:
sudo insmod lsm303d/lsm303d.ko
sudo insmod l3gd20h/l3gd20h.ko
Resources
Owner
- Name: Andrei
- Login: abetlen
- Kind: user
- Location: San Francisco, California
- Twitter: abetlen
- Repositories: 49
- Profile: https://github.com/abetlen
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Andrei Betlen | a****n@g****m | 11 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0