Arduino Club

Temp-time project build instructions

Below are steps for building Verson 2 (Apr 2025) of the Temp-time project.

For anyone who has made a Cyduino, this build should be familiar. Of course, there are extra components that provide the time and temperature functionality and the display.

The order of assembly given below is a suggestion, but there is nothing wrong with soldering the parts in a different order.

A new thing regarding soldering is the use of one surface-mount component, the 5-V regulator chip. All earlier projects used 74xx-style regulators in large TO-220 through-hole packages. For this project, we use STMicroelectronics LD1117 regulator in an SOT-223 package, which is one of the easier surface mount packages to solder by hand. This should be a gentle introduction to surface-mount technology.

A second new thing is a 9-V battery holder on the PCB. This is attached to the back of the PCB.

The usual tools are required: solder and soldering iron, needle-nosed pliers for manipulating parts and pulling leads, and wire cutters for trimming leads after soldering. Helpful but not essential would be a vise for holding the boards, a magnifying glass and light for viewing small print, and tweezers for holding the surface-mount part in place during soldering.

  1. Assemble the parts. (See the BoM for the complete list.)
  2. As usual, we start small and work our way to the bigger parts. Begin with the Atmega 16-MHz oscillator crystal (Y1) and its 22-pF capacitors (C5 and C6).
  3. Three 100-nF (104) capacitors — 2 for Atmega bypassing (C3 and C4) and one for stability of the voltage regulator (C1).
  4. Three 10-kΩ resistors (brown-black-orange) resistors. These are 5% tolerance resistors. Two are pullups for the I2C serial communications channel (R2 and R3) and one is the pullup for the Atmega reset (R1).
  5. Two resistors for the amplifier feed-back network. These are 1% resistors for better gain accuracy and are colored blue (versus the tan bodies of the 5% resistors.) The 10-kΩ resistor (brown-black-red-black) resistor is R4, and the 3.3-kΩ resistor (orange-orange-brown-black) resistor is R5. Don't mix them up or the amplifier gain will be wrong.
  6. The 32.768-kHzoscillator crystal for the real-time clock (Y2). Use care — the leads are small and bit fragile.
  7. The LD1117 voltage regulator chip (U1). Suggested approach for soldering the surface-mount chip: First melt some solder onto one of the pads in the footprint. (It doesn't matter which pad.) Then carefully align the chip leads with the pads and hold the chip in place. (Using pliers or tweezers to hold the chip is helpful.) Use the soldering iron to remelt the solder on the one pad so that it reflows around the lead. Remove the iron and let the solder cool. Check the alignment of the leads to the pads. If the chip has slipped and the pads are not aligned, remelt the solder and adjust the chip to attain better alignment. Repeat as necessary. Once everything is aligned, solder the remaining leads to the pads.
  8. The 10-μF capacitor for the voltage regulator. This is a polarized capacitor — make sure that the negative terminal is soldered to the while half of the footprint.
  9. Three chip sockets — U2 for the Atmega chip, U4 for the op amp and U5 for the real-time clock. Align the notches with the footprints, if you want, although it really doesn't matter. (If you are wondering, there is no U3 on the board. Shrug emoji.)
  10. The power-selector/on-off switch (SW1).
  11. The three-position terminal block (J3) that holds the temperature sensor. Alternatively, you could solder the sensor directly to the board, but there would less thermal isolation form the electronics and switching sensors would be much more difficult.
  12. The six-pin ICSP header for Atmega programming.
  13. The holder (BT1) for the CR1220 backup for the real-time clock.
  14. The barrel jack (J1) for alternate 9-V power.
  15. The standoff for the display (J2).
  16. The 9-V battery holder. This goes on the back! Push the pins through — a bit of force may be required — and solder the pins in place from the front. Note that this optional — the board can always be powered using th barrel connector.
  17. To finish up: screw the LM35 sensor into the terminal block — flat side facing up. Insert the three chips — get the correct orientation (match the chip notch to the board footprint) and don't mix up the op-amp and RTC chips. Insert the OLED display into its header. Hold off on the CR1220 battery until the Atemga has been programmed and the clock is running.