Group Abstract Group Abstract

Message Boards Message Boards

0
|
16.9K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Getting data from an analog-to-digital converter

Posted 8 years ago
3 Replies
Posted 8 years ago

Hello cmasenas I want to discus about code you have posted about 3 phase SPWM on GITHUB can i contact you on any platform like facebook or somewhere else

POSTED BY: fahad ahmed
Posted 8 years ago

Check this out... Wolfram I2C documentation

POSTED BY: cmasenas

Hi,

Typically you will set registers exactly how you have done, by sending some specific command to to the interface that is only valid for that specific device. You typically have to consult documentation to see what specific commands correspond to the register you're trying to write to, I'm not familiar with Grove sensors, but it looks like their ADC module is based off of the ADC121C021 chip, which they have helpfully provided documentation for here : https://raw.githubusercontent.com/SeeedDocument/Grove-I2CADC/master/res/ADC121C021Datasheet.pdf

Consulting that document on page 23, you can see specifics of what commands are supposed to be used for this particular device. Hope this helps.

Thanks,

Ian

POSTED BY: Ian Johnson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard