element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
PiCasso Design Challenge
  • Challenges & Projects
  • Design Challenges
  • PiCasso Design Challenge
  • More
  • Cancel
PiCasso Design Challenge
Blog Art-a-Tronic Episode 6
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: balearicdynamics
  • Date Created: 6 Apr 2019 4:18 PM Date Created
  • Views 1391 views
  • Likes 9 likes
  • Comments 6 comments
  • resing printing
  • exhibition
  • depot09
  • pla
  • cage
  • animatronic
  • elegoo
  • 3D Printing
  • pi-casso
  • hackster.io
  • raspberry pi
  • elegoom
  • lorenzo p merlo
  • challenge
  • art
  • Making
  • 7 of 9
  • borg technology
  • hacking
  • art-a-tronic
Related
Recommended

Art-a-Tronic Episode 6

balearicdynamics
balearicdynamics
6 Apr 2019

  • Introduction
  • Creating the Eye Implant
    • The Incompatibility Between the NeoPixel Library and the Stepper Library
  • Previous Episodes
  • Next Episodes

Introduction

image

As the project evolves, issues arise. It is worth to point the attention on the most impacting ones I met; I hope that documenting those I found and how I solved them may be useful for other users.

In this new episode, we will see how I had to change the left eye implant for both technical and aesthetic reasons.

image

 

Creating the Eye Implant

As you have probably already seen in the images of the mannequin – it is definitive, it has a name, 7 of 9 (guess why?) – the left eye will host an implant with lights and the Pi camera.

image

Starting from the mannequin head proportions I have designed the implant profile, then I have converted it in SVG format with Inkscape and, finally, used the profile to create the model with fusion 360 for 3D printing.

image

Above: the draft idea of the eye implant overlayed on the left side of the face; the size is conditioned by the dimensions of the NeoPixel 12 LEDs ring.

Below: the Fusion360 3D rendering of the implant. Note in the center the transparent toroidal ring that will be the front side of the NeoPixel ring.

image

To complete the eye implant effect I initially decided to use a 12 LEDs NeoPixel ring; a second internal toroidal ring has been designed for this purpose, 3D printed with the Elegoo MARS LCD printer using transparent resin.

imageimage

Below: the implant preview covering the left eye of 7 of 9 before painting and gluing the parts together.

image

To keep the NeoPixel ring in place to the back of the transparent ring another small support has been designed and 3D printed. Also after painting the result was technically good but aesthetically not very satisfying.

imageimage

Anyway, I have decided to use it to see the real effect when put in place. As you can see in the above images the size and the internal transparent ring have a too hard impact with the face proportions,  and the transparent ring seems redundant. Thus I decided to redesign it with a reduced size.

As explained in detail below I have also experienced a blocking hardware issue related to the use of the NeoPixel together with the stepper library on Arduino.

 

The Incompatibility Between the NeoPixel Library and the Stepper Library

In the specific case of this project, the adoption of the NeoPixel ring has been abandoned as the result was not as good as I expected. When I was testing the use of the Arduino with the motor controller all functions worked fine; then I connected the Neo pixel ring and it worked as expected too, but the motor started running in a weird mode; it was losing steps, getting a wrong count of the angle based on the number of steps, and the speed frequencies were unreliable and unstable.

First I investigated the problem of the motor then I realized that the issue was related to the Adafruit NeoPixel library. Not only. Also commenting all the calls and the initialization of the library in the setup() the problem persisted. As I was sure that removing every reference to the library from the source – including the creation of the library instance – the motor started again running as expected, I searched on the Internet for the reason of this problem (maybe something related to the Arduino IDE version or an outdated version of the NeoPixellibrary)

Finally, I found an article, reporting an explanation of the same issue concerning the contemporary use of NeoPixel and servo motors. The NeoPixel library seems to have an internal issue managing the microcontroller interrupts. As a matter of fact, the NeoPixels library has been designed without taking care of the use of the interrupt vectors by other devices eventually; in some cases, it stops the interrupts for some millisecond in a way that any other device like the stepper library suffers an unpredictable negative impact.

 

Previous Episodes

  • Art-a-Tronic Episode 1
  • Art-a-Tronic Episode 2
  • Art-a-Tronic Episode 3
  • Art-a-Tronic Episode 4
  • Art-a-Tronic Episode 5

 

Next Episodes

  • Art-a-Tronic Episode 7
  • Art-a-Tronic Episode 8
  • Art-a-Tronic Episode 9
  • Art-a-Tronic Episode 10
  • Art-a-Tronic Episode 11
  • Art-a-Tronic Episode 12
  • Art-a-Tronic Episode 13
  • Art-a-Tronic Episode 14
  • Art-a-Tronic Episode 15
  • Art-a-Tronic Episode 16
  • Sign in to reply

Top Comments

  • dubbie
    dubbie over 6 years ago +2
    Enrico, I like the shape and layering of the eye, but as you say, it is a bit out of proportion to the rest of the head. A good process for solving the software conflict problem. Interrupts are always…
  • balearicdynamics
    balearicdynamics over 6 years ago in reply to dubbie +2
    Hello Dubbie, thank you. A new version of the implant, with the right proportions, has already been 3D printed and tomorrow it will replace this one I am tempted to show you a preview of the new printing…
  • dubbie
    dubbie over 6 years ago in reply to balearicdynamics +2
    Enrico, I agree, early previews never seem to go down well. Much better to wait until the final version is ready. Dubbie
Parents
  • dubbie
    dubbie over 6 years ago

    Enrico,

     

    I like the shape and layering of the eye, but as you say, it is a bit out of proportion to the rest of the head. A good process for solving the software conflict problem. Interrupts are always tricky.

     

    Dubbie

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 6 years ago in reply to dubbie

    Hello Dubbie,

     

    thank you. A new version of the implant, with the right proportions, has already been 3D printed and tomorrow it will replace this one image

    I am tempted to show you a preview of the new printing, but it's better to deserve the surprise. Stay in touch!

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 6 years ago in reply to balearicdynamics

    Enrico,

     

    I agree, early previews never seem to go down well. Much better to wait until the final version is ready.

     

    Dubbie

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • dubbie
    dubbie over 6 years ago in reply to balearicdynamics

    Enrico,

     

    I agree, early previews never seem to go down well. Much better to wait until the final version is ready.

     

    Dubbie

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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