Digital Temperature
Moderator: Benj
-
- Posts: 28
- Joined: Tue Nov 09, 2021 11:53 am
- Been thanked: 1 time
- Contact:
Re: Digital Temperature
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.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Digital Temperature
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.
It's down to how the Arduino was designed.
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.
This is not down to Matrix hardware or software.
It's down to how the Arduino was designed.
Martin