Go Down

Topic: Pin A6 and A7 (Read 3956 times) previous topic - next topic

Gates

Mar 07, 2013, 09:08 am Last Edit: Mar 07, 2013, 04:04 pm by Gates Reason: 1
I have been looking at the schematic for the Arduino etherten board. I was wondering if these pins can be used or, if they are already being used. These pins are located near the SD card slot.

westfw

They can do analog input only...

Gates

I want to know if they are reserved for any reason. If they are reserved I would like to know what processes call of them to be open analog pins.

Gates

Found it....
"Just a reminder that this TQFP package (AU) has 2 more ADC's than the DIP package (P), but (Arduino) A6 and A7 are only analog inputs, they cannot be used for outputs - nor do they have any pull-ups on them."

Nick_Pyner

OK, so I now understand that my Etherten almost looks, walks and quacks like a Uno - but not quite. There is this functional difference, and it's all down to the different chip package. Is there any known instance of these pins being used? Freetronics are clearly not that serious about them.

Jack Christensen

#5
Mar 07, 2013, 11:46 pm Last Edit: Mar 08, 2013, 01:39 am by Jack Christensen Reason: 1
I have a project in the pipe that will use them to monitor battery voltage. A few weeks off yet.
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

WinstonP

may be useful for an analog keyboard or onboard temperature probe.

westfw

A6 and A7 were also available on the Arduino Mini and Arduino Nano (and presumably some of the other SMT-chip based third party boards.)  But using them is not compatible with the "popular" Arduino boards (Uno and its predecessors), and actually using them has never caught on.

Gates

I am planning on making a Header file to include these pins ("A6,A7").  I was reading the schematic and found them open. 1K resistor should allow the two pins to be available. I will check with my oscilloscope before I use them. 

Gates

A6 and A7 are floating pins. using open floating pins just needs a resistor value to them. and setup a library to set pin A6, A7 as input. If the floating pins are used it should be stated in doc or other documents related to their value as floating pin assignments.

Jack Christensen


A6 and A7 are floating pins. using open floating pins just needs a resistor value to them. and setup a library to set pin A6, A7 as input. If the floating pins are used it should be stated in doc or other documents related to their value as floating pin assignments.


Huh?
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

westfw

You can't set A6/A7 as inputs, because they're ONLY connected to the A-D convert mux.  (so you can instruct the A-D converter to "read pin A6".)   No resistor required, though...

James C4S

A6 and A7 are 100% analog only pins and they are only available onboards with the surface mount version of the ATmega328.

Don't try to treat them as digital inputs.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Gates

Quote
A6 and A7 are 100% analog only pins and they are only available onboards with the surface mount version of the ATmega328.

Don't try to treat them as digital inputs.
Finally we get somewhere. I know they are analog pins. I am going to treat them kindly. I did however ask if they are reserved for other function or devices. I have seen pins like this left to float for debugging hardware/software issues. My concern is are they free to use, or involved in other devices not spoken about in the past.

Jack Christensen


Finally we get somewhere. I know they are analog pins. I am going to treat them kindly. I did however ask if they are reserved for other function or devices. I have seen pins like this left to float for debugging hardware/software issues. My concern is are they free to use, or involved in other devices not spoken about in the past.


ADC6 and ADC7 are not reserved for any other purpose, they are exactly like the other analog pins, except that they are only analog inputs (cannot also be used as digital pins) and they are only available with the 32-pin packages.
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Go Up