Build Your Own Custom Elevator

There are a lot of things in our everyday life that are holdovers from an earlier time that we continue to use simply because of inertia even if they don’t make a lot of sense in modern times. Examples include a 60 Hz power grid, the spacing between railroad tracks, and of course the self-contained attic ladder which is made to fit in between standard spaced ceiling joists. It’s not wide enough to get big or heavy stuff into an attic, and building standards won’t change just for this one inconvenience, so if you want to turn that space into something more usable you’re going to need to build a custom elevator.

This attic elevator comes to us from [Brian] who recently moved into a home with about half the square footage as his previous home, but still needed to hold all of his stuff. That means clever ways of using the available space. For the elevator he constructed a platform out of 2x lumber held together with bolts and steel supports. The carriage runs up and down on a track made out 1 5/8″ super strut and is hoisted by a winch motor rated for 550 pounds, which is more than enough to hoist up most household items including a large toolbox.

The only thing that we would have liked to have seen in the video is how the opening was made. Presumably this would have involved cutting into a ceiling joist to make the opening wider than the standard attic ladder, and care would have needed to be taken to ensure the ceiling/floor wasn’t weakened. Either way, this is a great solution to a common problem, and could perhaps be made to work on more than two levels with a custom controller. Continue reading “Build Your Own Custom Elevator”

Back To Video Basics With An ESP32 VGA Display

In a world where standards come and go with alarming speed, there’s something comforting about VGA. It’s the least common denominator of video standards, and seeing that chunky DB15 connector on the back of a computer means that no matter what, you’ll be able to get something from it, if you can just find a VGA cable in your junk bin.

But that’s the PC world; what about microcontrollers? Can you coax VGA video from them? Yes, you can, with an ESP32, a handful of resistors, and a little bit of clever programming. At least that’s what [bitluni] has managed to do in his continuing quest to push the ESP32 to output all the signals. For this project, [bitluni] needed to generate three separate signals – red, green, and blue – but with only two DACs on board, he had to try something else. He built external DACs the old way using R/2R voltage divider networks and addressed them with the I2S bus in LCD mode. He needed to make some compromises to fit the three color signals and the horizontal and vertical sync pulses into the 24 available bits, and there were a few false starts, but the video below shows that he was able to produce a 320×240 signal, and eventually goosed that up to a non-native 460×480.

It’s a pretty impressive hack, and we learned a lot about both the ESP32 and the VGA standard by watching the video. He’s previously used the ESP32 to build an AM radio station and to output composite PAL video, and even turned his oscilloscope into a vector display with it. They’re all great learning projects too.

Continue reading “Back To Video Basics With An ESP32 VGA Display”

OpenPLC Is Ready For Hacking

It’s been nearly four years since we covered [Thiago]’s OpenPLC project. He never stopped working on it, and now it’s in a highly polished state.

If you read our initial coverage of this project, it would be easy to assume that he just wanted to control some halloween decorations. He is actually a PhD student at the University of Alabama in Huntsville. His research topic is SCADA (aka Industrial Control Systems) cyber security. His goal was to find vulnerabilities in PLCs and, hopefully, fix them. However, no PLC manufacturer releases their source code, and he was having trouble getting a deep understanding of something so closed.

So, since no one was going to open their code and hardware for him he simply made his own. OpenPLC can be programmed in all 5 IEC 61131-3 languages: ST, IL, LADDER, FBD and SFC. On top of that, it lowers the barrier of entry to developing this kind of industrial hardware by being compatible with all the favorites Arduino, Raspberry Pi, Windows, Linux, etc.

“The OpenPLC is the first fully functional standardized open source PLC. We believe that opening the black-box of a PLC will create opportunities for people to study its concepts, create new technologies and share resources.”

Building A Discrete Digital-analog-converter

Want to take back control of how your digital audio files become sound? One thing you can do is to build your own digital to analog converter. This one is made from discrete components, centered around a resistive ladder. Yes, there are a couple of integrated circuits in there which are used for demultiplexing the incoming signal but the magic happens in that R-2R network. The project is an interesting read and makes a point of looking at the issues raised when trying to precision match resistors. Apparently it can be done with 0.1% components if you have a lot of them and a multimeter that can measure down to seven decimal places.

[Thanks Bigbob]