chirimen-oh / any-issues

CHIRIMEN Open HardwareのISSUESを検討するために用意されています。 従って、issuesの議論の目的のみで利用されます。Messaging board (Forum) to discuss several CHIRIMEN issues.
3 stars 3 forks source link

At least 2 ADC pins #66

Open MSakamaki opened 8 years ago

MSakamaki commented 8 years ago

From @djpnewton on July 19, 2015 9:34

This is a big weakness of the raspberry pi and would be a good point of difference

Copied from original issue: MozOpenHard/CHIRIMEN#25

MSakamaki commented 8 years ago

From @arky on July 21, 2015 7:20

+1 More Analog to digital conversion(ADC) pins would be useful. The use case is connecting analog temperature,humidity, vibration sensors to Chirimen.

MSakamaki commented 8 years ago

From @dynamis on November 26, 2015 2:22

+1.

Current board don't have this and we're planning to include ADC as an optional starter kit. We should consider to include ADC pins for next model.

MSakamaki commented 8 years ago

From @naobsd on November 26, 2015 3:5

1 ADC is available on current CHIRIMEN board (CN1-6). this issue is request for 2 ADC, right?


random notes about ADC...

RK3066 has 3 ADC. on CHIRIMEN, currently 1 ADC is exposed, 1 ADC is used for "Recover Mode" button, 1 ADC is unused.

technically, it's possible to assign GPIO for "Recover Mode" button. so, if we need, we can expose 3 ADC at most in the future(if it uses RK3066).

currently there is no interface (/dev, /sys, etc) to read ADC from userland. it needs to be implemented before Web API. (low level API should be same as latest Linux)

reference voltage of RK3066 ADC is 2.5V which is not exposed(as hole/pin for users) on the CHIRIMEN board.

some times ago I asked about it, and answer was "it's ok" without detail. I have no idea how it's ok, but it should be explained when it becomes user accessible. (or, is it common knowledge?)

MSakamaki commented 8 years ago

From @dynamis on November 28, 2015 8:9

Ahh, CHIRIMEN already have an ADC pin but we don't have low level API for it yet.

Sorry I didn't noticed about it. When I see this issue, I thought CHIRIMEN don't have any ADC pin. In that case, It don't think we need prioritize to have 2 or more ADC pins.

If we want to use multiple analog sensors, we can use I2C ADC board to use multiple (many) analog sensors. We can continue to focus on I2C to use multiple sensors (or servo etc).