Pin 1 (A0) Not outputing 3.3v

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
eboxhead
 
Posts: 20
Joined: Wed Nov 09, 2011 4:07 pm

Pin 1 (A0) Not outputing 3.3v

Post by eboxhead »

Im currently working on outputting a simple triangle wave from the Trinket, and I noticed that pin A0 never seems to go above 2.2ish volts. If I change to pretty much any other Analog pin it works fine. I've tried with both 8 and 10 bit resolution (analogWriteResolution) and I don't notice a difference. Am I possibly setting something up incorrectly?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pin 1 (A0) Not outputing 3.3v

Post by adafruit_support_mike »

What board are you using?

User avatar
eboxhead
 
Posts: 20
Joined: Wed Nov 09, 2011 4:07 pm

Re: Pin 1 (A0) Not outputing 3.3v

Post by eboxhead »

Sorry, Trinket M0.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pin 1 (A0) Not outputing 3.3v

Post by adafruit_support_mike »

Thanks.. do you have any kind of load connected to the pin? My first guess would be current limiting.

As a side question, are you getting a triangle wave scaled down to a lower maximum voltage, or the bottom part of a 3.3V triangle wave that clips at the high end?

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

Return to “Trinket ATTiny, Trinket M0”