Dueling Air Conditioners

I installed a small 8000 BTU window air conditioner in the dome several years ago to keep the dome cool during the summer. I am concerned about the dome getting so hot in our 115 degree heat that the electronics will be damaged (computer, power controller, mount, …).

As described in an earlier entry, I built an Arduino based temperature probe and wrote a little program ACCycle to turn the air conditioner on and off.


This has been working OK, but the AC is clearly unable to keep up. As the image above shows, no air conditioning would generate the red line. The orange line shows the typical response to the single unit coming on; it lowers the temperature in the dome by 5-10 degrees, but otherwise follows the ambient.

So, I bought a second 8000 BTU unit. This one is a portable unit with the big hose that exhausts out the window. The blue data shows the result of both units turning on – the temperature immediately lowers back to the target 85 degrees.

Not So Simple

First, it is clear that the two units together work very well. Now, instead of seeing the dome temperature follow the outside temperature (but a few degrees cooler) I can see the AC units kicking in and bringing the temperature back down to 87. I have it set to start cooling at 90, stop at 87. In the image below the dome temperature (blue line) rises steadily in the morning. About 8:30 it hits the upper limit of 90, at which point the two units kick on. They quickly cool back below 87, at which time they shut off. The units cycle until about noon; at that point the heat is enough that the units stay on steadily until about 5:00 PM, when it starts cycling again.


But –  I am encountering power problems, which I have never had to think about before.

Surge Protector Limit

To start, my Power Controller is plugged into a big surge protector, which in turn is plugged into the wall. When the two AC units are turned on, the power exceeds the surge protector limit. The surge protector shuts off, including power to the computer and everything. I have to reboot the system and start everything again. Doesn’t happen every time, so I am apparently close to the limit of the surge protector.

Power Controller Problem

So, my next step is to plug the power controller directly into the wall, bypassing the surge protector. In addition, the controller has an “A” and “B” side, each allowing 15 amps. I had been running both AC units from one power cord on the “B” side. Now I plug one AC into the “A” side and the other into the “B” side.

Well, it is better, but every so often ACCycle turns the AC on but they don’t actually turn on! I think the surge through the Power Controller is problematic somehow. I have trouble reproducing the problem, but is seems to happen a couple of times a day. Unfortunately, it can end up in a state where the AC is off, but ACCycle thinks it is on. Thus, the dome keeps heating up.

Shadow AC

Next approach – get around having both units turning on simultaneously.

One approach would be to put the two units on separate ports in the Power Controller and have ACCycle control both units. However, I don’t have any extra ports in the Power Controller. I could buy another controller:(

Instead, I put one unit on a manual timer on the wall socket. This timer will turn on the AC at 9:30 in the morning and turn off at 7:30 at night, after sundown. At this time of year there aren’t any days where cooling isn’t needed, so this is reasonable.

Now ACCycle only controls the second unit. It only kicks in when the first unit cannot handle the load. Both units don’t necessarily run, and they don’t kick on at the same time. In the image below the first unit started at 9:00 AM. It was a cooler day (only reached 101) so the second unit wasn’t needed until late in the day about 4:30 PM. It kicked in briefly when the temperature got above 90 and quickly brought it under 85, at which point it wasn’t needed any more.


Moon Effect on images

I have been wondering about the effect of the full Moon’s light on images. In particular, there is a tempting thought that if your target is far enough from the Moon in the sky, perhaps the Moon’s effect would be negligible. Also, I noticed something in ACP Scheduler that sounded like you might be able to image at angles greater than 120 degrees from the Moon. Since we are having a full moon now, I thought I could try a simple test and see what happens.

I set up an ACP plan to take images every hour through the night. Each hour, ACP would:

a) Focus the Edge 11

b) Take 3 one minute unguided images at a position 60 degrees altitude to the SouthEast using the Luminous (Clear) filter. These images are at some angle from the moon, as given by theSkyX. This target point yielded images at angles of 23 to 55 degrees from the Moon.

c) Take 3 more one minute unguided images using the OIII filter

d) Take 3 more images at a second target position to the NorthWest, again at 60 degrees altitude. The second position was simply to give me points at a greater angle from the moon; I got angles of 75 to 115 degrees from the moon. This target is in the Phoenix light dome so I expect to get higher counts.

e) Take 3 more images with the OIII filter.

f) ACP then sleeps until the next hour is up, at which point the steps above are repeated.

Since my images are at a set Altitude/Azimuth, the images produced are different for every hour. The contents of the images are irrelevant – all I am interested in is the background count.

The Moon rose at 10:43 at 85% illumination. The first set of images were taken at 10:00 PM while the Moon was till down, so that should give a “zero point” for comparison. At this time the Moon was 9 degrees below the horizon.

I used CCDInspector to retrieve the background and contrast for each image, then averaged these values for the three images at each point/filter. Some of the OIII images did not report a contrast, presumably because there were no stars really visible in the image.


Raw Images

Raw Background counts as a function of angle from the Moon.
Figure 1. Raw Background counts as a function of angle from the Moon.

The graph shows the effect of the Moon’s angle on the background counts of the raw Luminous and OIII images.

In the Luminous images there is a clear trend toward less background as the angle from the moon is increased. The values at 200 degrees are those produced when the Moon had not yet risen. It seems clear that the Moon’s effect is in fact negligible once the angle gets to 120 or so. Logistically it may be difficult to this large an angle between the Moon and target. Perhaps some Northern targets could be imaged when the Moon is to the South.

I am surprised at the OIII results. It appears that the OIII background does not depend on the Moon’s angle. Even when the moon is not yet up the background is the same. However, I have previously determined that the Moon scatters a significant amount of OIII light when it is up. Perhaps the Moon was close enough to the horizon to scatter a lot of OIII? I do not understand this result.

Calibrated Images


Effect of the full Moon on calibrated image background values.
Figure 2. Effect of the full Moon on calibrated image background values.

Calibration is performed by Maxim using Bias, Dark, and Flat frames. I had anticipated that the calibrated results would follow the same pattern as the Raw data. As seen in the graph, this is roughly true for the Luminous images. The points in the Phoenix light dome (blue triangles) have higher values, but they are dropping toward the zero point. 120 degrees may not be sufficient to approach the no-Moon case.

However, the OIII results are all over the map. Most of them are at a constant level, but some of the points have very large backgrounds after calibration. Again, I do not understand this variability.

Contrast Results

It turns out that the contrast measured by CCDInspector depends on the contents of the image. If there are a lot of stars or structure the contrast will be higher. This is fine when comparing images of the same target; a higher contrast in this case indicates a better image. However, in this data the contrast readings are random since the image field is different at each point (I am keeping the image at 60 deg Altitude and a fixed Azimuth).


It is not worth it. When the Moon is up, there is still significant light in the calibrated images out to angles of 150 degrees. It may be possible to do something with narrowband filters, but the data there is confusing.

Stay with imaging when the Moon is down.

Weird Diffraction Spikes Part 2

The saga comes to a close…

Celestron Help

After talking to the Celestron Rep (Will) it sounds like I missed something when inserting the secondary. There is a small set screw on the inside of the secondary which needs to fit into the slot on the secondary housing (the tube passing through the corrector plate).

Will also made a couple of other points.

  1. the slot in the secondary housing, the mark on the secondary, and the set screw should all point at 1 o’clock. That is how his system is set up.
  2. The secondary housing is not glued, it is just tight. Apparently it is very easy to bind the threads, the tube can flex. He described a couple of ways to try and tighten it so the housing is stable.

I retried inserting the secondary, making sure the set screw is positioned correctly. It seems to fit better.

Voila! Now I can focus correctly. I then worked on collimating, and was able to make that work.

I then tried the collimation tool in CCDInspector; I’ve owned this tool for awhile but never tried this piece. It was a little confusing at first. There are various colors which I anticipated were trying to tell me stuff, like which direction to turn the screw – apparently not.

One very helpful aspect – I connected Maxim to the ACP Telescope hub and put in the correct image scale (0.39″/px). This enables the function in the right click menu on an image to re-position the scope to point to a particular spot. This makes it much easier to recenter the scope after each adjustment.

After I got the hang of it, I was able to get the collimation to less than 5″, perhaps under 3. At that point the seeing and clouds were preventing any improvement. The collimation is clearly better than what I used to get using my manual method. A focusing run shows very symmetric patterns on the stars.

Starizona Help

Now that I am correctly inserting the secondary, I still need to get the secondary housing firmly attached to the corrector plate. Before starting with Will’s suggestions I called Dean at Starizona to get his thoughts. He had some other techniques I could try to tighten the housing.

In the end, I decided to bring the OTA to Starizona rather than risking messing up the housing. I’m glad I did. Dean was very helpful and knowledgeable. It was great just seeing him do some of the various tasks – there are a lot of things one hears about, and that I have done, but don’t really know how to do exactly.

Dean pulled the corrector and managed to get the two parts of the housing separated. He then replaced the paper (almost invisible) gaskets with a rubber type, then re-installed the housing in the plate.

He then cleaned the corrector, doing a much better job than I had. Very interesting watching his technique.

Now came a possibly controversial part. There are several threads out there about whether the corrector should be moved. In particular, a long series of posts on Cloudy Nights which concludes that the plate should not be moved from the factory setting, and should not be physically centered (the factory setting is the correct optical centered position). Dean disagrees – after putting the corrector back in, he adjusted the position to get the secondary/housing/corrector centered by looking down the OTA from 6-12 feet. He says he has convinced Celestron they are aligning their correctors incorrectly? They came out and visited to see how he does it…

Also, Dean positions the secondary and housing to point at 3 o’clock instead of 1 o’clock.

Anyway, he did his alignment which included very slightly shifting the corrector. He also collimated using an artificial star. He clearly has a very experienced eye.

Mystery Solved

The source of the trails on the corrector was identified by Dean. Apparently when it gets hot the grease on the primary baffle can bleed some of the more volatile components. Dean showed me the trail running down the primary baffle; clearly the same fluid on the corrector plate and under the edges of the plate.

I have (cleverly, I thought) defined the scope’s park position to have the OTA pointing down. The idea was to keep some of the Arizona desert dust from collecting on the corrector plate. This was a bad idea, since it allows the grease to drip onto the corrector.

If the OTA is pointed up, the grease will run down into the back of the OTA. Apparently this is not a problem.

Subsequent Collimation

After I got the OTA remounted, rewired, and balanced I was curious to see how Dean’s collimation was, as per the CCDInspector tool. It was pretty good, about 14″. Certainly better than what I would get (about 50-70″). I then played with it and managed to get it to 1.5″. At that point the direction line is flitting around quite a bit, but generally less than 1″. Wow!

Now I have centered the focus position near 3500 on the Optec, locked the mirror down, and started re-running VCurves. I’m eager to see how the overall performance of the system might be affected.

Weird Diffraction Spikes

For a little while I have been getting strange diffraction spikes from the Edge 11/STF8300M system, as seen in the sub below. The brighter stars have 2 diffraction spikes, when they should not have any (no support vanes to cause them). The two spikes are at a 10-20 degree angle from each other.TestRedFilter15Min

The crop below shows is zoomed in a bit to show the spikes better:


I have been working on my Dome driver for the Arduino controller; I thought these were due to the OTA not pointing accurately out the dome’s slit. However, when I got around to checking, the OTA was in fact pointing precisely out the slit.

Big trails seen on the left. Two trails are at an angle, leading to the observed diffraction spikes.

So, I went out and started to look at possible causes. Right off the bat, when I looked at the corrector plate, there were 2 “trails” on the inside of the corrector plate! It looks like a snail crawled down the plate. The trails are at an angle, matching the angle of the diffraction spikes.

SnailWallsIn addition, there are a couple of trails on the inside of the tube, along with a blotchy area. These look like liquid has somehow run down the tube and dried.

There are also a bunch of small drop “splatters” on the inside of the tube. These are hard to see in the image because the corrector is also fairly dirty on the outside.







So, time for a fun new project – removing the corrector plate and cleaning it. I have seen lots of comments about dangerous this is…

Removing the Corrector Plate

Cloudy Nights had a very good description about removing the plate, although no pictures so I don’t necessarily know what they are referring to.

Step 1. Carrier Box

IMG_0632Cut down a cardboard box, taped in a couple of pieces of foam. This will hold the corrector plate when I get it out.









Step 2. Remove the secondary.

Position the scope pointing slightly down and unscrew the secondary.

Am I supposed to remove the holder that holds the secondary?  I don’t see how to do it. After I got everything out I tried again with no success. It seems like it should unscrew into two pieces, but maybe  they are glued together or something. In the end I do my cleaning with the holder remaining in the corrector.

Problem? The secondary holder is loose in the corrector. It spins easily, and moves laterally a millimeter or so in each direction. Is this right?

Step 3. Position the scope with counterweights up, scope pointing up.


Step 4. Remove the retainer ring.

The two pieces of tape are cut, allowing me to reposition the retainer ring. This shot also shows the problematic inside streak on the corrector plate.

I don’t know if the positioning of the ring is important. I assume not, but will proceed as if it is:) I put two pieces of blue tape on the ring and tube wall, then cut the tape. The tape pieces will allow me to re-position the ring correctly. Removed 8 screws.

It is tricky getting the ring out. There are two pins sticking out for holding the lens cap. I had to squeeze the ring a bit to get by the pins.

Step 5. Remove Corrector plate.

Marked the plate position with two more pieces of blue tape. Couldn’t find the holding/adjustment nylon pins discussed on CN.

Pulled on the plate (using the plastic secondary holder tube) and it popped out. OK, now I see the nylon adjustment pins I was supposed to loosen.


Liquid pooled under the corrector plate at upper right of photo.

Danger, Will Robinson! OK, this is weird. There is liquid in two places on the corrector plate edges, and on the corresponding support ring. The liquid is clear but kind of oily/viscous. I have no idea what this is, but I’m pretty sure it is the same stuff that left the trails on the corrector and the tube.









Liquid pooled on edge of corrector plate, connected to trail across plate

Remote Possibility: Several months ago (4-6?) I cleaned the corrector plate. I used a solution of isopropyl alcohol and water, applied with cotton balls. I suppose it is possible that some of the solution slipped past the corrector. However, I can’t imagine a) there was enough solution to run like this, and b) how could iso and water not evaporate in the Arizona over multiple months?


Step 6. Clean inside of tube?

Tried to clean the specks on the interior of the tube. I’m afraid of messing up the tube, so in the end I left the inside alone.

Step 7. Cover opening with Saran Wrap.

IMG_0641To prevent dust blowing into the tube while I work on the corrector, I covered the OTA opening with Saran Wrap. The wrap doesn’t stick to the OTA like I expected, so more blue tape to hold the wrap in place.







Cleaning the Corrector

I followed the steps laid out by Clay Sherrod at Arkansas Sky Observatory. Assembled all the solutions, filtered, mixed… Got some rubber gloves to handle the corrector so I don’t get fingerprints on it; oops, the gloves themselves leave prints. I end up handling it by the secondary holder that I could never get out.

The tracks on the corrector plate are mostly removed. If I breath on the plate I can still see them, but otherwise they are gone.

Cleaned the outside face of the corrector as well. There are very small spots which I cannot get off. Tried a variety of things with little effect. Sometimes I could get one, but not often. They are hard to see anyway. Oh Well.


Put everything back together, no problems. When putting the plate back in, I loosened two of the nylon alignment pins precisely 1/4 turn. This allowed the plate to pop back in, after which I tightened back the 1/4 turn.


Hurray – more problems. First, the secondary still rotates easily and moves laterally. I had hoped that putting the secondary back in would tighten things down somehow. Did it do this before and I never noticed?

Second, I cannot get it to collimate. The stars are huge donuts. Adjusting the screws as usual ends up with one of the screws being completely tightened. Of course that one needs to be tightened more.

I think I have not assembled the secondary correctly? I will need to talk to Celestron and see if they can help.

Electroluminescent Flats


I have been using Sky Flats in ACP for some time. They work well, but have a couple of procedural limitations:

  • I can’t always be in a position where I can kick them off at a reasonable time. I forget, then it is too late/dark to start them. I suppose I could a) start early in the day, but I don’t like the idea of the observatory sitting open all day, or b) play with the #waituntil command, although I don’t think it actually affects taking the flats.
  • There isn’t enough time to get all my filters in. I do 25 frames for each of 6 filters (R,G,B,Ha,Oiii,Sii). By the time it gets dark enough to begin taking the frames, there isn’t enough time to do all the filters. So, I have to manually edit the flat plan file for the flats I plan to use that night. Of course, I tend to mess that up, or later want to change my mind..

So, I would like to do panel flats. I have played around several times with a flat panel screen mounted on the dome. It works OK, but has problems: 1) the small dome means the panel is not perpendicular to the OTA, 2) I don’t have a way to adjust the light levels for the various filters. For example, the HAlpha filter needs a brighter light than the RGB. I have played quite a bit with different lamps illuminating the screen, but it has never worked well.

I recently ran across a post somewhere (This site is similar to the site I found) that talked about using an electroluminescent panel from Knema.com. I have looked at EL panels before, but they are pretty expensive. This panel was not as much, cost about $200.

To mount my panel I simply cut a hole in the cardboard shipping material. The cardboard folds nicely around the panel to protect it. Velcro strips hold the panel to the shelf.

IMG_0623I built a “shelf” to hold my panel. The shelf is adjustable so I can position it about an inch from the OTA, fairly perpendicular.The shelf swings back and forth on the long rod, and slides up and down.




The shelf angle is adjusted with the 1/2 inch PVC arm which slides up and down a wood rod which fits inside the pipe.IMG_0624

The shelf stays in position all the time; as the OTA swings around it does not hit the panel. When I take flats, the OTA swings into position. As it does, it misses the panel by about 1/4 inch. The back end of the scope (camera) also misses the panel.

The panel includes a little inverter box with a knob that varies the brightness of the panel. Originally I intended to replace the knob with a computer controlled potentiometer to adjust the intensity. However, it turns out that all the filters work when the intensity is all the way up. The only exception is the Luminous filter. If I want to do Luminous flats I need to manually turn the knob down to the minimum setting.

Note that HAlpha and Sii flats require long exposures (50-70 seconds). The panel is not white, but heavy in the blue and green spectrum.

In operation the panel power supply wall wart is plugged into my DigiLogger power supply. The ACP AutoFlatConfig file allows turning on the power when the flats are run and turning it off when done.

I can now run automatic flats anytime, except for Luminous which require me to manually adjust the panel intensity down.

Dome Position Sensor for BrewSpinDome

I am busy building a dome controller to replace the Foster Systems unit. I call it BrewSpinDome, an Arduino based controller with a more precise position sensor (2 to 3 times more precise). I use the existing Home sensor.

Mark I Position Sensor

In my first attempt, I used an IR reflective sensor from Adafruit. It has an infrared emitting LED and a phototransistor (photodiode?) to detect reflected light. The two pieces are tilted slightly; the presence of a dark or light spot in front of the sensor changes the output voltage.

The images below show the sensor wheel mounted below the dome rotation gear, with the sensor positioned to detect the dark and white zones. The mounting bracket allows positioning of the sensor precisely under the wheel. It turns out the sensor works best when it is roughly 5mm from the wheel.

Looking at the bottom of the dome gear, showing the sensor wheel. The IR position sensor is to the left, aligned to detect the white and black blocks.
Showing the gap between the sensor and the wheel.
The mounting bracket allows several rotations to position the sensor.A header shield is used as the cable connector.

An oscilloscope shows the sensor output as the blue line. The yellow trace shows the Arduino receiving interrupts when the sensor switches states.


This was working OK; I used this system to start debugging the software. However, I began to see problems; the dome was missing sensor ticks. It turns out the dome gear “wobbles” a bit as it turns. This moves the gear closer to the sensor, so the voltages are not sufficient to get the pulses shown above.

So, back to the drawing board.

Mark II Position Sensor

In this design, I have a toothed wheel under the dome gear. I obtained an IR LED / phototransistor pair from Radio Shack which are positioned so the toothed wheel breaks the beam as it rotates. Hopefully this will generate better pulses.

Plastic pail showing bottom cut off and transformed into the toothed wheel.

The toothed wheel was created by cutting the bottom of a plastic pail obtained from my standard parts warehouse (Dollar Store). The image shows the original pail on top of the bottom piece which was cut off. I used a Dremel to cut the teeth in the wheel, as well as a central hole and two cuts to facilitate placing the wheel around the axle of the dome gear.

Toothed wheel after cutting teeth with Dremel. The wheel is cut into two pieces to allow attachment around the Rotation motor shaft. 

I also modified the mounting bracket as shown to place the IR emitter/detector on either side of the teeth. The two LED holders may be adjusted to get the sensor aligned.

The new bracket. The sensor LEDs are glued into the holes at the upper right (you can see the leads of one LED at the upper right). The two LED holders may be moved laterally to position the sensor correctly between the teeth.

Schmitt Trigger

I also stumbled upon a device known as a Schmitt Trigger, or Schmitt Inverter. It takes my slow-changing pulses and changes them into sharper square pulses. Very nice! I will add this to my circuit. In the Mark I, I was getting multiple interrupts at each transition; I had to add software logic to ignore interrupts for 25-50 milliseconds after receiving one. Maybe this will eliminate that problem.

I can buy a Schmitt Trigger IC (74LS14) or implement the logic with a 555 Timer as shown in this circuit.


Another update to AstroMC

Hmm, in the day or so since I updated the Foster Systems software to 2.4-1 they released 2.5-1. So, I went ahead and updated to that one now. Firmware is not B9.

Sky Flat target ADU level

There seems to be a bit of minor quibbling over the desired target level for taking Sky flats.

  • The PixInsight forum suggested a Target ADU = 40,000 somewhere.
  • The Wodaski book uses a formula

ADU = FullWell / eGain * bin * %brightness
For 8300,
FullWell = 25,500   (spec)
eGain = 0.53  (from FITS header)
%Brightness = 0.3 – 0.5   assume 0.4  ===>    Gives Target ADU = 38000

  • The sample ACP AutoFlatConfig file has a default value of 20000 +/- 4000

I had been using 38000 +/- 50000. I noticed that sometimes exposures were “overdone”, where the vignetting effect of the flat results in an “anti-vignetted” image. Dark in the center, lighter around the outsides. I think this is particularly happening with HAlpha shots, perhaps with shorter test shots. I tried making the HAlpha flats with lower targets (20000) thinking that the values were too high, causing too much offset in the image or something. However, I still noticed occasional anti-vignetting.

So, what is the effect of using different ADU targets?

  • I created 3 different Master HAlpha flats with target levels of 20,000, 30K, and 40K target values. 25 frames of each, combined in Maxim DL6 using the SD Mask combination method.
  • I took a single 10 minute test Halpha frame from an STF8300 with HAlpha filter.
  • I calibrated the test frame with each of the 3 Halpha Flat masters. Each calibration used the same Dark and Bias frame masters; only the Flat masters were changed.


A big disappointment – it doesn’t seem to matter which Flat master I use! Visually the 3 calibrated frames look identical. No anti-vignetting, I can’t tell the difference between the frames. Pixel Math shows the resulting frames have the same values within +/-2 ADUs, which I assume is due to very slight variations in the Flat frames.

So, I guess I’ll go back to the 38000 range again. The odd frames must be due to some other effect. At least I don’t see the effect in regular images, just in short duration test shots. I think.

Update AstroMC, FocusMax

Updated AstroMC/B6 from 2.3.1 to 2.4.1/B8. I am hoping this will eliminate the recent spate of ACP disconnects because “dome is already slewing”. This began when I installed the replacement dome controller, which is the new format in the gray box. We’ll see.

Also updated FocusMax to When I ran the new version it attached to Maxim (already running) and immediately clobbered the STF8300 USB port. Maxim did not see them in the camera list.

Tried repowering 8300, reseating USB cable, no luck. Finally rebooted Thor, and everything seems to work again.

Shutter Fixed?

The continuing saga of the shutter controller…

In the process of testing capacitors on my controller, I somehow managed to plug power in backwards. Thought I had fried everything (Arduino Mega 2560, cc3000, and MonsterMoto shield). In the end, it turns out all that fried was the SWADJ3 voltage regulator.

So, I rebuilt the small PC board to account for a couple of changes:

  1. Added a couple of diodes to protect from idiots plugging in power backwards. The Arduino power branch has a regular N4001 diode; that path shouldn’t be seeing a lot of current. The other diode is a Power diode, handles 50A at 200V or something. Big thing, 3/4 inch square.
  2. Added headers to allow connection to SWADJ3, capacitor, switch input wires. This should allow changing things without having to unsolder wires.
  3. Added capability to add 2 capacitors after the voltage regulator, so I can play with trying to fix the original problem.

I also changed the controller logic to remove the ramping up of the PWM for the motors. I just apply full voltage to the motors.

The new schematic and wiring diagram are here:

Schematic. Dummy board used for MonsterMoto shield.
Schematic. Dummy board used for MonsterMoto shield.
Wiring layout
Wiring layout

The Problem (Review)

The problem I am chasing: when the shutter motors are activated the overall voltage in the system plummets drastically as shown in the data below. The upper shutter doesn’t drop quite as much. Opening the lower shutter is worse than the upper shutter, but is OK (system doesn’t seem to fail). However, closing the lower shutter drops the voltage the most. Sometimes, this drop causes the Arduino to reboot, so the shutter never moves.

Oddly, running the voltage directly into the controller does not lead to as large a voltage drop, so generally the shutter does not fail. However, running the power in through the contact junction causes a bigger voltage drop, leading to frequent failures. I don’t know why this is. I measured the resistance of the junction: 0.7 ohms through the red wire, 1.1 ohms through the black side.

Voltage drops measured after the SWADJ3 voltage regulator.
Voltage drops measured after the SWADJ3 voltage regulator.


I tried a variety of capacitors before the regulator and after the regulator. As seen above, none of these seemed to help. In particular, running through the junction contacts causes a very large voltage drop.

In discussions on the SAC forum, it was suggested that my capacitors may be too old. OK, they are probably 30-40 years old… So I went to Radio Shack and picked up a couple of new ones. For power applied directly to the controller, the effect was dramatic! A small blip could be seen, but nothing like the previous situation.

Unfortunately, running power through the junction contacts is better, but still pretty severe. I am concerned that as the dome rotates the contacts may have better or worse contact, still leading to intermittent problems.

I cleaned the copper surfaces, and re-fastened one of the connecting cables to try and improve the connectivity. This helped a little bit. Now the voltage drop is not as severe – it is not going below 5 volts, at least.

Future Possibilities

I am hoping that these changes will allow the shutter to operate successfully. If the problem continues, the following options might be useful.

  1. Maybe I should adjust the SWADJ3 regulator to a higher voltage. I currently have it at 7.2 volts; perhaps if I run it up to 8.0 volts this will raise the dropped voltage the corresponding amount. This leads to more heat dissipated in the Arduino, but perhaps that is not a problem.
  2. Maybe I should experiment with moving the 470 uF capacitor back before the regulator. Forum members have suggested both cases, before and after the regulator. I don’t know why one or the other would be better.
  3. If I understood why the junction causes a problem, perhaps I could redesign it to fix it.

Thoughts on Junction Voltage Loss

The Arduino typically pulls less than 200 mA in normal mode – motors not running, checking for communications every second. In this mode, a 2 Ohm resistance in the junction would give a 0.4 volt drop. Thus, the input 12.8 Volts might be dropped to 12.4 V. This voltage would be constant, and the regulator would easily drop it to 7.2V for the Arduino.

However, when the motor kicks in it pulls perhaps 3-4 amps? 4 Amps would give an 8V drop, leaving only 4 V going into the regulator. It sounds like I need to redesign the junction with much less resistance…