tonyvs wrote:Hi
The preasure sensor is hobbytronics.co.uk. The model number is MPL3115A2 Altitutude Sensor. The pins are labeled I2, I1, SDA, SCL, 3V3 & 0V from pins P1.2 to 2.1.
I think the board responds to the configuration setup mode. This is what I have done:
1. I switch on the board, whilst holding down the Mode button I press and then release the Reset Button.
The Red and Green LEDs come on and stay on.
2. I release the mode button.
The Red LED alternates between ON and OFF approx once every second.
The servo rotates backwards and forwards until I press the Mode button again.
I attach a video so you can see it.
Hope this gives you some clues as to what is wrong.
Thanks.
That troubleshooting actually nails down the issue. The MSP430 cannot communicate to the sensor for some reason. It appears the green board is positioned correctly so that leaves a few possible causes:
1) The MSP430 Chip is damaged or defective. Did a spare MSP430 come in the package with your LaunchPad? You can try swapping it out and programming the new chip. Just pry the MSP430 up with a small screwdriver and it will pop out of the socket.
2) The MSP430 Chip is not plugged in correctly (check the leads are not bent under the chip).
3) The sensor green board is not soldered well to the Launchpad. It's hard to tell from your images, because you used a lot of solder and the images are not the highest resolution, but if the sensor is not making contact with the pins, the sensor can malfunction. You could try touching up the solder joints of the sensor board.
4) There is a short circuit on the sensor solder connections. Look for any excess solder that might be connecting adjacent pins on the sensor board or Launchpad. Sometimes these are too small to see with the naked eye, so look with a magnifier.
5) Something is incompatible between the sensor you use and the one called out from Sparkfun. We will check into this.
6) The sensor was shock damaged somehow. If you ever had the sensor on a rocket and crashed it hard, it can kill the sensor. Similarly, stepping on it or whacking it can break the sensor as well.
7) The sensor was static damaged by a zap of static electricity. It's possible it was hit with a static discharge, like any electronics it can be damaged by this.
The sensor board is simply defective. It's always possible the manufacturer did something harmful to the sensors while manufacturing the boards or assembled it incorrectly.
That's a pretty comprehensive list of every possible malfunction of the sensor. Hopefully something pans out.