Protonerd / FX-SaberOS

System code for Arduino based Lightsaber replicas for DIYino family boards
Creative Commons Zero v1.0 Universal
92 stars 42 forks source link

Resistors on A3 #28

Closed FatherCool closed 6 years ago

FatherCool commented 6 years ago

On the homebrew star. What are the resistors on the nano pin A3 for?

Cheers

DRagonenko commented 6 years ago

100 Ком - 470 Ком +

FatherCool commented 6 years ago

Yes I know the values I was asking what they did. Cheers.

jbkuma commented 6 years ago

It's a voltage divider to read the battery level.

On Dec 18, 2017 9:19 AM, "FatherCool" notifications@github.com wrote:

Yes I know the values I was asking what they did. Cheers.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Protonerd/FX-SaberOS/issues/28#issuecomment-352438014, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdCMH9tShszGmxPdsE3DErjuhxw4XCoks5tBnRbgaJpZM4RFXwL .

FatherCool commented 6 years ago

Ah right so why does it read it and how does it present the info to us? Will the code it work without it?

jbkuma commented 6 years ago

There is a battery check function and menu item for battery level. It will work with out it.

Jason "Kuma" Brinkerhoff Mad Science Workshoppe, proprietor http://jbkuma.com/workshoppe

On Mon, Dec 18, 2017 at 9:52 AM, FatherCool notifications@github.com wrote:

Ah right so why does it read it and how does it present the info to us? Will the code it work without it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Protonerd/FX-SaberOS/issues/28#issuecomment-352447259, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdCMNi8YY7ALw_LyDWcfdybRxG4zwc_ks5tBnwwgaJpZM4RFXwL .

FatherCool commented 6 years ago

Ah right. Would I need to comment anything out in the code if I didn't fit the resistors?

jbkuma commented 6 years ago

You just won't get an accurate reading, you can organize the menu sequence to move battery check out of use.

Jason "Kuma" Brinkerhoff Mad Science Workshoppe, proprietor http://jbkuma.com/workshoppe

On Mon, Dec 18, 2017 at 10:48 AM, FatherCool notifications@github.com wrote:

Ah right. Would I need to comment anything out in the code if I didn't fit the resistors?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Protonerd/FX-SaberOS/issues/28#issuecomment-352466377, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdCMO1JOyt6LfC1x934qKXUqw9w50CJks5tBokxgaJpZM4RFXwL .

FatherCool commented 6 years ago

I don't need a battery reading so could get rid of it really.