1 (edited by CdRsKuLL 2015-08-12 19:29:30)

Topic: Touchscreen cartridge resetter

Well some of you might of seen I've been working on a touchscreen resetter for my 1.1 plus.

I did intend mounting it all within an empty cartridge but I've been struggling getting a good connection between the eeprom and the pins once inserted... So I've taken a more drastic approach.  I've now soldered directly to the pins and will be mounting the touchscreen at the back where the second cartridge goes on a dual extruder machine.

The resetter allows you to not only to reset the filament but also set material and your temps. When you power it up it reads your current eeprom settings (except roll length) and displays them.  Simply enter you new settings and click save. It then writes the new settings. I've also added a reset button which writes a new default eeprom in case your original was corrupt.

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

So... a BIG thanks to all those that have developed the mod before me as I'm more of a copy and paste coder..

Install as you would normally on an Adruino but the eeprom reset pin is now PIN4 NOT PIN7  I needed to change this as the screen uses pin 7.

Anyway, I'll post some more photos once it's finished. Just need to design a box and wait for my dpdt switch to arrive.

Thanks

Steve

Post's attachments

Touchscreen resetter.zip 189.2 kb, 263 downloads since 2015-08-12 

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

2

Re: Touchscreen cartridge resetter

Wow really nice work and thanks for sharing with the community!

Repinci 1.0 + Repetier host

3

Re: Touchscreen cartridge resetter

Well done CdRsKuLL- a nice evolution of the arduino resetter code originating with O.Fueckert.

I may well build one and place it on the front of the printer with shielded wires going to the eeprom in the cartridge at the back.

Thanks for posting your code and design.

4

Re: Touchscreen cartridge resetter

Great Project !

5

Re: Touchscreen cartridge resetter

Is this the rig you used? If not will this work?

http://www.banggood.com/UNO-R3-ATmega32 … 45755.html

6

Re: Touchscreen cartridge resetter

This was the one I used...

http://r.ebay.com/wqbnZV

Although that one you posted looks the same. Mine was in the UK so didnt take long to come.

7

Re: Touchscreen cartridge resetter

Well, managed to get chance to print a housing and get it all working :-)

Very pleased how it's turned out. I've altered the code a little, a bit rough but it works :-)

Anyway, here are some images...

The little switch works as eeprom / off / Arduino.  So I can still use normal carts as well.

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

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

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

Below are the stl files I used and the new arduino code.

Thanks

Steve

Post's attachments

Arduino case top.stl 37.78 kb, 85 downloads since 2015-08-16 

arduino surround.stl 78.79 kb, 96 downloads since 2015-08-16 

DaVinci_Cartridge.ino 19.18 kb, 158 downloads since 2015-08-16 

stand.stl 45.59 kb, 72 downloads since 2015-08-16 

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

8

Re: Touchscreen cartridge resetter

Hello. I have an Arduino one R3 (http://www.banggood.com/UNO-R3-ATmega32 … 64163.html) and a TFT LCD touch screen(http://www.banggood.com/2_4-Inch-TFT-LCD-Shield-Touch-Board-Display-Module-For-Arduino-UNO-p-940735.html) but when I load the Arduino program the screen remains blank.

Because?.

I use the version 1.6.8.

You can help me?

Pending greeting.

Andy

9

Re: Touchscreen cartridge resetter

Hi. I have this same issue. Screen remains blank when I upload code. Any advice?

10

Re: Touchscreen cartridge resetter

IIRC you  need to use 1.6.7  or earlier.

Soliddoodle 4 stock w glass bed------Folger Tech Prusa 2020 upgraded to and titan /aero extruder mirror bed
FT5 with titan/ E3D Aero------MP mini select w glass bed
MP Utimate maker pro-W bondtech extruder
Marlin/Repetier Host/ Slic3r and Cura

11

Re: Touchscreen cartridge resetter

I have the same problem i tried different TFT versions my screen IDs are ili9340 and RM68090 i have every time a white screen.
if i test the arduino board wihr an example than the display show everythink ok like an graphics test script.
but i have to use "tftlcd_5408-master" libary and not the SPFD5408. can anybody help me i am not really a c programmer.
i also tried to use an older arduino version 1.6.0 that has also the same white screen effect. my only reason is that i use the wrong driver version but how can i change the libary i get everytime an error until i compile the file.
i use a mcufriend.com shield 2,4inch tft display and arduino uno R3 .

12

Re: Touchscreen cartridge resetter

Hi can you check setting in both script (ino) files and see what is diffrant
You have to look for following line and change it to working one
Check for A3 A2 A1 A0 ????


#define LCD_CS A3
#define LCD_CD A2
#define LCD_WR A1
#define LCD_RD A0
// optional
#define LCD_RESET A4
Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);
//Adafruit_TFTLCD tft;

13

Re: Touchscreen cartridge resetter

Hello
I realized your editing with the sensitive screen that works wonderfully but I did not understand how you plug the switch with the arduino which pine you use a schemas would be interressant.
thanks in advance

14

Re: Touchscreen cartridge resetter

Switch is to power arduino Board and 1 digital pin to cartridge data pin ( you have to define that pin in program )

15

Re: Touchscreen cartridge resetter

I have manage to make it work on the Arduino r3 and whith a tft screen same as yours but my problem is that the keys to press for changing the pla abs temperatures etc are all over the place. I cant understand the X or Y axles.

16

Re: Touchscreen cartridge resetter

Someone Please Help a lost soul. I have tried for hours upon hours on trying to get this white screen away, and the only way i can do it is with MCUFRIEND_KBV and run the test graphics and it works great and every time I try your code I get the White screen of death, I have even checked all the code and tried to cut and paste code from the mcufriend and still nothing. My tft is an "mcufriend tft shield 2.4" and my screen is a 0x4532  and also it is supposed to have spfd5408 controller with built in video RAM buffer  as this is what I was sold..In the 6th line of code in the .cpp in mcufriend and when i take the // out it works perfect. any ideas how to put it into the sketch or sketches to make the Davinci tft programmer work.
Any ideas are greatly appreciated.

17

Re: Touchscreen cartridge resetter

https://github.com/prenticedavid/MCUFRI … how_to.txt

I may be wrong about this because I never used your TFT screen and did not see how you changed the code. But in general you should change the library name to the corresponding library of MCUFRIEND_KBV. Check how examples include these libraries.

#include <SPFD5408_Adafruit_GFX.h>    // Core graphics library
#include <SPFD5408_Adafruit_TFTLCD.h> // Hardware-specific library
#include <SPFD5408_TouchScreen.h>

(Da Vinci 1.0, Jr. 1.0 RAMPS, miniMaker) X4, (Creality CR-10S, CR-10 mini, Ender-3) X4, Anycubic MEGA X4, Anycubic Chrion X1, ADMILAB Gantry X2 (MonoPrice Maker Select V2, Plus, Ultimate)X4--Select mini X1, Anycubic photon X4, Wanhao duplicate D7 X1.
iNSTONE Inventor Pro X2, CTC Dual X2, ANET-A8, Hictop 3DP-11, Solidoodle Press, FLSUN I3 2017X1

18

Re: Touchscreen cartridge resetter

Hello,

This is a really nice job.  Very well executed.

May I ask, what are the specs (specifically, the dimensions of the mounting hole) of the DPDT rocker switch?

Regards,

Kev