With the StarLC10 matrix repstrap ending up as pizza plotter, a start has been made building a new 3D machine using only the parts of 3 HP deskjet 840c printers.
The printers contain many useful parts, the casing is made almost entirely out of ABS (printing material, hurray!)
Especially the sliders come in nice, rectangular frame’s which make mounting them easy. For the first tests a frame has been assembled using standard aluminum X-beams (boikon).
Using the cleaner bin (which normally brushes and seals the cartridge) a Z-axis has been made which has at least 8cm of travel:
Arduino-based control of a DC motor using incremental encoder and PID is not much more difficult than controlling a stepper motor. See the wiki for full documentation.
void setup(){
int oldposition;
Serial.begin(9600);
attachInterrupt(0, encoder, RISING);
pinMode(10,OUTPUT);
pinMode(12,OUTPUT);
setMotor(-150);
delay(50);
while(position!=oldposition) {
oldposition=position;
delay(50);
}
setMotor(0);
position=0;
}
void loop(){
if(millis()>time+1)
{
float setpoint = 1000+400*sin(n/200)+200*sin(n/50); // 1890 positions
float error = setpoint - position;
setMotor((int)(limit((Kp*error + Kd*(error-oldError) + limit((Ki*sumError),antiWindup)),255)));
oldError = error;
sumError+=error;
n++;
time=millis();
}
}
void encoder() {// encoder service routine
if (digitalRead(4)>0) position++;
else position--;
}
void setMotor(int value){ // set PWM of motor, value may range from -255 to 255
if (value>=0) {
digitalWrite(12,LOW);
analogWrite(10,value);
}
if (value<0) {
digitalWrite(12,HIGH);
analogWrite(10,value);
}
}
next up: including the extruder head, interfacing, making connections, shredding abs, making a scrap-2-3mm-wire extruder system, etc.. etc…
Using a telephone retro-interface and Arduino wav-shield-derivative a box has been build which allows you to use an old rotary phone as standalone dial-a-song system. This makes an excellent CD-pre-listening device for our CD-sales stand at concerts.
The system is fully documented (including schematics, software, PCB layout) on the wiki. Although numerous designs have been made where the innards of rotary telephones have been replaced by other electronics (birthday card sound chip, GSM telephone), this project has a completely different approach. No changes to the telephone have been made. The phonebox generates line-voltage, even the 90V 20Hz ringer voltage. A sound input/output is added for line level signals. The box is powered using 12V dc, so mobile operation is possible.
The idea (accidentally re-invented) is not new - so it is in two respects a retro-interface From wikipedia: Established by rock band They Might Be Giants (TMBG), Dial-A-Song consisted of an answering machine with a tape of the band playing various songs. The machine played one track at a time, ranging from demos and uncompleted work to fake advertisements the band had created.
So basically this design is your dial-a-song-in-a-box….
As presented for the first time on FAB6, using a Sharp gp2y0a02 sensor the flatpack-walker just got a little bit smarter. As long as the distance sensor is triggered, the robot walks backwards.
A very interesting post on retro thing : The optical audio-tapes on the pallophotophone, how would they work? Perhaps a system reminiscent of the optigan organ? I tried to make a similar system once, using a printed disc on a disk-drive motor. Unfortunately my pickup (a photodiode) only picked up 50Hz noise.. (okay, I was 12)… It took me some years to realize that I was listening to my desk lamp instead of the optical disk.. oh well…