Sometimes the best way to learn about a technology is to just build something yourself. That’s what [Dan] did with his DIY optoisolator. The purpose of an optoisolator is to allow two electrical systems to communicate with each other without being electrically connected. Many times this is done to prevent noise from one circuit from bleeding over into another.
[Dan] built his incredibly simple optoisolator using just a toilet paper tube, some aluminum foil, an LED, and a photo cell. The electrical components are mounted inside of the tube and the ends of the tube are sealed with foil. That’s all there is to it. To test the circuit, he configured an Arduino to send PWM signals to the LED inside the tube at various pulse widths. He then measured the resistance on the other side and graphed the resulting data. The result is a curve that shows the LED affects the sensor pretty drastically at first, but then gets less and less effective as the frequency of the signal increases.
[Dan] then had some more fun with his project by testing it on a simple temperature controller circuit. An Arduino reads a temperature sensor and if the temperature rises above a certain value, it turns on a fan to cool the sensor off again. [Dan] first graphed the sensor data with no fan hooked up. He only used ambient air to cool things down. The resulting graph is a pretty smooth curve. Next he hooked the fan up and tried again. This time the graph went all kinds of crazy. Every time the fan turned on, it created a bunch of electrical noise that prevented the Arduino from getting an accurate analog reading of the temperature sensor.
The third test was to remove the motor circuit and move it to its own bread board. The only thing connecting the Arduino circuit to the fan was a wire for the PWM signal and also a common ground. This smoothed out the graph but it was still a bit… lumpy. The final test was to isolate the fan circuit from the temperature sensor and see if it helped the situation. [Dan] hooked up his optoisolator and tried again. This time the graph was nice and smooth, just like the original graph.
While this technology is certainly not new or exciting, it’s always great to see someone learning by doing. What’s more is [Dan] has made all of his schematics and code readily available so others can try the same experiment and learn it for themselves.
If the world comes to an end, it’s good to be prepared. And let’s say that the apocalypse is triggered by a series of nuclear explosions. If that is the case, then having a Geiger counter is a must, plus having a nice transport vehicle would be helpful too. So [Kristian] combined the two ideas and created his own Geiger counter for automotive use just on the off chance that he might need it one day.
It all started with a homemade counter that was fashioned together. Then a display module with a built-in graphics controller that was implemented to show all kinds of information in the vehicle. This was done using a couple of optocouplers as inputs. In addition, a CAN bus interface was put in place. As an earlier post suggests, the display circuit was based on a Microchip 18F4680 microcontroller. After that, things kind of got a little out of control and the counter evolved into more of a mobile communications center; mostly just because [Kristian] wanted to learn how those systems worked. Sounds like a fun learning experience! Later the CPU and gauge was redesigned to use low-quiescent regulators. A filtering board was also made that could kill transients and noise if needed.
The full project can be seen on [Kristian]‘s blog.
We work with some dangerous circuits in the pursuit of cool hacks. High voltage, high current, all demand some respect. We can protect our bodies easily enough, but what about that fancy new laptop or Macbook? [David] is here to help with his isolated versatile FTDI circuit.
Our computers are often wired directly into the circuits we’re hacking on. In days past that might have been a parallel or serial port. Today it’s almost always USB, specifically serial over USB. USB has some safety features built-in, such as current limiting. However, it isn’t too hard to blow up a USB port, or even a motherboard with high voltage. Galvanic isolation is a method of removing any electrical connection between two circuits. Connections can still be made through optical, magnetic, or capacitive methods, just to name a few. One of the simplest methods of galvanic isolation is the humble optocoupler.
Isolating a high-speed USB connection can get somewhat complex. [David] wisely chose to isolate things on the serial side of the FTDI USB to serial converter. He started with SparkFun’s open source FTDI Basic Breakout. Galvanic isolation is through either an Analog Devices ADuM 1402 or ADuM 5402. The 1402 needs a bit of power on the isolated side, while the 5402 includes an isolated DC/DC converter to provide up to 60mA.
[David] didn’t just stop at galvanic isolation. He also added ESD protection, over current protection, and multiple options which can be selected when the board is built. Nice work [David]! Now we don’t have to worry about our laptop frying when we’re blowing up wires.
We don’t think this one is going to bring back the days of one-time-use flash bulbs. But for camera enthusiasts who do have old flash units lying around this will be quite interesting. [Sven] worked out a method of interfacing this vintage flash with a modern camera.
The trick is to map the trigger signal from the camera to the flash module. Instead of patching into an electrical signal from the camera he’s using the light from the stock flash. He cut an optocoupler in half, keeping the receiving side of the part. This is molded in plastic that was shaped to surround the original flash unit. When that flash goes off the triac in the remaining half of the IC is activated. This is connected to a hot shoe mounted on an extension arm that is attached to the camera’s tripod mount. The shoe can be used to interface a few different styles of flash modules.
We don’t have an alternative use in mind right now. But chopping an optocoupler in half could come in handy for other applications that use a bright light as a trigger event.
Continue reading “Adapting modern cameras to use old flash units”
This is an array of flourescent tubes that form a display. The video above is just two modules of a ten module installation that [Valentin] and his team are showing at an exhibition in Berlin tomorrow. The connected modules form something of a scrolling 16-segment display (similar to the 17 segment display modules of the ninja party badges but much larger). They’re using triacs, optocouplers, DMX, and an Arduino to interface a computer with the 182 fluorescent tubes of the display. Check out a second video after the break to see (or be blinded by) all ten modules pulling 10,000 watts.
Continue reading “10,000 watt fluorescent array”