If you’ve spent any time on a factory or plant floor, it is a good bet you’ve run into PLCs (Programmable Logic Controllers). These are rugged computers that do simple control and monitoring functions, usually using ladder logic to set their programs. [plc4u] wanted to connect a smart card reader to an Allen Bradley PLC, so he turned to an Arduino to act as a go-between.
The Arduino talks to a USB card reader using a USB host shield. Then it communicates with the PLC using an RS232 link and the DF1 protocol that most Allen Bradley PLCs understand. You may not need a smart card, but once you know how to communicate between an Arduino and the PLC, you could do many different projects that leverage other I/O devices and code available on the Arduino and connects to existing PLC installations. Just remember that you’ll probably need to ruggedize the Arduino a bit to survive and be safe to the same level as a PLC (which might include a NEMA enclosure or even an explosion-proof box).
Continue reading “Reading Smart Cards from a PLC (with a Little Arduino Help)”
There are a surprising number of Raspberry Pis being used in industrial equipment. This means the Arduino is left behind, but no longer. There’s your PLCs that use Arduinos.
A few weeks ago, Google introduced a machine intelligence and computer vision technique that made the world look psychedelic. Now, this library is available. On another note, head mounted displays exist, and a sufficiently creative person could mash these two things together into a very, very cool project.
Welcome to Kickstarter! Kickstarter is an uphill battle. People will doubt you because you don’t have a ‘target audience’ or ‘the rights to this franchise’ or ‘any talent whatsoever’, but that’s what crowdfunding is for!
Several years ago, Apple shipped a few million 17″ iMacs with defective displays. They’re still useful computers, though, especially if you can find a replacement LCD. Apple, in all its wisdom, used a weird connector for this LCD. Here’s the adapter board, and this adapter will allow displays running up to 1920×1200.
[Jan] has earned a reputation of building some very cool synths out of single ARM chips. His previous build was a Drumulator and now he’s shrinkified it. He’s put four drum sounds, pitch CV, and audio out on an 8-pin DIP ARM.
YouTube gives you cadmium! [AvE], recently got 100,000 subscribers on his YouTube channel. Apparently, YouTube sends you a terrible belt buckle when you manage to do that. At least he did it without playing video games and screaming.
For many years, factories have used PLCs for automated control over industrial equipment. These systems are usually expensive, proprietary, and generally incapable of being reprogrammed. [Oliver], an engineering student in Ireland created a system for factories to develop their own application-specific PLCs as a final project for Automation Engineering.
In-house PLC creation has many benefits for manufacturers, not the least of which is the opportunity for customization. Making your own PLCs also means no licensing fees and total control over equipment automation. This system is a complete setup including an HMI interface with touchscreen input and a SCADA system for remotely controlling various pieces equipment of equipment from a laptop.
[Oliver] built a metal frame out of industrial-grade strut channel to house an XP machine, two monitors, and the beautifully breadboarded PLC design station. It’s based around a PIC16F887 and includes rugged features expected of a system that never goes into sleep mode, like eight channels of opto-isolation. [Oliver] also developed an environment for engineers to easily program their custom PLCs through a simple HMI interface and ladder logic.
The folks over at PONTECH have just released a pretty impressive opensource PIC32 library for controlling a linear slide at speeds of 800 inches per minute!
PONTECH makes the Quick240 (Quick Universal Industrial Control Kard) which is based on the open source chipKIT platform. It was designed for industrial automation systems, where typically a ladder logic PLC might be used. The benefits to using a system like this is that because it is open, you are no longer stuck with proprietary hardware, and it is much more flexible to allow you to “do your own thing”. Did we mention it is also Arduino compatible?
Using this system they’ve successfully controlled two 8″ Velox slides at a whopping 800 inches per minute with a resolution of 0.00025″ — just take a look at the following video to appreciate how freaking fast that is.
Continue reading “800 inches per minute at 0.00025″ Resolution”
[Dr. Wilfried Stoll] and a team at Festo have created an incredible robot kangaroo. Every few years the research teams at Festo release an amazing animal inspired robot. We last covered their smartbird. This year, they’ve created BionicKangaroo (pdf link). While The Six Million Dollar Man might suggest otherwise, Bionics is use of biological systems in engineering design. In this case, Festo’s engineers spent two years studying the jumping behavior of kangaroos as they perfected their creation.
Kangaroos have some amazing evolutionary adaptations for jumping. Their powerful Achilles tendon stores energy upon landing. This allows the kangaroo to increase its speed with each successive jump. The kangaroo’s tail is essential for balancing the animal as it leaps through the air. The Festo team used a thick rubber band to replicate the action of the tendons. The tail is controlled by electric servomotors.
Festo is known for their pneumatic components, so it’s no surprise that the kangaroo’s legs are driven by pneumatic cylinders. Pneumatics need an air supply though, so the team created two versions of the kangaroo. The first uses an on-board air compressor. The second uses a high-pressure storage tank to drive the kangaroo’s legs. An off the shelf Programmable Logic Controller (PLC) acts as BionicKangaroo’s brain. The PLC monitors balance while controlling the pneumatic leg cylinders and electric tail motors. Unfortunately, BionicKangaroo isn’t completely autonomous. The Thalmic Labs Myo makes a cameo appearance in the video. The Kangaroo’s human controller commands the robot with simple arm movements.
While the BionicKangaroo is graceful in its jumps, it still needs a bit of help when turning and taking simple steps. Thankfully we don’t think it will be boxing anytime soon.
Continue reading “Festo Creates Bionic Kangaroo; Steve Austin Unimpressed”
Let us be the first to say: Not a hack! Nonetheless this is an interesting read about how the Arduino movement has made hobby microcontroller boards attractive for industrial applications.
This is a digital printing machine which looks like it is used for industrial packaging. [Paul Furley] worked for the company which produces it, developing the software for the control interface. He recounts the story of how he helped guide the company away from choosing a microcontroller, and toward using an Arduino board. Actually, using three Arduino boards. We can already hear the flame war boiling up in the comments section. But before you rage, read the article and see if you don’t agree with [Paul’s] reasoning.
The most compelling argument to us is that choosing Arduino is absolutely future proof. If the company goes out of business there are hundreds of clone devices already available. As the Arduino platform evolves it will keep pin compatibility in order to support the older shields. And if they choose a different microcontroller the Arduino IDE will still compile the same sketch for the new hardware.
One thing that pops into our minds is write protection. The machine uses a big PCB to which the three Arduinos mount. That can be produced anywhere without threat of having the source code leak as the PCB doesn’t include chips that need to be programmed. Arduino uses AVR chips that have write protection fuses which can be burnt in-house after they flash the control firmware.
In industrial applications, controlling relays, servos, solenoids, and the like isn’t just a matter of wiring in an Arduino and plugging in some code. No, for reliable operation you’ll need a PLC – a programmable logic controller – to automate all your hardware. PLCs are usually pretty expensive pieces of hardware, which led [Warwick] to come up with his own. He built two versions, one large and one small that can handle just about any task thrown at them.
Both devices are powered by an ATMEL SAM7S ARM chip running at 48 MHz. The smaller of the two devices has 10 digital inputs, 4 analog inputs, and 8 digital outputs able to sink 200 mA each. The larger PLC has 22 digital ins, 6 analog ins, and 16 digital outputs. Both of these devices have a ton of connectivity with USB, RS-232 and RS-485 ports
Below you can see the large PLC being used as a barcode scanner and as a strange device using compressed air to levitate a ping-pong ball. There’s also a demo of the smaller PLC lighting up some LEDs.
Continue reading “Open source PLC”