RoadTest: RoadTest the ADS7042 BoosterPack and MSP430FR4133
Author: harshit3096g
Creation date:
Evaluation Type: Independent Products
Did you receive all parts the manufacturer stated would be included in the package?: True
What other parts do you consider comparable to this product?: null
What were the biggest problems encountered?: The biggest problem was that the serial monitor was not working in Energia IDE.
Detailed Review:
REVIEW ON TI’S MSP430FR4133 LAUNCHPAD AND ADS7042 BOOSTERPACK.
It was a privilege to write this road-test on the MSP430FR4133 Launchpad and ADS7042 Booster pack.
I studied about MSP430FR4133 Launchpad and ADS7042 Booster Pack and discovered many things.
First of all, the MSP430FR4133 is a microcontroller which is ultra low power device which is made with an intention that it could be modified in future like it has trough hole long connector pins, this allows connecting to the board with the male and female connector which helps in rapid prototyping and is compatible with the ADS7042 Booster Pack. It uses the EnergyTrace Technology.
The board features onboard buttons and LEDs for quick integration of a simple user interface and a liquid crystal display (LCD) that showcases the integrated driver with flexible software-configurable pins. You can quickly add features like wireless connectivity, graphical displays, environmental sensing, and much more.
INSTALLATION PROCEDURE
Free software tools are also available, including TI’s Eclipse-based Code Composer Studio and IAR Embedded Workbench. I used TI’s Eclipse-based Code Composer Studio 7, I downloaded it from the official TI’s website.
I had some issues while installation and the installation was showing error.
Then I went to the device manager.
In the device menu when you connect your MSP430 device you will find a HID option.
I clicked on it.
And updated the drivers of the device.
After the driver's update was done, I had two or three files of java and eclipse files missing and the installation was not completed. Then I installed the JAVA eclipse Neon version and copied it in the TI’s folder in the drive which was created during the unsuccessful installation, then I started my installation again and it worked.
CCS interface.
Out-of-Box Experience:
After connecting the Launchpad to the computer via the USB port. A green light was illuminated and I was greeted with a message on the LCD screen. This device has two inbuilt modes.
a). Stopwatch mode: This mode provides a simple stopwatch application. This was done by holding and pressing the s1 and s2 Buttons on the Launchpad and the timer mode was enabled.
Timer Stopped:
S1: Start time
S2: Reset time.
Timer Running:
S1: Stop time
S2: Split time (lap time).
Temperature Mode
This mode provides a simple thermometer application. It calculates the temperature of the MSP430FR4133 microcontroller chip.
S1: Pause current temperature
S2: Toggle temperature between °F and °C
The board also comes with 4 plastic rivets which provide the Launchpad stability and support and also prevent the board from contacting the bottom surfaces and keeping the electronics safe.
Then after studying about the MSP430FR4133, I connected the ADS7042 Booster Pack. First of all, I determined the proper orientation of the Booster Pack, as it could be on both the sides of the Launch Pad but if we select the bottom side then it would become difficult for us to work with the sensors on the Booster Pack.
So I decided to keep it at the top side of the MSP430FR4133 Launchpad
After all the connections were done I needed to communicate the Launchpad and the ADS7042 Booster pack. For that, I followed these steps.
1). Browsed the ADS7042 website and extracted the BOOST-ADS7042 _Firmware_xx.ino from the SLYC144 zip file.
2). Connect the MSP430FR4133 LaunchPad development kit to a PC using a USB cable.
3). Went to dev.ti.com using my web browser.
4). Clicked on the CCS Cloud Logo to launch Code Composer Studio Cloud.
5). Go to File>Import Energia Sketch file and select the file you downloaded and saved.
6). Load the Energia Sketch file (BOOST-ADS7042_Firmware_xx.ino) into the MSP430FR4133
Launchpad development kit by clicking Run
Below is an attached video(when I performed all the steps mentioned above and connected the device to my PC).
Changing the Sampling Rate of the ADS7042
• Press the S2 switch on the Launchpad development kit to increase the sampling rate of the
ADS7042.
• Press the S1 switch on the Launchpad development kit to decrease the sampling rate of the
ADS7042.
Changing the Display
• Press the S1 switch on the Booster Pack™ plug-in module to change the display from power
Consumption in μW to ADC code in hexadecimal.
The Booster Pack consists of an Ambient light sensor in it which helped me to check the strength of light falling on it. The measurement of the ambient light sensor can be directly measured with the ADS7042 by installing jumper J6 between pin 1 and pin2.
PROJECT TITLE:
Running the 12V Radiator fan of a Formula Student car with the help of ECT (Engine Coolant Temperature) sensor and MSP430FR4133.
Project Brief: The aim of this project is to run the radiator fan of a Formula Student car above 95 degrees and switch it off at 90 degrees and less.
The project setup consists of the ECT (Engine Coolant Temper) sensor of the car, Launchpad MSP430FR4133, two relays of 3.3v and 12v respectively, a resistor of 1000 ohms, 12v battery, and a multi-meter.
First of all, we made the circuit diagram in Eagle (software).
The Eagle circuit is attached below.
According to the circuit, we took the analog values from the ECT(Engine Coolant Temperature) sensor using the analogRead function.The sensor pin was connected to pin 11 of the Launchpad. Pin 18 of the Launchpad was used for the 3.3v relay. This relay activated the 12v relay connected to it. The 12v relay further runs the fan according to the instantaneous temperature. (We used a 12v relay because the fan requires 12Amps and the 3.3V has a current rating of 10Amps only).
For the ECT (Engine Coolant Temperature) sensor, we crimped two external wires which could fit in the male part of the sensor. The signal wire was connected to the Launchpad and the ground was connected to the ground of the Launchpad. The series resistor was connected to the 3.3v and the sensor pin of the Launchpad respectively. The 3.3v relay was connected to pin 11 of the Launchpad as a digital output pin.The relay connections were done as given in the schematic.
The ECT (Engine Coolant Temperature) sensor is a type of a thermistor whose resistance value decreases as the temperature rises. The value of the resistance in the ECT was taken by a multi-meter, as the serial monitor in my Energia was not working. I tried to find a solution to this problem but it didn't work out.
The Launchpad has 10bit ADC pins which only take values from 0-1023. Therefore the values from the ECT (Engine Coolant Sensor) were converted into Launchpad values.
After all the calculations and all the conversions were done, we entered the values in the code for 95 degrees so that the radiator fan could switch on above 95 degrees and switches off only below 90 degrees once it switches on.
The Variation of the ECT sensor with Temperature is depicted below using a line graph.
Tempraature (in 'C) | Resistance (in ohms) | Analog voltage @3.3V as VCC (V) | 10-bit Value |
20 | 1501 | 1.90438293 | 590 |
25 | 1315 | 1.79689441 | 557 |
30 | 1156 | 1.690957447 | 524 |
35 | 1047 | 1.609268747 | 499 |
40 | 952 | 1.530994152 | 475 |
45 | 856 | 1.444171779 | 448 |
50 | 777 | 1.366062866 | 423 |
55 | 692 | 1.274330357 | 395 |
60 | 623 | 1.193209518 | 370 |
65 | 546 | 1.094653706 | 339 |
70 | 488 | 1.014105793 | 314 |
75 | 433 | 0.932093933 | 289 |
80 | 376 | 0.840650407 | 261 |
85 | 343 | 0.784407484 | 243 |
90 | 287 | 0.682840663 | 212 |
95 | 246 | 0.603120357 | 187 |
100 | 215 | 0.539543726 | 167 |
105 | 200 | 0.507692308 | 157 |
110 | 189 | 0.48386346 | 150 |
The Project was done on CR16 which is an open wheeled weekend racecar fabricated by Camber Racing(The official formula student team of SRM University, Chennai).
Below is working demo of the project, hope you like it.
The Code for the Sensor was written in TI's Energia IDE and was written in C programming language. The code is given below.
Here is the Code:
const int lpin =18; // the sensor pin
const int rpin=11; // the relay pin
int val=0;
int preval=0;
void setup() {
pinMode(11,OUTPUT);// digital output for the relay
}
void loop() {
val=analogRead(lpin); // reading the analog values from ect
if(val-preval<0)
{ if(val<246) // if the temperature is above 95 degrees then only this loop will execute
digitalWrite(rpin,!HIGH);
else
digitalWrite(rpin,!LOW);
}
if(val-preval>0)
{ if(val>288) //the fan will get switched off below 90 degrees
digitalWrite(rpin,!LOW);
else
digitalWrite(rpin,!HIGH);
}
preval=val; // assigning the current value to the previous value
val=0;
}
Summary:
It was a great learning experience for me working with the TI’s MSP430FR4133 Launchpad microcontroller. I learned about the different IDE provided by the TI and how to work with them. The example and sample program were quite easy to use and it gave a good idea about the Launchpad and the IDE which I used. It is an impressive ultra low power device except the fact the serial monitor of Energia IDE was not working everything else worked fine and I was easily able to use the MSP430FR4133 Launchpad.
Finally, I am thankful to TI and Element-14 for giving me this opportunity to carry out the Road-test. I would also like to thank rscasny for sending another package as the first one was damaged when I received it.
Top Comments
Hi Enrico
We fabricate our own PCB's and breakout boards for all such applications. The breadboard won't go into the car.
Yes, vibrations is a major concern and therefore we positively lock each…
Thanks Harshit.
This is better than a lot of supplier documentation!
I like how you structured this roadtest review; new roadtesters should take note of it:
He starts with an overview then moves into an…
Thank you, Enrico
We are using this project on the running car. We had to put the setup outside only for the video demonstration. The LaunchPad is part of the dashboard components in the car and is used…