Skip to content
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

External ADC Driver Implementation #20

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Burke-Daniel
Copy link
Member

First actual Node PR woot woot!

This contains the ADC driver I wrote for our specific 16-bit external ADC, the structure of this is similar to the external can driver that I found and brought into the repo. Some background info:

Datasheet can be found here

Our microcontroller (SAMD21...) interfaces with the external ADC through SPI, and so I was able to make use of the built in SPI functionality that arduino has. There are Enums defined with register addresses, commands, and configurations. These are used within the helper methods to abstract away a bit of the lower level stuff.

Still need to document this code a little bit and outline how this is to be set up and used in our main code.

Also note that this won't be merged until we can test it with the sensor board.

@Burke-Daniel Burke-Daniel added enhancement New feature or request in progress Still in progress, but want another set of eyes to take a look labels Jul 16, 2020
@Burke-Daniel
Copy link
Member Author

[ND] 16 bit ADC driver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Still in progress, but want another set of eyes to take a look
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant