This weeks assignments (week 09 + 10) are about Mechanical Design & Machine Making. This time it is a group task in which we have to build a machine that MAKEs something.
In our team at FabLab Kamp-Lintfort we did brainstorming and came up with some nice ideas. To foster a decision we classified them by dimensions of: craziness/ practicability and hardness/easiness.
The outcome of the process can be found here
At the end we decided to do a serious but not to serious machine that MAKEs fun to MAKE.
THE "PixelPlanter" ...!
Notes from lecture + comments:
As mentioned, we developed the PixelPlanter as a group
All the documentation (even mine) can be found on our PixelPlanter group-page
Within this assignment, my tasks have been:
While reading through the [m]MTM website we realized that we are missing a FABNET USB:
Fabnet is a multi-drop network, meaning that multiple modules (a.k.a. nodes) share a single set of communication wires. Signalling is differential based on the RS-485 specification. Each node is assigned a four-byte IP address which uniquely identifies it over the network. Besides communication, Fabnet provides power at two voltages: high voltage (12V - 24V) is intended to drive motors, lamps and actuators, while low voltage (7.5V) supplies power to the logic circuits of the nodes.http://mtm.cba.mit.edu/fabinabox/dev/fabnet/overview.html
Milling the board, soldering the components, solder wires.
Finally, we connected the FABNET USB to the Gestalt-Node.
For the extrusion we thought about using a stepper motor (NEMA 17 Stepper motor) and a timing belt to make the screw-extruder turn.
I wanted to use the L298N Dual H-Bridge Motor Controller module with an Arduino. I found some tutorails about it, such as:
1. DC motor 1 “+” or stepper motor A+ 2. DC motor 1 “-” or stepper motor A- 3. 12V jumper – remove this if using a supply voltage greater than 12V DC. This enables power to the onboard 5V regulator 4. Connect your motor supply voltage here, maximum of 35V DC. Remove 12V jumper if >12V DC 5. GND 6. 5V output if 12V jumper in place, ideal for powering your Arduino (etc) 7. DC motor 1 enable jumper. Leave this in place when using a stepper motor. Connect to PWM output for DC motor speed control. 8. IN1 9. IN2 10. IN3 11. IN4 12. DC motor 2 enable jumper. Leave this in place when using a stepper motor. Connect to PWM output for DC motor speed control. 13. DC motor 2 “+” or stepper motor B+ 14. DC motor 2 “-” or stepper motor B-
for( int i=8; i<12; digitalWrite( i++, LOW ) );
in which I turned off all Pins. /* Stepper Motor Control This program drives a unipolar or bipolar stepper motor. The motor is attached to digital pins 8 - 11 of the Arduino. The motor should revolve one revolution in one direction, then one revolution in the other direction. Modified 02.05.2016 by Karsten Nebe (based on code of by Tom Igoe) */ #includeint speed=120; int pause=500; // to prevet the H-Bridge from overheating, the motor enable pins will be manually turned off and on (when needed) int m1 = 12; // motor on/off pin int m2 = 13; // motor on/off pin const int stepsPerRevolution = 200; // change this to fit the number of steps per revolution // initialize the stepper library on pins 8 through 11: Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11); void setup() { // set the speed at 60 rpm: myStepper.setSpeed(speed); // initialize the serial port: Serial.begin(9600); } void motorOn(){ // turn on motor enable pin 1 digitalWrite( m1, HIGH ); // turn on motor enable pin 2 digitalWrite( m2, HIGH ); } void motorOff(){ // turn on motor enable pin 1 digitalWrite( m1, HIGH ); // turn on motor enable pin 2 digitalWrite( m2, HIGH ); // turn off all input pins. for( int i=8; i<12; digitalWrite( i++, LOW ) ); } void loop() { // step one revolution in one direction: // Serial.println("clockwise"); motorOn(); myStepper.step(stepsPerRevolution); motorOff(); delay(pause); // step one revolution in the other direction: // Serial.println("counterclockwise"); motorOn(); myStepper.step(-stepsPerRevolution); motorOff(); delay(pause); }
Using the satshakit to run the motor of the extruder: