-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] ADS1115 Driver #13559
[WIP] ADS1115 Driver #13559
Conversation
… and built to test working. Progress is at the same place as it was before this process.
We unfortunately can’t really help in driver development when it comes to the device side. That would totally overload the team. Please ping us here when the PR is ready for review. |
Of course, thank you for acknowledging. I was hoping other people attempting to arrive at a similar solution might be able to help out. |
I have already implemented such a driver for ads1115, but haven't create a pr due to the incomplete design of adc system. How about that we firstly work out the poorly designed adc part? |
@SalimTerryLi are you able to join the weekly dev call to discuss? |
I' m able to join next week but with poor English speaking ability. Maybe there is some challenges for me :) |
@SalimTerryLi I'm asking Jinger to help you. |
@SalimTerryLi please join the hardware channel on Slack and ping us (@dagar @mrpollo) |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
We have an adis1115 driver in master. PX4-Autopilot/src/drivers/adc/ads1115/ADS1115.h Lines 99 to 105 in cef3d36
|
Describe problem solved by this pull request
Whilst designing and implementing a power monitor module for the Pixhawk, I decided to use an ADS1115 4-channel 16-bit ADC connected via I2C. This pull request aims to add a driver for the ADS1115.
Describe your solution
I found an issue (#11755) which aimed to implement the INA226 I2C driver. I approached building the driver using the INA226.cpp as a base reference, but have since moved away from it.
I am still very early on in the driver creation, but fixing the read/write operations should speed things up:
Additional context
Datasheet -
ADS1115.pdf