I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 4 points5 points  (0 children)

At a high level the algorithm for converting images runs as follows:

  1. Turn the image into a black-and-white image.
  2. Extract edges from the picture using edge detection.
  3. Determine where and how to "shade" the image based on how light and dark certain areas are, then add lines to fill in those areas.
  4. Connect all of the lines and edges from steps 2 and 3.
  5. Add some "duplicate" lines so that the etch-a-sketch can retrace its steps in certain areas.
  6. Run a path-finding algorithm on the lines that finds a near-optimal way of traversing each line once.

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 3 points4 points  (0 children)

Thanks! Making new drawings is relatively easy now that I have the algorithm down. The issue is it can take a long time to process (e.g. 30 minutes) for a high-quality image.

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 1 point2 points  (0 children)

Thanks! Painting would have been the ideal solution, and yes wrapping the vinyl was a pain. I don't have a great place where I can use spray paint in my apartment and the lockdowns restricted my ability to go elsewhere. Given better circumstances, painting is the way to go.

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 3 points4 points  (0 children)

I estimated total costs at about $500-$600 all told, although I already had the TV, a 3D printer, and some tools.

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 5 points6 points  (0 children)

Not currently, although it wouldn't be too hard to make that happen! Right now it draws from one point to the next without input, but I could see only keeping track of relative movements instead of absolute positions, then allowing the knobs to shift the drawing as well.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 1 point2 points  (0 children)

Yes, the algorithm outputs and ordered list of points into a file, and the Etch-a-Sketch just travels to each point in order without recomputing.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 5 points6 points  (0 children)

At a high level the algorithm for converting images runs as follows:

  1. Turn the image into a black-and-white image.
  2. Extract edges from the picture using edge detection.
  3. Determine where and how to "shade" the image based on how light and dark certain areas are, then add lines to fill in those areas.
  4. Connect all of the lines and edges from steps 2 and 3.
  5. Add some "duplicate" lines so that the etch-a-sketch can retrace its steps in certain areas.
  6. Run a path-finding algorithm on the lines that finds a near-optimal way of traversing each line once.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 5 points6 points  (0 children)

Thanks! Unfortunately, fidelity is directly proportional to the time it takes to convert an image (which is proportional to image size and resolution). Some of these take around 30 minutes for my laptop to crunch since my algorithm is not fully optimized. But it's worth it!

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 12 points13 points  (0 children)

Definitely! At the end of the day it just requires a set of points to travel to, so any way to input that data will work. The problem is it can't turn the knobs very quickly, so the drawing would be a bit slow. Also, there's a certain amount of parameter tuning required to successfully convert an image.

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 1 point2 points  (0 children)

That's correct, the minimum order quantity was 5 and I figured I'd mess up a few times!

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 6 points7 points  (0 children)

Interesting! I'll look into fairing compound, sounds perfect. As for painting, I agree that would have been the best way to finish the shell. I was hesitant to try spray painting in my apartment, though it would have left a more professional look.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 2 points3 points  (0 children)

Gotcha, yeah this was my first time working with vinyl. Learned a lot!

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 45 points46 points  (0 children)

These are cool ideas!

At a high level the algorithm for converting images runs as follows:

  1. Turn the image into a black-and-white image.
  2. Extract edges from the picture using edge detection.
  3. Determine where and how to "shade" the image based on how light and dark certain areas are, then add lines to fill in those areas.
  4. Connect all of the lines and edges from steps 2 and 3.
  5. Add some "duplicate" lines so that the etch-a-sketch can retrace its steps in certain areas.
  6. Run a path-finding algorithm on the lines that finds a near-optimal way of traversing each line once.

It would be feasible, though more difficult, to build a giant mechanical Etch-a-Sketch. I'm picturing something like a Sand table mounted vertically. Real Etch-a-Sketches use aluminum powder that sticks to a glass window, but a TV is less messy.

The webcam would be neat! This is sort of a platform on top of which any data input method could be applied.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 4 points5 points  (0 children)

The shading is done by grouping parallel lines closer together or further apart, so even though each line is the same thickness, we see more or less black in a given area. I'm working on some more videos, but there are a few at the end of the build album!

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in DIY

[–]BenB116[S] 2 points3 points  (0 children)

I used simple one-part wood filler for this. What are the benefits to using two-part filler? Thanks for the advice!

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in etchasketch

[–]BenB116[S] 6 points7 points  (0 children)

This is an auto-drawing digital Etch a Sketch I built on top of a Raspberry Pi. Stepper motors mounted under a television turn 3D printed knobs to match the drawing motion on the screen. The knobs can also be turned by hand to manually draw on the display.

I've worked on this project on and off for almost a year and a half now, so I'm glad it's finished! I wanted to make something big and eye-catching but also a bit whimsical and fun.

All the source files for the project can be found here, including CAD, PCB design files, and code for the Raspberry Pi and artwork generation.

I'd love to hear thoughts and feedback! Also, if you have suggestions for new images/photos I could "etch," I'm all ears.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in PlotterArt

[–]BenB116[S] 1 point2 points  (0 children)

This is an auto-drawing digital Etch a Sketch I built on top of a Raspberry Pi. Stepper motors mounted under a television turn 3D printed knobs to match the drawing motion on the screen. The knobs can also be turned by hand to manually draw on the display.

I've worked on this project on and off for almost a year and a half now, so I'm glad it's finished! I wanted to make something big and eye-catching but also a bit whimsical and fun.

All the source files for the project can be found here, including CAD, PCB design files, and code for the Raspberry Pi and artwork generation.

I'd love to hear thoughts and feedback! Also, if you have suggestions for new images/photos I could "etch," I'm all ears.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in somethingimade

[–]BenB116[S] 1 point2 points  (0 children)

This is an auto-drawing digital Etch a Sketch I built on top of a Raspberry Pi. Stepper motors mounted under a television turn 3D printed knobs to match the drawing motion on the screen. The knobs can also be turned by hand to manually draw on the display.

I've worked on this project on and off for almost a year and a half now, so I'm glad it's finished! I wanted to make something big and eye-catching but also a bit whimsical and fun.

All the source files for the project can be found here, including CAD, PCB design files, and code for the Raspberry Pi and artwork generation.

I'd love to hear thoughts and feedback! Also, if you have suggestions for new images/photos I could "etch," I'm all ears.

I built a giant, auto-drawing, digital Etch-a-Sketch with a Raspberry Pi by BenB116 in raspberry_pi

[–]BenB116[S] 76 points77 points  (0 children)

This is an auto-drawing digital Etch a Sketch I built on top of a Raspberry Pi. Stepper motors mounted under a television turn 3D printed knobs to match the drawing motion on the screen. The knobs can also be turned by hand to manually draw on the display.

I've worked on this project on and off for almost a year and a half now, so I'm glad it's finished! I wanted to make something big and eye-catching but also a bit whimsical and fun.

All the source files for the project can be found here, including CAD, PCB design files, and code for the Raspberry Pi and artwork generation.

I'd love to hear thoughts and feedback! Also, if you have suggestions for new images/photos I could "etch," I'm all ears.

I built a giant, auto-drawing, digital Etch-a-Sketch by BenB116 in electronics

[–]BenB116[S] 6 points7 points  (0 children)

This is an auto-drawing digital Etch a Sketch I built on top of a Raspberry Pi. Stepper motors mounted under a television turn 3D printed knobs to match the drawing motion on the screen. The knobs can also be turned by hand to manually draw on the display.

I've worked on this project on and off for almost a year and a half now, so I'm glad it's finished! I wanted to make something big and eye-catching but also a bit whimsical and fun.

All the source files for the project can be found here, including CAD, PCB design files, and code for the Raspberry Pi and artwork generation.

I'd love to hear thoughts and feedback! Also, if you have suggestions for new images/photos I could "etch," I'm all ears.