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
Project14
  • Challenges & Projects
  • More
Project14
Blog Analog to digital Harmonograph
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: SensoredHacker0
  • Date Created: 14 May 2024 5:38 PM Date Created
  • Views 799 views
  • Likes 9 likes
  • Comments 3 comments
  • harmonics
  • projects
  • arduino
Related
Recommended

Analog to digital Harmonograph

SensoredHacker0
SensoredHacker0
14 May 2024

The harmonographics project was a drawing machine using pendulums. A perhaps passe tik tok craze was to make pendulum art, but paint every place isnt my thing.

For the uninitiated:
A harmonograph is a mechanical apparatus that employs pendulums to create
a geometric image. The drawings it creates are called Lissajous curves. The
harmonograph was invented in 1844 by Hugh Blackburn, a professor of mathe-
matics at the University of Glasgow

Harmonographs can have many pendulums and axes interacting, but every version of harmonograph suffers from the same constraints: force, and overcoming drag.

Traditional harmonographs use mass and leverage to overcome drag
placed on a pen. This makes traditional harmonographs cumbersome, heavy, a
little bit hazardous. Everything from construction cost, to run time, to image
quality is effected by the amount of drag which must be overcome to produce
motion.

I didn't want to replicate any of that, so... what do?
Well, in an on going effort to figure it out, I ended up realizing how a drawing tablet / stylus work. The stylus is basically a transformer acting like an antenna. normal drawing with a stylus pushes the nib into the coil, like adding or removing the core of a transformer. With the nib fully inserted the stylus becomes a significantly better transformer. ordinarily, this would result in drag, and the eventual deterioration of the nibs. I just did not want the drag. So I used tape to force the nib into the stylus. Doing so allows the stylus to be detected at about an inch and a half away. 

I experimented with drafting my own drawing program, but quickly realized there is quiet a bit of interpolation going on. The tablet produces pixels, rather than vectors, or continuous lines.

 to avoid all that, I opted to use the Open Source drawing program MyPaint, which works great in linux, and was easily configurable to some specific settings related to this drawing machine.
I built a 18 inch square platform using 3D printer parts, and 4, 26  segments of threaded rod. I mounted an electrical box cover plate on the top of the plywood covering the platform, and used magnets an string to create a pulley system to adjust the pendulum body.  Placing the magnets in different positions, resulting in different lengths,  and angles, produces different chaotic motions. I made an acrylic pen holder, but that was ultimately replaced with a piece of metal I found in a dumpster. This meant I could use 3 magnets on each pendulum, and adjust their height, and placements in 3 positions each.  I also added some bolts loaded up with nuts to allow mass to be added in various ways, to effect efficiency and run time of the harmonograph.

I placed the Drawing tablet below the pendulum, and a computer running myPaint, on the upper platform.
Then I created a little remote console with a clear, and save button. I used a teensy 3.1, with a RTC module to generate time stamps. The computer was a file server, with NGINX running, so I wrote a line into the myPaint config file telling it to save to  the appropriate location.

The Arduino Code would send key strokes to clear the screen, or save the current file with a timestamped file name.

This project went through several iterations, and was on display at the Bangor Makerspace from September 2022 to February 2024.
Here are some of the pictures drawn by various visitors:

Harmonographic output.

The source code for the project is here:
https://pastebin.com/raw/Gi6dqpLd

And here is some unflattering photos of the harmonograph:
Harmonograph


Some commercial harmonographs exist, I saw a kick starter for one. it works, and fails in the same way every other hamonograph fails, by physically dragging a stylus across a surface. Im biased of course, mine was light weight, portable, and significantly more efficient, without the need to be clamped to a desk. Realistically, even a commercial digital harmonograph could produce far better results by simply taping the nib of the stylus to be at maximum insertion, and thus, eliminating drag. 

Other versions:
I made a version using fans to self start the chaotic motion. The fans where attached mid point in the pendulums, and in addition to having their own impulse motions, would also create fan turbulence, Very chaotic motion would soon ensue. unfortunately, I do not own a drawing tablet large enough to encompass the area this type of pendulum would move in.

Can't all of this be done with parametric equations on a computer?
Yeah, sure. but lame.

  • Sign in to reply

Top Comments

  • dougw
    dougw over 1 year ago +2
    Great idea. Which drawing tablet did you use?
  • DAB
    DAB over 1 year ago +1
    Interesting post. Fun is where you find it.
Parents
  • dougw
    dougw over 1 year ago

    Great idea. Which drawing tablet did you use?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • SensoredHacker0
    SensoredHacker0 over 1 year ago in reply to dougw

    I used a wacom bamboo c11 I think. 10$ on ebay.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • SensoredHacker0
    SensoredHacker0 over 1 year ago in reply to dougw

    I used a wacom bamboo c11 I think. 10$ on ebay.

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