Pages

Tampilkan postingan dengan label msp430fr5969. Tampilkan semua postingan
Tampilkan postingan dengan label msp430fr5969. Tampilkan semua postingan

Senin, 30 Mei 2016

NASA Spaceship And Mission Control Desk

Spaceship in bedroom
You have to watch this video of a homemade NASA spaceship and Mission Control desk, part of which is controlled by an Arduino.

The above video is featured in the June 26 "Making Fun: Kid’s Room Spacecraft" post on the Make magazine website. The Mission Control desk featured in the above video and Make post was highlighted in a February 19 Make post, "Making Fun: Mission Control Desk," and was explained in this video. If you liked the video and are interested in details of how Jeff built some of the parts, make sure to read the two posts linked above.

After watching that spaceship video, I was both inspired and embarrassed. Inspired by the awesome job Jeff Highsmith did of building the Mission Control desk for his sons, then later building a NASA spaceship thats linked to the Mission Control desk.
Control panel in spaceship

As someone interested in learning about microcontrollers (MCUs) and about building things with MCUs, I was very much inspired by the variety of switches, lights, controls and realistic panels on the amazing desk and spaceship that Jeff built for his sons. As an engineer I was also inspired when he said in the video, "I put in an iPhone dock for future expansion. For now it will just play video from NASA, but in the future I plan to have some homemade satellites to monitor." I dont know if he meant homemade satellites that hang from the ceiling of his sons room, or if he is figuring that in a few years, there will be civilian satellites and he plans to have one or several of those civilian satellites be his. Either way Im sure his expanded system will be cool, and his sons will have a great time with
Mission Control desk
the desk, the spaceship, the satellites and other additions Jeff and the boys make to their private space program. Can you imagine how much those two boys are going to know about electronics and building stuff by the time they reach high school!

Now to the embarrassing aspect of the Highsmith Space Program. Im a bit embarrassed I never made anything half as cool as that for my kids. Im also a bit embarrassed that the Humboldt Microcontrollers Group hasnt come up with a really unique and interesting project that four or more people want to put a bunch of knowledge and skill into that will make people who see it say, "Whoa, thats really awesome!"

There are a couple things that I want to do a little differently as a result of watching Jeff Highsmiths videos and reading his Make magazine posts about the Mission Control desk and the spaceship.
Payload bay remote camera monitor

The first thing to do differently with MCU projects is to think big while paying attention to details. Jeff appears to have had a big picture idea of what he wanted for his sons -- starting with a homework desk that can convert into a NASA Mission Control desk, then extending the space theme to his other sons bedroom with a spaceship. But what makes the desk and spaceship fantastic accomplishments is the close attention to the details. The control panels have complex and extremely realistic looking labels, switches, lights and controls. To make the experience authentic for his kids, Jeff incorporated recordings from NASA and simulations of actual astronaut problems. I realize the only way to tackle a large project is to break it down into small steps, but you have to have a good picture of what the large project will look like, and you have to pay attention to the small steps. When you know the big picture, and youre taking care of details, then commitment and perseverance have to kick in.

Mission status light panel
So, for the Humboldt Laser Harp and the Electronic Light Orchestra, the Humboldt Microcontrollers Group should discuss, agree on and document what the big picture is. How much time and effort do people want to put into that project. Next we should get more specific, more detailed on the finer points of what wed like the Humboldt Laser Harp to look like and to do from both a music and a lighting standpoint.

The second thing to do differently on MCU projects is taking more photos and videos at each stage of a project, planning ahead of time the shots to capture for each project. Jeffs videos have excellent documentation of building the desk and spaceship. I became less embarrassed but no less inspired when I read that Jeff is a full-time videographer. That explains thinking things out enough ahead of time that he captured cool construction sequences while he was building the projects. It would be really good if the Humboldt MCU group could find a videographer or two who are interested in MCUs and electronics and would like to participate in the groups activities. They would know how to capture the story of a project, and theyd be able to put together a cohesive and impressive video.
Ardunio used to control instrument panel

I think Ill keep a link to Jeffs spaceship video handy and watch that regularly to keep me inspired and to remind me of how rewarding completion of a big, complex project can be.

**********
Read More..

Minggu, 01 Mei 2016

Unboxing And Updating A Texas Instruments MSP430FR5969 Ultra Low Power FRAM MCU

[Tonights post is by Ed Smith, a member of the Humboldt Microcontrollers Group]

I just received a Texas Instruments (TI) MSP430FR5969 LaunchPad! This is my unboxing post, Ill also cover updating the onboard programmers firmware for use with Energia.

Well kick things off with a few specs, or at least a quick product description. This is an unboxing not a review, after all.

The MSP430FR5969 MCU is aimed at extreme low power consumption, to the point where when it is operating at full power it consumes ~100µA/MHz. Thats quite low; at 16MHz its consuming a measly 1.6mA. In the various sleep modes the power draw is measured in handfuls of micro-amps, and in deep-sleep it even gets down to nano-amps.

The FR5969 LaunchPad takes that MCU and gives it a home, as well as a built in programming interface, breakout headers (with very nice labels, as well see later), buttons, LEDs, lots of jumpers, and a 0.1F supercap. Thats not µF, thats not mF, thats a tenth of a Farad, something that would have cost a tremendous amount of money a decade ago.

For bonus points, Energia already supports this platform.

The box is a simple affair, nothing especially flashy other than the rocket logos. Even those arent flashy per se, not compared to modern marketing anyway. Its a sturdy box, I approve.


Inside the box we find, not surprisingly, an anti-static bag with a LaunchPad in it! There actually is a surprise in here, Ill focus on it later.

This is the bottom of the board, in case you hadnt guessed.
Here we have the top side, there are hints of greatness here too.
The last thing in the box is a beefy mini-USB cable, to connect the LaunchPad to your computer for programming and/or power. Its very nice of TI to include this, and I appreciate it.


Out of the bag we get more detail, we can see the two user buttons plus reset button, a wide array of jumpers for controlling how much of the MCU core is connected to the debug/USB/power side of the board, as well as the supercap and two user addressable LEDs. Note the amount of text near the headers!
On the bottom there are two things I really, really like. One is the amount of pin information printed near the headers, Ill zoom in on it in a bit. The other is the plastic standoffs. This is something lacking in the vast majority of dev boards out there.
The board sits nicely on the standoffs and bottom headers, no worries about short circuits to metal tables no MCU tipping over when you try to plug something in. Its a small thing, but I appreciate it.
The silkscreen on both sides of the board is very informative, it gives you plenty of options for charging or not charging the supercap, using or not using the supercap, current monitoring, voltage monitoring, USB power or external power, etc. It also has significantly more pin information next to the headers than one usually sees. Not only the port numbers, which is standard, but also designations as to which pins do what. Serial TX and RX are marked on most boards, MOSI/MISO/SCK(SCLK) for SPI and SCL+/SDA+ for i2c are not usually marked, and they are here. This cuts down on the amount of time needed looking at datasheets and pinout diagrams substantially. I dearly hope that other companies will follow TIs lead here; they seem to be thinking about the end user.

All is not roses with the FR5969 LaunchPad however. Maybe it is roses, and were getting to the thorns now. In any event, there are two revisions of this MCU. The first revision to come out, and the new Energy Trace revision. Energy Trace adds a solid set of features to check where the energy is going, but it also requires a newer firmware version for the on board programmer. Unfortunately for some reason or another it doesnt seem to have made it on to the first round of Energy Trace boards! On the plus side, updating the firmware is fairly easy.

Updating the MSP430FR5969 EZ-FET Firmware via Energia

This guide assumes youre going to be using Energia to do your programming, or at least your firmware updating. Code Composer Studio also ships with an updater I believe, and you can download a standalone command line updater as well.

The first step is to open Energia and find the Update programmer menu. Its under the Tools menu and is not hard to find.

You will need to run this a few times, as there is a bug in the update script somewhere that times out after updating one device, and there are three devices on this board that need updating.

For the moment, run it until you start getting errors. I was able to update two out of three devices without any further effort.

Once you start getting errors you will need to close Energia and download the TI MSP430 Flasher utility, the command line program I mentioned above, you can find it here:
 MSP430 Flasher Link


Once you have downloaded and installed it, you need to open two folders. One is the MSP430Flasher install directory (click the pictures to the right for a larger size), the other is the mspdebug directory inside the Energia install directory. The pictures to the right show the paths on my computer.


Once you find the two directories you want to copy HIL.dll and MSP430.dll from MSP430Flasher into Energias mspdebug directory. Backing up Energias copies of those two files isnt a bad idea, I created a directory called "OEM" and moved the originals into it, then copied the new HIL and MSP430 dlls.


Once you have copied those two files, re-open Energia (if you didnt close it before, close it and re-open it) and run Update Programmer again. Instead of throwing errors it should happily update the remaining piece of firmware. If you feel like being sure, run it again and make sure its happy that time too.

Presto! Your MSP430FR5969 LaunchPad is now ready to use, enjoy!

- Ed Smith

**********
Read More..