26

Re: Da Vinci printer Cartridge "factory" reset

nothing to do , the second one does not work.......

27

Re: Da Vinci printer Cartridge "factory" reset

@ToniPons, Bizarre - especially as the first code works fine with your set up. I'll investigate it a bit later on.

Which Arduino board are you using?

28

Re: Da Vinci printer Cartridge "factory" reset

@ToniPons. I think I may have figured what is happening. At the bottom of the serial monitor screen are options for "No line ending", "Newline","Carriage return" and "Both NL &CR".

Newline works with Code 1 as do the others but Code 2 needs to be set to "Carriage return". Nothing happens in code 2 when "No line ending" is set in the serial monitor. I have no idea why that is. But using the second code work well with that setting and as the second code is better I will keep the settings as is. Unless someone can explain the differences.

The Picture shows where the options are and I have placed an arrow to show which option to use for code 2.

I hope this cures the problem.

http://soliforum.com/i/?Ic1R8KP.jpg

29

Re: Da Vinci printer Cartridge "factory" reset

wonderfull......this solve the problem....now it work!!!!
many thanks

30

Re: Da Vinci printer Cartridge "factory" reset

@ToniPons - Great big_smile - I was beginning to wonder whether something else was happening in the code!

Thanks for your feedback and have fun resetting the cartridges to whatever specification you want.

31

Re: Da Vinci printer Cartridge "factory" reset

Hey! This code is awesome!  I'm able to read the EEPROM just fine but when I try and do "reset" I get the following (Notice all of the (failure)'s when it's trying to write to the chip): Thoughts?

Testing connection to Da Vinci EEPROM CHIP

Da Vinci EEPROM found...
Reading the Davinci EEPROM Contents...
(success)
00: 584050000030305080A8000080A80000 [email protected]........
10: D0005800504840403030303000000000 ..X.PH@@0000....
20: 000000003000000058405000A850A850 [email protected]
30: 883050A880A80000A850A85000800800 .0P......P.P....
40: 584050000030305080A8000080A80000 [email protected]........
50: D0005800504840403030303000000000 ..X.PH@@0000....
60: 000000003000000058405000A850A850 [email protected]
70: 883050A880A80000A850A85000800800 .0P......P.P....
Updating EEPROM...
(failure)
(failure)
(failure)
(failure)
(failure)
(failure)
(failure)
(failure)

Testing connection to Da Vinci EEPROM CHIP

Da Vinci EEPROM found...
Reading the Davinci EEPROM Contents...
(success)
00: 584050000030305080A8000080A80000 [email protected]........
10: D0005800504840403030303000000000 ..X.PH@@0000....
20: 000000003000000058405000A850A850 [email protected]
30: 883050A880A80000A850A85000800800 .0P......P.P....
40: 584050000030305080A8000080A80000 [email protected]........
50: D0005800504840403030303000000000 ..X.PH@@0000....
60: 000000003000000058405000A850A850 [email protected]
70: 883050A880A80000A850A85000800800 .0P......P.P....

32

Re: Da Vinci printer Cartridge "factory" reset

I am not sure that the EEPROM read is correct, some of it looks ok but other parts don't. The cartridge name looks different to the cartridge names I have seen. 
Try cleaning the contacts to ensure a good connection.

33

Re: Da Vinci printer Cartridge "factory" reset

Thanks for the help! So I replaced the wiring with new wires and after I did the reset it looks like this. It's saying "(success)" now but the EEPROM contents still looks strange to me.  What should the EEPROM contents look like after a reset?

Updating EEPROM...
(success)
(success)
(success)
(success)
(success)
(success)
(success)
(success)
Testing connection to Da Vinci EEPROM CHIP

Da Vinci EEPROM found...
Reading the Davinci EEPROM Contents...
(success)
00: 504050000030305080A0000080A00000 [email protected]........
10: D0005000504040403030303000000000 ..P.P@@@0000....
20: 000000003000000050405000A050A050 [email protected]
30: 803050A080A00000A050A05000800000 .0P......P.P....
40: 504050000030305080A0000080A00000 [email protected]........
50: D0005000504040403030303000000000 ..P.P@@@0000....
60: 000000003000000050405000A050A050 [email protected]
70: 803050A080A00000A050A05000800000 .0P......P.P....

34

Re: Da Vinci printer Cartridge "factory" reset

Have a look at the sticky at the top, or at my post. The most important thing though is, does it work with your printer?

35

Re: Da Vinci printer Cartridge "factory" reset

Anyone know if this has been ported over to a rasberry pi? I have a bunch of pis lying around and rather use them for this than go buy an arduino just for this.

They both use the same form of pinouts and communication so id think it it would be rather easy to port this over.

36

Re: Da Vinci printer Cartridge "factory" reset

@Chrislondon - sorry I was not able to give a more comprehensive response to your post - I was on holiday and had limited internet access!
The EEPROM download read from your cartridge doesn't look like any of my cartridges. This is my original stock cartridge reading:

Stock 300grms, White new cartridge - unused
00: 5A415A0000344158C0D40100C0D40100 ZAZ..4AX........
10: D2005A00544847423030363500000000 ..Z.THGB0065....
20: 0000000034000000FFFFFFFFAA55AA55 ....4........U.U
30: 883355AAC0D40100AA55AA55A7060B00 .3U......U.U....
40: 5A415A0000344158C0D40100C0D40100 ZAZ..4AX........
50: D2005A00544847423030363500000000 ..Z.THGB0065....
60: 0000000034000000FFFFFFFFAA55AA55 ....4........U.U
70: 883355AAC0D40100AA55AA55A7060B00 .3U......U.U....

600gms. Red new cartridge - unused
00: 5A4152000034335280A9030080A90300 ZAR..43R........
10: D2005A00544847423031333100000000 ..Z.THGB0131....
20: 00000000340000005A415700AA55AA55 ....4...ZAW..U.U
30: 883355AA80A90300AA55AA5507830A00 .3U......U.U....
40: 5A4152000034335280A9030080A90300 ZAR..43R........
50: D2005A00544847423031333100000000 ..Z.THGB0131....
60: 00000000340000005A415700AA55AA55 ....4...ZAW..U.U
70: 883355AA80A90300AA55AA5507830A00 .3U......U.U....

The second line shows the cartridge origin "GB" and I believe the first line includes the colour X or R in my case.
The first 4 lines are repeated to fill the EEPROM.
Your cartridge does show the repeat but the content looks odd, all those 'P's don't look like they should be there.
I have had EEPROM reads similar to that in the past when I used wires that I handheld to make a connection to the EEPROM pads. Sometimes they made a good connection but more often than not I would get garbage.
When I moved to the gold plated spring connectors my problems disappeared and the cartridge programmed OK and read OK.

Have you made any further progress with your investigations?

37

Re: Da Vinci printer Cartridge "factory" reset

This works fine with the 1.0.6 firmware on 1.0A printer and xyzware2.1.1.2. Did it with a Arduino Nano. Im not that good on arduino, didnt get the menu to work but it reseted the filament so it says 120m.

38

Re: Da Vinci printer Cartridge "factory" reset

@Landin81
"didnt get the menu to work but it reseted the filament so it says 120m."

I would be interested to find out why the menu didn't work.
And am also intrigued at how the resetter reset the filament Length to 120m without the menu working.

Did you try with carriage return option? see post to Tonypons further up.

39 (edited by CdRsKuLL 2015-07-29 22:00:25)

Re: Da Vinci printer Cartridge "factory" reset

Hi there,

I was wondering if someone would be able to help me read and select details from the eeprom like current temps etc?

The idea behind it is that everything can be coded into the eeprom via an arduino with a 2.4 tft touchscreen. I've nearly finished the gui and was hoping someone could assist so the values show at the start reflect those that are on the eeprom.

Attached is a photo.
http://soliforum.com/i/?gHjlCGM.jpg

Thanks,

Steve

40

Re: Da Vinci printer Cartridge "factory" reset

Nice GUI.

There is a lot of information regarding how to program the EEPROM with temperatures and filament settings in the original code by O.Fueckert. What specific help do you need?

41

Re: Da Vinci printer Cartridge "factory" reset

My printer runs on firmware 1.0.6. I can reset the cartidge but can't change bed or extruder temperatures.

Is this caused by the firmware version? If so, is there a way to downgrade it?

I've already tried cuttng of network connection, clicked on upgrade firmware but no windows popped up. I'm using XYZware version 1.33.3.

42

Re: Da Vinci printer Cartridge "factory" reset

Cdrskull

Great job and looks awesome!
I love the display. I would like to do the same things my arduino uno.  Could you post the code and setup?  I ordered a similar display used google and Europe site for only $10.  Hopefully it will work.

Thanks in advance.

By the way, I just bought a DV 1.1 plus wifi.  Works great after some minor issues.  The factory nature cartridge did not recognized nor install.  Luckily I ordered extras on Amazon and the spares worked fine. After the issues and researching I came across this and other similar sites, I ordered an arduino uno and tested the code on my cartridges.  Al the 3 extra cartridges worked but factory cartridge still didn't. The monitor window showed the EEPROM was all 00s then it added the counter and increments each time I ran it.  Anyone has ideas or how I can put to use the full cartridge w a bad chip?

I'm a newbie w a little IT and engineering background.  Many thanks!

43

Re: Da Vinci printer Cartridge "factory" reset

Oldsirhippy wrote:

Nice GUI.

There is a lot of information regarding how to program the EEPROM with temperatures and filament settings in the original code by O.Fueckert. What specific help do you need?

Well I've got most of it working but I would like the screen to show current eeprom settings when you first power it up.  I've managed to shift pin 7 which is used by the led screen to pin 4 and it seems to program fine. So this would be the last piece really.  I could probably suss it out but would take me a good few hours..

My code isn't fully tested but will upload as soon as I'm home for you to have a look at. I'm not a programmer more a copy and paste man.. Lol so it might need a little cleaning up..

44

Re: Da Vinci printer Cartridge "factory" reset

psjtom wrote:

Cdrskull

Great job and looks awesome!
I love the display. I would like to do the same things my arduino uno.  Could you post the code and setup?  I ordered a similar display used google and Europe site for only $10.  Hopefully it will work.

Thanks in advance.

By the way, I just bought a DV 1.1 plus wifi.  Works great after some minor issues.  The factory nature cartridge did not recognized nor install.  Luckily I ordered extras on Amazon and the spares worked fine. After the issues and researching I came across this and other similar sites, I ordered an arduino uno and tested the code on my cartridges.  Al the 3 extra cartridges worked but factory cartridge still didn't. The monitor window showed the EEPROM was all 00s then it added the counter and increments each time I ran it.  Anyone has ideas or how I can put to use the full cartridge w a bad chip?

I'm a newbie w a little IT and engineering background.  Many thanks!

I've had my 1.1 for about 2 weeks now. Really impressed with the ABS prints, but I've been trying to get mine to do PLA.. having a nightmare to be honest, keep clogging up the hotend connector. The design of the DV extruder component is crap. I don't understand how they can put so much effort into the looks and design and then bundle an hotend design like they have.  I've since removed my hotend and I'm halfway through adapting a MK8 hotend at the moment.. just waiting on a 0.4mm nozzle and then I should be able to print PLA without a problem. :-)  It's quite a straightforward replacement, no holes or anything to drill so you can always go back to the original if needed. I've also now got it working with the original tubes / filament sensors so it installs and uninstalls filament ok. I might try some PLA in it later.. that will be the test :-)

If you have managed to get the faulty eeprom to store the increments of the serial number then chances are it just arrived to you blank. You should just be able to flash a fully cart eeprom to it and away you go.  I corrupted mine a couple of times when I was trying to hold all the wires on with one finger so needs to do this myself. Have you tried the source at the beginning of this thread to reset it?

45 (edited by CdRsKuLL 2015-08-02 21:20:46)

Re: Da Vinci printer Cartridge "factory" reset

OK, I need help !!

This is the code I've done so far for the touchscreen. The touch bit works fine and does what it should. However on checking it's writing 0 for both the temp settings so I must of got the conversion wrong from int to byte. If someone could take a look that would be awesome. The material type / length works its just the temps...

Many thanks,

Steve

Post's attachments

DaVinci_Cartridge.zip 5.84 kb, 41 downloads since 2015-08-02 

You don't have the permssions to download the attachments of this post.

46

Re: Da Vinci printer Cartridge "factory" reset

I am curious. Rather than deal with an empty cartridge and have your display mounted to it, which means removing it when you want alter settings.  Why not just hardwire your resetter straight to the three pins in the machine and mount your display on the front of the machine in a printed enclosure? It would be much easier to make changes on settings and never require the top of the machine to be opened again.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

47

Re: Da Vinci printer Cartridge "factory" reset

Hi Carl, couple of reasons really. If I'm changing the filament settings then I will be changing the filament so will need to open the top anyway. The other reason is I don't want to take the chance of changing the settings whilst it's still connected to the printer. I'm unsure if feeding 3.3v to it will do anything but would rather not risk it.  It will be a 10 seconds of a job to lift it out, reprogram it and drop it back in. I'm fitting a momentary button to power it so no chance of leaving it turn on by mistake.

Just need to get them temp settings working now. .. the good news is I'm now printing in PLA with my mk8 extruder & hotend :-) very happy.. lol

48

Re: Da Vinci printer Cartridge "factory" reset

Cdrskull

I tried the orig reset code on the blank chip, no luck.  However, I used your factory reset code and worked but it reset to PLA chip and temp while I have and need a ABS chip.  Still after that I tried to change some settings but printer still sees it as a Red PLA roll when I have a ABS roll.

I was able use the roll by changing temps and Len.  Somewhat happy.  I built a arduino uno w a 9v in a printed case then used a combo of orig code w a few mods hard coded for temps length and a ten second delay at the end.  Thus it's a portable ressetter.  The arduino has a yellow LED always blinking and as soon as you touch the three leads to the chip LED will go solid yellow for 10 seconds. Long enough for you to recognize successful reset.  Also I use the thingverse chip case w three holes and loop ends of the three  22awg wires and hot glue the wires in place, works great.

I am able to use 3rd party spool w just the xyz cartridge sitting inside the Printer.  I haven't figured out what the best place to put the spool holder yet, side or top.  Lastly I too have issues w PLA printing. I ordered a real xyz PLA roll so I can do some more testing.

I have to wait 3wks for the screen but wd like to copy your setup, if possible.  I like the clean interface and tetchy screen look.  Lol

Thanks again

49

Re: Da Vinci printer Cartridge "factory" reset

@CdRsKuLL thanks for posting your code - I could not test it as I do not have the same set up as you. I am impressed that the display looks so neat.
carl_m1968 suggestion is a good one that I may implement on my DaVinci so that I can set the temperatures and lengths without having to remove the cartridge. I sometimes swap between cartridge and spool, i.e. keep a cartridge in the DaVinci and have a spool on top. carl_m1968's suggestion means that I could very quickly alter new settings back and forth without removing the cartridge. However I am not sure when the cartridge is read - I suspect the temperature settings are read at the beginning of each print.

I had a look at the relevant parts of your code and experimented - I am not a programmer! I just copy and paste as you do, and experiment until I get the results I want.

The code I came up with is:
void setup(void)
{
  Serial.begin(19200);  // I was having problems with the fastest serial link so lowered it
}
int bt[2];                     // declare bed temperature array
int extruder = 225;     // set extruder temperature
int bed = 90;              // set bed temperature
int et[2];                    // declare extruder temperature array

void loop(void)
{
  bt[0] = bed;              // set first element of bt array to value that is contained in bed
  et[0] = extruder;      // set first element of et array to value that is contained in extruder
  exttemp();                // call extruder temperature which prints the value
  Serial.print(" ");        // add a gap in the print
  bedtemp();               // call bed temperature which prints the value
}

void exttemp()
{
  Serial.print(et[0]);
}

void bedtemp()
{
  Serial.println(bt[0]);
}

When I tried   

et[0] = (extruder,0x00);

it returned a value of 0 for et[0]
likewise when I did the same for bt[0]

also I wasn't too sure about this line    bt[0] = (("%03d", bed),0x00); as it also returned zero.

So simplified the code as above.

To set the second elements of the et and bt arrays to 0, do as follows

et[1] = 0;
bt[1] = 0;

In your code you call exttemp() and bedtemp() but those do not have the new values for et[0] and bt[0], so will not be programmed.

Also Arduino int is 16 bits long, so one has to be careful that only values up to 255 are used. 65536 rolls over and becomes 0, 65537 becomes 1 etc...

As I say - I am no programmer and have probably missed something very obvious.

50

Re: Da Vinci printer Cartridge "factory" reset

Hi Oldsirhippy,

Thanks for this, I'll have a go tonight.  Just need to change it into a hex based number for the eeprom.. Fingers crossed I'll get it all working tonight now I've got a printer that's working :-)

Will post my finished code up later.

Psjtom, you just need to change the material type, 50 is pla and 41 is abs. I'll post something up tonight when I'm home if you don't sort it by then.

Steve