Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by russcky

  1. Hi @@tml and @@cde, Did anyone try this and get it working? I have one of the early msp430f5529 boards (rev 1.4) and tried to power the board from an external source (5V) and it's not working. I pulled the jumpers from the FET, 5V & 3.3V first then tried powering using the pins at the bottom headers of the board and on the 40-pin headers and nothing. Just wanting to know if someone got this working.
  2. Hi @@RobG, found a way to do it using a snip of code from the link you shared
  3. Thanx @@RobG, yes I've been scouring the forums here and wearing out Google, but I'll keep looking. Thanx for the response, I'll post back here if I find out how to do it.
  4. I'm now working with the sample Nokia LCD code on the SparkFun site and it's working very well. https://learn.sparkfun.com/tutorials/graphic-lcd-hookup-guide/example-code-1-lcd-demo I'm now trying to figure out a way to get the included example bitmap image (an XKCD cartoon) to scroll across the screen (from off-screen-right to off-screen-left) but struggling with how to adjust the image in the "displayMap" array. Anyone use this code or do something similar?
  5. Hi @@calinp, The Petit FatFS library is working great, I'm able to read sounds, images and text files perfectly, but is there a way to have more than one file open at the same time? The library doesn't seem to support it, but I need to be reading sounds and images at the same time and my MSP430G2553 doesn't have the RAM to support buffering enough of either to do what I need. Looking at the library I was looking at using the lseek function to open each file and jump to the prev location, but I'm not sure of the consequences of doing so many open/seek/read calls back and forth or
  6. @@sirri, I only have 2 SD cards I have handy to test are 2GB or smaller. I'll see if I can locate any larger and test but a quick check tonight hasn't turned up any.
  7. Hi @@rotbeer and @@sirri, I was trying to use P2.2 for chip select CS but noticed the change in the library and now use P1.4. #define cs_pin 6 // P1.4 myerr = FatFs.begin(cs_pin,3); // initialize FatFS library calls I think this was my problem.
  8. I am experiencing the same problem, but my version of pins_energia.h seems to be correct based on the above comments. I have the latest version of Energia, 0101E0010 with MSP430G2553. The XIN and XOUT pins are not reacting correctly to the digitalWrite commands as the other pins are. Watching the pin via LED it pulses while communicating over other pins, like it's "communicating" not acting as the digital on/off I need. Is anyone else still having this issue?
  9. I have it working nicely with one, but Is it possible to control two Nokia LCD 5110's using this library? I would like to use them simultaneously and sometimes alternating.
  10. @@rockets4kids, I have Audacity already, will SOX audio library provide even more capabilities helpful to improving the quality of the sound produced? Trying to get the best sound possible for mono speech and some music (AM radio quality is fine, just need minimal noise).
  11. Anyone know of an easy way to convert audio files such as 'wav', 'mp3' or 'au' to byte arrays? The online tool in the article above didn't work properly for me. I'm getting an error something like this from his website: /var/www/vhosts/sci-toys.com/artists/libsndfile-1.0.25/examples/wave_to_launchpad /tmp/phpSuuJaI > /tmp/bar I thought I had found something during my searching last night but forgot to bookmark the app, and now I'm not able to find anything either as a program or web app. Anyone else saving audio as byte arrays to save on SD cards for playback on MSP's?
  12. I found exactly what I was looking for here: http://artists.sci-toys.com/speech This is working great!
  13. I've been looking for a while and can't find a good example showing how I can play any sort of music or speech files (mp3, au, wav, etc.). I've got a configuration setup that allows me to read files for things like LCD screens, I'm looking to read a music or speech file and play it through an amplified speaker. I'm not looking to make just tones, rather to play full music or speech files. I've found projects for Arduino such as (http://hlt.media.mit.edu/?p=1963), but nothing that works with MSP430 and Energia. Has anyone done something similar to this with Energia?
  14. Thanx @@mbeals, I'll see what I can get working and post back here.
  15. Hi @@mbeals, I'm trying to add audio off an SD card as well to my project. Just checking into seeing if your project was successful and what you can share that might be helpful? I'm using a Nokia 5110 LCD with images on it that I want to sync to audio at times. I'm using Energia and have the LCD pulling images off the SD card, but trying to find something similar to this Arduino project (http://hlt.media.mit.edu/?p=1963) where they are able to playback audio clips at will. Any suggestions or ideas on the audio work you did would be greatly appreciated!
  16. @@cde thanx for the help! I spent a little time and got it working with a quick hex2int function that I then converted back to the resulting character and could send it back to the write function: // grab 2 hex chars from file stream code[0]=buffer[i]; code[1]=buffer[i+1]; //convert 2 hex chars to single int value between 0-255 and then to single char before sending to LCD myScreen.write(0x0c, char(hex2int(code,2))); Thanx again!
  17. I'm having trouble reading hex bitmaps from a file on a SD card and getting them to display properly. I'm currently able to successfully: 1. Read text files from my SD Card. 2. Display bitmap images stored in the code as arrays of hex chars using a modified version of the 5110 LCD library where I made the 'write' function public. What I'm NOT able to do is successfully get a file of hex chars to display correctly after reading the chars in. I'm taking bitmaps from my program that are stored like this: uint8_t face_pic[]={ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0
  18. I have this working great but now I'm try send bitmaps stored as arrays of hex bytes to the 5110 LCD. Has anyone done this? I thought I could just use the write method of this library but it's private.
  19. Ok... solved the problem. After reading the source code I noticed that the CS pin on the SD card in version 2.0 and higher of the code was moved to P2.2 on the MSP430. That and a lot more debugging code and I found the issue! Now onto getting sound files to load and play!
  20. Hi @@sirri, I have the same setup as what you show in your pic and getting the same problem as you with "failed with rc=6". I noticed you have CS connected to P2.2 but that gives me a rc=1 error on the FatFS.begin call. Everything I'm reading says CS should be tied to P2.0 which lets the 'begin' work, but the 'read' and 'write' calls both give the 'rc=6' error. Did you get this working? Not sure how to share a pic of the wiring on the forums.
  21. I'm having the same problem of "Failed with rc=6"... has anyone solve this problem?
  • Create New...