Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Fmilburn

  1. Off topic I suppose, and shows my background isn't EE, but why are MSP430s restricted to 16-25 MHz? Why aren't there 50 MHz MSP430s or faster?
  2. @@veryalive I use a version of this code posted by oPossum: http://forum.43oh.com/topic/1913-frequency-counter-using-launchpad-nokia-5110-lcd/
  3. Hi @@gr8going See the pin map and documentation here: http://energia.nu/pin-maps/guide_cc3200launchpad/ The statement just above the pin map says... Apparently pins 39 and 40 are not connected. Edit: See below....
  4. Hi @@Rei Vilo, The link you give above results in a page not found
  5. No, that is not multitasking. It is sequential, i.e. doing a series of things one after the other in the order you have described. One task after the other so to speak. Less than 1% of the examples you are likeky to encounter written in the Energia or Arduino environment will use a RTOS. You can find lots of references on this if interested. For those with a computing science background, please excuse my loose language.
  6. Hi @@serdarq You don't need multitasking for the application you have described. It is unlikely you will need it when starting out.
  7. Hi @@B@tto Did you use "Free Run" under the Run tab? If I remember correctly this disables some of the debug capability that would otherwise use energy.
  8. I second the MSP430 value line with BLE
  9. Hi @@lilyhack, I don't use the TM4C129 and am not familiar with that sensor, but here are some thoughts.... In the link you have posted there is a link to a datasheet. Of interest: The supply voltage to the sensor, assuming a LaunchPad is powering it, will need to be 5V The offset voltage will be Vcc/2 or 2.5 V Voltage will go up or down by 0.017 V per A depending on whether current is forwards or backwards I can't remember if the TM4C129 pins are 5V tolerant or not. It seems like they are, but in any case you don't want the voltage to go above say 3.3 V for measurement. With only
  10. @@serdarq It should work with the TMC1294 as it is supported by Energia, but I don't have one to test. Do you see the file Adafruit_MAX31855.h in a second tab inside the Energia IDE? Same with any .cpp files? It should look something like this:
  11. It is an interesting idea. Maybe some of the more useful non-trivial functions that are otherwise a pain to set up and are frequently used. Properly documented as to what timers are being used, etc.
  12. I didn't use that code but it appears to be the following: sous_vide.ino is the Energia sketch that inputs temperature, calculates and sends the output signal to the crock pot using the PID library, and outputs status on an LCD and to a Temboo account ADS1118 is the library for the temperature sensor I can't really comment much more than that. You might look at the Adafruit site that TI_Trey references: https://learn.adafruit.com/sous-vide-powered-by-arduino-the-sous-viduino/sous-vide
  13. Fmilburn


    @@Ymir I ran another series of cases using the parameters that you specified above, i.e. #define LOG2N 10 //log base 2 of the number of points, e.g. LOG2N = 8 is 256 points #define FREQ_RESOLUTION 1 //Frequency resolution of output in Hz #define ANALOG_IN 6 //analog input pin #define ANALOG_RESOLUTION 12 //CPU specific The input to the FFT was a clean square wave from an AD9850 as described in this thread: http://forum.43oh.com/topic/9402-ad9850-frequency-generator-boosterpack/ I am still using my original code with Energia v17 and a TM4C123.
  14. Hi @@serdarq I presume you are trying to run an example that came with the library you are trying to install. Try this.... change #include <Adafruit_MAX31855.h> to #include "Adafruit_MAX31855.h" Using Sketch -> Add File... in the menu bar, add Adafruit_MAX31855.h. It should be in the folder just above the example. There is probably an Adafruit_MAX31855.cpp or other such files also. Add them if necessary too.
  15. @@beniopas The sous vide projects described above will not meet the specifications you have laid out. You haven't provided much information but here are some observations... Maintaining temperature to 0.1 deg C with a 1000 W heater won't be an easy task unless you have a large well insulated bath and are maintaining a constant batch temperature. Expect changing temperature to a new set point in the range of 1 to 90 deg C to take a good while if you can't tolerate overshoot of more than 0.1 deg C The DS18B20 is only accurate to +/- 0.5 deg. C in that range It is not possible to design a P
  16. Hi @@beniopas and welcome to 43oh I made this one quite some time ago but did not document the build. It is simple enough though. I put it in a weatherproof outdoor enclosure with a 2x16 LCD for that old school industrial look. All the holes and cuts were made with a drill press, rotary tool, and a file to clean things up. The temperature sensor (DS18B20) is inside a whisk from the dollar store to hold it away from the wall of the crock pot and food being cooked since I thought this would give a better indication of the bath temperature. I didn't implement WiFi. I played with the PID co
  17. Fmilburn


    Wow. You have stretched it well past what I originally did. The intermittent nature of the error is interesting. Is there a primary and secondary blip in the data? The plots you post above show a single strong spike. Can you generate a known clean signal instead of the amplifier from the guitar and see what happens? Nice project by the way.
  18. I agree with chicken's suggestion and have had pretty good luck porting Arduino code to Energia as long as there isn't extensive AVR specific code.
  19. Fmilburn


    I am guessing that you have set the parameters wrong for the fft and it is outside it's range. In the original code I had a table in fix_fft.h that showed the highest frequency that could be measured with different values of LOG2N and FREQ_RESOLUTION for the MSP432. Perhaps you have modified the values outside the range of the table and it is isn't covering your range? I ran a couple of cases real quick to see how it performed at lower frequencies since I haven't done that before. I was using a Tiva TM4C123 LaunchPad and Energia v17 at 80 MHz. First, set the parameters: #define LOG2N
  20. Fmilburn


    In the first post of this thread I copied the debug output into a spreadsheet and plotted it. Can you do that and post the graph? Include all the parameters you are using so the results can be duplicated. At the end of the day though I am not how sure how accurate this is going to be.
  21. Here is something I hope we continue to see on all LaunchPads.... The MSP432 has nice large mounting holes on corners. It makes it really easy to mount or just to put standoffs in the corners for a stability and to keep it off the desk. Providing the standoffs like was done on the FR6989 is even better.
  22. Hi @@zico The following is from the MSP432 quick start guide pin map... A8 is P4.5 and located on pin 27 of the LaunchPad A9 is P4.4 and located on pin 26 of the LaunchPad I think I got that right but haven't tried it yet but will do so when I get a moment. You can either change pins_energia.h to the above or refer to pin 26 in Energia to get A9. Pins are numbered like this on the LaunchPad (the starting and ending numbers are shown at the top and bottom of the headers): 1 21 40 20 2 22 39 19 .... 8 28 33 13 9 29
  23. I have one of those metal rulers too :-)
  24. Hi @@gazagda and welcome to 43oh The following lines of code seem to be the problem: while(endsWith(buffer, "GET /H")){ digitalWrite(GREEN_LED, HIGH); delay(2000) ; // 2 second delay , want green led to flash off and on every 2 seconds, when the red led is on digitalWrite(GREEN_LED, LOW); } Once it enters this while it continue forever since buffer never changes. To fix this you need to do as Rei Vilo suggests which works great or set up a variable that t
  • Create New...