Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Fmilburn

  1. There are several posts on 43oh using IR, for example: The post above describes hardware I used and links to others. If you use Energia, look for Arduino projects and tutorials as most should work. For example, look on the Adafruit site which also sell hardware.
  2. I suggest looking in the language reference and getting familiar with it, e.g. http://energia.nu/reference/en/language/functions/communication/serial/begin/ You have not specified the board you are using and some do not offer multiple serial.
  3. Hmmm... that code looks familiar. Energia implements an interrupt with change, probably by the method that jsolarski suggests above. I don’t use Energia much anymore but it is open source so you can have a look at that if you are interested.
  4. Try replacing the call to software serial with Serial1 or other hardware serial.
  5. Hi @mph It is good to see someone new contributing code. Nicely written and commented.
  6. I am not sure if Energia supports it on the TM4C123 but try using hardware serial - eg Serial1 or Serial2 instead of software serial http://energia.nu/reference/serial/
  7. The TI store has 10% off selected LaunchPad and tools with free shipping for the next week. http://www.ti.com/store/featured/junemidyear2018.html?HQS=ecm-tistore-promo-junemidyear18-bhp-lp-null-wwe
  8. TI has listed a solution here: http://www.ti.com/tool/MSP-EXP430F5438 http://www.ti.com/tool/cc256xmspbtblesw The CC2650 seems to fit your requirements and you can get additional help on e2e if needed.
  9. My memory must be faulty. I had a quick look at the Adafruit code and don't believe it will work without a fair amount of modification. They are using direct register reads in some cases which is not difficult to fix but they also seem to be blocking and counting loops to determine time which is not good practice. I mostly used the DHT22 but do remember getting the DHT11 working at one point. Most of the libraries seem to handle both. Unfortunately I did not put my code in github or otherwise document it so can't give much more guidance.
  10. In the distant past I have used the Adafruit library with the DHT11 and don't remember having a problem. I normally use V17 of Energia with the G2553. Make sure you get the pins right and list both the pins used and a link to the library when asking for help. Arduino code that makes hardware specific calls will not work without porting whether to a MSP430, Teensy, ESP, etc.
  11. @Balwinder You have double posted your question which is to be avoided. Did you try the modified Energia version I posted above? There are also TI CCS examples and the driverlib I posted above.
  12. Hi @Amanchaturvedi You don't say whether you are using CCS or Energia.... I have not used the CC3200 in quite some time but the Pxx numbers on the silk screen which are barely legible refer to the package pin numbers - refer to table 3.1 of the datasheet: http://www.ti.com/lit/ds/symlink/cc3200.pdf According to the datasheet there are two UARTs. You can multiplex them with CCS. In Energia it is possible with some LaunchPads to have Serial1 but I don't know if this is possible with the CC3200. Have a look at the pin map and try - probably pin 9 is TX(1) using the standard
  13. There are quite a few threads and links to SD libraries in the forum. Do a search for “energia SD” or something similar.
  14. I did not have problems but only used it one project and did not test all peripherals. I see that the links that Rei Vilo has provided are quite recent and by people who are more familiar with Energia than I am. I would start with those... I find the TSSOP packages easy enough to hand solder.
  15. I am just guessing on the schematic. It looks like pins 15-18 on the shuttle_con go to U1, the BMI160. I suspect you need to make your connections from the LaunchPad to pins 4-7.
  16. Hi @ckd I don't know that anyone is using this device with the TM4C1294 or Energia. Have you tried searching for Arduino libraries and porting them or at least looking at how they have implemented?
  17. Hi @CptSky You haven't provided much information - no code really, no information on the microcontroller, the pins used and how they are connected, etc. If you have commented out code as described in your first post then of course there will be no output if TIMER_PWM_PIN is P2_3. //pinMode(TIMER_PWM_PIN, OUTPUT); //digitalWrite(TIMER_PWM_PIN, LOW); // When not sending PWM, we want it low I don't think it is possible to give meaningful help without more information.
  18. I have developed for a couple of other MSP430 versions that were not already in Energia, although not lately. The easiest way is to start with something quite similar and modify pins_energia.h and modify the boards.txt file as needed. The G2955 is a nice microcontroller that might meet your needs. If so, I have placed the pins_energia.h file and directions for modification of boards.txt and installation here. It was developed for, and the directions for installation are for Energia V17.
  19. I have two MSP-EXP430G2 V1.5 LaunchPads and have used them for many years without a problem with serial print on various versions of Windows including 7, 8, and 10. I have also made many custom boards using the G2553 without a problem. Having said that, I would not recommend the MSP-EXP430G2 LaunchPad for developing the MSP430. Get one of the newer LaunchPads like the F5529, FR2433, or FR6989. They work well with Energia if you want to use that, can be used to program the G2553 if you really want to use that (and the only reason I can think of is the DIP package but it isn't that much mor
  20. @binbsoffn have a close look at how the SPI approach works: It is simple, elegant, and quite precise with minimal processor cycles It even wotks with Energia. Now try it with timers... You will need to switch back and forth on timer settings during output. Can you make it work?
  21. Did you make a jig and follow the procedure in the Adafruit link? What value are you seeing for g? A value of 9.8 would be close for SI units. However if it is reporting g-force the value should be close to 1. I don’t have this sensor but cannot understand why a correction cannot be made if the sensor is giving relatively constant values at rest.
  22. Don’t double post, it is bad etiquette. If you have a look at the datasheet you will see that the device is quite linear. You can improve calibration by recording values at 1g and correcting for offset. The datasheet also shows the influence of temperature. Also see https://learn.adafruit.com/adxl345-digital-accelerometer/programming
  23. Hello @Turan2018 I am not a gamer but if you are using Energia then code written for other Energia compliant devices using the same BoosterPack will likely work for the FR6989. Code written for Arduino can be used as a starting place but any hardware dependent portions - such as that written for the display or Atmel specific code - will need to be ported. I would do a search for your Boosterpack first and understand how it works first - especially the display If you are using CCS then there is considerable training available, e.g. http://processors.wiki.ti.com/index.php/Get
  • Create New...