Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Fmilburn

  1. See my edit above - try it with the G2553 and SPI - it might work EDIT: also I guess you can try "high-speed mode" pin 7 probably isn't accessible
  2. I explained the math for the SPI approach in my post and there are references behind that as well. Do the calculations with the timing that Rick has posted above. That will tell you if the SPI approach will work and if so, what byte to send for short and long. Have you tried that? EDIT: This table gives the information needed, including tolerances: Calculate a clock divider for SPI that will give a reasonable "tick" - eg. DIV4 on the G2553 gives 250 ns Now look at the table and determine what bits to send via SPI to get the correct wave form - for 0: 0b11000000 would give (2*250=500H, 6*250
  3. Hi @@m0nk37 The Energia library you linked to was was written by @@ILAMtitan and in the attribution is listed @Ricta59. What modifications did you make to the assembly? How many LEDs are you trying to control, what microcontroller are you using at what speed, etc. Do you have a logic analyzer or some other way of looking at the output and adjusting to get inside the specs? An alternate way that might work would be to use SPI as described here: http://forum.43oh.com/topic/10011-using-spi-and-energia-with-ws2812-leds/
  4. Connect the RST pin to VCC through a 47k pullup resistor and to ground through a 1 nF capacitor. The following is from the MSP430x2xx Family User's Guide: The LaunchPad User's Guide shows this schematically in Figure 8.
  5. There is discussion here on creating new pin maps for custom boards: http://forum.43oh.com/topic/9292-pin-mapping-when-programming-another-chip-through-isp/ At the bottom of the thread is a link to a pin map for a 32 pin G2553 with instructions on github. It is much easier to upload firmware to the G2 series chips with a more recent MSP430 LaunchPad like the F5529. The original LaunchPad is finicky. Make sure you have the recommended capacitor and resistor on reset.
  6. Start with a search on 43oh for energia and atof. Atof is in the adafruit code so find it and see what it is doing there.
  7. Hi @@Headstrong, Glad you like it - it was just something I put together as a personal project on 4x6 cm through plated proto board. You could build one for yourself easily. The parts are all through hole and shown on the schematic: 2 LEDs, 2 resistors, 2 buttons, the RFID module, pin headers, some wire, and the 4x6 cm protoboard. Put it together on a breadboard to test, then lay it out on the proto board and solder it up. A link to the RFID module I used is given in the code example.
  8. It did not work on Serial back to the terminal when I tried it just now but I don't have any other information on the implementation.
  9. Neat. I hadn't thought of that. It even uses the G2553. That would be easier (and better) from a power management viewpoint. Bandwidth is less but I don't need it. Need to check distance. Potential blockage of signal and maybe stray IR are considerations but I will check it out. To do some initial tests I have a couple of "super bright" IR LEDs that I could use for a transmitter and some Vishay TSOP38238 receivers. The receivers work OK down to 2.5 V or so according to the datasheet and can filter out many disturbances. Supply current for receivers is under 0.5 mA.
  10. Agreed... The ESP-8266 datasheet states 60 mA and even that is too high. The ESP-8266 won't work for this application with a coin cell. The music is recorded and is fairly short. So for the nRF24 I could keep everything off until the last minute, turn radios on but not the LEDs, synch everything with the radios when the music starts, turn the radios off, and then turn the LEDs on to run through a pre-timed sequence. Provided there are no false starts / restarts that might work and puts it back into the realm of what I have tested.
  11. Hi @@chicken and thanks for the observations. You are entirely correct, I am way past what is described in the data sheet. I know you are familiar with some of this but for others who might be interested I will explain in more detail what I have done, some of the limitations, and what I plan to do. The Halloween tiara I made used a CR2032 with a G2553 and 3 WS2812 (no radio). I dialed the brightness back on the WS2812s. It cycles through various displays and would peak at around 20 mA according to crude measurement done at the time on my bench power supply - most of the time less th
  12. I worked with the ESP-8266 a bit this week. I have two - an ESP-01 that I got first and wasn't impressed with, and a Adafruit Huzzah that I ordered later but never really did anything with due to my unfavorable opinion of the ESP-01. The good news is that the Huzzah is easy to use and works nicely with the Arduino IDE. Reception is far superior to the nRF24. The WiFi library is pretty impressive on first pass - documentation and examples are good and have improved since I last looked at it- better than Arduino. It has enhanced capability over the base library that Energia and Arduino
  13. Hi @@MSP432, The pins listed look correct. I have used the F5529 successfully with the MCP3008 ADC and Energia V17. It is hard to say what the problem is without access to your setup - can only guess. A logic analyzer would certainly help. You might try changing the SPI bus speed with setClockDivider().
  14. Hi @@chillyjee I noticed this bug in Energia V17. It seems to be fixed, at least for back channel UART to the serial monitor, in Energia V18.
  15. Today I soldered the little nRF24L01 module onto an adapter and tried it out for the first time. I cut a 28 pin 1.27 mm SOIC adapter in half and then soldered the castellated module onto it so that I could access the pins on 0.1" pitch. That way the antenna was cantilevered out and waving in the breeze. It will be easy to adapt this to the wearable if selected. I did have to go back and touch up one pad with the iron that didn't make a good connection. After that, it was quick to get it going using the Energia library that @@spirilis wrote. I put a G2553 LaunchPad on a BOOSTXL battery p
  16. @@anwar1506 You may be going about this backwards - start with the application requirements and then pick the microcontroller based on the requirements I am an electronic hobbyist so perhaps one of the more learned members will jump in if I get part of this wrong. There are only two UARTs on the FR5969. Pins 2.1 and 2.0 connect to the Ez-FET which is a USB to UART bridge that allows both programming of the target microcontroller (in this case the FR5969) and serial communication (in the case of Energia through a window that you open up). If you want to use Pins 2.1 and 2.0 for s
  17. I've looked at the User's guide and although the board has 2 UART interfaces, one of them is called 'Application (or "Backchannel") UART'. If I am unable to use both UARTs on board to communicate, how is it that the combined GPS + GSM module can interface with the micro-controller using just the 1 interface? I am not that familiar with that device but the Energia pin diagram you link to shows the following: Pins 3 and 4 on the left hand LaunchPad header are labelled P2.6 and P2.5 as well as RX(1) and TX(1) The programming header is labelled RXD and TXD. Looking at the LaunchPad User's
  18. That is a possibility. Certainly the Arduino capability is there. I fooled around with those a bit quite a while back. They are fiddly. Performance isn't great compared to the CC3200 but then for this application it wouldn't have to be. I remember the power requirements were pretty high so I had a quick look just now. This is from the English data sheet (which I am not sure I trust). Standby mode is 0.9 mA. Transmit mode is 200 mA more or less. I can't find my notes but if anything I remember higher real world requirements for transmit. So it might work but powering from a coin
  19. HI @@anwar1506 and welcome to 43oh... I have used the NEO-6M GPS with the MSP430F5529 using the library that is linked on this page: https://www.addicore.com/NEO-6M-GPS-p/231.htm If I remember correctly, no modification to the library was necessary. It would have been with Energia V16 or maybe V17. Here are the pins, taken from comments I inserted into the code at the time: MSP-EXP430F5529 LaunchPad connected to an Addicore NEO-6M GPS Module at 9600 baud. Connections are as follows: NEO-6M LaunchPad Comments ------ --------- --------------------
  20. Thanks for the great feedback @@spirilis - I have to agree that the CC2650 is attractive. BLE would allow for a nice interface with a smart phone as well. I did promise $10 a unit but since it is only 10 kids including my granddaughter I could subsidize it. The other issue with the CC2650 though is that it won't be supported by Energia. One of the moms is familiar with Arduino and CCS has a learning curve not everyone is willing to pursue. Certainly it reduces the amateur users in the artsy community given the foothold that Arduino has. I haven't tried the smaller nRF24 in my photo
  21. Welcome @@mgerton13! I'd be interested in hearing about your home brewing unit...
  22. After making the wearable MSP430 for Halloween this year I was requested to make more for a children's dance group. I have a question, but first some background. This is the latest version: Everything works fine. I use an adapter with pogo pins to program it as shown in the photo. There are three LEDs on the PCB, a push button switch for the user, and more accessible pins than the previous version. Parts are TSSOP and 0805 SMD. Snap fasteners and stainless thread can be used to connect it to LEDs on the costume. A CR2032 coin cell is used to power it (coin cell holder is on the backsi
  23. I don't know if what you described would damage it or not but the safe thing to do would be to run the microcontroller and LEDs at the same safe voltage (I have run them at 3V even though that is below what the WS28xx datasheet shows if I remember right) or to use logic level conversion if you want to supply 5V to the LED. Regarding testing for damage, it would most likely be the pin that receives the high voltage. Keep the incident in the back of your mind though and if you see strange behavior with that LaunchPad in future, especially with that pin, you won't pull your hair out thinking
  24. I would only be guessing. But if the LEDs get something they don't understand they do strange things. I saw something similar when I was experimenting and adjusting timing to get inside the tolerances. Hopefully you didn't apply 5V to the microcontroller - don't think the MSP432 is 5V tolerant. On my projects I have run the microcontroller and the WS2811s on battery power at 3V without a problem. Most of the WiFi experimentation I have done was with a MSP430F5529 and CC3100 BoosterPack with Energia. The F5529 is used with WS2811s in the link I gave above, so I would probably start t
  25. Hi @@m0nk37, I am not aware of a WS2811/12 library for the MSP432. I presume you have already done a search on 43oh and have seen the working code and discussion for the MSP430 and Tiva. The two approaches commonly used to achieve the timing requirements are asm and SPI. SPI was used in the Tiva example and would seem to be the easiest approach for the MSP432. You can find my writeup on using SPI with the MSP430 here: http://forum.43oh.com/topic/10011-using-spi-and-energia-with-ws2812-leds/ I had a quick look at using SPI with the MSP432 at the time I made that post. Energia for
  • Create New...