element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Internet of Skull 1.2 Overview
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: camuyano
  • Date Created: 6 Oct 2014 6:04 PM Date Created
  • Views 784 views
  • Likes 0 likes
  • Comments 0 comments
  • eclipse_iot
  • mqtt
  • cc3000
  • eclipse_paho
  • internet-of-things
  • iot
  • adafruit
  • arduino
Related
Recommended

Internet of Skull 1.2 Overview

camuyano
camuyano
6 Oct 2014

The skull was working great connected usb to the PC. But I wanted it to be wireless. Since I have an Adafruit CC3000 breakout board available, decided to stick it in. Also a few years ago I made my own Arduino compatible board, based on the usbasp project and got the inspiration from the metaboard. My board end up beein a 5cm x 5cm board with Atmega328p which can run Arduino code.

 

The overview of the Internet of Skull now is like this.

image

 

With this architecture the laptop is just another trigger mechanism similar to a phone. On my last post the laptops was used to send information directly to the Arduino board but now the skull is free to play around. The Skull is completely wireless and receives power via a usb. It is connected to the closest usb plug I could find at the desired location. We got wifi in the entire office so it can be moved around without problem.

 

At home the Skull worked really good, every now and then the mqtt libraries got disconnected from the server but I was able to reconnect via the code and everything was good. But when got into the office the skull got disconnected and failed to connect again. I didn't had much time during work hours to debug and fix the situation, so I went for a quick and dirty trick. Whenever the device got disconnected I just soft reset the Atmega, that makes the board to reset and re-connect to the wifi and mqtt service. After the soft reset all starts working again. This solution is far from pretty, mostly because the skull stop working for a while until the reset completes. Wifi connection and DHCP takes some time to complete and that is horrible for the user that wants to see the skull respond to its commands. But is better than unplug and plug back. Also it didn't took much time to "fix".

 

The software reset is a simple hack I found on Instructables. There are two ways, I went with the all software way.

Seems that if you define a pointer to a function in address 0 and issue a call to it it restarts the program, how would have thought?

Here is a snipped of the code

 

//declare reset function at address 0

void(* resetFunc) (void) = 0;

 

When the time comes, just call that function like any other.

 

resetFunc();

 

 

Here is a quick video of the circuit for the skull, wires everywhere but that is just the way it is suppose to be in "prototypes".

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Update:

I did showed my project on Adafruit's Show and Tell, here is the link

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

"And that is what I have to say about that" - Forrest Gump

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube