Evolution of a Blog

This blog has evolved as I have as a maker. It starts at the beginning of my journey where I began to re-tread my tires in the useful lore of micro electronics and the open-source software that can drive them. While building solutions around micro-electronics are still an occasional topic my more recent focus has been on the 3D Printing side of making.

Saturday, November 25, 2017

Photographing Calibration Cubes

If it is worth doing it is worth doing over the top!  So it is when it comes to me taking photographs of calibration object (3DSlaTest).  The goal is to get consistent images so one cube can be compared to another easily.  My set setup is shown below.  The components of this setup are as follows:
  1. iPhone6
  2. Mount for iPhone6 from Thingiverse
  3. Lighting - Strip LEDs in a 3D Printed Frame
  4. Macro Lens for iPhone
  5. 3D Printed Cube Stand 
  6. 3D Printed Square Mount for Calibration Cube
  7. 3D Printed Backdrop Holder from Thingiverse
  8. Craft Paper for Backdrop




After Cropping

Wednesday, November 22, 2017

What $1000 SLA/DUP/DLP Printer Would I Recommend?

This was the year that you could start to buy (as opposed to build) a 3D Printer based on curing liquid resin (rather than melting plastic) for $500.  Pretty amazing when you consider where the costs of printers in this technology sector have been priced.  Of course at that price point you are going to have to make some sacrifices but at that price it is worth it!

The printers we are talking about come in three flavours.

The first, and the one that has been around the longest, uses a laser to cure the resin.  They are commonly called SLA printers which stands for (S)tereo(l)ithography (A)pparatus.  In reality, however, all of the 3D Printers in this category fit this title given its definition includes the following: optical fabrication, photo-solidification, or resin printing!  We will, however, just call the branch of the family that uses lasers to be SLA printers.  Think Formlabs Form 1 and Form 2.  The x/y resolution on a laser based printer will be 100um ish to 200um ish.

The second flavour is called Direct Light Processing (DLP) and uses a projector.  Think Moonray or B9Creator.  Some of these types of printers are capable of x/y resolutions of 30um - though with a smallish build size.

The third is called Direct UV Printing (DUP) and it uses UV light passing through an LCD display.  This is what the Wanhao D7 uses.  These types of printers are typically getting resolution of 50um on the x/y axis.

Generally these printers project onto the bottom of a vat of resin with a build plate that is dipping onto and off the build surface.  The z-axis will be capable of resolutions from 10um to 100um.  The whole workflow process for resin based printing is very different that for FDM and is described here.

At this moment there seem to be four major choices for a cheap printer in the resin printing space:
  1. You can build one from a kit or even from scratch as the parts are pretty common and there are both kits and good DIY instructions available.
  2. You can get a Wanhao D7...or any one of the numerous clones that look just like it.  I am not sure who was actually first here.  Wanhao is a cloner but are they also a clonee?  Here is an earlier article about the D7 ... note that a lot has improved since then.
  3. You could buy into one of the already released, or very soon to be released, crowd funded printers.  Two top this list, the Moai SLA 3D Printer ($1250) and the Phrozen Make DUDP 3D Printer ($980).
  4. You could wait for one of the many other crowd funded projects to come to fruition.  There are at least a dozen on Kickstarter with many of them having characteristics shared by the Wanhao D7 and the Phrozen Make.
Sooooo...what would I recommend?  I honestly do not know!  The market will mature a lot in the next 12 months so waiting could be your best option,  If you absolutely can not wait, and must be under $1000, then I would get a Wanhao D7.  Quality has been improving, there is a great support community, and they are ahead of the rest of the pack in terms of release date and number of printers in the system.

If you can go a little above $1000 then the Moai at $1250 is probably worth considering.  I don't have any hands on experience but it has a very enthusiastic following.  One slight catch...it is a kit!

A printer to watch in the short term is the Phrozen Make.  It enhances the basic D7 design with what looks like a better z-axis, and what will certainly be a better UV illumination for more even curing of prints.

Sunday, November 12, 2017

Methods for Creating a Mask for a DUP/DLP 3D Printer (running NanoDLP)

As evidenced by recent posts on this blog I have been busy creating masks for my Wanhao D7 printers.  I actually have masks that work but what I don't have is an easy process that can be done by anyone without a lot of extra hardware or specific knowledge.

Some of the techniques that can be used to create a mask are as follows:


Mask Creation Wizard of NanoDLP
Tools needed:  Light meter
Process: Project a grid of cells for measurement and adjustment.  Find the lowest light intensity cell using the light meter.  It will be one of the corners.  Note the light meter reading.  Adjust the grey value in all the other cells to match that of the lowest cell just noted.  Press the button to generate a new mask image.
Advantages:  Minimal investment in tools and/or technology (can even use a multimeter connected to a battery and voltage divider photo resistor as discussed here).
Disadvantage: Cumbersome and extremely tedious process.
Comments: Remember that the default screen orientation in NanoDLP is not the orientation of the Wanhao D7!


Measure, Calculate, Generate Mask
Tools needed:  Light meter and software to generate a mask. Note that I have developed two light meters that I need to release to the public domain. Both based on Arduino Nano's.
Process: Measure the light intensity using either a physical grid or the grid of cells projected by NanoDLP.  Use that set of measurements to model the mask with output being either an actual image file or the inputs needed by the NanoDLP Mask Generation Wizard.  
Advantages:     Moderate need for additional tools and/or technology.  Relatively easy process.  Flexibility to use the data to generate masks for different uses of the build plate.
Disadvantage: Thus far there has been limited success in creating a really good mask using this technique.
Comments: Garage Science has a piece of software that does build a mask but it does not seem to work for the D7 resolution.  When I fed it data from a D7, but using a lower resolution in the same aspect ratio, the mask was no more effective than the Excel model that I have developed.  A number of people on the Wanhao D7 FB Group has said that a model will not work but I do not understand why.  I am assuming it is just a matter of my not having the right maths skills!


Measure, Automatically Adjust, Generate Mask
Tools needed:  Light meter integrated with  software running on the printer attached Raspberry Pi..
Process: Measure the light intensity using either a physical grid or the grid of cells projected by NanoDLP.  First find the dimmest corner.  Then project a grid of cells, one at a time, so the meter can be placed on each cell.  With the meter measuring the cell adjust its intensity using a mask value until it is equal to that of the lowest cell.  Output the matrix of mask values for input to NanoDLP (or generate a mask).
Advantages:  Should generate an excellent mask (though I have not had time to do so yet).
Easy to run once set up.
Disadvantage: Fairly complex requirement for integrating a meter and software solution.  


Photo Interpretation
Tools needed:  Camera (e.g Smartphone) and Image Processing Software (e.g. Gimp, Photoshop, etc)
Process: Take a photo of the light pattern projected by the UV LEDs.  Manipulate it into a mask using something like Gimp or Photoshop.
Advantages:  Can be done without any addition of hardware or software on the printer
Disadvantage: Requires a very fiddly setup for the camera to be positioned above the build plate precisely.  Fairly complex process of translating the image to a mask.
Comments: I think this approach is the most promising to meet my requirement of something that most people could do.

Saturday, November 11, 2017

What Entry Level FDM Printer Would I Recommend?

I was recently asked what entry level FDM printer would I recommend in the price point of around 300 GBP.  The printer would be an XMAS present for a young lad but I think Dad might be interested in some tinkering as well.

The more I looked at this the more I kept coming back to the same printer.  Obviously cost was the first filter but to that I added the following requirements:

  • Active user community for assistance
  • Open design so you it can be modified/enhanced in the future
  • Not tied to a single source for filament
  • Reasonably mature product (e.g. been in the market long enough to iron out the kinks)
  • Sturdy construction - steel frame - for accuracy and durability

When I toss all this together the printer that I come up with is the Wanhao I3 Duplicator.  It comes in two versions with the Plus being 340ish and the regular version 300ish.   The extra cost for the plus gives you smaller printer as they integrated the two parts of the original printer (power supply and controls were in their own enclosure) into a single part.  It also gives you a larger touch screen and moves from a tiny micro SD card back to the more easily handled larger format.  I think it would be a 40 quid well spent for the upgrade.

The printer can be purchased on Amazon where it gets very good reviews.  The Plus is a fairly recent offering but the original version has been around long enough to work out initial kinks (of which there were numerous).  

The printer is based on the popular Prusa I3 design which is probably the most common style of printer in the market.  It was the design of the first printer that I owned, which was a kit build, and which is covered in depth earlier in this blog.

One of my requirements for a printer is that it be open to customization.  While even a closed design can be hacked going into the equation with the printer being open makes it a lot easier.  One of the cool things about having a 3D Printer is being able to print your own enhancements!  Searching Thingiverse for Wanhao I3 Mods makes it clear that there is a lot of opportunity for this given the number of designs already out there.

There are a lot of Wanhao I3s out there in the ecosystem.  In the 3D Printers group on Facebook it was by far the most recommended printer when someone asked the same question that spawned this article.  There is also a group on Facebook for people interested in this printer with 14k members (and one for the Plus with 3k members).  There is also a forum sponsored by Wanhao on Google Groups for their I3 Duplicator (and other printers).  You will not lack for community support if you own one of these printers!  In fact, due to the nature of Wanhao as a low cost manufacturer, most of the support that one should expect will likely come from said community.

Finally, a note on Wanhao.  IMHO, if you look up "Low Cost China Clone Manufacturing" in the dictionary the picture there would be of the Wanhao logo.  I have owned three of their products, a stable FDM printer, the Duplicator 4s, and now I have two Duplicator 7s, a brand new entry of a resin based printer into the low cost market.  Wanhao takes a proven design that is out in the market at a higher price point and clones it for low cost production and they do a very good job of it...in the end!  In the beginning, however, their process seems to be a little rough as they release products into the wild that are, for all practical purposes, beta products.  The user community then helps them debug those products.  They did this with the I3 and some of the early experiences were pretty bad.  They have done this with the D7, and again, some of the early experiences have been definite learnings for them.  They do react with continuous improvements though.  I would caution someone against buying into any new Wanhao product until at least six to nine months have gone by unless they know what they are doing!  In the case of the I3, however, they are well past the intro pain!

Finally, this morning when I got up I was going to post a question to the members of the 3D Printers group on Facebook asking for opinions on the Wanhao I3 printers.  Ironically, someone beat me to it with this post (assuming that you are also a member of the group).  The feedback seems to be coming in as largely positive.

Feedback from the 3D Printing Group on Facebook




Sunday, November 5, 2017

NanoDlp and the topic of Masks - Part 6 - The End of the Meter

The meter, at least as I envisioned it, is dead.  Like the dinosaurs and the dodo bird, the meter just has no future given a better way of doing a mask.  That is via real time interactive measurement.

This is how the NanoDlp Mask Generation Wizard is intended to work, and while it does work, it is painful and tedious.  NanoDlp displays an image of squares.  You measure the light from those squares to find the one that is least bright.  You then adjust all the other squares to be the same light level.  The mask level for the least bright cell will be unadjusted (255).  The rest will be lower values as the lower the value the darker the grey and the less light is passed through.

So enter a little bit of software that was what I should have been working on since I started this series of articles.  Display a square at each corner of the print area and have the user move a light meter probe to each square.  Remember which one is the dimmest.  Then display squares across the screen asking the user to put the probe into each square as it is displayed.  Automatically (that being the key!) lower the brightness of that square until it is the same as the lowest.  Record the results as values for a mask (or generate the mask there and then).

There are a couple of people in the Wanhao D7 group on Facebook that are already working on this and making good progress.  I have been kindly given the code for one of them which is what has convinced me that my original meter concept is unworkable.  I will probably do my own version now that I have come to that conclusion as it will be fun.   Which is why I do any of this stuff!

I can salvage the last meter that I built to be used as the probe for this solution but the more sophisticate meter is, in effect, a dodo bird.

Saturday, October 14, 2017

NanoDlp and the topic of Masks - Part 5 - Another Meter

One last meter!  This is probably the one that I should have done in the first place but it only took today to do it while I am still perfecting the bigger one!  Lot more fun that one but this one is probably a lot more practical.

It consists of a 3D Printed case, an Arduino Nano, a Photoresistor, a 10K resistor, and a couple of wires.  Uses a mini-USB cable for communication back to either a terminal program or the Arduino IDE running on a PC or laptop.  Power is provided by the USB cable.

Its output is a continuous stream of readings that represent an average light level across the past second.  Each reading includes a quality (based on stability of the reading) metric where 0-1.5 is good, 1.5-3.0 is less good, 3.0 to 6.0 is bad, 6.0 to 10.0 is real bad, and over 10.0 is just plain crap.

Meter is designed to be used with a printed grid which ensures good positioning.

Positioning is very important and sensor needs to be flush to the screen.

Sample output shows the readings with their quality.
Here is the code for the Arduino
Here are the files for the Case

Note that there are two versions of the case, the one shown above, and the one shown below.  The one above uses a 3D printed grid for alignment and the one below is designed to be positioned on the screen directly aiming for the calibration squares displayed by NanoDlp.

Assembly Instructions


Parts Needed: 3D printed case with rest button, some shrink wrap tubing, photoresistor (GL5528) and normal 10k resistor, three female patch cables, and an Arduino Nano. 
This is how they need to be connected.  Black will plug into the ground pin, Orange to 5v, and Yellow to analog pin 5. 



Finished and connected to the Arduino Nano. 

Bottom view with everything  in the case.

Top view.  The button allows you to reset the Nano.  This can serve as a marker if you are using the meter to measure a matrix of cells. The USB connector is not shown but is on the left end of the case.  The pins shown are for ICSP programming of the Nano (so you probably don't need to care)!
Left end of the case showing access to the USB connector.

NanoDlp and the topic of Masks - Part 4 - More Stuff

I have a couple copies of my meters out for some testing so thought that I would do an update in regards to my own progress now that I am testing in more earnest.

Summing it all up:  I am a little frustrated!  The meter works fine using it in the manner that NanoDlp expects...namely measuring light intensity within cells as you adjust that cell on NanoDlp.  What is not working is when I take 50 readings (which I can do in minutes) and feed them to my spreadsheet to have the input prepared for NanoDlp.  I was hoping to get to a 1 or 2% deviation on a verification measurement of the brightness once my mask is applied but I don't.

First a brief overview of operation of the meter.

  1. Connect it to power using a mini USB cable attached to either a power supply or a PC.
  2. If you are using a PC, and the Arduino IDE or a terminal program, to read from the meter then skip the next step.
  3. Connect a terminal to the meter using bluetooth.  It should advertise itself as an HC-06 and the password will be "1234".   Start a capture (depending on what you are using).
  4. To put the meter in a mode where it just measures continuously you need to reset it using a paperclip through the hole on the top of the case.   When the meter resets you will have an option to select its mode of running and what sensor it will use.
  5. Assuming we are going to measure, place the probe with the appropriate sensor on the first cell of the display (bottom right) and press the button.  It is very important that the photoresistor be flush with the build surface!
  6. The meter will wait for a stable reading before sending it across bluetooth/usb and putting it on the screen.
  7. When the meter has confirmed the reading move it to the next cell.
  8. When you have moved to the next column press the button longer, for over a second, and a new line will be sent instead of a comma.
  9. Finish measuring all the cells.
  10. Back on your host you should see 10 rows of readings!
When I plug these into my spreadsheet it all seems like it is going to work.  I copy the data for the suggested mask and paste it into NanoDlp in hopes that I will find my readings across the mask to be flat...and they are not!

Spreadsheet is Here

There seems to be a lot of variation between reads of the light levels.  I am not sure if this is a factor of my printers or the photoresistor that I am using.  I have been focused on the older of my two printers but now I am going to spend some time with the newer.

Sunday, October 8, 2017

NanoDlp and the topic of Masks - Part 3 - Assembly and Operation

Click for Article
The voltage divider circuit this project uses is shown here.  R1 is the photoresistor.  R2 is the 10k resistor.  Vin is the battery which in my case is a 1.5v AA battery.  Vout is the volt ohm meter.  In the next picture you can see the assembled circuit.

The next picture shows the completed circuit based on an Arduino Uno.  The 10k resistor bridges Ground and Analog Pin 3.  One end of the photoresistor goes to the 5v power pin.  The other end goes into Analog Pin 3 with the 10k resistor.

The sketch for the Arduino Uno is here.  It will output (to the serial pins) an analog voltage reading every second that is an average of twenty readings for that second.  A quality metric will also be output where you would like to see a reading of 1.5 or less indicating that the input was stable.

Finally, a first attempt to use the "hopefully good enough" meter!  I have gone into the NanoDlp Mask Generation Wizard and changed the build area dimensions to 10 and 5 and the measurement point dimensions to 200.  From here it is up to you as I am still working on my spreadsheet that I hope will simplify a slightly painful process from this point.

You need to measure the output of the cells displayed on the print surface while adjusting the mask values shown by the wizard.  I would recommend that you start by ignoring the outer two rows and columns as that will shorten your task AND also shorten the additional exposure time that would be needed if you included them.

Your mission is to adjust the cells such that they all project the same amount of light with the ones on the outside starting at 255 and going down with the ones in the center being somewhat lower than that and going up as you move out from the center.

This is a painful process!  This is why I am working on a spreadsheet to help take some of the pain away.  Unfortunately it is frustrating me at the moment as the results of the mask, when I measure light output, is not as I expect it to be!




Friday, October 6, 2017

NanoDlp and the topic of Masks - Part 2 - Background

Obviously there are a lot of people getting great results without using a mask.  There are a number of factors that can help to make this possible.  Resin's, like the old days of film photography, have a latitude of exposure.  Some are narrow and some are wider.  Models also have a latitude within which they can tolerate under or over exposure.  Some people might print primarily in the center of the build plate knowing the fringes are dangerous.  But if you want to be able to rely on most of your build plate delivering as good a result as the center, or if you want dimensional accuracy for your prints regardless of where they are located in the build envelope, you need a mask!

So how do you get one and how much is it going to cost you?  What I am going to describe is not the only way to skin this cat as there is also a way to use a digital image of your printer's display.  The method that I will describe is using electronic measurement from the surface of the LCD.

The default setup for NanoDlp assumes that you have a radiometer that can be used to measure the intensity of the UV in each of the cells displayed by the mask generation wizard.  Those puppies are expensive though you can find cheap ones aimed seemingly at the sunburn crowd?  Not sure how that works for a printer!

My Super Duper Meter
My thought was to build my own radiometer customized to the NanoDlp environment.  I have been working on it for a while and keep finding ways to either fix something that I did wrong, improve it, or just over engineer it (some more)!  I think it will be a cool thing for creating a mask, particularly if you have multiple printers or just like gadgets, but it is probably overkill for someone that wants a "good enough" mask for a $500 printer! 

Comparison of Meters Output
An interesting find, however, came out of my search for a UV sensor for my meter.  I finally found one that worked, a VEML6070 UV Sensor, but noticed three things.  First, the light intensity levels being detected by the UV sensor were pretty narrow compared to those detected by a visible light spectrum photoresistor sensor (a GL5288).  Second, the pattern of light, and more importantly, the levels of light, detected by the two sensors correlated strongly.  This makes sense given that 405nm, as emitted by the Wanhao D7 UV LED array, is pretty much at the boundary of visible light.  It makes even more sense that when adding the incidental visible light that the array also produces, that there would be a good reading from the GL5288.  Third, and finally, the VEML6070 would have been the most expensive component of my solution compared to the photoresistor which would have been one of the cheapest!

Parts Needed for a "Good Enough" Meter
So here is what you need for a bare bones mask calibration meter.  One photoresistor (GL5288), one normal 10K resistor, a battery (ideally 9v), some wire, and a digital volt-ohm meter.  I am talking less than $10 here...and you may already have the meter.

Part of the "Spreadhseet"
The photo resistor changes resistance depending on the intensity of the light it sees.  There a circuit called a voltage divider that comes into play for this project.  A voltage divider is one of the most simple and useful circuits out there.   You can take two resistors of known values, connect them to a power source of a known value, and have the voltage divided with the outputs calculated using a simple formula.  For our project we will know the power going in, we will know the resistance of one of the two resistors, and we can measure the voltage that results from whatever light level is impacting the GLS5288.  This voltage can then be used as a proxy for a light level reading to generate a mask in NanoDlp (with a little help from a spreadsheet that converts the voltages into input for NanoDlp).

I struggled a little trying to decide whether to base my "Good Enough" meter on a Volt Ohm Meter or on an Arduino and decided to feature the traditional meter...because it is a traditional meter.  My thought process being that most people would know what one was and how to use it. I have now decided to mention both so below you will see the parts needed if you go the Arduino route.
Parts Needed for a "Good Enough" Arduino Based Meter 

The next article(s?) will walk through creating and using this low cost mask making meter and spreadsheet.

NanoDlp and the topic of Masks - Part 1 - Introduction

3D Printers that use a non coherent light source (e.g. DUP and DLP) will have an imperfect distribution of light at the printing interface.  Printers like the Wanhao D7, with a single UV LED light source will be particularly bad with a significant difference in light intensity between the center and edges of the build plate.
NanoDlp can compensate for the above "unevenness" by applying a "mask" that adjusts the exposure during the slicing process.  The mask is a grayscale image that is darkest where the light source is the brightest and clear where it is the dimmest.  During the slicing process NanoDlp marries the mask with the layer being sliced from the model "subtracting" light based on the contents of the mask.

It is important to note that every printer is going to have a slightly different light pattern . With some printers this may not matter and with others it will matter more.  You can get improved results running with a generic mask but you really do need one for your printer that matches your light distribution!

WARNINGS!  1. TAKE YOUR VAT OFF THE PRINTER BEFORE USING THIS FORM!  2. GET SOME UV PROTECTION GLASSES!  WARNING!

NanoDlp provides a method for creating a mask.  Under "Projector Calibration" there is a button for "Mask Calibration" that takes you to the following form.  The dimensions at the top that I am using are 5, 10, and 200.  Darkness of each cell of the mask can be specified or the entire table loaded via a CSV import (which is a feature added at my request).

When you press the "Update Mask" the actual image used for the mask is updated from the values collected either by manipulating the individual cells or by importing from a CSV paste.  Note that the created file is available on the Raspberry Pi in the printer/public/plates and is named mask.png.  If pulled from the RPi it should, in theory, be useable with CW.

The other thing to note is that when you press the "Preview" button a grid of squares will be projected on the printer as shown below.  BTW, the squares are 200mm in size by virtue of the change I make from the default of 100mm at the top of the form.

More about all of this in Part 2 of this article but it is well worth noting (again) that before you mess about with this particular form you should have taken your vat off of the printer!


Thursday, October 5, 2017

DxP Mask Meter (DxPMM) - The Meter

Following is an overview of the major components that comprise the DxP Mask Meter.
Early Prototype in Case
Test Platform for Componen

The meter is based on an Arduino Nano that can be connected to three sensors, a VEML6070 UV Sensor, a GL5288 Photo Resistor, and an optional thermistor for measuring heat at the GL5288.  The user interface is via an OLED display and two LEDs with a single push button for user input.  Readings can be transcribed manually from the OLED, collected via the Arduino IDE with the meter connected to a PC, or through a bluetooth terminal session (more on the terminal options below).

The meter can be connected to one of two probes, one for the VEML6070 and one for the GL5288 with the optional thermistor.  It will recognize which is attached and read from the appropriate sensor.  Readings are taken every 50 milliseconds and averaged on a rolling basis over a second.  A deviation is calculated that results in a quality metric from zero to greater than ten.  Greater than ten will not be recorded.  The deviation metric is transmitted via bluetooth and can be used to screen for data quality.  The temperature reading is not used at this time.

Initial Screen
Sent Measurement Screen
















There are three jumpers on the bottom of the meter that can be used to configure its operation as below:

        000 - UV - Dumb 
       001 - UV - Auto 
       010 - UV - Manual  
       011 - Photo - Dumb
       100 - Photo - Auto
       101 - Photo - Manual
       110 - Not used
       111 - Config via Menu

The configuration menu, activated when all jumpers are on, presents options that are selected by pressing the button on startup (since there is only one button)!  

Wednesday, October 4, 2017

DxP Mask Meter (DxPMM) - Overview

Catchy new name for the UV Meter to help identify it a little more closely to its intended purpose.  It is, after all, not really a pure UV meter.  Part of its functionality does not even read UV but uses the incidental visible light emitted by the UV LED Array as a proxy for the UV light distribution (which seems to work just fine). 

My hope with this project is to have a relatively easy-to-use tool that simplifies the process of creating a mask for the Wanhao D7 as well as other DUP or DLP printers that are driven by NanoDlp.  Note that the meter can be used in two different ways when working with NanoDlp.  In its 'Dumb' meter mode you can use it as the designers of NanoDlp would have expected.  Namely by displaying a mask preview within the Mask Generation Wizard of NanoDlp and then using the meter to adjust cells.

Here is what one version of the process flow might look like:
  1. Connect the meter to a USB power supply using a mini connector.
  2. Use bluetooth on your computer to connect to the meter and start a capture to file session.
  3. Place the measurement grid on top of the LCD of your printer and secure it (you can use other guide methods).
  4. Display the full white calibration screen from NanoDLP.
  5. Position the Photoresistor meter probe to the first cell on the grid (bottom right) and press the button briefly.
  6. When a good reading has been obtained both LEDs will be lit and the screen will tell you to move to the next cell.  Move up one cell.
  7. When you are ready to move to the bottom of the next column to the right press and hold the button for a second.  This will send a line end.
  8. Repeat the above two steps until you have measured all cells.  Do this quickly or in a couple of sessions as readings from the photo resistor will change as it heats up!
  9. Turn off the full white display and close the terminal capture session.
  10. The output captured from the terminal session should be a comma separated stream of numbers of ten rows and ten columns.  Copy these to the clipboard.
  11. Open your copy of my NanoDlp UV Mask Calculator spreadsheet and paste the above values into the sheet named "Paste Here" in the space provided and follow the instructions at the bottom of that page.
  12. On the first sheet of the workbook you can now find the input that NanoDlp needs for a mask to be generated.  Copy it and then paste it into NanoDlp.
There is a lot more that can be done to refine the mask generated above but this is a broad overview of one version of the process.  You will need to do some tuning of the mask with the meter in the "Dumb" mode so you can measure and adjust cells within the NanoDlp Mask Generation Wizard.  Finally, you will want to print some calibration objects!

Tuesday, September 19, 2017

Mask Impact on Dimensional Accuracy

A number of things are going on in parallel on this project.  I have the PCB coming from China, a case in draft on the printer now, the software now being rewritten as a new version with some learnings from V1, some testing of various sensors, and some comparisons of the mask in operation.

Here are the results of one of those tests.  There is clearly an improvement in dimensional accuracy between the No Mask and the Mask versions of these objects from the center, edges, and corners of the build plate.  I would caveat this with two observations.  First that my 16quid caliper, combined with my coordination, is incapable of getting consistent readings at this resolution.  Second that I am hoping to further improve the accuracy of the base data read by my UV meter to improve these results.

The Test Results

The Calibration Objects!


Friday, September 15, 2017

The NanoDLP Mask Wizard and the Wanhao D7

The layout and orientation of the build plate as displayed by NanoDlp versus what is actually displayed by my printers confuses me every time I look at it.  It may not be confusing for most people ... but I confess that it is to me!  This has been particularly true when it comes to the NanoDlp Mask Generation Wizard.

By default NanoDlp presents a 10 by 5 cell matrix for entry of a mask.

When translated to the Wanhao D7 this is what we see.
When the entries are reversed for a 5 by 10 cell matrix...

...we get the result we need.  It is also important to note that entry of data to NanoDlp, if doing so in the normal mode of top left to bottom right, means doing your UV readings from the bottom right corner and then up on the D7.

Sunday, September 10, 2017

UV Meter - Prototype

Have been making some progress on a prototype for my DUP 3D Printer Calibration UV Meter.  Maybe just DUPUVM for short?

A breadboard prototype has been assembled and code written to drive it.
The case design has been evolved a little to match the PCB.
An initial PCB has been ordered from Seeed Studios in China.  

Further progress on the case will wait for the PCB.  Software has a ways to go yet but is far enough along that I felt comfortable ordering the PCB.  The first batch of PCBs will still be prototypes which explains some of the extra contact point you can see above.

The meter will function as follows:

  1. Readings can be recorded from the built in LCD display or they can be captured either via a Bluetooth terminal session or by connecting the device to the Arduino development environment and using the terminal there.
  2. Two LCDs display the status of data capture with solid green indicating a good solid reading, flashing green and red indicating a fluctuating reading, and solid red indicating that the reading is not stable enough to record.
  3. When a stable reading can be taken a single press of the button will display the current light intensity on the LCD, broadcast it out the serial port, and the two LEDs will both illuminate.
  4. A second press of the button will send a delimiter and will start the next reading cycle.   Note that holding the button down at this point, for more than a second, will send a line delimiter.
  5. If you are taking the data capture route the above process will result in you having a comma separated file for import into the spreadsheet that calculates parameters for generating the mask in NanoDlp.























xx

Thursday, September 7, 2017

UV Meter - Concept

In my previous article I discussed building a mask for NanoDLP using a UV meter that was somewhat cobbled together from stuff that I had laying around.  Here I present a slightly more grown up version of said meter!



This would be a fairly small package enclosing an Arduino Nano, connected to a USB power source, a 128x64 LCD display, two push buttons, one LED, a photo resistor, a 10k resistor, and a bluetooth adapter.

The LED (green) will flash when a stable reading is being obtained.

Pressing either button when a stable reading is present will cause a reading to be taken and displayed on the LCD.

The above reading will also be output to the serial port and and broadcast by the bluetooth adapter.  The value output will be terminated with a comma.

Pressing both buttons will output a newline to the serial port to be broadcast by the bluetooth adapter.  In this manner a CSV (comma separated values) buffer can be built for capture on the PC connected to the meter.

The photoresistor mounted on the bottom of the meter will fit into the grid designed and printed for the purpose of measuring UV output of the 3D Printer.

In operation the meter could be used either disconnected, and taking a single reading at a time transcribed from the LCD display, or connected to a computer where the entire stream of readings is buffered and captured.