I’ve just not had anything profound to say in a while. My brain is underachieving.
I haven’t posted in a while. The simple explanation is that I’ve got a rather full plate. My TLS certificate has expired. I tried to renew it, but something didn’t take. I hate making phone calls, so I haven’t talked to my hosting provider yet to see what I’m doing wrong. It seemed so easy before.
So what have I been doing? I’ve been learning the Arduino. I’ve been learning the Raspberry Pi. I’ve gone all out physical and started learning about 3D printing. In short, my foray into Physical Programming is getting very physical indeed.
There is so much to learn!
I still haven’t finished the pendulum. The plywood I got for my base is warping in the basement. This I do not like. I may change the design of the base rather radically. I only need the pendulum to keep swinging. That requires providing a small kick each swing to add energy that was lost to air drag and friction in the cable. I’ve got a magnet for that. It needs 12V. The Arduino can handle 5V. The Arduino needs to operate a power transistor to give the magnet the voltage and current it needs.
I’m building a weather station. It’s based mostly on SwitchDoc Labs gear. That’s the heart. The brain will be a Raspberry Pi. I have most of the pieces. I’m going to be soldering soon. There is some software to learn for this one too. There is a protocol used by the ICs on the boards. It’s called I2C. Both Arduino and Pi can speak it.
And then there’s 3D Printing. This is very exciting. It means I can make some of my own things. The printer will only do a few plastics. ABS and PLA are the two main ones. People have figured out how to get others to work. To take advantage of this, I have to learn to use something called slicing software. This takes a 3D model in a particular file format and creates something called G-code to control the printer. It’s much like CNC. The code tells the printer what to do in rather exacting detail.
There is a lot of stuff.
I found a reasonably nice piece of plywood to attach the electronics too. You can see it pictured above. The pendulum has been temporarily hoisted for testing with the breadboard. The next test will be done with most of the electronics attached to the plywood. The plywood is warped. I’m working on straightening it. I will also have to square it properly and I’m going to be framing it for more straightness.
Parts have continued to arrive for the driver. I found a nice set of 5mm LEDs on Amazon that have resisters in line to wire them up to the 12V side that will be controlling the magnet. I plan to use eight blue LEDs at the bottom to shine up towards the ceiling. They will go about where that orange lid is in the picture. The LDR will go in the center. The magnet will be concealed beneath the wood, also in the center.
Once I have all the woodwork done, I’ll be sealing it so that it doesn’t go changing shape (warping) after the magnet is aligned. The board will be supported by three bolts, each with two nuts and washers. Hopefully this will allow quick alignment of the magnet under the bob at BDC.
I haven’t updated my GitHub code in a few days. I plan to add an electrical schematic as well as update the sketch that will be running the pendulum. In terms of electronics, the Arduino Uno board will be attached via jumper wires to a PCB prototyping board that will have the components soldered in place. I’m planning on a push button to toggle between alignment mode and running mode using an interrupt function, a POT for adjusting the sensitivity in response to changing LDR output, the LDR, and a POT for setting a maximum on time for the magnet.
There is another test I need to do. That is to gather data from swinging the pendulum over the base (plywood) with the LEDs on and LDR in place. I’m expecting a certain pattern from the LDR that will be connected to A0 on the Arduino. I should be able to create a mathematical function to fit the data. After that, I need to take the first derivative of that function so I can determine the local maxima and minimum during the pendulum swing. The function will also have a constant term that accounts for ambient light. As this setup is in my basement, turning on the lights will change the values at A0. The basement also has windows.
So far, this project has proven to be more interesting than expected. Simple pendulums are not so simple. Some of my literature research is on GitHub. There may be more to follow, I don’t know. I expect that the rest will be my experiences with this specific project. It seems that Foucault Pendulum installations tend to be one offs. This will probably be no different. I still don’t know if it will turn out. It’s a rather short pendulum at only about 2.31 meters. A very small elliptical precession in the swing can easily wipe out the Foucault precession.