3D Printed Automatic Electromagnetic Swing

172

4

An automatic electromagnetic swing — it keeps swinging using the magnetic interaction between a coil and a permanent magnet. When the swing reaches the bottom of the arc it breaks an infrared beam that activates the coil which gives the swing a little kick upward.

Supplies:

Step 1: Materials Needed

Materials needed for simple model:

  • 3x12 mm neodymium magnetFour
  • AA Batteries or equivalent
  • Magnet Wire (30AWG or higher)
  • Large paperclip — used as axel
  • Momentary Switch

Materials needed in addition for automated model:

  • 3 mm 940 nm infrared phototransistor
  • 3 mm 940 nm infrared LED
  • Two 1kΩ resistors
  • 2.4kΩ or 1kΩ resistor or equivalent for IR LED
  • 10kΩ variable resistor
  • Three 2N2222 NPN transistors
  • 10 µF electrolytic capacitor
  • 1N4001 diode
  • Any color visible LED light

Step 2: Wind the Coil

The construction is fairly straight forward. The pieces can press fit together, but a tiny amount of glue wouldn't hurt. The coil should be around 8Ω which depending on the gauge wire could be a hundred or more turns.

Two versions can be made: A simple version that only needs a battery and momentary switch connected to the coil or an automated version. Two 3 mm holes are in the vertical slots can accommodate the infrared sensor and emitter.

Step 3: Simple Versus Automatic Operation

Simple Operation

The simplest and most straight forward method is to use a battery and momentary push button connected to the coil. This is almost a test of human reaction ability as the button must be pressed exactly as the swing reaches the bottom of the arc. When the button is pressed the coil becomes magnetized and pushes away (flip polarity as needed to attain this) the permanent magnet.

Automatic Operation

The circuit uses a 940 nm infrared LED and an accompanying 940 nm infrared phototransistor. The variable resistor can be adjusted to the point where the infrared sensor is activated for the particular light level of the room. Since the coil is only activated for very brief instants the swing can go on for hours.

Step 4: Automatic Circuit Explanation

Stage A

An infrared LED provides a constant source of infrared light for the sensor.

Stage B

Since light is almost always falling on the phototransistor (Q0), it is essentially a "closed switch" which feeds a zero voltage signal to the base of the first transistor (Q1). However, when the beam is broken, the phototransistor (Q0) is "an open switch" and the 1kΩ and 10kΩ variable resistor act as a pull-up resistor feeding a high signal to the base of the first transistor (Q1). This means the coil is only activated when the beam is broken.

Stage C

Transistor Q1 and Q2 act as a darlington pair raising the current to a high enough level to drive the coil. A 10µF capacitor is used to slightly slow the reaction of the sensor as the coil needs to be triggered slightly after the pendulum breaks the beam at the bottom of the arc; otherwise it may get stuck at the bottom. A 1N4001 diode is used as a flyback diode as a precaution to avoid back voltage spikes to the transistor. This occurs when the current stops to the coil and the collapsing magnetic field creates its own voltage spikes. It may be unnecessary for such a small coil, but it can't hurt.

Stage D

The last stage is not necessary for the operation of the swing, but the last transistor (Q3) amplifies the current to be able to indicate the time the coil is activated.

Step 5: 3D Files

Share

    Recommendations

    • IoT Challenge

      IoT Challenge
    • Fandom Contest

      Fandom Contest
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest

    Discussions