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
Make Life Accessible
  • Challenges & Projects
  • Design Challenges
  • Make Life Accessible
  • More
  • Cancel
Make Life Accessible
Blog EyePrints - Post 15 - The plotter
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: amgalbu
  • Date Created: 17 Jun 2016 3:25 PM Date Created
  • Views 618 views
  • Likes 2 likes
  • Comments 2 comments
  • makelifeaccessible
  • python
  • eyeprints
  • servo
  • make_life_accessible
Related
Recommended

EyePrints - Post 15 - The plotter

amgalbu
amgalbu
17 Jun 2016

Previous posts

Post 1 - Introduction

Post 2 - Installing OpenCV - Prerequisites

Post 3 - Installing OpenCV

Post 4 - Installing Pygaze

Post 5 - Installing eye tracker

Post 6 - SPI communication

Post 7 - SPI communication in Python

EyePrints - Post 8 - Getting started with Kinetis

EyePrints - Post 9 - Mechanical design

EyePrints - Post 10 - Mechanical design: the plotter

EyePrints - Post 11 - Eye tracker software

EyePrints - Post 12 - Getting started with the kit

EyePrints - Post 13 - KDS Project

EyePrints - Post 14 - The drawing board

 

In this post, I will show some pictures and video of the plotter

The plotter has a servo that can lift the pencil when the painter wants to move to another area without drawing anything on the board

 

The servo is controlled by a small Python script

 

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(11,GPIO.OUT)
pwm=GPIO.PWM(11,50)

To put down the pencil, the start method of the pwm object is invoked

pwm.start(7)
pwm.start(0)

To lift the pencil up, the start method of the pwm object is invoked with different values

pwm.start(5.5)
pwm.start(0)

Both values (7 and 5.5) has been determined empirically. The second invokation of the start method (pwm.start(0)) is required to "stop" the servo. The PWM signal generated by the Rapsberry Pi is not very stable, so the servo keeps on correcting its position. The pwm.start(0) function prevents the servo from moving continuously around its final position

 

image

Here is the plotter with the pen in the "up" position

image

 

And here is the pen in "down" position

image

 

Finally, here is a video of the plotter in action

 

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

  • Sign in to reply
Parents
  • DAB
    DAB over 9 years ago

    I am not sure that gravity alone will work, but it would be easy to spring load the pen.

     

    Have you determined the useability levels for the eye tracking?

     

    I am curious just how much control you end up with.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 9 years ago

    I am not sure that gravity alone will work, but it would be easy to spring load the pen.

     

    Have you determined the useability levels for the eye tracking?

     

    I am curious just how much control you end up with.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • amgalbu
    amgalbu over 9 years ago in reply to DAB

    Hi DAB

    Gravity alone actually seems to work bit let's see what happens when drawing on a inclined plane

    Regarding the usability, I am just starting experiencing bit it seems I wiil have to analyze the fixation point. Current approach makes it very difficult to calibrate pupil position

     

    Cheers

    Ambrogio

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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