Page 2 of 2

Re: Digital Temperature

Posted: Mon Nov 15, 2021 3:50 pm
by MartinSpeed
Hi, in the component set up in the image I posted earlier I can run a digital temperature component from the EB090 board and so I was wondering why I cant just swap with the infrared sensor and a new program.

Re: Digital Temperature

Posted: Mon Nov 15, 2021 4:15 pm
by medelec35
Hi Martin.
On any target device, you have analogue pins and Digital pins.
If you are using a digital component, then they can be connected to both analogue and digital pins since the analogue pins can be made into digital pins.
However, If you have an analogue only component e.g potentiometer. LDR or in your case infrared sensor, then they can only be connected to analogue pins.
It's as Steve said.
Steve wrote:
Mon Nov 15, 2021 11:00 am
The use this (or any other) analogue sensor, your board would need to be connected to PORTC of the micro, which is the E-blocks connector labelled A0-A5 (the "A" means "analogue").
This is not down to Matrix hardware or software.
It's down to how the Arduino was designed.