Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

DIY Open Embroidery Machine #WearableWednesday

2014-04-21 19.58.42

DIY Embroidery machine with XY belt and pinion drive via Hackaday

I was thinking about a winter project when the Missus informed me that she fancied an embroidery machine. Although there seemed plenty of options, I got to thinking that perhaps I could adapt her relatively cheap sewing machine. This site helped me to quickly understand the many options that would be available to me.

The main requirement is to control a 2D XY arm that positions the embroidery hoop as required. In addition, the machine also requires control of the sewing machine mains supply, and some means of reliably detecting the needle position.

I came across the V-Slot belt and pinion drive, as published on this site, and set about creating a 2D version using a single gantry plate with drives on opposing sides.The attached sketch-up file shows the final concept, and it is this design that became the prototype.

The type 17 stepper motors use a pinion with 20 teeth driving a 2mm pitch belt (rack). Thus one full revolution gives a displacement of 40mm – this results in a resolution of 0.1mm when used in half step mode. The stepper drives were purchased from EBAY and use the very common L298 driver. I used a 12V supply and pulse width modulation to control the maximum drive current.

The heart of the system is based around a 16F73 PIC Microcontroller that provides the stepper motor control and current regulation. The speed is set at a relatively sluggish 500 steps/s for both axes, avoiding the need for relatively complex acceleration/deceleration profiles. The PIC chip also monitors the mains zero crossing and controls the trigger delay for the TRIAC – used to control power to the sewing machine motor. Both these circuits are opto-isolated to ensure separation from the main supply – this should not be attempted unless you are experienced in the field!

The needle position detection proved quite tricky, but a simple solution using some very fine spring steel gave me the detection required.

Finally, communications to the PIC chip was via serial I/O – using a simple ascii command set running at 38400 Baud.

The high level interaction is provided by an Android tablet (Nexus 7) with code on this developed using Eclipse. Bluetooth connection was provided by adding a widely available Ebay Bluetooth module to the embedded board. I probably spent just as much time with Eclipse as I did on the rest of the project put together. My background is C++ using MS Visual Studio 2010 and it took quite a bit of conversion to get into the Java world!



Adafruit has had paid day off for voting for our team for years, if you need help getting that going for your organization, let us know – we can share how and why we did this as well as the good results. Here are some resources for voting by mail, voting in person, and some NY resources for our NY based teams as well. If there are additional resources to add, please let us know – adafruit.com/vote

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 24,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Turn into a ghost

Electronics — Multimeter Peaks

Python for Microcontrollers — Python on Microcontrollers Newsletter: M.2 Boards, VSCode for CircuitPython and more! #Python #Adafruit #CircuitPython #ElectronicHalloween @micropython @ThePSF

Adafruit IoT Monthly — Matrix Portal, Solar Lawn Sprinkler and more!

Microsoft MakeCode — micro:bit version 2 Announced!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — JP’s Product Pick of the Week 10/27/20 BME680 VOC Sensor @adafruit @johnedgarpark #adafruit #newproductpick

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



1 Comment

  1. Great project.

    Can you give us an idea of build cost?

    Can we use a larger hoop?

    Thanks for any help.

Sorry, the comment form is closed at this time.