Pwdr / Pwdr-Model-0.1

A powder substrate rapid prototyping machine
131 stars 68 forks source link

Printer head location, ink dispersal #29

Open ajn9494 opened 10 years ago

ajn9494 commented 10 years ago

Thanks again for the help with the Arduino problem, everyone. Now, my next roadblock...

When I go to print something, the printer head is depositing ink in a haphazard fashion. For example, I loaded a model from Thingiverse called 'SmallHelperDisk'. Here's what it looks like as its converting:

1

The problem is, the printer is nowhere near the circle shape. It's depositing ink all over both bins. Here are some sheets of paper I put over the bins:

picture024

Is there a way to fix this? A way to calibrate, in a sense, the printer?

Pwdr commented 10 years ago

For me, it's not very clear what the printer is doing. For printing on paper, try a saturation (drops of binder per position) of 1. You can change the saturation in the PWDRCONF.TXT file, inside the PWDR folder on your SD card. Change the value of the fourth number to 1 in order to set the saturation.

Most probably, your wiring to the print-head is not correct.

On Tue, Jun 10, 2014 at 7:16 PM, ajn9494 notifications@github.com wrote:

Thanks again for the help with the Arduino problem, everyone. Now, my next roadblock...

When I go to print something, the printer head is depositing ink in a haphazard fashion. For example, I loaded a model from Thingiverse called 'SmallHelperDisk'. Here's what it looks like as its converting:

[image: 1] https://cloud.githubusercontent.com/assets/7737437/3233860/af612fa4-f0c2-11e3-9961-f733091b0d94.jpg

The problem is, the printer is nowhere near the circle shape. It's depositing ink all over both bins. Here are some sheets of paper I put over the bins:

[image: picture024] https://cloud.githubusercontent.com/assets/7737437/3233871/d9fe7172-f0c2-11e3-8d2f-66ba77409f79.jpg

Is there a way to fix this? A way to calibrate, in a sense, the printer?

— Reply to this email directly or view it on GitHub https://github.com/Pwdr/Pwdr-Model-0.1/issues/29.

ajn9494 commented 10 years ago

I'll check the wiring, but to make sure, this is the proper circuitry, right? Or should it be one of Boreaz's diagrams that show the rest of the printer head? There are a few schematics floating around and I want to double check.

printer scheme

Pwdr commented 10 years ago

Yes, that layout is correct.

This one might be a bit more helpful, including numbering:

[image: Inline image 1]

On Wed, Jun 11, 2014 at 8:58 PM, ajn9494 notifications@github.com wrote:

I'll check the wiring, but to make sure, this is the proper circuitry, right? There are a few schematics floating around and I want to double check.

[image: printer scheme] https://cloud.githubusercontent.com/assets/7737437/3249501/21dd69d0-f19a-11e3-98f1-02a42b635079.jpg

— Reply to this email directly or view it on GitHub https://github.com/Pwdr/Pwdr-Model-0.1/issues/29#issuecomment-45784449.

ajn9494 commented 10 years ago

For some reason, the picture you posted isn't showing up. Is this the one?

scheme with printerhead and numbers

The wiring one this one looks different than the wiring above. Also, with SD card wiring, right now it's wired with resistors based on another schematic. Is this correct?

Pwdr commented 10 years ago

Oops, I meant this image:

image

ajn9494 commented 10 years ago

Ok, so I've been playing around with the wiring. I think I got the printerhead all sorted out. Now, here's the thing. Before, when I hit "Initialize position", the printer would think the initial position is opposite the motors (like its supposed to be). When it did that, however, when the roller when I move as if to deposit a new layer of powder, the roller would activate when it moved from the build bin to the powder bin, NOT from powder to build. Also, it would move as if building in the powder bin. I played with the wiring to the motors. Switching the y-axis motor around allowed the roller to turn and move as if to deposit powder like its supposed to (powder bin to build bin), but now its thinks the initial position is at the opposite end of the printer, the same end as the y-axis motor. If I DONT hit 'initalize position', and keep the printerhead where its supposed to start when I go to print a file, it sometimes tries to print in an area not even on the bin.

Regarding my pictures posted above of the ink splatter: regardless of what design I loaded, the printerhead would just deposit ink in short lines. The very dark area is just several layers of that. After changing some wiring, it won't do it all over the place. It'll just seem to do that in a specific spot (an improvement, but still...).

Now, I'm wondering if part of the problem is how the SD card is wired. Now, its wired in using a schematic from Boreaz with resistors. If I'm using the wiring to printhead like you just gave me, should I use the version without the resistors? Or does it not matter?

I'll put it this way: Is mixing elements of the schematics (the SD card wiring in one, printhead wiring from another) ok? or strictly stick with one schematic?

Pwdr commented 10 years ago

So, there are two problems: direction of the printhead and the deposition of the printhead.

Concerning the direction of the carriage/printhead; it’s not completely clear to me what’s happening. Looks like your y-motor is turning in the opposite direction. You can alter this by editting 'PwdrFirmware2_0.ino’, change stepperY.setMaxSpeed(stepperMaxSpeed); to stepperY.setMaxSpeed(-stepperMaxSpeed);

Maybe we have a different declaration of the powder and build bin. Would it be possible to post a video or schematic overview of what’s happening?

Concerning the deposition of ink; it would be very strange when the wiring of the SD shield would influence you print results. Please post some pictures of the print result and a screenshot of how it supposed to look.

On Monday 16 June 2014 at 22:24 , ajn9494 wrote:

Ok, so I've been playing around with the wiring. I think I got the printerhead all sorted out. Now, here's the thing. Before, when I hit "Initialize position", the printer would think the initial position is opposite the motors (like its supposed to be). When it did that, however, when the roller when I move as if to deposit a new layer of powder, the roller would activate when it moved from the build bin to the powder bin, NOT from powder to build. Also, it would move as if building in the powder bin. I played with the wiring to the motors. Switching the y-axis motor around allowed the roller to turn and move as if to deposit powder like its supposed to (powder bin to build bin), but now its thinks the initial position is at the opposite end of the printer, the same end as the y-axis motor. If I DONT hit 'initalize position', and keep the printerhead where its supposed to start when I go to print a file, it sometimes with try to print in an area not even on the bin. Regarding my pictures posted above of the ink splatter: regardless of what design I loaded, the printerhead would just deposit ink in short lines. The very dark area is just several layers of that. After changing some wiring, it won't do it all over the place. It'll just seem to do that in a specific spot (an improvement, but still...).
Now, I'm wondering if part of the problem is how the SD card is wired. Now, its wired in using a schematic from Boreaz with resistors. If I'm using the wiring to printhead like you just gave me, should I use the version without the resistors? Or does it not matter?

— Reply to this email directly or view it on GitHub (https://github.com/Pwdr/Pwdr-Model-0.1/issues/29#issuecomment-46231509).

ajn9494 commented 10 years ago

Actually, since i rewired the printhead, I'm not getting any ink. Guess I might have to switch back.

I made a few videos, but they are too big to post here. Can i email them to you? If so, email me at NAJFACAJ@miamiOH.edu and I'll reply with an attachment.

ajn9494 commented 10 years ago

So, yea or nay on the email?

MasseyAlbany commented 9 years ago

Hi Guys,

I have everything working properly on my PWDR printer except the print head is not depositing any ink. I have followed this circuit diagram https://cloud.githubusercontent.com/assets/7737437/3249501/21dd69d0-f19a-11e3-98f1-02a42b635079.jpg and have designed and made a PCB from it. After doing some more research I realised that in that circuit pin 9 on the ULN2003 is connected to ground, shouldn't it be the power input? Should I have done this instead? https://cloud.githubusercontent.com/assets/1730691/3281767/10564322-f4c3-11e3-94e8-13815cda7d43.png

Pwdr commented 9 years ago

You're aboslutely right. I was recently notified about this error in the drawing, but didn't find time to fix the drawing.

Could you please perform a pull request on the PDF and SCH files?

On Wed, Mar 4, 2015 at 9:21 PM, MasseyAlbany notifications@github.com wrote:

Hi Guys,

I have everything working properly on my PWDR printer except the print head is not depositing any ink. I have followed this circuit diagram https://cloud.githubusercontent.com/assets/7737437/3249501/21dd69d0-f19a-11e3-98f1-02a42b635079.jpg and have designed and made a PCB from it. After doing some more research I realised that in that circuit pin 9 on the ULN2003 is connected to ground, shouldn't it be the power input? Should I have done this instead? https://cloud.githubusercontent.com/assets/1730691/3281767/10564322-f4c3-11e3-94e8-13815cda7d43.png

— Reply to this email directly or view it on GitHub https://github.com/Pwdr/Pwdr-Model-0.1/issues/29#issuecomment-77238832.

MasseyAlbany commented 9 years ago

Thanks. I updated my circuit and I am now getting the print head working some of the time. I'm trying to figure out if it's an issue with the print head connections or the SD card and the file it's reading.

I have wired the print head like this https://cloud.githubusercontent.com/assets/7737437/3274785/2ff4e4c6-f334-11e3-8261-a1cbfe779800.png The problem is as it's printing, there is 3 or 4 passes before the ink sprays, then a few more passes afterwards, and the part it's printing should be bigger. So I am unsure if it is reading the correct file or a print head issue. I have designed and cut a PCB to house everything, pictures here https://www.dropbox.com/sh/ftttijcstzfvxao/AADmaTgWJSQOypBgm0luFfmUa?dl=0 (ignore the unused connectors at the top, they are so I can add limit switches later).

The SD card board I am using is like this one http://cdn.instructables.com/F6V/F1OJ/H5ENQ08B/F6VF1OJH5ENQ08B.LARGE.jpg and connected using the Arduino SPI connections (pins 50,51,52,53). I was wondering what you did for the SD card, looking at the pictures on the PWDR website there is no SD card on it.

Also, I had a look at performing a pull request on the PDF and SCH files but for some reason it would not let me.

MasseyAlbany commented 9 years ago

I have just done a test with a larger part and now I believe it's the print head not the SD card as it looks like some nozzles are not firing. I have added an extra picture to the dropbox link showing this. Yes I also need to adjust the Y-axis step size.

WavingFlag commented 9 years ago

Hi, guys, I am new to arduino,but i'm really getting interested in it.Now I have run into a SD card problem for several days.The SD shield I've used is like MasseyAlbany's: http://cdn.instructables.com/F6V/F1OJ/H5ENQ08B/F6VF1OJH5ENQ08B.LARGE.jpg. I‘ve tried pin 50,51,52,53 and 11,12,13,4 both.However it doesn't work steadily when I upload the SD cardinfo in the arduino IDE examples. Everytime I opened the serial monitor, it said that SD card initialization failed,but sometimes when I pressed the wire tight the monitor can read the info of SD card. I've made sure that it is not the wire's problem cause i've changed them several times while the problem still exists. picture this is the SD shield. Is is because the inconformity of logic levels?

Pwdr commented 9 years ago

First, try a different SD-card, some cards somehow don't work.

When you tried the other pins, did you change anything in the SD-library?

On Mon, Aug 17, 2015 at 10:54 AM, WavingFlag notifications@github.com wrote:

Hi, guys, I am new to arduino,but i'm really getting interested in it.Now I have run into a SD card problem for several days.The SD shield I've used is like MasseyAlbany's: http://cdn.instructables.com/F6V/F1OJ/H5ENQ08B/F6VF1OJH5ENQ08B.LARGE.jpg. I‘ve tried pin 50,51,52,53 and 11,12,13,4 both.However it doesn't work steadily when I upload the SD cardinfo in the arduino IDE examples. Everytime I opened the serial monitor, it said that SD card initialization failed,but sometimes when I pressed the wire tight the monitor can read the info of SD card. I've made sure that it is not the wire's problem cause i've changed them several times while the problem still exists. [image: picture] https://cloud.githubusercontent.com/assets/13829530/9301312/1384b6ee-4500-11e5-962c-58ffc907e85a.png this is the SD shield. Is is because the inconformity of logic levels?

— Reply to this email directly or view it on GitHub https://github.com/Pwdr/Pwdr-Model-0.1/issues/29#issuecomment-131735573.

WavingFlag commented 9 years ago

Thanks for your replying! I've tried three SD-libraries but the result remained the same. But i just tried three SD cards,the 256M TFcard,8G SDcard,and 1G Kingston card.When I search the internet for the information,i've found some people using these three types SD card met the similar problem as I do. I will try 2G SD card next to see if it is the problem.:)

Boreaz commented 9 years ago

I experienced a similar problem a couple of times, after checking, I discovered two things: 1) I resolder several SD slots from the one lot and only two of the five was workable. 2) Only one of two my MicroSD adapters agreed to work with this SD slots, and all it because of the bad contact between the slot and the SDcard, but this adapters work fine with all my card readers. So, try to bend the pins into SD slot.

WavingFlag commented 9 years ago

Thanks Michael! It is possibly the bad contact problem,cause it works sometimes. But I can't get your bending idea, I haven't found pins in the SDshield that can be bended into slot,.Could you post a picture of it?

Boreaz commented 9 years ago

I mean inside the SD slot may have a bad or weak pin, so you need to take a needle or something and carefully pick up the suspicious pin. I experienced this with several Chinese parts, even with MiniUSB Connector. Here is a picture: bad pin

WavingFlag commented 9 years ago

Okay, I get your idea, it looks reasonable, but it seems that I really need a tiny needle and fingers to do that job - -! BTW,I bought it from Alibaba...

WavingFlag commented 9 years ago

Hi!Michael.I have taken apart my former SD card shield and bended the pins as a test, img_1114However the situation remains the same,here is the data in the monitor 20150818171120

Boreaz commented 9 years ago

Hm, it's another SD shield on photo, isn't it? So, you already tried two different shields and three SD cards with the same issue? In this case, I think you need to check the code, maybe somewhere in library you need redefine clock frequency, or somewhat. Each SD card has its own latency and sometimes it's longer than delays between accessing, so increasing the delays may be helpful. Which library are you use, can you give the link?

WavingFlag commented 9 years ago

http://pan.baidu.com/s/1qWN0lRY http://pan.baidu.com/s/17DDGq These are the SD libraries I have used. If you can't download maybe we can contact by e-mail. I have measured the output voltage of AMS1117 in the first SD shield i've posted, it is very close to 3.3V ,but when I measure it after a while it changed to almost 4V, it is really confusing,I don't know why it happened. BTW,can you give me the schematic of this SD shield? picture

Boreaz commented 9 years ago

Here is the scheme http://www.element14.com/community/servlet/JiveServlet/download/40595-65625/lcsoft%20SD%20module.pdf Here is one of possible fixes http://forum.arduino.cc/index.php?topic=122947.0 Another one discussion http://www.element14.com/community/thread/15572/l/sd-card-interface-board-made-by-lc-studiolcsoftnet?displayFullThread=true It seems a lot of people have problems with these shields.

WavingFlag commented 9 years ago

Thanks a lot! These discussions really save me much time! I wil test the solutions one by one,hope it works.

WavingFlag commented 9 years ago

Good news Michael! I've succeeded in solving the SD problem. After doing a lot of research in vain, it really drove me crazy. But accidentally I tried the arduino UNO board, using the cardinfo example,and other parts remain the same.Guess what, it works! I never thought it would be the mega 2560 which results in this problem. Maybe it is because the different level shifters?or the signal rise times?

20150820150415