Jump to content

zlalanne

Members
  • Content Count

    46
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by zlalanne

  1. zlalanne

    Use Energia in command line

    There is also another tool called PlatformIO which allows you to create Energia projects, compile and flash from the command line. http://platformio.org/
  2. Hello all! If anyone else is interested in devops tools like ansible/vagrant/docker or linux administration this project might interest you. I recently started learning about ansible a tool used to configure/orchestrate servers. So I thought I would try and use that to push firmware updates out to MSP430s. I came up with a solution that allows me to run a command on my machine which then copies the firmware to Rapsberry Pis and then flashes any MSP430 LaunchPads connected to them. I first had to compile the msp430 dll and the latest version of mspdebug for the ARM architecture (rather than x86). Essentially this allows me to program MSP430s from a Raspberry Pi using mspdebug. I talk about the steps here: http://zacklalanne.me/automated-deployment-of-msp430-firmware-part1/ Then I wrote an ansible playbook to automatically deploy the dll and mspdebug as well as the firmware to the connected Raspberry Pis which then push the firmware to the MSP430s. http://zacklalanne.me/automated-deployment-of-msp430-firmware-part2/ Don't think this is too realistic for an actual production environment but getting it all to run was a good learning exercise in compiling code on linux and system administration.
  3. zlalanne

    Deploying MSP430 Firmware using Ansible

    Yea I could see this working for something like that. Is the box connected to the G2553 LaunchPad linux based?
  4. zlalanne

    Educational BoosterPack MKII

    There is also some examples in the latest MSPWare (2.30.00.49) showcasing the BooserPack + MSP432 Launchpad. Along with schematics and documentation for the board. http://www.ti.com/tool/mspware
  5. zlalanne

    Deploying MSP430 Firmware using Ansible

    Ansible is actually free and open source. They have a tool called "Ansible Tower" that is a GUI that sits on top of ansible that gives you a nice bunch of stats and options for running playbooks. I haven't used it so can't comment on how useful it is. I have been using ansible with smaller scale setups so it might be more useful when you're managing 100s of servers all based in the cloud (Amazon, DigitalOcean, etc..). This is probably a better link to learn about it: https://docs.ansible.com/ansible/index.html As for updates using wireless processor, if there is enough memory to hold the new image that's always an option. Ansible though needs a python interpreter running on the client, so it can't scale down to microcontrollers. @@bluehash Thanks for the reminder. Will add the link.
  6. zlalanne

    Graphics Library for MSP432

    Awesome! Great to see already. FYI There is an updated grpahics library from TI that supports MSP430 and MSP432. Which is also included in MSPWare. http://www.ti.com/tool/msp-grlib
  7. zlalanne

    A new MSP430 coming [MSP432 ARM]

    Official TI Press Release: http://newscenter.ti.com/2015-03-24-Texas-Instruments-introduces-32-bit-MSP432-microcontrollers-MCUs-Ultra-low-power-at-its-best-performance-at-its-core I think you guys probably know everything by now though
  8. zlalanne

    A new MSP430 coming [MSP432 ARM]

    @@Fred no worries, good sleuthing on your point. I contributed to that document so I was just surprised/impressed it was found already and yes full disclosure I work at TI within MSP430. Mostly work on MSPWare, DriverLib and a lot of our internal tools/infrastructure. Also did a lot of work on the MSP432 tools so I'm excited for it to be out in the open soon
  9. zlalanne

    A new MSP430 coming [MSP432 ARM]

    @@Fred Oh I forgot we added a link in the start menu for that. More will be coming soon...
  10. zlalanne

    A new MSP430 coming [MSP432 ARM]

    Just curious, how'd you find that...
  11. Below is a link to the port of the Arduino Library HTTPClient for Energia/MSP430. It works with the latest version of Energia with F5529LP + CC3000 BoosterPack. Simply download/clone the library into the hardware/msp430/libraries folder of Energia and the library will appear upon restart. The library makes it easy to interact with web servers using Energia/MSP430. The included example shows how to download a webpage (energia.nu), check http response codes and display the content of the downloaded webpage. GitHub Link: https://github.com/zlalanne/HttpClient
  12. I'm about to start up a project to try and keep my dog off the couch when I'm not there. I was thinking of putting some force sensors under the couch legs and using those to calculate the weight on the couch and then play a high pitched sound to bother her. Any recommendations on force sensors? Anyone done something like this before?
  13. zlalanne

    Detect if dog is on the couch

    I like the RFID tag idea although it may end up with some false-positives. The dog often lays at the foot of the couch when we're on there watching TV. Wouldn't want to bother her if she's just laying near, especially because the dog bed is near.
  14. Below is a link to a port of the Arduino library to interact with xively for Energia/MSP4305529LP. For those that don't know xively (formerly cosm) is an IoT online service where you can send and receive data from. It allows you to view the data sent in graph form to view trends over long periods of time. This library requires the HTTPClient Library found here: 43oh Github Once both libraries are installed you have access to high level APIs to send and receive data to the Xively servers. There are examples that demonstrate how to upload/download a single datapoint as well as an example that uploads to several different channels at once. More information can be found on the github page. https://github.com/zlalanne/xively_energia
  15. Since websocket is just TCP based at its core it should be supported by CC3000. I would start looking at porting an arduino library to energia, which would probably be easier than writing it from scratch. I haven't used atom-shell yet just node-webkit but it looks promising. https://github.com/brandenhall/Arduino-Websocket
  16. zlalanne

    Robotics Boosterpack

    Neat idea, mounting to the BoosterPack makes it simpler. I'm guessing M1/M2 is where you plug in the motors? What are you using for the front to keep it balanced? Some sort of caster?
  17. zlalanne

    Robotics Boosterpack

    The BoosterPack looks cool! I enjoy seeing robotics projects simply because they are very tangible and make for a great demo. What sort of chassis are you using to mount the board/motors to? I recently developed a BoosterPack that goes with SparkFun Magician Chassis that has been working great for me. Here is the 43oh thread about the BoosterPack http://forum.43oh.com/topic/5558-redbot-boosterpack/
  18. You say you use a websocket for communication between the backend and frontend part of the application. Have you thought about implementing the websocket protocol on the MSP430 itself with a CC3000? That way the firmata control can be done over wireless? Also there are some nodejs mechanisms for packaging up projects into a single binary for execution. Might be interesting to have this in a gui rather than running on a port. https://github.com/rogerwang/node-webkit https://github.com/atom/atom-shell
  19. zlalanne

    I2C not working MSP430g2553 launchpad

    P1.6 is SCL for I2C communication but it is also used for the LED on the G2 launchpad. Try taking of the jumper for LED2 (disabling it) and running the code again.
  20. zlalanne

    Anyone using TI-RTOS?

    You should try the TI-RTOS E2E forum, they will probably have more experts on getting it working with IAR. http://e2e.ti.com/support/embedded/tirtos/default.aspx
  21. zlalanne

    Smart coaster project.

    Awesome that you reduced the current to 0.7 uA! If you are using the CCS compiler try using the ULP adviser to see if there is anywhere else in your code that would help achieve lower power. I think the switch to a battery makes sense, although the solar part of it does seem cool.
  22. zlalanne

    Ringbuffer - how do I identify "crititcal" sections

    Just as another datapoint if you want to look at some code, Dr. Valvano from UT Austin (who ran the online Stellaris course) has all his code online and has a FIFO implementation worth looking at. Just search for "FIFO" on that page and you will see the files. http://users.ece.utexas.edu/~valvano/arm/ It should be easily adaptable to MSP430.
  23. zlalanne

    Tindie Markets

    There is also a Texas Instruments market created as well: https://www.tindie.com/m/texasinstruments/
  24. zlalanne

    digitalWrite (P1_0, 1); vs bitSet(P1OUT,P1_0);

    If you are working with a BoosterPack and want the code compatible across LaunchPads you should stick to just using the pin number in your function calls. That way if someone wants to port it to another LaunchPad all the pin numbers are the same even though the underlying pins are different. This will work across all launchpads: pinMode(1, OUTPUT) digitalWrite(1, HIGH) This will always use P1_0, which may be in a different place on each launchpad: pinMode(P1_0, OUTPUT) digitalWrite(P1_0, HIGH)
  25. zlalanne

    Badge V2.0 discussion

    I like the interaction idea! Maybe when you meet someone with the same color it plays a tune? Then resets to a new random color?
×