To be able to answer these questions I needed a quick and dirty way to measure temperatures within the printer. It would also be helpful to know when the UV array is lit and how much light it is producing. I decided to use one of my many Arduino' for this task connected to three thermistors and a photo resistor. Initially I will use a bluetooth adapter to talk back to my PC. I also want to source power from the printer so I need to convert 12v to 5v to operate the Arduino.
- Arduino Nano - Cheap as dirt on eBay but a capable little chip.
- Expansion board for the Arduino Nano. Breaks out every pin on the board adjacent to power for whatever you want to connect.
- Power converter to take the 12v from the printer supply down to 5v for these electronics.
- Bluetooth adapter for transmission of data back to my desktop.
- Thermistor (more below).
- Photo resistor (more below).
- Temporary 5v power supply.
The thermistors and photoresistor all operate in a similar manner. Temperature or light change their resistance. I create a voltage divider with the variable sensor as one of the two resistors. By measuring the resultant voltage I calculate a heat reading for the thermistors. The photo resistor reading is not translated but just used raw. Here is the Arduino Sketch that runs on this device.
The output of the above sketch is a simple CSV stream of values that I capture on my Mac and then feed to a spreadsheet. A sample of the CSV and a copy of the end chart are shown below.