Not Ready For FPGAs? Try A CPLD

[Kodera2t]  wanted to experiment with programmable logic. Instead of going with an FPGA board, he decided to build his own CPLD (complex programmable logic device) board, with a built-in programmer. The CPLD is a Xilinx 9536 which is inexpensive and, though obsolete, still readily available. The programmer for the board uses an FT232RL and the total cost is very low ([kodera2t] says it is in the price range of a Raspberry Pi Zero or about $4).

From a user’s point of view, a CPLD is just a small FPGA. Internally, there is a significant difference in how they implement your design. Although there are differences between different product families, CPLDs usually use a sea of logic gates arranged as an AND/OR chain. By feeding inputs and inverted inputs into the AND gates and then ORing the results, you can build interesting logic circuits. However, modern CPLDs use Verilog or VHDL, so you describe what you want just like with an FPGA and the software figures out how to use the underlying circuits to give you what you want.

Continue reading “Not Ready For FPGAs? Try A CPLD”

First Edition Of German Computer Mag Is A Blast From The Past

Every once in a while we get nostalgic for the old days of computing. Here, we’re getting nostalgic for a past that wasn’t even our own, but will probably bring a smile to all the German hackers out there. c’t magazine has its first issue available on their website (PDF, via FTP), and it’s worth checking out even if you can’t read a word of German.

ct-adIt’s dated November/December 1983, and you’re definitely hopping in the WABAC machine here. The cover image is a terminal computer project that you’re encouraged to build for yourself, and the magazine is filled with those characteristic early-computer-era ads, many of them for the physical keyboards that you’d need to make such a device. Later on, c’t would provide plans for a complete DIY PC with plotter, one of which we saw still running at the 2015 Berlin Vintage Computer Festival.

The issue is chock-full of code for you to type out into your own computer at home. If you didn’t have a computer, there are of course reviews of all of the popular models of the day; the TRS-80 Model 100 gets good marks. And if you need to buy a BASIC interpreter, there’s an article comparing Microsoft’s MBASIC with CBM’s CBASIC. A battle royale!

ct_mag_computer_bandOther hot topics include modifications to make your ZX81’s video output sharper, the hassle of having to insert a coded dongle into your computer to run some software (an early anti-piracy method), and even a computer-music band that had (at least) a Commodore 64 and a CBM machine in their groovy arsenal.

It’s no secret that we like old computers, and their associated magazines. Whether you prefer your PDP-11’s physical or virtual, we’ve got you covered here. And if your nostalgia leans more Anglophone, check out this Byte magazine cover re-shoot.

3D Printing And Book Binding

How exactly do you use 3D printing to assist in the extremely tedious and difficult art of leather book binding? It’s pretty simple actually — by 3D printing the title you want to emboss!

[Luc Volders] is a hobbyist book binder. He’s also recently gotten into 3D printing, by building his own Prusa I2, and even now, he’s working on building a Delta printer. Typically to do a relief or embossed title on a leather-bound book requires a lot of time — and it’s pretty easy to mess up.

He’s done book covers with relief before, by painstakingly carving each letter out with a knife, then gluing leather onto the cover, pressing it into the indent left by carving. It’s not easy. Continue reading “3D Printing And Book Binding”

Touch Piano Hits All The Right Notes

We love a good musical build, and this one is no exception. For their ECE4760 final project, [Wendian Jiang], [Hanchen Jin], and [Lin Wang] of Cornell built the nicest-looking touch piano we’ve seen in a while. It has five 4051 multiplexers that take input from 37 capacitive touch keys fashioned from aluminium foil and copper tape. Thanks to good debounce code, the sounds are clean even though the keyboard is capable of four-note polyphony.

A PIC32 and a Charge Time Measurement Unit (CTMU) module generate a small, steady current that charges up the keys. The PIC scans the pins continuously waiting for touch input. When human capacitance is detected, the value is compared with the base capacitance using the ADC and the sound is generated with the Karplus-Strong algorithm.

The group’s original plans for the project included a TFT screen to show the notes on a staff as they are played. While that would have been awesome, there was just too much going on already to be able to accurately capture the notes as well as their duration. Check it out after the break.

Continue reading “Touch Piano Hits All The Right Notes”

Reading Smart Cards From A PLC (with A Little Arduino Help)

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)”

Immersive Theatre Via IBeacons With Dustin Freeman

Combining backgrounds in math and theater, [Dustin Freeman] works on immersive, interactive theatrical experiences. During the day [Dustin] is a Spatial Interaction Engineer at Occipital, who makes the Structure Sensor. In his spare time [Dustin] works on digital theatre projects that bring the theatre goer far past the traditional row of seats.

The concept of immersive theatre is similar to ‘escape the room’ challenges and choose your own adventure experiences, in that the participants control the outcome of the experience by making decisions from the information supplied to them. [Dustin] explains in his talk that the feeling of trying to beat the clock that exists in escape the room challenges is not helpful in Floodlight’s The Painting. Floodlight is a theatre production company and The Painting is the immersive theatre experience put together by [Joshua Marx], professor of acting at San Jose State and [Dustin Freeman] who presented this 2015 Hackaday SuperConference talk.

Continue reading “Immersive Theatre Via IBeacons With Dustin Freeman”

MIT Robots Fight With Lightsabers

Students of the MIT Robotics Lab decided to have some fun this holiday season with the big release of Star Wars. They built a lightsaber wielding delta-bot, and some very interesting hip-mounted lightsaber robot arms, akin to General Grievous.

First up in the video though is their Jedi Training robot, which is a variation of the delta-bot robot we’re all familiar with thanks to 3D printers. With a lightsaber mounted on top, it’s not too fast, but has a large range of motion to allow you to practice your lightsaber form. They call it the Triple Scissor Extender — and as you can imagine, it was built for something completely different. You can check out the designer’s personal blog here, though he doesn’t have any info on this particular project — yet.

Second is a robot they designed for a project called Supernumerary Robotic Limbs (SRL), which is literally designed to give you extra robotic arms — it was the next logical step to give them lightsabers…

Continue reading “MIT Robots Fight With Lightsabers”