5215

More than just a calculator. Measure light, temperature, differential temperature, decode NEC IR remote control codes and perform other tasks. 22 Modes of operation.

Board and software developed by Ruud van der Meer (RM electronics)

Schematic

Fig_1_220684_multicalculator_schematic_v100.png
Fig.1. Schematic of the MultiCalculator

The MultiCalculator is built around a Pro Mini and is programmable, even after the construction is finished, through a 6way female header at the back. The software is bilingual, the menu language can be Dutch or English. Power supply voltage is 5 V, supplied via a USB-C plug at the back. Current is around 30mA. The design can also be used for other functions (using custom software) and can be programmed via the Arduino IDE. The serial ports have been kept free for monitoring or other functions. There are extra connections on the PCB, e.g.: GND, Reset, D2, D3, A4, A7 (connector H2, not used/fitted in the MultiCalculator). Ā An I2C connection is available (connector P1, also not used/fitted in the MultiCalculator). To use I2C however, the required soldering bridges must be soldered then. Disabling via software is not possible with I2C enabled: dual-solder bridge 2 (I2C/Sw) next to R6 for SDA (A4) and dual-solder bridge 3 (I2C/LDR) next to R9 for SCL (A5). Only one solder bridge must be soldered of each dual-solder bridge on the PCB! The Pro Mini module only has so many I/O ports available. I/O ports A5 and A6 are available on the 3.5mm jack J2, connected by a track in solder bridges SJ1 and SJ2 to pullup resistors of 10kĪ© (R11 and R14 respectively). These I/O ports can be used for temperature measurements or other applications (depending on the software). To sever the connections to these pull-up resistors cut the small track between the pads of SJ1 and SJ2. If the connection needs to be restored make a solder bridge between the adjacent pads. The LDR and NTC sensors are always connected to ground, and A5 (LDR/NTC) and A6 (NTC) respectively. On the PCB an NTC can be placed in two locations, R16 or R17. The two connections of R16 and R17 are connected in parallel so only 1 NTC must be mounted! Use R16 and leave R17 unmounted. R16 is farthest away from de module (should it get warm).

An analog input port is used to read switches SW2, SW3, SW4 by changing resistance through the selection of taps of series connection R2 (via D1), R3 and R4.Ā  SW2, SW3 are only used to a limited extent in the software.Ā  SW5 to SW20 are connected in a matrix. SW1 is used to change the mode of the MultiCalculator and is connected to a separate I/O port (D2). By pressing the MODE switch, the next mode of operation can be chosen. By pressing the mode button longer, the previous mode is chosen. In version 1.1 of the software 22 modes of operation are available.

SW4 is used to turn the MultiCalculator ON or OFF by software, depending on dual-solder bridge 1 next to R3 (On/Sw). If the solder bridge ON is made the MultiCalculator is always powered as soon as 5 V is supplied through the USB-C connector. If solder bridge Sw is made pressing SW4 will turn PNP transistor Q1 ON. It will pull Ā R1 to ground via D2, the power supply is connected to the circuit and the module starts. SW4 must be pushed long enough for the module to make I/O port A4 high. Q1 is turned on through R5 and NPN transistor Q2. If A4 is low the MultiCalculator is switched OFF. The calculator can also be supplied with a voltage of 6-12 volt through the RAW connection on the PCB (J1). A small 5 V voltage regulator is part of the power supply circuit of the Pro Mini module. Switching ON is done by pressing the ON/AC button SW4 for a few seconds until text appears on the display.Ā  Switching OFF is done by pressing the ON button for more than 4 seconds. When the key is released, the MultiCalculator is turned off.

Originally the author used a SS8550 for PNP transistor Q1 and a 2SC9013 for NPN transistor Q2 as is indicated on the PCB. Due to availability these were replaced by types KSA708YBU and 2N3904. The exact type is not that critical but if a replacement is necessary pay attention to the pin order of the transistors. The types mentioned here have a different pin order than for instance types BC547 or BC337!

Programming the Arduino Pro Mini can be done via a USB-C to TTL converter (part of the kit). Make sure the jumper on the programming adapter is placed in the 5V position.

The custom enclosure is made of a total of 11 separate transparent acrylic panels. The top panels are dark brown transparent acrylic panels, the rest are clear. A USB-C connector is used connect a 5 V power supply.


Differential temperature measurement.

One mode of operation is not fully clarified in the user manual. To use the differential temperature measurement mode the cable of both waterproof sensors in the kit must be soldered to 3.5 mm plug (also in the kit). The plug can then be inserted in the 3.5 mm jack in the back of the MultiCalculator.

Fig_2_Waterproof_temperature_sensors.jpg
Fig. 2. The waterproof sensors as supplied in the kit

Cut off the connectors from the cables of the waterproof sensors. Each sensor should be soldered to the GND terminal of the 3.5 mm plug and the other wire of each sensor to one of the other contacts of the plug. Best is to cut the ground wires a few mm shorter so the other two are a bit longer and can each be soldered to one of the other 2 contacts of the 3.5 mm plug without having to bend the wires. The plug in the kit can be different than the one shown in the photo. Before soldering donā€™t forget to place the shell of the 3.5 mm plug over the cables of the sensors first. The plug in the kit can be different from the one shown in the photo.

Fig_3_Sensors+plug.jpg
Fig. 3. 2 Waterproof sensors connected to the 3.5 mm plug

Measurements using the waterproof sensors are a bit slow because the NTC is place in a epoxy filled 5 x 25 mm round metal tube. Operating temperature of these sensors is -40 to +85 Ā°C.

Details on construction and a description of all modes of operation can be found in the ā€˜Construction and User Manualā€™ (can be downloaded at www.elektor.com). Following photoā€™s give an impression

Fig_4_20_caps+labels.jpg
Fig. 4. All parts except the LCD fitted.

A 18.5 mm long pin header must be soldered to the display under an angle. Nothing is bent!

Fig_5_LCD+header.jpg
Fig. 5. The header soldered to the display

The USB-C connector must be mounted in the back panel before its wires can be soldered to the PCB.

Fig_6_Detail_back_display_support.jpg
Fig. 6. Detail of back panel, display support with screws and M2 screw of the PCB.

Fig_7_Finished_back.jpg
Fig.7. Back of the finished MultiCalculator.

Fig_7_Ready.jpg
Fig. 8 The MultiCalculator is ready.

Specifications/properties

Power supply voltage 5V (USB-C)
Power supply current ā‰ˆ 28ā€¦32 mA
ProMini microcontroller module (ATmega328/5V/16MHz)
Programmable by the Arduino IDE (6way female pin header)
2x16 alpha-numerical LCD (LCD 1602, display color blue, white text)
20 labeled pushbuttons
3.5 mm jack to connect external sensors
Operating temperature of waterproof sensors -40 to +85 Ā°C.
22 Menus (software version 1.1)
Functions:
  1. Decimal floating-point calculation.
  2. Binary, hexadecimal, decimal calculation, ASCII character viewer.
  3. Temperature and delta T. measurement
  4. Stopwatch with lap time.
  5. Decoder resistors codes.
  6. Reactance calculation for capacitors (Xc) and coils (Xl).
  7. Resistance parallel, series and supplement resistance calculation.
  8. Light measurement in mV and Lux.
  9. Item counter.
  10. IR decoder for NEC codes.
  11. AWG calculation with Maximum current calculation.
  12. Dice with roll simulation.
  13. Personalize startup message.
  14. Calibration of the temperature measurement (zero point correction).
Dimensions: 92 x 138 x 40 mm (including self-adhesive feet)

Modes of operation (software v1.1)
Ā 1 ā€“ Calculator
Ā 2 ā€“ 4 Ring Resistor Code
Ā 3 ā€“ 5 Ring Resistor Code
Ā 4 ā€“ Decimal to Hexadecimal and Character (ASCII) conversion
Ā 5 ā€“ Hexadecimal to Decimal and Character (ASCII) conversion
Ā 6 ā€“ Decimal to Binary and Character (ASCII) conversion
Ā 7 ā€“ Binary to Decimal and Hexadecimal conversion
Ā 8 ā€“ Hz, nF, reactance Xc calculation
Ā 9 ā€“ Hz, ĀµH, reactance Xl calculation
10 ā€“ Resistance calculation of two resistors connected in parallel
11 ā€“ Resistance calculation of two resistors connected in series
12 ā€“ Calculation unknown parallel resistor
13 ā€“ Temperature measurement
14 ā€“ Differential temperature measurementĀ  T1&T2 and Delta (Ī“)
15 ā€“ Light measurement
16 ā€“ Stopwatch with lap time function
17 ā€“ Item counter
18 ā€“ Display IR NEC code from a remote control
19 ā€“ AWG conversion (American Wire Gauge)
20 ā€“ Rolling Dice
21 ā€“ Personalize startup message
22 ā€“ Temperature calibration

Fig_9_22_modes_50%.jpg
Fig. 9. Startup message and all 22 modes (message when selected) of the MultiCalculator.

Bill of Materials, contents of the kit

Resistor
R1,R2,R3,R4,R5,R7,R9,R10,R11,R14 = 10 kā„¦, 167 mW, 1 %., body 1.9 x 3.4 mm
R6,R12 = 100 ā„¦, 250 mW, 1%, body 2 x 3.5 mm
R8,R13 = 1 kā„¦, 167 mW, 1 %, body 1.9 x 3.4 mm
R15 = LDR GL5516, 5.4 x 4.4 mm,Ā  lead spacing 3.4 mm
R16 = NTC 10 kā„¦, type 3950, 5% 10 kĪ©
R17 = not needed

Capacitor
C1 = 100 nF, 50 V, 10 %, X7R, lead spacing 2.5 mm
C2,C3 = 10 ĀµF, 25 V, 10 %, tantalum, lead spacing 2.5 mm

Semiconductor
D1,D2 = 1N4148, DO-35
LED = 3 mm (T1)Ā  LED, red
Q1 = KSA708YBU, TO-92
Q2 = 2N3904, TO-92
U1 = Mini Pro (ATmega328P, 5 V, 16 MHz)
U2 = TSOP14438
LCD1 = LCD module 16 x 2, Alphanumeric, 36 x 80 mm

Other
J1 = USB-C socket, chassis mounted, wired (5 V power supply only), 9 x 16 mm
J2 = 3.5 mm headphone jack, PCB mount PJ-325M (5 pins connections, 2 switched contacts)
H1 = 6way female header, right angle, pitch 2.54 mm
H2 = not needed
P1 = not needed
SW1-SW20 = 12x12x7.3mm Tactile Switches
SW1-SW20 = Keytop + clear cap for switches (cap is 11.8 mm square)
LCD1 = 16way male pin header, height 18.54 mm, pitch 2.54 mm, vertical
LCD1 = 16way socket, pitch 2.54 mm, vertical
FT232 Pro Mini USB-C TTL Adaptor (with 3 pin 3.3V/5V selection)
U1 = 12way pin header, vertical, pitch 2.54 mm (for Mini Pro)
2 x NTC 10 kā„¦, Waterproof Temperature Sensor type 3950 10K, 1 m cable
3.5 mm plug
USB-A to USB-C cable, 1 m

Enclosure
4 x screw, M2, 12 mm, steel
4 x spacer sleeve, cylindrical, L: 3mm, Ƙout: 5mm, polyamide
4 x nut, M2, steel
8 x washer, M2, D=5mm, H=0.3mm, polyamide
4 x screw, M3, 6 mm, steel
4 x washer, M3, D=7mm, H=0.5mm, polyamide
4 x standoff, M3, Female-Female, Ƙout: 6mm L:8 mm, polyamide
4 x screw, M3, 10 mm, Head: countersunk, hex (Allen) key, HEX 2mm, steel
4 x screw, M3, 12 mm, Head: countersunk, hex (Allen) key, HEX 2mm, steel
4 x nut, M3, Plating: black finish, H: 2.4mm, steel
4 x self-adhesive foot; H: 3.8mm, transparent, polyurethane
6 panels made of 3 mm extruded acrylic transparent/clear sheet:
back panel, front panel, bottom panel, 2 side panels, U-shaped keyboard support panel
2 display support panels made of 5 mm extruded acrylic transparent/clear sheet
3 panels made of 3 mm cast acrylic umbra transparent sheet (dark brown):
display bezel, small support for display bezel, keyboard panel

Misc.
PCB 220684-1 v1.0

PCB

Fig_8_220684_multicalculator_top_overlay_v100.png

Fig. 10. Top overlay of PCB 220684-1 v1.0 of the MultiCalculator

Fig_9_220684_multicalculator_bottom_overlay_v100.pngFig. 11. Bottom overlay of PCB 220684-1 v1.0 of the MultiCalculator


Ā