Analogue input / output HOW?
Brian Moreau last edited by Boken Lin
Hi Just took delivery of my Onion and a bit shocked it doesn't have any analogue input or output ports.
Apparently analogue is available on the dock but I don't see it marked on the board.
What pin is this on and how can it be used please?
Hi @Brian-Moreau, I was also interested in this and posted a question on the Onion Freshdesk (see https://onion.freshdesk.com/support/tickets/135).
Associated info can be found at:
The bottom line is that no the Omega does not provide analog input or output (though fast-gpio has code for PWM output). It would appear that one can only do analogue input via the Arduino Omega shield for which there is as yet no code nor documentation that I can find.
Hi @Brian-Moreau, the Omega itself does not have an on-board ADC, so if you want to use it to read analog sensor data, you will need the Arduino Dock. It does have PWM output, and as @Kit Bishop pointed out, you can use fast-gpio to control the PWM output. More information about the fast-gpio library/command can be found here: https://onion.freshdesk.com/support/solutions/articles/6000069970-can-i-do-pwm-with-the-expansion-dock-.