Search found 96 matches

by Wonko
Fri Dec 14, 2018 7:15 pm
Forum: 3DP printing
Topic: Zcorp Z402 project
Replies: 4
Views: 4208

Re: Zcorp Z402 project

Mine did print a Sake Sugar model years ago. If you like, @dragonator, you can come over to Düsseldorf and take a very close look at and inside the machine and all its working parts... . No clue where @emptyset is located though ;-)
by Wonko
Thu Dec 13, 2018 10:31 pm
Forum: 3DP printing
Topic: Zcorp Z402 project
Replies: 4
Views: 4208

Re: Zcorp Z402 project

Good luck with it. I have had one for 10 years or so. The printhead are made from Unobtainium. The ribbon cables to the printhead usually rot away from the binder chemicals. The harddrive in the DOS circuit board in the back of the machine will probably not last very long, so you should make a disk ...
by Wonko
Sat Nov 17, 2018 8:47 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Here is an example to toggle bits as fast as possible using assembler: https://forum.pjrc.com/threads/31350-Maximum-GPIO-toggling-(Teensy-3-2) You can modify 8 or even 16 bits with a single instruction, but you have to prepare the patterns that you want to send. There is also an instruction to set o...
by Wonko
Sat Nov 03, 2018 2:46 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Serial.println(...); will take forever in the context. If you set 19200bps, sending a digit plus a newline character will take 8 bit per character plus start bit plus stop bit times two, or 19200/20bit = 960 calls per second maximum plus overhead. A microcontroller is different to a PC. The serial l...
by Wonko
Fri Nov 02, 2018 9:20 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Teensy uses an emulation program to allow for PORTB and PORTD commands, because Teensy has a different CPU. Please check the link below to see how Teensy ports are named and assigned: https://forum.pjrc.com/threads/17532-Tutorial-on-digital-I-O-ATMega-PIN-PORT-DDR-D-B-registers-vs-ARM-GPIO_PDIR-_PDO...
by Wonko
Sat Oct 27, 2018 9:28 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Arduino Due has the same shape as the Mega and also a faster ARM based CPU and 3.3V. I forgot to mention interrupts. To keep the serial port working and a few other things, Arduinos use interrupts that - as the name says - interrupts the flow of your program at any point in time. For the duration of...
by Wonko
Wed Oct 24, 2018 9:07 am
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Instead of digitalWrite(8, HIGH); try PORTB|=1; and PORTB&=~1; . It directly manipulates the port instead of going through a lengthy subroutine to flip a bit. The delayMicroseconds() has the same issues for very short times. You can look at this link https://stackoverflow.com/questions/44051778/dela...
by Wonko
Tue Oct 23, 2018 12:24 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

In the mean time, my printer arrived: HP something 90. It keeps switching itself off after a minute or two. I am afraid I have to return it :-( perhaps the power supply fails but did not come across this The seller of the DesignJet promised to take a look at it. He's selling various printers, so I ...
by Wonko
Sat Oct 20, 2018 10:01 am
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Yes, you ca get this signal out of one of the fast Arduinos. To access pins really fast, you can write to registers directly: https://www.arduino.cc/en/Reference/PortManipulation . This manipulates 8 bits with a single instruction. Wait cycles can be an issue at those high frequencies. There is a ca...
by Wonko
Thu Oct 18, 2018 6:28 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 162
Views: 67475

Re: Hacking cartridge HP 84/85

Hi MAsic12345, 1: Note that the Teensy 3.5 and 3.6 uses 3.3V instead of most Arduinos with 5V. Teensy 3.5 is 5V tolerant, which is probably not so important here. There is also the Arduino Due with a Cortex CPU and 3.3V, but it runs at 80MHz . 2: Don't learn C++. Just learn C. C is far simpler and m...