Jump to content
43oh

displacedtexan

Members
  • Content Count

    29
  • Joined

  • Last visited

Everything posted by displacedtexan

  1. Awesome! That was it! Used an R/C reset circuit (as in your diagram that I overlooked) and works advertised. Thanks again..
  2. Thanks for the suggestion. Unfortunately still a no-go.
  3. This time with pictures...
  4. I purchased a blue backlight 5110 from ebay and am having trouble getting to work. I have tied SCE to 1.0, RST to GND, D/C to 1.1, DN to 1.7, SCLK to 1.5, LED to VCC, and made the GND and VCC connections. After compiling and loading it onto two different rev 1.5 launchpads with 2553s, I get nothing but the blue backlight. I know the display works because I got it working with an Arduino (using 10k current limiting resistors vice a level shifter). Any ideas what this newb is doing wrong?
  5. Sorry for the slow response, real life got in the way... This is just for fun to get to know the tools. I took a few EE classes in college 10 years ago and wanted to learn/re-learn some practical electronics. The board was simple by design. Wanted to start out slow and make sure I understood all the steps and increase the complexity incrementally. Even the simplest projects seem to be harder than I expected. Like getting the BMP085 to work. How hard could it be to get i2c to work? It was much more of a challenge than I expected. I think I'll add another set of headers to conn
  6. Thanks for the comments... I actually uploaded the wrong file. I had used auto-routing, but not the ground plane. I've updated what I meant to upload, and work on the ground plane, tomorrow. Thanks!
  7. I have a BMP085 pressure sensor, an analog humidity sensor (HIH-5031-001), and a digital ds1820 temp sensor working on a breadboard. I am trying to create a booster pack with a 6 pin header for the pressure sensor, two 3 pin headers for the humidity and digital sensors, and a 2 pin header for serial out along with two 10k pullup resistors for the pressure sensor. Attached is my first attempt at Eagle. Am I on the right track? I appreciate any and all comments! Thanks! weather.brd weather.sch
  8. Did these ever get made? I would be interested in the through hole version...
  9. Quick question larsie... Just so I understand there are really three different libraries being used with the air booster pack. Anaren's and two TI ones. The BSD license one quoted above [slaa325a] and another one that is some other license (includes the mrfi library stuff)? I am just getting started and was a bit confused about the two different offerings from TI... Thanks!
  10. I am interested! How did you decode the sensor data? I spent the first few years of my undergrad years as an EE, but unfortunately was not able to finish so a bit of a newb with this stuff.
  11. Well, welcome back. I was one of those guys who asked for your code (via this forum) and you were nice enough to respond. I must have asked nicely I have a similar long term project... I would like use the MSP430 as a solar powered wireless weather station. I took your BMP085 code and turned it into a library and added a Honey well analog humidity sensor. I have it transmitting via UART to a ASUS WL-520gu Wireless Router which reads the serial input and uploads it to a webserver. I might just switch to a Simpliciti based solution, but haven't gotten around to it. I am currently
  12. Anybody with any extra's I could take off of their hands? TIA...
  13. oPossum, Great stuff! Once again, this forum has allowed me to do things that I am not smart enough to do on my own! So, I am trying to use oPossum's code and am having troubling displaying the values using the UART from a 2553. dht_buffer should hold an array of 6 bytes, the start bit, the 4 data bytes, and the checksum. It's my understanding the first data byte holds the left hand side of the decimal point of the humidity value, the next the right hand side, the third the left hand side of the temp in celsius and finally the right hand side of the temp all in binary.
  14. Here is a link on how a guy bit banged the protocol using an arduino: http://sheepdogguides.com/arduino/ar3ne1humDHT11.htm The tutorial is written at a level that I think I could even do it given enough free time. Unfortunately free time is at a premium these days.... Good luck!
  15. Very basic newbie question here... I am playing with GRACE, specifically the Analog to Digital capabilities. What would be an appropriate Signal Bandwidth value for a fairly constant DC voltage? This option is found under the "Basic User" button of the ADC10 page. I have a vague understanding that this value is associated with how often the ADC will sample the configured input. I don't anticipate my voltage will fluctuate quickly. I will be measuring the voltage coming from an HIH 5030/5031 low voltage humidity sensor. Thanks!
  16. gwdeveloper, that's it! I don't suppose you have played with one of those DHT22 humidity sensors? They are pretty cheap, but seem to use a non standard 1 wire interface. Probably a bit too complicated for me to get working... Thanks!
  17. Hmm... I just downloaded it and imported it into CCS v5.1 and get the following errors when I try to compile: Description Resource Path Location Type errors encountered during linking; "bmp085_2553.out" not built bmp085_2553 C/C++ Problem unresolved symbol uart_TX_isr, first referenced in C:\Users\Jason\workspace_v5_1\bmp085_2553\src\csl/csl.lib bmp085_2553 C/C++ Problem unresolved symbol watchdog_isr, first referenced in C:\Users\Jason\workspace_v5_1\bmp085_2553\src\csl/csl.lib bmp085_2553 C/C++ Problem unresolved symbols remain bmp085_2553 C/C++ Problem I went back
  18. GWD, Thanks for the post and files. I am a noob and tried to do something similar with the BMP085 and MSP430G2231 when the launchpad was released and never could get I2C to work correctly. Given the flash limitations of that chip, not sure it would have been possible... Your work inspired me to update ccs, install grace, and get it working! BTW, for any other noobs reading this, you will need to attach pullup resistors to SCL & SDA, jumper the TXD and RXD pins since they seem reversed on the 2553, and remove the jumper for pin 1.6 that connects it to the Launchpads LED2.
  19. Thanks for taking the time to look at it cde. I had not commented out the internal pullups in i2c.c, but just did and get the exact same result. Thanks!
  20. Truly excellent work. I finally managed to get it working. Kind of like an i2c buspirate for the MSP430. On to my question. I am testing your i2c Explorer with a DS3232 RTC. It uses the same address registers as the more popular DS1307 RTC. I am having trouble reading back the time. Code to set time: i2c> [hxd0 0 0 hx30 hx09 hx02 hx07 hx09 hx09] i2c START WRITE: 0xD0 Ack WRITE: 0x00 Ack WRITE: 0x00 Ack WRITE: 0x30 Ack WRITE: 0x09 Ack WRITE: 0x02 Ack WRITE: 0x07 Ack WRITE: 0x09 Ack WRITE: 0x09 Ack i2c STOP Code to read time: i2c> [hxd0 0 [hxd1 r r r r r r r r]
  21. Yes, I get MSB and LSB = 0xFF which is not valid. Thanks!
  22. Thanks for all the tips. First things first. Apparently with i2c 0x00 is an ack and 0x01 is a nack, so it seems as if the first part of my code is in fact working just fine. I am just having problems with the i2c_read8 function which should allow me to receive the MSB and LSB of the temperature from the sensor. @simpleavr, I have chosen to use external pullup resistors and have commented out the internal pullup resistors. I also changed the speed to what was in the TI code (ie USIDIV_3). The new i2c.c code is: #include "i2c.h" #define SDA BIT7 //P1.7 #define SCL BIT6 //P1
  23. Here is a picture of my setup: I am using a BMP085 breakout board from ModernDevice. In essence, SDA is the D pin and SCL is the A pin. Any other ideas? I have disabled the onboard pullup resistors since I am using external ones... Thanks!
  24. Yes, I did grab your code from the lcd-project. I'll have to look at the i2c explorer code. Since the LSB in 0xDC is 0, which is a nack, there is still a problem... There is a common ground... I'll post a picture later. Regardless I'll track down your code and try again. Thanks for the quick response!
  25. I am trying to communicate between my MSP430G2231 and a BMP085 pressure sensor (datasheet) via I2c. Relevant parts of the data sheet: I have started by using CDE's i2c library. I have also added a read function: #include #include #include "i2c.h" #define SDA BIT7 //P1.7 #define SCL BIT6 //P1.6 #define LED BIT0 //P1.0 void i2c_init(void){ P1DIR |= SCL | SDA | LED; // Set SCL, SDA and LED as Output P1REN |= SCL | SDA; // Set Pull-Ups on SCL and SDA // enable SDA, SCL, SCLK, i2c mode, MSB, output enabled, hold in reset USICTL0 = USIPE7 | USIPE6 |
×
×
  • Create New...