How do I connect the board and analog sensor?

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I connect the board and analog sensor?

Jump to solution
97 Views
Contributor II

Hello,

I want to get analog sensor values using NXP board "TWR-KE18F".
However, it is not done for the following reasons.

 - I don't know much about the hardware, so I don't know how to connect the board and sensor.
   How can I connect the board and sensor?

 - I don't know the code to use the external analog sensor.
   Please tell me the sample code to get the value of external analog sensor.
   I understand how to get the value of the potentiometer attached to the board in the SDK sample project “adc12_polling”.
   However, the code that uses an external analog sensor is not known.

Notes:
I have the "TWR-ELEV" and "TWR-PROTO" necessary to configure the tower module.
I have external sensors such as light sensors and temperature sensors.

Best regards.

Labels (1)
Tags (2)
1 Solution
7 Views
NXP TechSupport
NXP TechSupport

Hi Takagi,

Please download TWR-KE18F SDK from Welcome | MCUXpresso SDK Builder . It has ADC examples. You can see them in SDK_2.5.0_TWR-KE18F\boards\twrke18f\driver_examples\adc12.

TWR-KE18F has a thermistor on board, it is RT1. If you want to connect your own sensor by TWR-PROTO, please download TWR-KE18F schematic from https://www.nxp.com/webapp/Download?colCode=TWR-KE18F-SCH-DESIGNFILES 

TWR-PROTO's schematic https://www.nxp.com/downloads/en/schematics/SCH-26187.pdf 

Regards,

Jing

View solution in original post

2 Replies
8 Views
NXP TechSupport
NXP TechSupport

Hi Takagi,

Please download TWR-KE18F SDK from Welcome | MCUXpresso SDK Builder . It has ADC examples. You can see them in SDK_2.5.0_TWR-KE18F\boards\twrke18f\driver_examples\adc12.

TWR-KE18F has a thermistor on board, it is RT1. If you want to connect your own sensor by TWR-PROTO, please download TWR-KE18F schematic from https://www.nxp.com/webapp/Download?colCode=TWR-KE18F-SCH-DESIGNFILES 

TWR-PROTO's schematic https://www.nxp.com/downloads/en/schematics/SCH-26187.pdf 

Regards,

Jing

View solution in original post

7 Views
Contributor II

Hi Jing,

Thanks for your quick reply.

Your advice was very helpful.

As a result, I was able to get the analog sensor value.

Best regards,

Takagi

0 Kudos