Week 11¶
00 Assignment
- Research and document inspiration from existing machines, open-source hardware and digital fabrication projects related to textiles.
- Explore different mechanical systems and technologies used in textile production and processing.
- Develop a concept for a machine that supports or automates a textile-related process.
- Design, adapt and fabricate mechanical components using digital design and fabrication techniques.
- Assemble the mechanical structure and integrate electronic components, motors and control systems.
- Develop and program the machine's control system using a microcontroller.
- Explore different interaction and control methods to improve the usability of the machine.
- Test the machine, identify technical challenges and improve its functionality through iterative development.
- Document the design process, fabrication parameters, electronic circuits, programming and assembly steps.
- Demonstrate the functionality of the machine and reflect on its performance, limitations and potential future improvements.
- Share the relevant design files, source code and documentation to support open-source development and reproducibility.
01 Inspiration & Research¶
Julia and I had a long list of ideas for Machine Building Week. One was a 3D printer that could use strips of fabric as filament. Another was a paste printer that could print with a mixture made from textile scraps or waste paper. We also considered a punch-card loom and a grow box where we could watch roots grow through molds for our biofabrication projects.
A textile shredder was another idea on our list. It would give us a way to prepare our fabric offcuts for new composite experiments. Brunna Gonçalves Ramos explored a similar idea during Fabricademy in 2022. She wanted to shred textile waste for her composite samples and documented her work on a small-scale shredder.
01 Textile Shredder – Brunna Gonçalves Ramos, Fabricademy 2022
With so many ideas to choose from, we took a closer look at the textile area in our FabLab in Bottrop. What was missing that we could put to use right away? We didn't have a spinning wheel, and we both liked the idea of starting with loose wool and spinning our own yarn for future textile projects.
Electric Eel Wheel 5¶
Julia found the Electric Eel Wheel 5 (EEW5), an open-source electric spinning wheel designed by Maurice Ribble of Dreaming Robots. The original project includes the CAD models, electronics schematics and firmware. This gave us a starting point for building our own version in the lab.
We decided to follow the original design for the mechanical parts and 3D print them ourselves. For the electronics, I built a prototype around an Arduino Nano and connected a foot pedal so we could adjust the spinning speed while keeping both hands free to guide the fibers.
02 Electric Eel Wheel 5 – Original documentation and design files
02 Project Preparation¶
Julia and I started by going through the original EEW5 project files and comparing the parts in the design with what we already had in the FabLab. We wanted to work out which parts we could make ourselves, which ones we could replace with materials or components we had on hand, and what we would need to buy to build a working prototype.
We also thought about how we would use the machine. Julia suggested adding a foot pedal so we could control the spinning wheel while keeping both hands free to draw out and guide the fibres.
With that idea in mind, we took a closer look at the original electronics and checked our own stock. We already had all the electronic components we needed for a working prototype. Some differed from those in the original design, so we adapted the circuit to suit our components and the way we wanted to control the wheel. This meant we could build the electronics without buying anything extra. The Electronics chapter covers the components we chose and how we connected them.
03 Rebuilding the Original Design¶
We started by building the mechanical parts of the original Electric Eel Wheel 5. I 3D-printed the parts from the original project files, and Julia laser-cut the remaining pieces. We left the electronics for a later step.
Once the parts were ready, we did a trial assembly using the video below as a guide. Putting the parts together helped us understand how the spinning wheel worked and see what we needed to change for our version.
03 Rebuilding the Original Design¶
We started by building the mechanical parts of the original Electric Eel Wheel 5. I 3D-printed the parts from the original project files, and Julia laser-cut the remaining pieces. We left the electronics for a later step.
Once the parts were ready, we did a trial assembly using the video below as a guide. Putting the parts together helped us understand how the spinning wheel worked and see what we needed to change for our version.
We also 3D-printed the parts for the foot pedal and assembled it. We left out the pedal’s microcontroller and connected a long cable directly to the potentiometer so we could connect it to the spinning wheel’s electronics later.
MIDI Foot Pedal – 3D Print Files
04 Electronics¶
I built the spinning wheel’s motor control circuit using an Arduino Nano Classic and an L298N motor driver. The circuit has two speed controls and three switches. The switches turn the wheel on and off, select hand or foot control, and reverse the direction of rotation.
Components¶
- Arduino Nano Classic
- L298N motor driver module
- DC motor and DC power supply
- Two potentiometers, one on the machine and one inside the foot pedal
- Three switches for power, hand or foot control, and direction
- One status LED with a 330 Ω series resistor
Speed and direction control¶
I connected the hand potentiometer to A0 and ran a long cable from the foot pedal’s potentiometer to A1. The switch on D2 selects which potentiometer controls the speed. With the pedal selected, I can adjust the speed while keeping both hands free to draw out and guide the fibres.
The hand potentiometer gives readings from 0 to 1023. The pedal only moves its potentiometer through part of its travel, giving readings of about 5 to 213. I mapped each input range separately so the pedal could cover the full speed range within its available travel.
The Arduino controls the motor speed by sending a PWM signal from D5 to the L298N’s ENA input. I removed the ENA jumper to use this signal. The direction switch on D3 selects forward or reverse, and the Arduino sets the direction through D6 and D7, which connect to IN1 and IN2 on the driver.
Power supply¶
The main switch turns the DC supply on and off. I kept the L298N’s 5V-EN jumper in place so its onboard regulator supplies the Arduino through the module’s 5 V output. The Arduino and motor driver share a common ground. A status LED with a 330 Ω series resistor shows when the circuit is powered.
Wiring the Prototype¶
I stripped and tinned the wire ends, then soldered them to the components or secured them in screw terminals.
I covered exposed connections with heat-shrink tubing to insulate them with a heating gun.
For this first prototype, I plugged the Arduino Nano into a mini breadboard and used plug-in connections on the breadboard side. This made it easy to move wires to different pins and change the wiring as I tested the circuit.
There were too few free holes next to the Arduino’s GND pin for all the ground wires, so I made a short jumper wire to connect GND to another row on the breadboard. This gave me four additional ground connection points.
05 Programming¶
I programmed the Arduino Nano to control the speed and direction of the spinning wheel. The programme repeatedly checks the two control switches, reads the active potentiometer and updates the signals sent to the L298N motor driver. This lets me adjust the speed while spinning and use either the hand knob or the foot pedal.
Selecting the speed control¶
The switch on D2 tells the Arduino which control to use. When the switch is closed, the programme uses the hand potentiometer connected to A0. When it is open, the programme uses the foot pedal connected to A1. Both controls adjust the same motor, but the pedal lets me keep both hands free to draw out and guide the fibres.
Mapping the potentiometer readings¶
The hand potentiometer covers the full analog input range from 0 to 1023. The foot pedal only turns its potentiometer through part of its mechanical travel, so its readings range from about 5 to 213. I used a separate mapping for each control so that the pedal’s resting position corresponds to zero output and pressing it all the way down gives the maximum output.
The Arduino uses the mapped value to generate a pulse-width modulation (PWM) signal on D5, which is connected to the L298N’s ENA input. At a low setting, the driver powers the motor for a short part of each pulse cycle. As I turn the knob or press the pedal further, the pulses stay on for longer, increasing the power delivered to the motor.
Setting the direction of rotation¶
The direction switch has its own input on D3. With the switch open, the programme selects forward rotation. With the switch closed, it selects reverse. The Arduino sends that choice through D6 and D7 to the driver’s IN1 and IN2 inputs. The L298N reverses the polarity at the motor terminals to change the direction, and the selected potentiometer continues to control the speed.
// L298N motor driver connections
const byte motorPWM = 5; // ENA: controls motor speed using PWM
const byte motorIN1 = 6; // IN1 and IN2 set the direction together
const byte motorIN2 = 7;
const byte potiSchalter = 2; // Selects hand control or foot pedal
const byte richtungsSchalter = 3; // Selects forward or reverse
// Measured analog readings at the two ends of the pedal travel
const int potiA1Min = 5;
const int potiA1Max = 213;
const unsigned long bremszeitMs = 1500; // Brake for 1.5 seconds
bool vorwaerts; // Stores the current direction
void setzeRichtungNachSchalter() {
if (digitalRead(richtungsSchalter) == HIGH) {
// D3 open: run forward
digitalWrite(motorIN1, HIGH);
digitalWrite(motorIN2, LOW);
vorwaerts = true;
} else {
// D3 connected to GND: run in reverse
digitalWrite(motorIN1, LOW);
digitalWrite(motorIN2, HIGH);
vorwaerts = false;
}
}
void bremseMotor() {
// Disable the motor output before changing the direction pins.
analogWrite(motorPWM, 0);
// Active braking: enable the bridge with both motor outputs LOW.
digitalWrite(motorIN1, LOW);
digitalWrite(motorIN2, LOW);
digitalWrite(motorPWM, HIGH);
Serial.println("Richtungswechsel: Motor bremst");
delay(bremszeitMs);
// Release the brake before selecting the new direction.
digitalWrite(motorPWM, LOW);
}
void setup() {
// Internal pull-ups keep both switch inputs HIGH when open.
pinMode(potiSchalter, INPUT_PULLUP);
pinMode(richtungsSchalter, INPUT_PULLUP);
pinMode(motorPWM, OUTPUT);
analogWrite(motorPWM, 0);
pinMode(motorIN1, OUTPUT);
pinMode(motorIN2, OUTPUT);
Serial.begin(9600);
setzeRichtungNachSchalter();
}
void loop() {
bool schalterAufVorwaerts = digitalRead(richtungsSchalter) == HIGH;
// Brake only when the switch requests a change of direction.
if (schalterAufVorwaerts != vorwaerts) {
bremseMotor();
// Read D3 again in case the switch moved during braking.
setzeRichtungNachSchalter();
}
int potiWert;
int pwmWert;
if (digitalRead(potiSchalter) == LOW) {
// D2 closed: use the hand control on A0 over its full range.
potiWert = analogRead(A0);
pwmWert = map(potiWert, 0, 1023, 0, 255);
Serial.print("A0");
} else {
// D2 open: use the foot pedal on A1.
potiWert = analogRead(A1);
// Limit the reading to the measured pedal range before scaling:
// 5 or below gives 0 PWM; 213 or above gives 255 PWM.
int begrenzterWert = constrain(potiWert, potiA1Min, potiA1Max);
pwmWert = map(begrenzterWert, potiA1Min, potiA1Max, 0, 255);
Serial.print("A1");
}
analogWrite(motorPWM, pwmWert);
// Show the raw reading, PWM output and direction in the Serial Monitor.
Serial.print(" | Poti = ");
Serial.print(potiWert);
Serial.print(" | PWM = ");
Serial.print(pwmWert);
if (vorwaerts) {
Serial.println(" | Richtung = vorwaerts");
} else {
Serial.println(" | Richtung = rueckwaerts");
}
delay(50);
}
06 Final Assembly¶
With all the components ready, I thought I only had to put the spinning wheel together. I installed the electronics first, as shown below. When I tried to mount the motor, I realised that the switches extended into the space where the motor was supposed to sit.
There was no time to laser-cut new panels, so I had to improvise. Luckily, the wood glue hadn’t fully dried yet, and I was able to take the housing apart. My first idea was to swap the front and back panels, but the slots for the wooden panels were slightly offset and no longer lined up when I reversed the layout.
With a little hot glue and some careful adjustments, I managed to reassemble the housing with the front and back panels swapped and the side panels mirrored. This gave the motor enough room and left space for all the electronics.
For the drive belt, we used a rubber sealing ring from an aquarium filter. It was exactly the size we needed.
07 Testing¶
The last time I spun yarn was about 10 to 15 years ago on my mother’s spinning wheel, so I watched a few videos to refresh my memory before testing ours.
The videos helped me realise that the orange bobbin needed to turn at a different speed from the flyer for the yarn to wind onto it. I used a rubber band and the two holes already in the housing to make a simple brake. With the band in place, I could slow the bobbin down. With the band removed, it could spin freely.
When I started feeding in the wool, it caught on a rough edge of one of the PETG parts. I hadn’t been able to remove all the support material, and the fibres kept snagging on what was left. I took off the side where the wool was catching and was then able to do my first spinning test.
08 Results and Next Steps¶
We built a working prototype of an electric spinning wheel and used it for a first spinning test. The test showed two things I would change in the next version.
First, I would move the control switches to the current location of the on/off switch and move the on/off switch to the back. This would keep the controls for speed mode and direction together and clear the space needed for the motor.
Second, the motor struggled to keep the flyer turning when I applied the brake to slow down the bobbin. The brake helps the yarn wind onto the bobbin, but it also adds load to the drive. We will probably need a motor with more torque to keep the flyer turning steadily under that load.


















