HP Clock

Monday, December 4, 2023

Modifying the Tektronix C-12 for a Cannon Digital Camera

The Tektronix C-12 camera originally used a Polaroid camera back and Polaroid film.  The film is no longer available and even if it was the steps required to scan the paper photo to include in documents would be tedious and time consuming.  The body of the C-12 is beautifully crafted and lends itself nicely to be a mount for a cheap digital camera. These are some notes on the steps I took to do the conversion.


fig.1 Here is the C-12 after conversion


After removing all of the parts associated with the Polaroid camera you will be left with a backing that used to hold the film back. At the top of the plate there is a silver pull tab that allows you to remove the plate.


fig.2 This shows the pull tab and backing


Once the backing is removed I cut two pieces of metal to attach to the backing. One is a flat piece of tin that acts as a light baffle around the lens of the camera.  The other is a piece of right angle aluminum that will be the shelf to hold the camera. I first attached the flat piece and located the center of the square hole in the backing. There I used a Greenlee punch to make a hole for the lens


fig.3 Attach the plate to the backing and punch the lens hole.


Next I placed the camera face on the plate so the lens is centered on the hole. I then taped the camera to the plate.


fig.4 Center the camera and tape it in place


After the holes have been marked and drilled I filed the two outside hole into a vertical oval so the camera shelf could be rotated a small amount to perfectly align with the scope reticule.


fig.5 File the outside holes to allow alignment


When the Polaroid camera was removed so were the camera bellows.  To replace them I cut a 2” long piece of 3.5” black ABS sewer pipe to act as a light shield.


fig.5 Add sewer pipe light baffle


It’s worth noting that there is an additional feature on the Tektronix C-12. There is a plate on the bottom that can be removed and replaced with a small light box. The intent was for the user to add custom film reticules that would be superimposed over the scope image. Here is a picture of the bottom plate removed.


fig.6 Bottom plate removed from the C-12


Here is the Projected Graticule that attaches to the bottom of the camera.  My idea as a follow-on project is to attach a small LCD to the opening so that scope pictures could be annotated on the spot using something like a Raspberry Pi or Arduino. The one trick to this is figuring out how to make the LCD a mirror image.


fig. 7







Sunday, December 6, 2020

 

Pi Arduino Development Station

Having picked up a folding Plexiglas prototyping assembly for a few dollars at the amateur radio swap meet I decided to use it to build a portable Raspberry Pi Arduino prototyping station. I could use the Raspberry Pi 4 to do hardware development directly and with the Raspian Linux operating system I would be able to run the Arduino IDE. The completed system consists of a Raspberry Pi 4, Arduino Uno, ten-inch HDMI display, and a USB receptacle outlet for power.


Fig. 1 Combination Raspberry Pi Arduino Dev Station

Here you can see where I added a prototyping board that includes a GPIO breakout connector for the Raspberry Pi. As with most of my prototyping setups I like to add an aluminum angle bracket to hold some BNC connectors for easy IO and banana jacks with ¾” spacing for connecting external power. I can also add potentiometers as needed.

Fig. 2 Closeup of Prototyping Section

Here is a view of the banana jacks used for connecting external power supplies. You can also see how easy it is to either probe or inject signals with the BNC connectors.

Fig. 3 Banana Jack Power Connections

The USB receptacle outlet provides plenty of power for the Raspberry Pi, Arduino and HDMI display. The exposed connector on the top is neutral, however it has since been covered as well.

Fig. 4 Modified USB receptacle

Here is where the completed project comes together where the Arduino is driving and reading an arrangement of gates and counters in a simple ‘Hello World” test.

Fig. 5 Development Assembly Running

Here is a picture of the development assembly folded up and ready for travel.

Fig. 6 Folded up for Travel

Resource Links

Wednesday, November 25, 2020

 

A Simple ESR Meter

I was always envious of my friends analog ESR meter that allowed him to check and find bad capacitors while they were still in circuit. The particular meter he had is no longer available, which meant doing some research to understand how they worked and to come up with my own version. First, what is ESR? ESR stands for the equivalent series resistance of a capacitor. ESR is frequency-dependent, temperature-dependent, and changes as components age. It’s typically important for ‘Wet’ aluminum electrolytic capacitors used in power supplies to have a low ESR.

The typical method used for measuring ESR is to supply the capacitor with a known AC current (Icap) at some frequency where the capacitive reactance of the capacitor is very low so that the ESR dominates. By measuring the resulting AC voltage developed across the capacitor’s terminals (Vcap) the ESR can be determined with Ohm’s law:

ESR = Vcap/Icap

Most of the designs I found worked along the same lines as this block diagram:



Fig. 1 Typical ESR Meter Elements

Going from left to right there is an oscillator that supplies AC voltage to be applied to the capacitor. Next the AC signal is fed into an impedance converter and detector. The detected signal is then rectified and buffered so that it can drive the meter on the right of the diagram. Since the ESR meter is to be battery operated the power supply circuit supplies split rails for the operational amplifiers that will be used in the ESR meter. The oscillator in most of the examples I looked at operated at 100 kHz to 150 kHz. The driver used to reduce the impedance of the AC signal could be anything from a transistor current boost, transformer, or paralleled logic gates. The detector was usually back to back diodes. The detected AC signal is then rectified, amplified and fed into a DC meter.

In the circuit I decided to build I used several design elements from the DIY examples I found on the Internet.


Fig. 2 Schematic of the ESR Meter

For the oscillator and impedance converter I used a single 74HC14 that provides 6 inverters with hysteresis. One of the inverters acts as a relaxation oscillator and the remaining 5 inverters operate as the impedance converter. This part of the circuit came from Lawrence P. Glaister VE7IT. The detector portion of the ESR meter is the same as the detection circuit in the commercial ESR meter built by Creative Electronics. Sadly, these meters are no longer made. Diodes D1 and D2 clip the top and bottom of the 100 kHz AC to one silicon junction drop. This allows capacitors to be tested in circuit because any other silicon junctions will not be forward biased by the relatively low AC signal.  The low-level AC signal is DC decoupled with C3 and amplified by two operational amplifiers, with a voltage gain of 4.7 for the first amplifier and a gain of 10 for the second. This provides an overall gain of 47 to the input of the absolute value circuit.The Absolute value circuit was taken from the Burr - Brown Application Bulletin “Precision Absolute Value Circuits”.  The absolute value circuit had plenty of drive for the 100 microamp meter I used.

This ESR meter operates of a single 9 volt battery. The plus, minus and ground voltages needed for the operational amplifier are derived using this opamp voltage follower with current boost.


Fig. 3 Power Supply Circuit

To test out the circuit I built up a conventional bread board. BNC connectors allow for easy monitoring of the various waveforms. Initially for testing I simply looked at the signals with an oscilloscope intead of the 100 micro amp meter.

Fig. 4 ESR Bread Board

In this picture you can see the output the oscillator as well as the output of the ESR meter while testing a 50-microfarad electrolytic capacitor.

Fig. 5 Oscilloscope Test

In this waveform dump from the oscilloscope you can see the difference between a capacitor with a high ESR in blue and a capacitor with a low ESR in orange.

Fig. 6 Waveform Data Showing High & Low ESR

Even before I was able to package the meter into a case I used it to trouble shoot our air conditioner by locating a bad motor capacitor.

Fig. 7 Checking Motor Capacitor

The completed ESR meter is sufficiently portable so that it can be used remotely and away from the work bench. Simple Post-It® Note calibration was accomplished with a handful of 2-ohm resistors. The ESR meter works like an ohm meter. Before measuring a capacitor, the leads are shorted together and the knob is adjusted for a full-scale reading (Zero ESR). Rotating the knob fully counter clockwise turns the meter off with a switch.


Fig. 8 Completed ESR Meter

The circuit is wired on two prototyping Perfboards. The smaller board on the left is the circuit used to derive the plus, minus and ground references for the op-amps. The larger perfboard is the ESR meter circuit and it is held in place by the nuts on the meter.

Fig. 9 Inside the ESR Meter

Resource Links

Tuesday, April 28, 2020

Home Made UVC Sterilizer

This is a series of pictures describing a simple UV-C Sterilizer I built for mail, face masks, and small items. Much of it was built out of leftover parts from other projects. The germicidal lamps and ballasts were purchased on eBay. The timer and some electrical parts came from Amazon. Be warned! UV-C is very nasty, and at no time should you look directly at the bulbs or allow your skin to be exposed to the radiation. Any time that I energized the bulbs outside the enclosure or with the enclosure open I wore welder's goggles and did not look directly at the lamps.


Fig. 1 Bread board of the lamp and ballast

This is the schematic of the UV sterilizer. Each lamp requires a separate magnetic ballast. A timer allows a user to select the amount of sterilization in minutes. Typically, 5 to 10 minutes should be sufficient for most objects.

Fig. 2 Schematic

The box I built to house the sterilizer was fabricated from spare Ikea shelves and other press board material I had in the shop. I glued aluminum foil to the interior wall of each piece of box. I then followed up with aluminum tape around the edges. The aluminum tape is the kind used for air conditioning duct repairs and can be found at Home Depot or Loews.

Fig. 3 Press board covered with foil and aluminum tape

After the individual pieces are covered with foil they can be assembled into a box. I used dry wall screws to attach the sides together. After the box is assembled I followed up with aluminum trim on the outside edges for extra strength.

Fig. 4 Assembly of the press board box

Next I wired the junction box for the hot and neutral buss that feeds each of the lamps. I used a typical barrier strip and plastic project box. Rubber grommets were added to the box to protect the wires entering the box. The ballasts and G23 sockets use solid wire which works well with the screw terminals on the barrier strip.

Fig. 5 Close up of junction box

With the box completed I attached the junction box to the back of the unit.

Fig. 6 Junction box attached to the sterilizer

After the junction box was installed I attached the individual ballasts to the back of the sterilizer.

Fig. 7 Philips LPL-5-9 ballasts

Next I screwed down and wired the sockets for the germicidal bulbs. These particular bulbs required a G23 base. These can be found on Amazon for a few dollars. After the bulb bases were installed I drilled small holes for the wire from the ballasts and the neutral buss.

Fig. 8 Basses for G23 bulbs

I used a couple of wire in-baskets to suspend anything being sterilized over the top of the bulbs. This helps to optimize UV-C coverage and reduces fire risk by keeping objects being sterilized away from the bulbs.

Fig. 9 Wire baskets installed

Wiring at the back can now be completed. This includes running power from the junction box to the 2S electrical that I attached on the side. It is also time to put the cover on the black junction box. The 2S box houses the timer that will turn the germicidal lamps off after a sterilization time is selected. The timer I installed is a simple spring wound timer that can be set from 1 to 15 minutes. I have ordered a digital timer that has pre-set buttons for 5, 10, and 15 minutes. Both of these were found on Amazon.

Fig. 10 Caption for picture 10

The G23 sockets are installed and wired to the top of the box. After they are wired the top can be attached to the top of the enclosure.

Fig. 11 G23 sockets installed to top

With everything wired it was time to test the bulbs. Again, I wore welding goggles during the very short test.

Fig. 12 Lamps energized

I created a custom warning label based on OSHA samples found with Google Images. The size is based on a spare piece of Plexiglas I had in the junk box. I will provide a link to an SVG file that should work with almost any drawing program.

Fig. 13 Custom OSHA warning label

The last step is to attach the warning label to the front door of the enclosure and then attach the hinges to the door and the door to the enclosure.

Thursday, September 5, 2013

Modeling Molecules


Most of us remember making the models of molecules by snapping together multicolored plastic spheres.


Inspired by this childhood experience I decided to attempt the virtual version using Python and Blender.  The secondary motive was to gain some proficiency in reading and parsing data from a text file using Python and then use Blender to do the rendering of the molecule.  The first thing I needed was some data to parse using Python.  I was happy to discover that the data I needed for the molecules was available at the Protein Data Bank.  Initial development and parsing of the text data was done using IDLE, Python's Integrated Development Environment.  After I was satisfied with my ability to read and parse text data I moved my script into Blender.  Here you can see Blender in the scripting mode.


You can see from the screen capture where Line 22 of the script points to the text file that contains the molecule data.  In this case I’m drawing a picture of an LSD molecule.   After running the script I wanted to create a nice 3D image of my molecule.  Using Blender in the Default mode I set up a stage for the molecule to be rendered on.  Here is how the image of the LSD molecule turned out.


If you want to try this on your own you can download the scripts and text file data from this web page.  In the example on this page I created a complete 3D model and animation of a short piece of DNA.  All of it can be downloaded from this URL.


This page also contains links to the Protein Data Bank, as well as information about the color and size of the individual atoms.  I’ll try to update the page adding CSV files of different molecules when I create them from the protein database files.  You can also find the code on GIT Hub using this link

https://github.com/glydeck/MoloculeParser

Sunday, January 13, 2013

Cold War Artifact


When my friend Curtis visited me last week he surprised me with this cold war artifact possibly from the late 50s early 60s.  He picked it up at the museum in Los Alamos, New Mexico.  Initially, none of us recognized the device or knew what its purpose was.  I sent this picture to my daughter and she suggested this was worthy of blog post.

Opening up the box only deepened the mystery when I was greeted with a circuit board containing flash light bulbs, resistors, diodes, one transistor and a transformer.  There was also a place for a single D Cell battery. There was a tantalizing clue to the devices purpose when I discovered a sticker on the inside with a schematic.

Here is a closer view of the interior of the case and the schematic.


Using Google and the number CD V-750 that appeared on both the outside of the box and the interior sticker the manual for the device was located.



Using Photoshop I was able to create a better image of the schematic.

So what is it?



The operating and maintenance manual explained everything, including the purpose of the device, how it worked and how to fix it.  The yellow box is a Radiological Dosimeter Charger.  It’s used to charge, or ‘zero’ a quartz fiber dosimeter.  This style of dosimeter is essentially a small electroscope, and the quartz fiber is a delicate gold plated indicator.  This quartz fiber indicator is inside a small airtight ionization chamber.  The ends of this chamber are transparent so that the fiber can be viewed with a built in microscope, and compared to the built in reticule to determine the charge on the fiber.  To reset a dosimeter of this type requires 150 to 200 volts.



With the manual in hand I wondered if this charger was still functional.  The circuit is very straightforward and is actually a simple switching supply used to generate the high voltage from a D Cell battery.  Transistor Q1, capacitor C1, and transformer T1 primary windings create an oscillator.  The output of that oscillator is stepped up through the transformer where it is rectified by CR1 and filtered by C2 to create the high DC potential.  Potentiometer R2 and resistor R3 create a voltage divider.  The wiper of R2 creates an adjustable output voltage to reset the dosimeter.  In this picture you can see the printout of the manual showing the waveform at the anode of CR1, the D Cell, and the jumper used to bypass S1 to activate the circuit. 

What about the light bulbs?  The light bulb that is lit is used to read the dosimeter.  The other bulb is simply a spare held in a rubber grommet.

What could be better than to test the charger with a vintage instrument from the same era?  I used my Tektronix 535A tube oscilloscope to view the waveform at the anode of CR1.  You can see that the waveform is nearly identical to the waveform shown in figure three of the manual.  Each large division on the oscilloscope reticule is 10 microseconds. 
A more exact reading was taken with a digital scope.  The period of the transistor oscillator is 36.26 microseconds, or about 27.6 KHz.  The ringing between each major pulse had a period of 5.8 microseconds, or about 172.4 KHz.  So it does work!

One last observation...

Opening the cover let out the unique aroma of 50s Science and Science fiction movies.