Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Differential ADC on Atmega88

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
P_Santos

Bascom Member



Joined: 07 Jul 2011
Posts: 89

PostPosted: Wed Nov 27, 2019 1:02 am    Post subject: Differential ADC on Atmega88 Reply with quote

Hello,

I need to connect a device with differential output to the Atmega88 ADC. Never used the ADC differential, I do not know what pins connect as not found any sample code to read the ADC in differential mode.

Gratefull if anyone can help with schematic and sample code

Regards
P_Santos

(BASCOM-AVR version : 2.0.8.1 , Latest : 2.0.8.2 )
Back to top
View user's profile
laborratte

Bascom Expert



Joined: 27 Jul 2005
Posts: 256
Location: Berlin

germany.gif
PostPosted: Wed Nov 27, 2019 2:43 am    Post subject: Reply with quote

atmega88 does not have differential inputs on ADC
Back to top
View user's profile
P_Santos

Bascom Member



Joined: 07 Jul 2011
Posts: 89

PostPosted: Wed Nov 27, 2019 6:09 pm    Post subject: Reply with quote

Hello Laborratte,

Thanks for the information, have than will to use an external differential Amp OP

Regards
P_Santos
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1133
Location: SYDNEY

australia.gif
PostPosted: Thu Nov 28, 2019 4:39 am    Post subject: Reply with quote

Have a look at the MAX1238 I have written code here
https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=11496&highlight=adc

Much better than the 10 bit avr adc

Note Also the artwork for a circuit board is there if you want it
it can use the Max1238 or ADC128D818
Regards Paul
Back to top
View user's profile
P_Santos

Bascom Member



Joined: 07 Jul 2011
Posts: 89

PostPosted: Mon Dec 02, 2019 1:05 am    Post subject: Reply with quote

Thank you, Paulvk,

I need a instrumention differential amplifier, now i find the MCP6N11, this device works beetwen 1,7v and 5V and that it's what i need, the board use a 3V battery

Anyone use the MCP6N11 ?

Regards
P_Santos
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum