Using A6/A7

The EtherTen combines an Uno-equivalent Arduino-compatible board and Wiznet-based Ethernet support, along with a microSD card slot and Power-over-Ethernet support. [Product page]
JollyJohn
Posts: 10
Joined: Sun Dec 04, 2011 6:00 am

Using A6/A7

Post by JollyJohn » Sun Dec 04, 2011 6:22 am

Hi,
I have a project that is using a high number of digital output pins. Due to a last minute need for two more I've brought A6 and A7 up to the proto board I'm using and used the appropriate pinMode to set them as output pins - but to no avail. Is there a trick to using these pins I'm missing? I can't seem to get them to switch.

Thanks,
John

JollyJohn
Posts: 10
Joined: Sun Dec 04, 2011 6:00 am

Re: Using A6/A7

Post by JollyJohn » Sun Dec 04, 2011 7:52 am

Thinking more about it this may be due to the board definition in the Arduino software system thinking the board I have doesn't have A6/A7 and quietly refusing to work with them. Any other ideas?

LukeW
Posts: 91
Joined: Tue Nov 01, 2011 10:14 am

Re: Using A6/A7

Post by LukeW » Thu Jan 05, 2012 12:39 pm

I wrote a simple test program, as follows.

I tested this on an Arduino Duemilanove (DIP ATmega328 w/ FTDI) and a Freetronics Eleven (DIP ATmega328 w/ ATmega8U2) and it compiled and uploaded successfully in both cases. It of course generates "nonsense" ADC readings with the pins floating, though.

However, I don't have an EtherTen board (or a USBDroid, which is the same for the purposes of this discussion) so I can't test this in actual operation on the hardware.

I'm pretty sure that the actual ATmega328/168 silicon ICs incorporate all 8 of the analog input channels, and they're all the same in all the IC packages, except that when they're packaging them in the DIP packages they don't have enough pins in the package so they don't install the wire bonds to the ADC6 and ADC7 pins and they just leave them floating.

You're right in what you're saying. The Freetronics EtherTen (and the USBDroid which is the same in this context) use SMD ATmega328 chips with the A6 and A7 pins broken out and connected to useable pins. The Arduino Mini hardware is the same in this respect, but they are designed for use with an FTDI cable and they are not used in conjunction with an ATmega8U2-based USB-to-serial interface. This means that the EtherTen/are completely unique Arduino hardware which is slightly different from any official Arduino hardware product in regards to potential software support for using these pins.

So, yes, maybe it will require a modification to boards.txt or the other files within the Arduino IDE that control the hardware definitions, but I'm not 100% sure.

If all else fails, maybe you can try editing boards.txt. I have included a portion of what your edited boards.txt file might look like, for example, below.

Code: Select all


    int i = 0, j = 0;

void setup()
{
    pinMode(A6, OUTPUT);
    pinMode(A7, OUTPUT);
    Serial.begin(38400);
}

void loop()
{
    digitalWrite(A6, HIGH);
    digitalWrite(A7, HIGH);
    delay(100);
    pinMode(A6, INPUT);
    pinMode(A7, INPUT);
    i = analogRead(A6);
    j = analogRead(A7);
    Serial.println(i);
    Serial.println(j);
}

Code: Select all

##############################################################

uno.name=Arduino Uno 
uno.upload.protocol=arduino
uno.upload.maximum_size=32256
uno.upload.speed=115200
uno.bootloader.low_fuses=0xff
uno.bootloader.high_fuses=0xde
uno.bootloader.extended_fuses=0x05
uno.bootloader.path=optiboot
uno.bootloader.file=optiboot_atmega328.hex
uno.bootloader.unlock_bits=0x3F
uno.bootloader.lock_bits=0x0F
uno.build.mcu=atmega328p
uno.build.f_cpu=16000000L
uno.build.core=arduino
uno.build.variant=standard

##############################################################

# This entry corresponds to Arduino Uno compatible hardware which
# uses a surface-mount ATmega328 chip and has the A6 and A7 pins
# connected, for example the Freetronics EtherTen or USBDroid.
# This should allow analog input pins 6 and 7 to be used.
# This is basically just a copy of the above entries for the Arduino
# Uno, renamed of course.

etherten.name=Freetronics EtherTen or USBDroid etc. w/ A6 and A7
etherten.upload.protocol=arduino
etherten.upload.maximum_size=32256
etherten.upload.speed=115200
etherten.bootloader.low_fuses=0xff
etherten.bootloader.high_fuses=0xde
etherten.bootloader.extended_fuses=0x05
etherten.bootloader.path=optiboot
etherten.bootloader.file=optiboot_atmega328.hex
etherten.bootloader.unlock_bits=0x3F
etherten.bootloader.lock_bits=0x0F
etherten.build.mcu=atmega328p
etherten.build.f_cpu=16000000L
etherten.build.core=arduino
# uno.build.variant=standard # This line is commented out
etherten.build.variant=eightanaloginputs # This line is added

##############################################################

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 297
Joined: Sat Oct 15, 2011 11:31 am

Re: Using A6/A7

Post by jonoxer » Thu Apr 12, 2012 11:45 pm

A6 and A7 are rather oddball, and I don't think you'll be able to use them in the way you want to.

According to the ATmega328P datasheet, ADC0 through ADC5 are on port C, which is also a regular digital I/O port. However, ADC6 and ADC7 are orphans that can be addressed directly but aren't part of a digital I/O port. I have no idea why the MCU was designed that way, but that's the way it is.

So you should be able to use A6 and A7 as analog inputs, but you can't use them as digital outputs. Sorry. It's not a specific limitation of our boards as opposed to any other Arduino-compatible board, it's just a limitation of the MCU itself.

Could you gain yourself some digital outputs using a shift register or switching some of your other I/O to another method? Perhaps have a look at http://www.freetronics.com/expand
--
Jon



Mozmee007
Posts: 15
Joined: Fri Dec 01, 2017 10:08 am

Re: Using A6/A7

Post by Mozmee007 » Tue Jan 30, 2018 3:49 am

This may be due to the definition of the board in the software system.













บาคาร่าออนไลน์

yaoxuemei
Posts: 243
Joined: Fri Dec 15, 2017 7:34 am

Re: Using A6/A7

Post by yaoxuemei » Thu Feb 01, 2018 1:32 am

yaoxuemei20180201coach outlet online
michael kors outlet
ugg boots clearance
oakley sunglasses
pandora rings
canada goose outlet store
canada goose outlet store
longchamp outlet
air max shoes
michael kors handbags sale
cheap nfl jerseys
michael kors official site
coach outlet online
moncler jackets
kate spade handbags
uggs outlet
cheap oakley sunglasses
lacoste shirts
pandora jewelry
mlb jerseys
kate spade handbags
coach outlet online
michael kors outlet
mont blanc
canada goose outlet online
mulberry outlet
uggs outlet online
nike outlet
uggs canada
polo shirts
canada goose
ralph lauren uk
polo ralph lauren outlet
cheap nfl jerseys
michael kors outlet stores
pandora outlet
nike shoes
polo ralph lauren outlet
cheap nfl jerseys
coach outlet
pandora outlet online
michael kors outlet
canada goose jackets
polo outlet
canada goose
ugg outlet online clearance
michael kors outlet
nike shoes outlet
ralph lauren pas cher
ugg outlet store
cheap uggs
nba jersey
michael kors outlet online
ugg boots clearance
pandora outlet
michael kors outlet
nfl jerseys wholesale
canada goose
pandora outlet store
michael kors outlet online
ugg outlet
uggs outlet
canada goose outlet
ugg outlet
ralph lauren sale
ugg outlet
ugg outlet
fitflop sale
nike outlet online
michael kors handbags
nike air max
michael kors outlet
valentino shoes
nike factory outlet
michael kors outlet
canada goose jackets
yeezy boost
polo outlet
canada goose
canada goose outlet store
michael kors outlet online
canada goose
uggs outlet
michael kors handbags
coach outlet clearance
ralph lauren polo
coach outlet store online
polo ralph lauren outlet
ugg boots outlet
ray ban sunglasse
polo ralph lauren
asics outlet
oakley sunglasses wholesale
ugg boots clearance
tory burch shoes
mcm outlet
uggs outlet
ugg canada
nike outlet
michael kors outlet online
ugg boots clearance
canada goose jackets
hermes birkin
oakley sunglasses
canada goose jackets
uggs outlet
canada goose jackets
coach factory outlet
ralph lauren uk
polo ralph lauren
canada goose outlet
michael kors outlet clearance
ralph lauren shirts
cheap ray ban sunglasses
canada goose jackets
christian louboutin outlet
ugg boots
fred perry clothing
ugg boots clearance
mont blanc pens
cheap ugg boots
michael kors outlet
adidas yeezy
canada goose outlet stores
michael kors outlet online
coach outlet store online
pandora charms outlet
coach canada
canada goose jackets
coach outlet store online
michael kors outlet
polo ralph lauren outlet online
christian louboutin outlet
true religion jeans
coach outlet online
canada goose outlet store
polo ralph lauren factory store
uggs outlet online
adidas yeezy shoes
ugg outlet
polo ralph lauren
coach outlet
coach outlet
canada goose outlet store
ugg boots clearance
pandora charms
canada goose outlet
pandora jewelry
adidas shoes
cheap ray ban
longchamp outlet
cheap oakley sunglasses
nike outlet
ralph lauren
adidas nmd r2
air jordan 4
pandora outlet
pandora bracelet
canada goose outlet
coach outlet
michael kors outlet
ed hardy
ugg boots clearance
oakley sunglasses wholesale
mulberry bags
ugg outlet online
coach outlet
mulberry handbags
canada goose outlet
fred perry clothing
puma outlet
uggs outlet
moncler coats
coach outlet online
kate spade outlet
prada outlet online
canada goose outlet store
christian louboutin outlet
ugg outlet
fitflops sale
canada goose outlet store
canada goose
tory burch sandals
coach factory outlet
canada goose
ray ban sunglasses
adidas yeezy boost
uggs outlet
michael kors outlet online store
oakley sunglasses wholesale
pandora outlet online
pandora jewelry
michael kors outlet
ralph lauren outlet
michael kors outlet clearance
michael kors outlet
polo ralph lauren outlet
ugg boots clearance
cheap ugg boots

clibin009
Posts: 563
Joined: Mon Oct 23, 2017 2:57 am

Re: http://bodyprohealth.com/dermaclear/

Post by clibin009 » Fri Feb 02, 2018 1:04 am

ugg pas cher
asics
adidas jeremy scott
air max 2018
moncler
north face jackets
ferragamo shoes
swarovski jewelry
louboutin
yeezy shoes
michael kors
kevin durant shoes
ugg outlet
pandora jewelry
adidas superstar
moncler pas cher
ugg outlet
polo outlet
red bottom shoes
the north face
longchamp outlet
nba jerseys
balenciaga shoes
hermes birkin bags
coach outlet online
snapbacks wholesale
hermes uk
fitflops outlet
adidas slides
burberry outlet online
adidas shoes
michael kors outlet
nike blazer
coach outlet
hermes outlet
nike roshe
ugg canada
nike air max
ray ban sunglasses
canada goose outlet
coach outlet
cheap oakley sunglasses
salvatore ferragamo
nike free
nike tn
moncler jackets
uggs outlet
oakley sunglasses
ugg outlet store
canada goose
uggs outlet
air huarache
curry shoes
barcelona jersey
hermes
jordans
supra shoes
true religion jeans
uggs
canada goose outlet
van cleef & arpels jewelry
nike factory outlet
uggs outlet
canada goose jackets
pandora charms
michael kors
moncler
ugg boots
moncler
burberry outlet
nfl jerseys
nike shox
flops
oakley sunglasses
air force 1
kate spade
air jordan 14
tommy hilfiger
ugg
jordan pas cher
givenchy handbags
coach factory outlet
longchamp handbags
jordan shoes
supreme uk
jordan 4
harden vol 1
adidas stan smith shoes
oakley canada
wholesale nfl jerseys
tory burch outlet
air max
air max
coach factory outlet online
coach factory outlet
longchamp
mont blanc pens
michael kors outlet
kobe 11
ray ban sunglasses
stan smith shoes
supreme outlet
air jordan
ray ban sunglasses
ray ban
links of london
belstaff jackets
polo ralph lauren outlet
jordan shoes
burberry outlet
michael kors outlet
tory burch
michael kors outlet
uggs
cheap ugg boots
superdry clothing
cheap mlb jerseys
timberland pro
fitflops
ralph lauren
swarovski
adidas shoes
north face jackets clearance
ugg boots on sale
flip flops
moncler outlet
hermes kelly bag
timberland boots
blackhawks jersey
ugg
mont blanc
coach outlet online
air jordan
lebron 15
polo ralph lauren
coach outlet online
ugg boots sale
ralph lauren uk
polo ralph lauren
moncler outlet
converse shoes
oakley sunglasses
fingerlings monkey
north face
mulberry handbags
cheap nhl jerseys
manolo blahnik shoes
canada goose jackets
true religion jeans
north face outlet
the north face
pandora jewelry canada
jordan 8
jordans
adidas uk
ralph lauren uk
polo ralph
true religion jeans
miu miu shoes
air max 1
the north face
ralph lauren
jordan xx9
ray ban
nike dunks
ralph lauren
jordan
soccer jerseys
coach handbags
jimmy choo shoes
jordan retro
true religion jeans
ray ban
ugg boots
coach factory online
nike tennis
flip-flops
doudoune canada goose
canada goose down jacket
michael kors taschen
kate spade
north face
louboutin
adidas outlet store
louboutin
air max 2017
flip flops
ugg boots
coach factory outlet online
oakley sunglasses
adidas yeezy
mbt shoes
nike kyrie 3
cheap nfl jerseys
michael kors handbags
canada goose jackets
timberland boots
giuseppe zanotti shoes
oakley sunglasses
jordan 1
cheap nfl jerseys
longchamp
air jordan 11
cheap rolex watches
ugg
ugg clearance
new balance
oakley sunglasses wholesale
michael kors outlet
ugg boots
uggs outlet
balance shoes
tod's shoes
nike store uk
michael kors outlet
ugg canada
jordans
ugg
michaelkors outlet online
cheap jordans
mac cosmetics
coach handbags
ray ban
ugg boots
swarovski crystal
red bottoms
cheap jerseys
undefeated shoes
burberry outlet canada
true religion
ugg australia
ugg boots
north face
air max 95
ugg italia
prada
ralph lauren
coach outlet online
bvlgari rings
cheap ray bans
ugg boots
michael kors outlet online
basketball shoes
moncler jackets
nike outlet
true religion jeans
converse
marc jacobs
adidas wings
stuart weitzman shoes
mont blanc pens
louboutin
ugg outlet
nike huarache shoes
ralph lauren
pandora
cheap nfl jerseys
north face
herve leger dresses
ray ban sunglasses
polo ralph
ugg boots
coach outlet online
air max plus
nike outlet
ray ban sunglasses
light up shoes
north face outlet
canada goose
michael kors handbags
air max
ray ban
scarpe mbt
asics running shoes
adidas football boots
longchamp outlet
nike outlet
supreme
air max 97
coach outlet online
dolce and gabbana
christian louboutin
roshe run
nike air
polo ralph lauren
carnival shoes
beats by dre
adidas yeezy 350
oakley vault
canada goose sale
pandora jewelry
polo shirts
stussy hoodie
pandora uk
replica watches
coach outlet
alexander mcqueen shoes
under armour outlet
canada goose outlet
ugg
jordan 5
timberland boots
nhl jerseys
vibram five fingers
north face jackets
nike air max
air jordan
birkenstock sandals
juicy couture outlet
jordans
nike sb
louboutin
bcbg
michael kors outlet
nike outlet store
converse shoes
ugg boots
michael kors outlet clearance
jordan shoes
uggs outlet
nike football boots
moncler schweiz
prada
doudoune canada goose
jordan 12
nike lunarglide
nike mercurial vapor
kate spade
jordan 6
pandora jewelry
cheap ugg boots
cheap mlb jerseys
air max
nike free run
north face
ugg outlet
nike uk
coach factory outlet
cartier jewelry
michael kors handbags
wedding shoes
tory burch
christian louboutin
moncler
coach outlet online
oakley sunglasses
uggs outlet
supreme
canada goose outlet
asics running shoes
moncler
oakley sunglasses
moncler
baseball jerseys
ugg outlet store
manchester united jersey
nike revolution
canada goose jackets
ugg outlet
tory burch outlet
coach outlet
air max 90
canada goose jackets
ugg boots
dior handbags
louboutin
nike presto
adidas flip flops
polo ralph
nike shoes
birkenstock
coach outlet
michael kors uk
louboutin
canada goose
north face outlet
timberland outlet
ferragamo outlet
coach
ugg boots
coach
canada goose
nike blazer
pandora jewelry canada
mlb jerseys
the north face
michael kors outlet
valentino shoes
ray ban
michael kors outlet
jordan shoes
coach factory outlet
moncler outlet
north face uk
ralph lauren
moncler
longchamp
pandora outlet
north face
canada goose canada
mcm bags
louboutin
prada bags
nike cortez
jordan
nike air max
ralph lauren outlet
mishka clothing
nfl jerseys wholesale
north face uk
flops
kate spade handbags
louboutin
nike flip-flops
nike factory outlet
kate spade outlet
prada handbags
ugg boots
canada goose coats
nike air force
birkenstock outlet
bottega veneta
kate spade
jordan 3
ugg boots
baseball bats
burberry scarf
canada goose outlet
jordan shoes
ugg outlet store
mizuno running shoes
ray ban sunglasses wholesale
adidas outlet
nike free run
dansko shoes
nike free
ralph lauren uk
air max 270
moncler
michael kors handbags
pandora charms
nike air huarache
michael kors outlet
20182.2chenjinyan

yaoxuemei
Posts: 243
Joined: Fri Dec 15, 2017 7:34 am

Re: Using A6/A7

Post by yaoxuemei » Fri Feb 02, 2018 11:08 am

yaoxuemei20180202canada goose outlet
michael kors outlet clearance
christian louboutin shoes
michael kors outlet
coach outlet
cheap mlb jerseys
michael kors outlet
coach outlet store
mcm bag
ugg outlet stores
coach outlet
mulberry sale
puma shoes
ugg boots outlet
ugg outlet
michael kors outlet
canada goose jackets
adidas shoes for men
coach outlet online
michael kors outlet
michael kors outlet
tory burch outlet stores
coach outlet
true religion jeans
cheap jordans
nike outlet
michael kors outlet
oakley sunglasses
christian louboutin shoes
michael kors outlet
tory burch outlet
polo ralph lauren factory store
oakley sunglasses
michael kors outlet
fred perry polo
michael kors handbags
cheap nfl jerseys
cheap nfl jerseys
oakley sunglasses outlet
michael kors outlet clearance
oakley sunglasses
coach outlet clearance
fitflops sale clearance
canada goose
fred perry clothing
cheap jordan shoes
lacoste shoes
cheap authentic nba jerseys
nike air max
coach factory outlet
ugg boots
canada goose outlet store
longchamp handbags
polo ralph lauren
coach outlet
ray ban sunglasses
cheap nfl jerseys
cheap ugg boots
ralph lauren uk
pandora outlet
fred perry polo shirts
michael kors outlet online
jordan retro
nike shoes outlet
michael kors outlet clearance
ed hardy
coach outlet store online
air max 2017
oakley sunglasses wholesale
michael kors outlet
michael kors outlet
ralph lauren pas cher
adidas yeezy shoes
polo ralph lauren outlet
uggs outlet
canada goose jackets
michael kors outlet
ralph lauren outlet
cheap ugg boots
ugg outlet
michael kors outlet
coach outlet online store
ugg outlet online
mbt shoes clearance outlet
canada goose jackets
kate spade outlet
canada goose outlet
adidas ultra boost
ugg outlet online clearance
uggs outlet
michael kors outlet
coach outlet online
ugg outlet store
coach outlet
uggs outlet
coach outlet store online
michael kors outlet
canada goose
fitflops shoes
canada goose jackets canada
asics outlet
pandora jewelry
ugg outlet online
ugg outlet
ugg boots clearance
polo outlet
kate spade handbags
ugg outlet
cheap ray ban sunglasses
polo ralph lauren
fred perry outlet
kate spade handbags
kate spade outlet
uggs outlet
ray ban sunglasses
coach factory outlet
ray ban sunglasse
ugg outlet
ugg boots clearance
coach outlet online
ugg outlet
mont blanc outlet
coach outlet
canada goose jackets
nike shoes on sale
ugg outlet
fitflops sale
michael kors outlet
polo outlet
polo outlet
pandora outlet
mbt shoes
tory burch handbags
canada goose
canada goose jackets
pandora charms
ralph lauren uk
polo outlet
fred perry polo shirts
pandora outlet
ugg boots
ugg boots on sale
ugg outlet
michael kors outlet online
ray ban outlet
cheap nba jersey
michael kors outlet clearance
coach outlet store online
ugg outlet store
ugg outlet
ugg outlet
michael kors outlet clearance
ed hardy outlet
polo outlet
pandora jewelry outlet
ray ban sunglasses
ralph lauren
pandora bracelet
ralph lauren shirts
kate spade bags
mont blanc outlet
true religion outlet store
nike air jordan 4
pandora jewelry
ralph lauren outlet
ugg boots clearance
coach outlet
polo outlet
adidas nmd shoes
yeezy boost
coach outlet online
coach factory outlet online
cheap ugg boots
michael kors outlet online
nfl jerseys wholesale
michael kors handbags
pandora charms

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests