Digistump Forums
Back to Digistump.com
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Digistump Forums
»
The Digispark
»
Digispark Projects
»
digispark analog input
« previous
next »
Print
Pages: [
1
]
Author
Topic: digispark analog input (Read 8802 times)
dlc_mnl
Newbie
Posts: 3
digispark analog input
«
on:
December 20, 2019, 04:47:03 pm »
I have the problem that by directly connecting a potentiometer to the digispark the light flashes without any variation. What pins of the digispark can a potentiometer be used?
Logged
granzeier
Jr. Member
Posts: 73
Re: digispark analog input
«
Reply #1 on:
December 21, 2019, 02:42:21 am »
Take a look at the schematic (
https://s3.amazonaws.com/digistump-resources/files/97a1bb28_DigisparkSchematic.pdf;
) the analog input pins (ADC) are connected to PB2, PB3 and PB4. Unfortunately, due to the limited number of pins, ADC2 (PB4) and ADC3 (PB3) are used for the USB communications. Any external circuitry connected to those pins MAY interfere with the USB, and may need to be removed to reprogram the Digispark.
To connect a pot to the Digispark, connect the two ends of the pot to +V and ground, and the wiper to ADC1 (PB2.)
Logged
Print
Pages: [
1
]
« previous
next »
Digistump Forums
»
The Digispark
»
Digispark Projects
»
digispark analog input