MCP3008 Double Ended Input ??

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
BillPretty
 
Posts: 28
Joined: Sun Mar 07, 2021 2:44 pm

MCP3008 Double Ended Input ??

Post by BillPretty »

According to the data sheet, the MCP3008 is capable of double ended input.
However I do not know what commands to send to enable this function.

For example differential channel 0 uses CH0 and CH1 as its inputs.

User avatar
adafruit2
 
Posts: 22187
Joined: Fri Mar 11, 2005 7:36 pm

Re: MCP3008 Double Ended Input ??

Post by adafruit2 »

what programming/IDE ar eyou using, arduino?

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: MCP3008 Double Ended Input ??

Post by Franklin97355 »

You can look at the GitHub post to see that we support differential input if that helps. https://github.com/adafruit/Adafruit_MC ... 3008.h#L40

User avatar
BillPretty
 
Posts: 28
Joined: Sun Mar 07, 2021 2:44 pm

Re: MCP3008 Double Ended Input ??

Post by BillPretty »

adafruit2 wrote:what programming/IDE are you using, arduino?
I am using a Raspberry Pi 3 with the Geany IDE (Python).
I have found several project ideas, but they are single ended.

User avatar
adafruit2
 
Posts: 22187
Joined: Fri Mar 11, 2005 7:36 pm

Re: MCP3008 Double Ended Input ??

Post by adafruit2 »

the circuitpython library has differential support
https://github.com/adafruit/Adafruit_Ci ... pletest.py

User avatar
BillPretty
 
Posts: 28
Joined: Sun Mar 07, 2021 2:44 pm

Re: MCP3008 Double Ended Input ??

Post by BillPretty »

Thank you

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”