background image

CT255 

 6  

The DAC (Digital to Analog Converter) 

The resistor values in this ladder are chosen to give us nice even steps in the 
voltage range we are able to work with. The outputs of the counter can’t 
actually achieve 5 volts with the LEDs on the output, but really close at 4.67V. 
We then figure what the voltage will be across R38 when all outputs of the 
counter are at 4.67V and we will have the maximum output of our DAC. In this 
case it is 3.10V. Of course the minimum works out to be 0V. To find our 
minimum resolution we find the number of steps the counter has, which is in 
this case 2^8 which is 256 possibilities. 0 is one of them, so take 3.10V and 
divide by 255 to come up with 12.16mV per step or count. This means this is 
the smallest change in voltage that we can measure with our DAC. 

When the counter is counting up, you can take a volt meter, probe R38 and see 
the voltage “ramp” up with the count. On an oscilloscope, you can not only see 
the voltage ramp up, but also take 255 steps on the way up to 3.10V, each step 
being 12.16mV! It’s worth it just to check this. 

The ADC (Analog to Digital Converter? In a sense…) 

Well, you may wonder how this ramp from our counters and resistor ladder can 
be used to display temperature. This will be done in a way many analog to 
digital converters used to make conversions. ADCs use much more 
complicated methods now to increase conversion speed, but that is beyond this 
manual. Now you know that each count is equal to 12.16mV, so if you have a 
count of 100, you should have an output of 1.216V from our DAC. Well this 
means that the display should also be indicating 100 degrees Celsius, right? 
This also means that our temperature sensor should be putting out 1.216V at 
100 degrees Celsius to get this count of 100, but it doesn’t since it only outputs 
at 10mV per degree Celsius, which would only be 1.00V. This means we need 
to scale the output of the temperature sensor to meet the needs of our DAC so 
the count display and the voltages match. 

Scaling to Celsius 

To scale the output, we just have to figure out what it will take to make 1.00V 
become 1.216V. Not too tough here, we just multiply our 1.00V by 1.216. But 
wait, we’re going to make things complicated. We want to display temperature 
in 1/2 degree increments. This means that we have to multiply the sensor 
output by 2 to multiply our reading by 2. In this case we need 1.216 x 2 or a 
gain of 2.422. Since the display has a potential count of 255, and we will never 
find an air temperature of 255 degrees Celsius (and like it), we can divide the 
display by 2 to scale it to the range of 0-127.5 and use the last LED for 1/2 
degree steps. 

U1:A is set up as a non-inverting amplifier, and the output of the temperature 
sensor is sent to the non-inverting input (pin 3) to be amplified. R39 and C6 are 

Summary of Contents for COMPUTEMP CT255

Page 1: ...onment Visibly counts up to the current temperature in binary numbers Eye catching display great for home or office Super accurate readout of 1 degree Celsius no calibration required Precision sensor...

Page 2: ...to Unbalanced Audio Converter Kit LC1 Inductance Capacitance Meter RAMSEY AMATEUR RADIO KITS HR Series HF All Mode Receivers QRP Series HF CW Transmitters CW7 CW Keyer CPO3 Code Practice Oscillator QR...

Page 3: ...cription 5 Schematic Diagram 13 Parts Layout Diagram 14 Parts List 15 Assembly Instructions 17 Case Assembly 23 Troubleshooting Guide 25 Conclusion 26 Warranty 27 KIT ASSEMBLY AND INSTRUCTION MANUAL F...

Page 4: ...ginal 6 page manual showing the stylish kit case that John Ramsey had spent his hard earned money on the die for when he was fresh out of college We have come a long way since then At the time this ca...

Page 5: ...n understand binary How do we do this easily Hang on here we go The binary counter U2 A and U2 B form a cascading ripple counter which is simply designed to count pulses on the clock pin pin 1 and out...

Page 6: ...o make conversions ADCs use much more complicated methods now to increase conversion speed but that is beyond this manual Now you know that each count is equal to 12 16mV so if you have a count of 100...

Page 7: ...ssible in this case about 3 9V When the voltage at pin 5 is below the voltage at pin 6 the output goes as low as possible or zero volts It is called a comparator because it is in reality comparing two...

Page 8: ...level that the charge on C1 can never reach It is greater than 5 0V due to R15 limiting the voltage on C1 to 3 4V so the comparator function is disabled Restarting the conversion cycle Now our count...

Page 9: ...lerant resistor is then 1 82K Now we have to find out what it takes for 100 0 degrees Fahrenheit to have a proper count of 100 0 on the display For this we need a voltage of 12 16mV 100 2 or 2 432 vol...

Page 10: ...would only deal with integer binary math but we at Ramsey like to mix things up a bit and throw in fractional binary math so you learn something new It is the basis of how all math works on computers...

Page 11: ...alue with the decimal point in place is now called a fixed point number This means that the decimal point can never move even when we perform mathematical operations on it This number is now considere...

Page 12: ...eading causing the reading to be incorrect sometimes This capacitor fixed that Imagine sanding the top corners of all of your stairs in a new staircase to smooth the freshly sawed edges It looks simil...

Page 13: ...CT255 13 CT255 SCHEMATIC DIAGRAM...

Page 14: ...CT255 14 CT255 PARTS LAYOUT DIAGRAM...

Page 15: ...ms brown black green R24 Precision Resistors with five color code bands or SMT 1 1K ohms brown black black brown R37 1 1 43K ohms brown yellow orange brown brown R27 1 1 82K ohms brown gray red brown...

Page 16: ...osophy This entails describing the circuit that you are building instead of just blindly installing components We hope that this will not only make assembly of our kits easier but help you to understa...

Page 17: ...ormance levels and it is extremely unlikely that any of your chips will have problems however we know that some of our hobbyists insist on socketing all IC components The addition of these will not vo...

Page 18: ...the hole in the part with the hole on the circuit board Use caution so as not to stress the leads when inserting or soldering Use the parts layout diagram as a guide for proper orientation Once you ha...

Page 19: ...g of it Believe it or not you are already halfway through the assembly of your kit Recheck your solder connections touch up any less than perfect connections that you see Watch out for any solder brid...

Page 20: ...stall C3 1 F disc capacitor marked 104 or 1 29 Install R31 a precision 4 22K ohm yellow red red brown brown 30 Install R27 a precision 1 43K ohm brown yellow orange brown brown 31 Install R40 the last...

Page 21: ...g assembly steps 37 Install C4 1 F disc capacitor marked 104 or 1 38 Identify and install remote sensor connector J1 towards the rear of the printed circuit board Gently slide the leads through the ci...

Page 22: ...uality shielded cable for remote sensing applications 41 Now that all of the parts have been installed configure the header jumper connections for either Celsius operation jumpers between pins one and...

Page 23: ...ng your kit In short TAKE YOUR TIME when assembling the enclosure This is the part that you and your friends will look at and admire for years 1 Lay the front and rear plastic plates over their corres...

Page 24: ...ensor is working correctly by pinching the temperature sensor U3 with your fingers and watching the temperature increase to about 98 de grees Remember that marvelous National Semiconductor IC give a p...

Page 25: ...e ac cess to an oscilloscope you can observe the oscillator section as well as the counter adding the bits STILL HAVING TROUBLE While we had hoped that it wouldn t come to this if you are still having...

Page 26: ...this Ramsey product As always we have tried to compose our manual in the easiest most user friendly format that is possible As our customers we value your opinions comments and additions that you woul...

Page 27: ...h be assured that the 1K ohm resistors are actually the missing 10 K parts Hum m m I guess the red band really does look orange Ramsey Electronics project kits are packed with pride in the USA If you...

Page 28: ...g Hands Holder for PC Board Parts HH3 Technician s Tool Kit TK405 Desoldering Braid RTS08 CT255 BINARY THERMOMETER KIT Quick Reference Page Guide Introduction 4 Circuit Description 5 Schematic Diagram...

Reviews: