Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly wrong indication for ADC use on HTCC-AB01 V2 #38

Open
eiannone opened this issue Apr 6, 2024 · 0 comments
Open

Possibly wrong indication for ADC use on HTCC-AB01 V2 #38

eiannone opened this issue Apr 6, 2024 · 0 comments

Comments

@eiannone
Copy link

eiannone commented Apr 6, 2024

In the "Frequently Asked Questions" page, under the section "How to use the ADC pin for AnalogRead", it states that In order to read other analog signal, user need remove the resistance BR1, then the ADC header will be free.
Then there is the indication on where the resistor is located in both AB01 and AB01-V2 boards.
But AB01-V2 board uses ASR6502 mcu, which has three ADC pins, and from what I see in the schematics, two of them are used:

image

In the Arduino pin mapping, they appear to be referred as ADC_VBAT and ADC:

#define ADC_VBAT P2_0
#define ADC P2_1 

So the ADC pin in HTCC-AB01 V2 could be used independently from battery voltage reading, without the need to remove the BR1 resistor.

Can anyone confirm this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant