0

MCP3008 Double Ended Input ??
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MCP3008 Double Ended Input ??

by BillPretty on Sun Mar 07, 2021 3:23 pm

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.

BillPretty
 
Posts: 21
Joined: Sun Mar 07, 2021 2:44 pm

Re: MCP3008 Double Ended Input ??

by adafruit2 on Fri Mar 12, 2021 12:43 pm

what programming/IDE ar eyou using, arduino?

adafruit2
Site Admin
 
Posts: 20058
Joined: Fri Mar 11, 2005 7:36 pm

Re: MCP3008 Double Ended Input ??

by franklin97355 on Fri Mar 12, 2021 1:22 pm

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

franklin97355
 
Posts: 21890
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: MCP3008 Double Ended Input ??

by BillPretty on Fri Mar 12, 2021 3:04 pm

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.

BillPretty
 
Posts: 21
Joined: Sun Mar 07, 2021 2:44 pm

Re: MCP3008 Double Ended Input ??

by adafruit2 on Sun Mar 14, 2021 12:42 pm

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

adafruit2
Site Admin
 
Posts: 20058
Joined: Fri Mar 11, 2005 7:36 pm

Re: MCP3008 Double Ended Input ??

by BillPretty on Sun Mar 14, 2021 3:38 pm

Thank you

BillPretty
 
Posts: 21
Joined: Sun Mar 07, 2021 2:44 pm

Please be positive and constructive with your questions and comments.