Jump to content
43oh

Fmilburn

Members
  • Content Count

    618
  • Joined

  • Last visited

  • Days Won

    81

Everything posted by Fmilburn

  1. There is always this I suppose : https://m.youtube.com/watch?t=30s&v=retGdoV-IlQ&feature=youtu.be
  2. I have successfully used this library with the NEO 6M, Energia and a F5529: https://github.com/anorse/NorseEngineering_GPS If I remember correctly, all I had to do was change my the pins. It may work with the G2553.
  3. For energia look at this example: https://github.com/fmilburn3/Energia_LPM
  4. Tagconnects are a good idea. I have some pogo pins on order and see what I can do with those first. The gator holes are large and awkward for what I want to do so I am thinking about some kind of snap connect to replace those.
  5. My grandson and I have been upgrading the airplane from last year. In addition to the existing jet exhaust, spot light, and voice feature we have added lots more LEDs and changed the power supply to two C batteries. Now that 1 watt spotlight on the nose can really shine. There is a new G2553 to play a song and make space noises- we are calling it the radio - through a piezo crystal while a RGB LED provides synchronized visuals. I designed a simple G2553 PCB for wearables which will be used for my granddaughter's costume. It uses a coin cell for power and the plan is to blink LED
  6. @@spirilis Do you think you will apply the RTOS code / techniques developed in this course directly in your own projects or is it more a good educational experience on how things work? Just curious...
  7. Hi @@morelius21 You are not reading A0, A1, etc. with your code. You are reading pin numbers. See the pin map at http://energia.nu/wordpress/wp-content/uploads/2014/01/MSP430F5529.jpeg In your loop, you are reading pin 0 first (doesn't exist), and then pin 1 (3.3V), etc. What you should be doing is reading from pin 23 through 27.
  8. TI has updated the Battery BoosterPack, price is $24.99 USD from TI: 3.7V 12000mAh lithium polymer battery On- board lithium polymer charger On- board gas gauge USB charging with indicator LED Battery status outputs
  9. It's Halloween again... Is anyone else going to do a project? Since the airplane from last year was a hit I have received new requests. I've been asked to update the airplane with more lights, sounds, and switches. I also have a request for a princess tiara and magic wand from my favorite 3 year old and a blinky wagon to pull a one year old who will be dressed as a killer whale (orca). I ordered a sound board, various LEDs, and switches from Aliexpress and am hoping they get here on time.
  10. I finished the first section a while back and had to put it aside for a while but am ready to get started again. It isn't what I thought it would be when I first read the title but I'm enjoying it too....
  11. @@686plus You could use sleep() / sleepSeconds() to periodically check if the light is blinking.
  12. https://www.element14.com/community/docs/DOC-83323/l/episode-256-ben-heck-s-ti-launchpad-plant-booster-episode?ICID=BenHeck-episode-topban
  13. Are there any other differences between the red and black Launchpad boards? According to section 4.1 of SLAA 700 they moved the reset button, P1, and P2, and it supports a new debugger. Not only did I buy a couple of these, I bought the Valvano book which is now at least somewhat out of date and will think twice before buying pre-production releases again.
  14. HI @@686plus and welcome to 43oh. Here are some suggestions. I'm not sure what happens when you pull GND, 3V3, etc. low but I wouldn't do it. Pull P1.0 - P1.7 low and P2.0 - 2.7 low instead. See the pin map for pin numbers, e.g. for the G2553 the pins are 2,3,4,5,6,...15, 18, and 19. There are also some hidden pins (port 3) but you probably don't have to worry about them. Search the site and you will find more information. There is also this. You can use suspend() and then inside your ISR use wakeup() instead of a flag. See this example for an understanding of how it works. Don't u
  15. Arrow Electronics has free shipping on all orders in the US and orders over $50 for overseas during the month of September. https://www.arrow.com/ Also, they are advertising 20% off for students and professors with valid .edu email addresses. I'm not eligible so don't know how that works. https://www.arrow.com/en/campaigns/classroom-components
  16. There are sources of error in any measurement and to get better precision and accuracy you need to examine and address the sources. For example: The duration of the measurement as already discussed The accuracy of the clock - which one to use? An external crystal? Is the temperature fixed and stable? How stable is the voltage source? See for example the tolerances of the DCO in the datasheet. A half % error due to this is entirely possible if not using an external crystal. Latency in the code - for example, when the timer is stopped there are CPU clock cycles that elapse before the meas
  17. @@aam RE: use of CounterLib - your code is below void setup() { Serial.begin(115200); MyCounter.start(); // start counter, divide clock by 16 } void loop() { MyCounter.reset(); // reset counter to zero delay(10); // wait 200 milliseconds Serial.print(((MyCounter.read()))*100); // read counter, calculate kHz Serial.println(" kHz"); delay(1000); // wait one second } Let's say you are trying to measure 125 Hz, i.e something that has a period of 8 ms. You have set the delay above in loop() to 10 ms. Accordingly, the counter wil
  18. For those who may not have seen it, the black LaunchPads with Rev B pre-release MCU are being phased out. New red LaunchPads with a revision C production device are replacing it. The announcement in e2e is located here. There is information on timing and compatibility with CCS located here. A quote from the second link: TI recommends that you update all hardware and software be updated to latest Revision C devices. Support for MSP432P401R on CCS cloud (dev.ti.com) and via MSP432Ware have been updated to match Revision C devices. Pre-production Revision C samples can be ordered online
  19. It is not the same model as the ones in your original link. It is in an aluminum tube and the top unscrews. The little PCB inside has components on both sides - nicely soldered SMD parts on one side and hand soldered SMD on the other. The hand soldered side is really bad.
  20. I set my expectations low for these cheap no-name items. That way I am not disappointed and sometimes pleasantly surprised. The soldering is quite bad on this one and take a look at the pin on the right that was apparently shorted. No QA apparent at all.
  21. The course started yesterday and the content of the first couple of videos is very familiar . I haven't gotten very far but I am not sure it is going to be what I thought it would be. Separately I received my CC2650 BoosterPack module in the mail today - which will be used in the course. I need to figure out something to do with that second module. In the photo below the module soldered on the BoosterPack is far left. The module PCB blends in with the BoosterPack PCB so it is hard to tell the size. At bottom right the second module that comes in the box is flipped upside down to show
  22. @L.R.A I ordered a different one which arrived last week. Unfortunately it did not work at all. I took it apart and the battery is dated 2013.04.16 so it had been sitting around a while.
  23. Hi @@aam, A while back I posted some Energia projects that were to be used as lessons for High School students. You can find them here: http://forum.43oh.com/topic/8766-energia-sensor-code-and-library-examples/ Keep in mind that these were written by a self taught hobbyist (me) for Energia beginners so expect simple concepts and demonstrations only. In any event, there is one that uses a photoelectric sensor as a tachometer that you might want to look at: https://github.com/fmilburn3/Tachometer_CNY70 Also, see CounterLib which is well written and documented and counts pulses.
  24. It doesn't have the cool adapter for the LaunchPad and a few other items of the Sidekick Basic Kit but there is this one from Adafruit: https://www.adafruit.com/products/2975
×
×
  • Create New...