Jump to content
43oh

Fmilburn

Members
  • Content Count

    618
  • Joined

  • Last visited

  • Days Won

    81

Everything posted by Fmilburn

  1. @@MSPLife You don't say whether or not you are using surface mount components. But if you are then carefully check adjacent pins on the microcontroller for solder bridging. Even if you cannot see them, check with a multimeter.
  2. @@cubeberg Yes, I have signed up for it. I took the Embedded Systems course also. It will be interesting to see how they treat RTOS.
  3. There is an edX course coming up in September from the University of Texas in Austin - this time with MSP432 or TM4C123 LaunchPad. The parts list also includes the CC2650 and Educational BoosterPack MK-II. The syllabus includes BLE and RTOS. It is taught by Jonathan Valvano and Ramesh Yerraballi who have offered a course using the TM4C123 on edX in the past. https://www.edx.org/course/real-time-bluetooth-networks-shape-world-utaustinx-ut-rtbn-12-01x http://edx-org-utaustinx.s3.amazonaws.com/UT601x/RTOS.html edit: forgot to mention that these courses are free if you just audit th
  4. Googling will find lots of examples - eg: http://users.ece.utexas.edu/~valvano/Volume1/E-Book/C14_ADCdataAcquisition.htm Valvano has a course on edX from time to time. There are also the TI examples for CCS and the Energia examples.
  5. Hi @@JohnFergus and welcome to 43oh Which post and parts are you referring to? You can get Rob's attention by using @mention
  6. Hi @@Thinhnguyenky and welcome to 43oh... The library for the card reader has a number of functions that allow the user to access and use the device. Mfrc522 Mfrc522(chipSelectPin,NRSTDP); - creates a new instance named Mfrc522 that can be used to access the library Mfrc522.Init();" - initializes the device using the instance specified above Mfrc522.Request(PICC_REQIDL, str); - requests information from the card reader The examples give simplified code that demonstrates how they work. If you need a beginner's guide on how a library works see this: http://energia.nu/guide/tut
  7. Hi @@SimpleThings, and welcome to 43oh. That is a problem with much of the inexpensive hardware on eBay and other such sellers - there isn't much documentation. I am not familiar with that device. It should work, but be careful if the receiver will only work at 5V, and not 3.3V. If so, it will need logic level conversion. Regarding the library, yes it must be installed. The pins will probably need to be changed and modifications to the code will be necessary if there are arduino specific calls to hardware - e.g. timers. Regarding the device, since there is no documentation, yo
  8. Test from Windows 10 - the first just has the link posted in without text and the second has the link posted over the word gnu Long mouser link: http://www.mouser.com/new/Texas-Instruments/ti-lmz34202-power-module/?cm_sp=homepage-_-newproducts-_- and gnu Seems to work.
  9. Wow. An amazing number of examples and great documentation.
  10. It may be worth waiting for the next release of Energia to see if that is addressed. It appears there are other changes, such as the IDE, that will occur as well.
  11. Hi @@monsonite There are already a lot of LaunchPads being maintained by the Energia team and I imagine they have to manage their resources. Maybe the @enegia will comment on plans. I recently bought a MSP430FR5994 LaunchPad and really like it for the reasons you have outlined above. I think it would be a good addition and had a look at porting it - should not be too difficult. If there is interest, and there are no near term plans for official addition to Energia, then I am willing to give it a go. I have ported a couple of the G series successfully. The problem with these indiv
  12. Hi @@pokmo You will of course get faster and tighter code by rewriting the Arduino sketch for direct access to the underlying hardware regardless of the toolchain / IDE / compiler. However, if you are going to port Arduino code, as opposed to rewriting it, then it would be best to use Energia. The MSP430G5529 is a good choice. It has lots of resources, runs at 25 MHz, has USB, and the Energia implementation is mature. CCS can be used with Energia on the F5529. With regards to porting, try compiling the code in the Energia IDE first and see what errors occur. Often it will work with
  13. @@yyrkoon - There are plenty of people who know more about these things than I do on 43oh, but here goes. I am pretty sure they will correct me if needed.... Common Ground - By this I mean that GND on the LaunchPad and ground on your external board should be connected with a jumper. Assuming it is a good wallwart that only provides 5V then USB would handle it if it somehow got back. If there is a risk of higher voltages I would not be so comfortable without isolation. There is risk of accidentally putting 5V to a GPIO on the microcontroller if the external board is at 5V. I have done tha
  14. You can do what I described with a G2 LaunchPad, I just prefer the other. Will the external board and LaunchPad arrangement share a common ground and are the pins limited to 3.6? Is there a way the external board can suppy higher voltage and if so, how much and under what circumstances?
  15. That got me to thinking about reed switches and why you don't see them so much anymore. The wikipedia article is pretty good: https://en.m.wikipedia.org/wiki/Reed_switch
  16. I have done that but what I normally do is put a header on the external board which can be used to program the microcontroller, provide serial communication, and even power if desired. I normally use a F5529 LaunchPad to program and debug rather than a G2. For example, see this board with a G2955 and note the header which is connected with a ribbon cable to the F5529 during programming and debugging: Click on the photo to enlarge and you can see the header at the bottom of the board, kind of middle right. Use the jumpers to isolate the eZ-FET from the rest of the LaunchPad and connect
  17. Hi @@Flatbits, As you state in your post, there are lots of ways to go about this. Here are a couple of ideas just to get you started... 1) Read the reflection of an infrared LED off of a target - I used a cheap CNY70 to make a tachometer and posted some photos here: https://github.com/fmilburn3/Tachometer_CNY70/wiki . The Energia code is here: https://github.com/fmilburn3/Tachometer_CNY70/blob/master/Tachometer_CNY70.ino 2) Use a hall sensor and magnet - An example is this rainfall measurement device: photos: https://github.com/fmilburn3/Rainfall_Hall/wiki code: https://gi
  18. @@tripwire You might try the plastic bottles that food and/or pills come in like these: You can turn them upside down and punch holes in the soft plastic caps for wires and/or breathing and seal with hot glue if you like. A downside for long term use outdoors is that some of them will deteriorate in UV light. I also used a small Tupperware plastic container for a few days once in the rain with no damage to the electronics inside.
  19. I tried out the new IDE today with Windows 10 on a fairly fast machine. Everything loaded without a problem and seemed responsive. Ran quite a few examples with the F5529 and also a trial or two on the FR6989, TM4C123, and MSP432. These are just observations after playing with it an hour or two and I didn't find any new bugs.... The line numbers are nice - don't have to hunt around for syntax errors near as long If Preferences -> Compiler warnings is set to 'All' there are a lot more warnings than I am used to getting - e.g. "missing whitespace after the macro name", "floating constant
  20. I received mine yesterday. The TI compiler in CCS works for me, but not GCC. The App Center shows GCC up to date too.
  21. Hello @@ErnestoLopez and welcome to 43oh. Energia is supported only for those LaunchPads and RedBear Lab boards that are listed at http://energia.nu/. However, you can add boards yourself by editing the pins_energia.h and boards.txt files in Energia. A general approach is to select a LaunchPad similar to yours already in Energia and modify it - maybe the one for the MSP430F5529. As an example, there is one for the MSP430G2955 that works for Energia V17 here: https://github.com/fmilburn3/MSP430G2955_EnergiaPinmap/tree/master/custom_g2955
  22. Hi @@johnt I don't have a FR5739, but I know there were changes between V17 and V16 that may be the cause. See http://forum.43oh.com/topic/9176-using-hw-not-sw-i2c/
  23. BTW, welcome to 43oh @@konur. You made an interesting obsevation...
  24. Thanks @@bluehash - appreciate the feedback. I normally avoid debates on topics like this because they are seldom fruitful but can't help myself today. Getting started with embedded electronics is difficult for a hobbyist if they don't have the background. It requires knowledge of software, microcontrollers at the register level, electronics, mechanical interfaces.... Pretty daunting if you don't have at least some background and access to a community of people willing to help you learn. Energia / Arduino / Wiring has done a lot to give that access. I don't think it is any dif
  25. What happens if we do this instead? void setup() { long a; byte b = 100; Serial.begin(9600); a = (long)( << 16; Serial.println(a); } void loop() { // put your main code here, to run repeatedly: }
×
×
  • Create New...