Ask an Engineer and Show and tell - 10/26/2013
Moderators: adafruit_support_bill, adafruit

Ask an Engineer and Show and tell - 10/26/2013

by george graves on Mon Oct 28, 2013 2:35 am

Ask an Engineer 11/26/13 https://vimeo.com/77949944
New Products 10/26/13 https://vimeo.com/77934647
SHOW AND TELL - LIVE 10/26/2013 http://www.youtube.com/watch?v=e7v8JiIXwQc
New blog - www.digitalunderpants.com
User avatar
george graves
 
Posts: 333
Joined: Thu Feb 26, 2009 1:10 am
Location: Seattle, WA

Gemma Hoop Animator

by HerrRausB on Tue Oct 29, 2013 9:15 am

I finally managed to document the Gemma Hoop Animator code I showd off on this episode of S&T and uploaded it to GitHub.

Look into the source and header files or detailed explaination on how to use the animator.

What I forgot to mention on the S&T is, that I modified the LiPo by soldering a tiny SMD switch into the positive lead and gunking it to the LiPo, as I didn't want to disconnect this rather fragile connector everytime (see attached pictures).

I wish, the Gemma and all other boards of this kind would have such an on/off switch :-)

Here's a video showing the example animation together with the individual action definitions.

If you find this example sketch helpful enjoy it and have fun creating your own animations! :-)

Regards

Axel
Attachments
on off switch 02.jpg
on off switch 02.jpg (55.89 KiB) Viewed 456 times
on off switch 01.jpg
on off switch 01.jpg (56.37 KiB) Viewed 456 times
gemma hoop 01.jpg
gemma hoop 01.jpg (70.28 KiB) Viewed 456 times
HerrRausB
 
Posts: 6
Joined: Sun Aug 19, 2012 1:01 am

Re: Ask an Engineer and Show and tell - 10/26/2013

by firepixie on Fri Nov 15, 2013 3:29 pm

I love this and want to get it working on my gemma! It's wonderful.

I'm using a mac and have (I think) successfully installed the GemmaHoopAnimator code. However, I can't get it to compile and upload to my gemma.

I can go into AdafruitArduno and open the Gemma Hoop Animator sketch. The GemmaHoopActionsList.h and GemmaHoopDefs.h also open up in tabs in the window.

When I try to upload GemmaHoopAnimator I get:

Code: Select all | TOGGLE FULL SIZE
/Applications/Adafruit Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn85.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in /Applications/Adafruit Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25/libgcc.a(_exit.o)


I haven't made any changes to the code at all. What am I doing wrong?

Thank you!
User avatar
firepixie
 
Posts: 27
Joined: Wed Sep 04, 2013 2:42 pm
Location: California