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 PiCassoTizer - The Snowman Smiles - Blog 5
  • 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: dougw
  • Date Created: 5 May 2019 5:04 AM Date Created
  • Views 809 views
  • Likes 9 likes
  • Comments 3 comments
  • doug wong
  • smiling snowman
  • absolute mouse moves
  • hid
  • picassotizer
  • snowman
  • picasso design challenge
Related
Recommended

PiCassoTizer - The Snowman Smiles - Blog 5

dougw
dougw
5 May 2019

In the last blog I showed a slide-pot HID mouse. but it was not truly providing absolute mouse position, which is needed for the finger touch version. It was using an arduino to try and keep track of where the mouse was in an absolute sense and using relative mouse movement to get to where the pot voltages were demanding. It was a bit glitchy and could lose track of its position and it was still too sensitive to acceleration - so I spent a lot of time to try and smooth he system out with software, checking for glitches and filtering plus editing the mouse configuration parameters for acceleration etc. The HID device did not have as many parameters to edit as a proper mouse, so it still ended up less than satisfactory on the Raspberry Pi, although it worked quite well on a PC.

Eventually I discovered the absmouse library programmed by Johnathan Edgecombe, which took care of the absolute coordinate and acceleration issues, and my filters took care of the glitches. I don't know how I missed this library earlier - probably I believed all the stories about how Linux couldn't do absolute mouse moves, and stopped looking.

Here is a quick video showing the slide-pot mouse editing a photograph I took this winter:

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

It is the first "artwork" of the PiCassoTizer system - its an awful long way from a Picasso, but even baby steps can be interesting.

The pieces are starting to come together. There is still some software to do to get the trigonometry right, but most of the tricky stuff is well on its way. I am still waiting for parts to make a complete system, which is a little worrisome, but sometimes that is how it goes. Maybe I can work on some of the 3D printed parts and adapt the geometry when the parts come in.

 

Relevant links:

PiCasso Design Challenge

 

PiCassoTizer - Introduction - blog 1

PiCassoTizer - Electronic Parts - Blog 2

PiCassoTizer - Finger Detection Image Processing - Blog 3

PiCassoTizer - Absolute Mouse Position - HID Simulation - Blog 4

PiCassoTizer - The Snowman Smiles - Blog 5

  • Sign in to reply

Top Comments

  • DAB
    DAB over 6 years ago +4
    Nice update Douglas. DAB
  • genebren
    genebren over 6 years ago +3
    Doug, Looking good. I really like the artistic enhancements made to your snowman (and the snowman itself is pretty cool). Gene
  • dougw
    dougw over 6 years ago in reply to genebren +2
    The key is figuring out when to stop tweaking. It is easy to go overboard and ruin the picture.
  • dougw
    dougw over 6 years ago in reply to genebren

    The key is figuring out when to stop tweaking. It is easy to go overboard and ruin the picture.

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

    Nice update Douglas.

     

    DAB

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 6 years ago

    Doug,

     

    Looking good.  I really like the artistic enhancements made to your snowman (and the snowman itself is pretty cool).

     

    Gene

    • Cancel
    • Vote Up +3 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