Monday, December 14, 2015

Program an Ugly Christmas Sweater with CodeBender

My daughter recently asked me to transform a red sweater vest into an ugly Christmas sweater for a special event at her school. Using a Gemma microprocessor and four neopixels, I made one that flashes and changes colors at the push of a button.  I originally used my PC to program the microprocessor, but a friend prompted me to see whether the same results could be achieved with CodeBender and a Chromebook. I'm pleased to report that the Chromebook worked like a charm. I simply connected the Gemma to the USB port, selected the buttoncycler sketch from the Adafruit Neopixel library, modified the code to match the pins on the Gemma and the number of neopixels used, and voila'.  In the past, I have found the Gemma to be a little finicky when programming in the cloud, but CodeBender is constantly improving.




In the process, I learned:

1.  how to program a Gemma with CodeBender (even though no ports were detected)

2.  how to use a multimeter

3.  the importance of using a stabilizer when sewing with conductive thread on a loosely woven material

Unfortunately, I had to learn a couple of lessons the hard way when threads in the stretchy sweater kept shorting out!

In order to increase the versatility of this sweater, I sewed the Gemma to three tiny snaps sewn to a piece of felt. When folded up, the felt supports the battery and fits into the sweater pocket.  This connects to three more snaps to complete the circuit.


I sewed the neopixels to a ribbon.


Originally, I sewed the neopixels directly to the sweater.  That didn't work out well, because I didn't stabilize the back of the fabric first, requiring me to have to rip out all of the stitches.

Afterward, I used what I learned from Adafruit's chameleon scarf tutorial to sew the neopixels onto a ribbon that I later sewed to the sweater using non-conductive thread.

I applied self-adhesive stabilizer on the back.


Tuesday, December 1, 2015

Video Tutorial: How to Program an ATtiny85 with Codebender and a Chromebook

How to Program an ATtiny85 with Codebender and a Chromebook (Using an Arduino Uno as an ISP)

Chromebook and CodeBender
Several educators have asked me about paper circuitry and expressed interest in the idea of having their students code microprocessors for notebook hacking projects. After several days of work, I've finally completed the video tutorial that I've been promising.  In the process, I learned more than I expected.  For example, Codebender recently changed some aspects of its set-up, making it somewhat difficult to find the option to select a programmer.  I also learned that Codebender will soon be compatible with Chrome and the TinyAVR programmer from Spark Fun; it is already compatible with Firefox.

Update:  As of January 2016, Chrome is compatible with the TinyAVR Programmer! 

The video below is best viewed in high definition.





Sunday, November 8, 2015

FLOG: Light Blue Bean

FLOG (Failure Log) Alert:

In a previous post, I started exploring the Light Blue Bean, also referred to as the Arduino Bean.  I had little difficulty getting it set up on my PC, and I was excited to try to my first real project, but I made a serious miscalculation by jumping right into a project without prototyping first (something that would have been easier to do with more than one Bean).  As a result, I ended up making a soldering error that caused the Bean to stop connecting to the power pin.  After several hours of playing around, taking things apart, and re-soldering did not solve my problem, I suspected that I'd damaged the gadget beyond repair.


Another error that I made, when attempting to solder header pins to my Bean (an idea that I took from Lucie's post), was making an assumption that Beans work in the same way as a typical bread board.  I mistakenly thought that all of the pins in column 1, for example, could be programmed in the same way as the first pin in that column. Since all of the holes in the first row of my Bean already had solder in them from my first project, I figured I'd just move down a row and start over. This did not work!  Only the first pins in each column are directly programmable via Arduino or an iOS device via the Bean Loader or the Tickle app.

Success at Last:

To make a long story short, +Craig Lyndes identified and repaired my power issue and encouraged me to try prototyping again, this time moving my header pins from the second to the top row!  I am happy to report that I've got my Bean working again!

Now, I am able to make LEDs blink on demand from a PC, iPad, or iPhone, and I have a working Bean to use exclusively for prototyping.  Although I will need to buy an additional one for a future project, I have learned a lot from this process!  Thanks +Lucie deLaBruere and Craig.


Saturday, November 7, 2015

Lanterns for the River of Light Parade


Today I attended a lantern building workshop at Thatcher Brook Primary School, taught by +MK Monley and +gowri savoor. These brilliant educators are in the midst of preparing for the 6th annual River of Lights parade, which will be held in Waterbury on Saturday, 5 December.

MK invited me to attend this workshop after we collaborated to teach some of her third and fourth grade students basic paper circuitry, which they will be integrating into their own bug-inspired lantern projects later this month.

Having the opportunity to create my own bug lantern, and hearing about some of the various ways that they are constructed and illuminated around the world, was incredibly fun! We started out by taping willow branches into square-based pyramids.  After designing them (I was inspired by ladybugs) we glued coffee filters to outside, for the light to shine through.




Please check out the official River of Light site to learn more, or enjoy this video from 2012's parade.





Tuesday, September 1, 2015

Google Certified Educator (Levels 1 & 2) are Complete!

I earned my Google Certified Educator badges!

Reflection:

The tests were different than the ones that I took last year as part of the Google Educator certification. They cost less money and were more performance-based (which was a bonus).  The practice scenarios, however, required a lot more focused concentration, because of the level of detail in them.  I struggled at times with cognitive overload, as a result of having to tab between detailed scenarios and the work space itself.  I typically use the Tab Scissors extension when I want to read directions on one screen and follow them on another.  I didn't think to add it in during the tests (which were both taken in incognito mode).  

I learned more than I thought I would during the training modules, leading to the obvious conclusion that there are always capabilities being added to Google that are easy to miss.  For example, I learned how to use the Autocrat add-on, which I hadn't used before.  I also learned about the uses of different types of charts in Google Sheets!