Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Fmilburn

  1. Hi @@altineller I tried to reproduce your problem on my TM4C123G LaunchPad. I hooked up the following with a 6V battery (reads 5.9 on my meter). Is this your circuit? If so, I was able to get the expected readings using this sketch: void setup() { Serial.begin(9600); Serial.println("Starting..."); } void loop() { float rawReading; rawReading = analogRead(28); Serial.print(" Raw Reading = "); Serial.print(rawReading); float Voltage; // NOTE: 3.3 is used for conversion since we are // using the default internal voltage reference Voltage = 3.3 * rawReading
  2. @@OppaErich Thanks for posting! I've signed up and I'm going to try it out...
  3. Hi @@colinives - I'm new to TI microcontrollers also but maybe my perspective is useful in that regard. One of the really nice things I've noticed about TI is the application notes and boards like the ones that @@bluehash linked to above. The 43oh community is also extremely helpful. Although you might not want to use that board it gives you a good idea that the microcontroller can do the job and a starting place for your design. Truth is, if an ATtiny85 can do it, I suspect any MSP430 could do it, and the low power modes and ability to run at low voltages are there. I'm experimenting with
  4. @@dubnet - I have already been bitten :-)
  5. I have been recruited to help teach a class on robotics this summer that is using the MSP430F5529. I'm a mechanical engineer by background so I've been studying hard so I'll at least be even with the kids when it comes to the microcontroller. 43oh is a great community - my thanks to all those that are helping us beginners out.
  6. I thought I would try the code from @@Nicu with some other LaunchPads. I don't have a C2000. Returning lots of zeros? Here is what I got on other LaunchPads: FR5969 - mostly 2's with a rare 3 F5529 - 2 about 2/3 of time, and 1 for 1/3 of time MSP432 - almost always 1 but the rare occasional 2048 or 2049 <<< this should probably be checked also CC3200 - always 1 Tiva TM4C123 - always 1 By the way, on an Arduino Uno this gives mostly 1s, with an occasional zero and occasional 2.
  7. @@johnrdorazio - I'm glad this worked for you. I don't think you need to use all 8 digital pins to display custom characters. You can do that using D4-D7 only. When you do, it just sends two 4 bit messages to the display controller in place of an 8 bit message. I don't think I've ever hooked up all eight.
  8. I have an Adafruit I2C RTC that I will try with the FR5969. I thought I had used it successfully in the past but when I pulled it up again this evening I didn't get it going right off the bat. Will try again and let you know if I am successful. UPDATE ======= I couldn't get the RTC to work when I tried again today - I do a Wire.begin() and then it calls a library where it freezes. I then tried with a LCD that has an I2C backpack. I got it running on the F5529 and moved it to the FR5969. It doesn't freeze completely but gives garbage on the LCD that changes from time to time. I c
  9. There is an easy way to do this using Energia functions that was posted by spirilis elsewhere. Here is an example: /* Demonstrates a way to utilize LaunchPad low power modes with the sleep(), sleepSeconds(), suspend() and wakeup() functions in Energia. The LaunchPad will blink the red LED 3 times and demonstrate sleep() and sleepSeconds(). It then goes into suspend() but will wake up and start over again if the button is pushed. sleep() and sleepSeconds() use LPM3. suspend() uses LPM4. */ void setup() { pinMode(RED_LED, OUTPUT); // Make red LED an output pinM
  10. I should add that you won't need to do all this if you put a copy of this in your library.
  11. Hello @@johnrdorazio I was curious about this after reading your post. I hooked up my CC3200 and after some investigation got the LiquidCrystal library to work by doing the following: 1) go to the File tab and use Open... Then navigate to energia-0101E0015/hardware/msp430/libraries/LiquidCrystal/examples/HelloWorld. You may have a different Energia version so adjust accordingly. 2) go to Sketch tab and use Add File... to add LiquidCrystal.cpp and LiquidCrystal.h which are in the LiquidCrystal folder in step 1) above. 3) change the line #include <LiquidCrystal> to #include "
  12. Fmilburn

    i2c LCD

    I recently bought a 20x4 LCD with I2C backpack and got it working. I've posted a working library (taken from DFRobot.com) and an example. While I've only used it with the 20x4 LCD it should also work with a 16x2. It has been tested on the MSP430F5529, MSP432P401R, and CC3200. These LCDs need 5V to work and you will need bi-directional logic level conversion. I've posted two circuits that work - one using two BS170 MOSFETs and another with a converter module I bought from Addicore. You can find it here on github. EDIT: I recently tried this library with a 16 x 2 LCD and it works wit
  13. There is code with very detailed documentation and many examples for these RFID modules here: https://github.com/miguelbalboa/rfid The examples are more complicated than the example here but if you want to see just about everything the module can do I recommend it. The examples include reading a card, writing to a card, dumping detailed information, changing the card user ID, etc. The examples and code run without modification except for pin connections with MSP430 LaunchPads. The pin connections I used are: Pin Connections ================================== RFID Module
  14. Hello Larry, I find C a bit cryptic myself. "Enrf24 radio(P2_0, P2_1, P2_2);" passes the LaunchPad pins that are connected to CE, CSN, and IRQ on your transceiver. You could change these pins if needed. The second question regards a statement in the TX example that is checking to see if anything has been received. The contents, if any, are in the array inbuf defined by the statement "char inbuf[33];" which is higher up in the program. Hope this helps.
  15. Quick note on the problems I was having above - one of my boards was bad. Replacement is working fine on F5529 with no change to clock or the example in the library.
  16. Good stuff - I've been looking for a clean way to do this! However, the wakeup() and suspend() functions don't appear to be documented on the language reference page of Energia. I wouldn't have found them without seeing this post. Are they documented elsewhere?
  17. Thanks for the quick response... Channels and bitrate/datarate are the same. I tried moving one radio into the next room and the rate of capturing the first packet quickly is higher now. I've been working on it and here are a couple of new observations... * it sometimes will receive one or even two "on" transmissions and then the "off". Of course at times it receives the "off" first. Regardless, it doesn't seem to receive any more packets after the first "off" * If I reset the receiver, it will work again until it gets an "off" * I tried putting one in transmit mode on a quie
  18. Hi, I'm having a problem getting the MSP-EXP430F5529LP to work with this library. Has anyone been successful using the nRF24 with the 430F5529? My hardware is: MSP-EXP430F5529LP cheap nRF24L01 transceivers I am using the library examples and the following pins: /* nrf24l01 MSP430F5529 Signal LaunchPad ----------- ----------- VCC 3V3 GND GND SCK P3.2 CE P2.7 CSN P1.2 IRQ P1.3 MISO P3.1 MOSI P3.0 */ Enrf24 radio(P2_7, P1_2, P1_3)
  • Create New...