This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hercules RM4 Introduction and Help

Other Parts Discussed in Thread: LAUNCHXL2-RM46

Hello,

I am final year engineering student. My project is based on measuring the various parameters in Infant Incubator such as Temperature,Humidity, Oxygen saturation level of baby. I chose the Hercules RM4 LaunchPad. I am new to Cortex M4. I can understand the software tools and architechture etc. I need a guidence for my project. I am unbale to get some sample codes for Hercules pad also.

How can I interface sensors?

Which communication protocol will be best?

How to convert the sesnor datas and transmit serially?

mail id: innovativekarthik@outlook.com

  • Karthik,
    Hi, you need to understand what sort of signal that your sensor outputs. If it's an analog signal - you would interface it to the ADC on the Hercules part to digitize the signal. You may need to add either a filter or a buffer to the sensor before digitizing.
    If it's a digital signal - then it may be a serial protocol that you need to use (I2C, SPI, SCI, etc). Or the sensor signal could be something that you read with a timer (for example if the information carried as the duty signal in a PWM).
    Really this is just where to start. The RM4 can interface to all sorts of sensors as it has the ADC, HET, SPI. I'm not sure which RM4 launchpad you purchased; the new LAUNCHXL2-RM46 has an I2C port available, but if you use the older one you need to emulate or bit-bang I2C if your sensor is I2C based.
    These would probably be good questions to discuss w. your prof. or advisor. Good luck with your project.