Friday Hack Chat: 8-Bit Micros With Microchip

A few years ago, Microchip acquired Atmel for $3.56 Billion. There are plenty of manufacturers of 8-bit microcontrollers, but everyone makes 8051s, and the MSP430 isn’t as popular as it should be. Microchip’s acquisition of Atmel created what is probably the largest manufacturer of 8-bit micros, with a portfolio ranging from ATtinys smaller than a grain of rice to gigantic PICs.

This Friday, we’re hosting a Hack Chat with the Technical Marketing Engineer of 8-bitters at Microchip. If you love AVR, this is the guy to talk to. If you’re still rocking the vintage 1993 PICkit, this is the guy to talk to.

On the docket for this Hack Chat are some new PICs and some very interesting peripherals coming down the line. ADCC — A2D with computation — is on the table, along with configurable logic cells. This Hack Chat is also going to go over Microchip design tools like MP Lab Xpress.

Of course, these Hack Chats are a question and answer session for the community. We’re encouraging everyone to ask a few questions about what Microchip is doing. We’ve opened up a discussion guide for this Hack Chat. If you have a question, just add it to the list.

If you can’t make the Hack Chat, don’t worry. We’re going to have a transcript of the entire chat. That should be available here shortly after the chat concludes.

Here’s How To Take Part:

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This hack chat will take place at noon Pacific time on Friday, June 9th. Here’s a fancy time and date converter if you need timezone help.

Log into Hackaday.io, visit that page, and look for the ‘Join this Project’ Button. Once you’re part of the project, the button will change to ‘Team Messaging’, which takes you directly to the Hack Chat.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about

A Mini-ITX Atari 800

As a community has grown up around the 8-bit microcomputers of the 1980s, there have been some beautifully crafted rebuilds of classic machines to take advantage of newer hardware or to interface to peripherals such as keyboards or displays that were unavailable at the time. Often these have taken the form of small boards, or boards that are designed to follow the form factor of the original machine, and fit in an original case.

[mytekcontrols] has taken a different tack with his Atari 800 build, he’s produced an Atari clone designed to take the most popular upgrade boards produced by the 8-bit Atari community, as daughter boards. And he’s followed an existing form factor, though it’s not one from the Atari world. Instead, he’s made it as a mini-ITX motherboard of the type you may well be familiar with from the world of PCs.

He’s calling it the 1088XEL, because with a popular 1MB upgrade board fitted it boasts a generous 1088k of memory. It sports the original five Atari LSI chips, and manages the task without resorting to surface-mount construction.

The forum thread linked above is a long one that makes for a fascinating read as it deals in depth with the design of an 8-bit micro clone. But if you want to skip straight to the hardware, start at about page 13.

We’ve had more than one 8-bit Atari on these pages over the years. Most memorable though is probably this laptop.

Thanks [Lenore Underwood].

Another 74XX Series CPU

[Jack Eisenmann] is no stranger to building impressive DIY CPU’s on vast stretches of breadboard. This time [Jack] has done away with the seventeen breadboards he used in his last 8-bit computer and instead has gone a step further and designed a set of generously utilised PCB’s for the CPU. The result is the DUO Enterprise.

The CPU design is based around an 8-bit data bus and a 24-bit address bus. As usual, a minimal yet carefully chosen instruction set allows [Jack] to do all the heavy lifting in software as part of the compiler and operating system he is working on. There is no sign of a display yet, instead the computer communicates via a dumb terminal. We love the aluminum foil for shielding! Check out the video, below, to see what we mean.

Over the years, we have seen many of [Jack]’s other CPU builds featured on Hackaday. One of his first designs was a 4-bit CPU that could play many games on a LED matrix.Later he did a much more impressive 8-bit CPU along with analog video output and an OS ofcourse. It could even play pong. He even built a Single Instruction Set Computer (SISC).

His final goal with DUO Enterprise is to allow anyone to utilise its computing power by submitting programs and calculations. Heads up [Jack], our neural net needs training soon.

Continue reading “Another 74XX Series CPU”

Talk Like A Game Boy, Sting Like A Beep

Have you ever listened to a song and wondered how they created the robotic-sounding vocals? There’s a huge variety of ways to do so. [scythe1005] decided to take their inspiration from rock history, creating a Game Boy powered talkbox (Japanese, Google Translate recommended for those that don’t speak the language).

Human speech is generated when vibrations from the vocal chords are shaped into intelligible sounds by the motion of the mouth, tongue, and other body parts known as “articulators”. A talkbox creates robotic speech sounds by using the articulators while replacing the vibrations from the vocal chords with alternative source.

A talkbox is a device most typically used with the electric guitar. The signal from the electric guitar is amplified and played through a speaker or transducer connected to a tube that is placed in the user’s mouth. The user then proceeds to mouth the desired words they wish to say, with the vibrations provided by the guitar’s signal instead of the vocal chords. A popular example of this is Peter Frampton’s use of the talkbox in Do You Feel Like We Do.

[scythe1005] used the same basic bones in their design, using a Game Boy to feed sound into a basic audio amplifier kit and a transducer connected to a tube. This gives a very 1980s synth sound to the vocals. It’s a simple build in concept but one we haven’t seen a whole lot of before. Using off-the-shelf modules, you could build something similar in a weekend. Also featured in the video is an ArduinoBoy — a useful way of controlling a Game Boy over MIDI. It’s used here to interface the keyboard to the handheld console. Video below the break.

As we’ve seen before, the Game Boy is an incredibly popular platform for music — chiptune artists regularly modify the device for better sound.

Continue reading “Talk Like A Game Boy, Sting Like A Beep”

Microchip Launches New Family Of PICs

Over the last few years, we’ve seen projects and products slowly move from 8-bit microcontrollers to more powerful ARM microcontrollers. The reason for this is simple — if you want to do more stuff, like an Internet-connected toaster, you need more bits, more Flash, and more processing power. This doesn’t mean 8-bit microcontrollers are dead, though. Eight bit micros are still going strong, and this week Microchip announced their latest family of 8-bit microcontrollers.

The PIC16F15386 family of microcontrollers is Microchip’s latest addition to their portfolio of 8-bit chips. This family of microcontrollers is Microchip’s ‘everything and the kitchen sink’ 8-bit offering. Other families of PICs have included features such as a complementary waveform generator, numerically controlled oscillator, a configurable logic controller, power saving functionality and the extreme low power features, but never before in one piece of silicon.

This feature-packed 8-bit includes a few new tricks not seen before in previous Microchip offerings. Of note are power management features (IDLE and DOZE modes), and a Device Information Area on the chip that contains factory-calibrated data (ADC voltage calibration and a fixed voltage reference) and an ID unique to each individual chip.

As you would expect from a new family of PICs, the 16F15386 is compatible with the MPLAB Xpress IDE and the MPLAB Code Configurator, a graphical programming environment. The products in the family range from 8-pin packages (including DIP!) with 3.5kB of program Flash to 48-pin QFPs with 28kB of program Flash. The goal for Microchip is to provide a wide offering, allowing designers to expand their builds without having to change microcontroller families.

All of these chips can be sampled now, although the lower pin count devices won’t be available through normal means until next month.

Apple II Web Server Written In BASIC

The Apple II was the machine that many say launched Apple as a company. As with many popular computers of the 1980s, the Apple II maintains a steady following to this day who continue to develop new hardware and software to keep the platform alive.

[deater] had scored an Uthernet II Ethernet interface for his Apple IIe, based off the venerable W5100 chipset. He decided to have some fun and wrote a webserver for the Apple II in BASIC. The program sets up the Ethernet card with a series of PEEKs and POKEs, and then listens out for incoming packets before responding with the requisite data loaded from floppy disk.

The server can deal with HTML, text, and even JPEG and PNG images. It’s even compliant with RFC 2324. It does suffer from some limitations however — the disk format used can only hold 140 kB, it can only serve an 8kB file at a time, and due to using a lot of string manipulation in the code, is painstakingly slow.

Before you get too excited, the machine is running on a local network only, so you can’t check it out from here. However, [deater] has kindly released the source code if you wish to run it for yourself.

If you’re thirsty for more 8-bit action, check out this Apple II playing animated GIFs.

Sinclair I/O Board Completed Over 30 Years Later

In the early 1980s when the 8-bit microcomputer boom was well under way, [Alan Faulds] was a student, and an owner of a Sinclair ZX81. He had ambitions to use it, in his words, “to control the world“, but since the Sinclair lacked an I/O port he was thwarted. He bought an expander board and a couple of I/O card PCBs from the British electronic supplier Maplin in the days when they were a mail order parts stockist rather than a chain of stores chasing Radio Shack’s vacated retail position.

Sadly for [Alan], he didn’t have the cash to buy all the parts to populate the boards, then the pressures of a final year at university intervened, and he never built those Maplin kits. They sat forgotten in their padded envelope for over three decades until a chance conversation with a friend reminded him of his unfinished student project. He sought it out, and set about recreating the board.

zx-io-thumbnailThe ZX81 had a single port: a PCB edge connector at its rear that exposed all the Z80 processor’s lines. It was notorious for unreliability, as the tiniest vibration when a peripheral was connected would crash the machine. Maplin’s expansion system featured a backplane with a series of edge connector sockets, and cards with bare PCB edge connectors. Back in the 1980s it was easy to find edge connectors of the right size with the appropriate key installed, but not these days. [Alan] had to make one himself for his build.

The I/O card with its 8255 and brace of 74 series chips was a double-sided affair with vias made through the use of little snap-off hand-soldered pins. [Alan] put his ICs in sockets, a sensible choice given that when he powered it up he found he’d put a couple of the 74 chips in the wrong positions. With that error rectified the board worked exactly as it should, giving the little ZX three I/O ports, albeit with one of them a buffered output.

We haven’t featured the little Sinclair micro as often as we should have here at Hackaday, it seems to have been overshadowed by its ZX Spectrum successor. We did show you a VGA ZX81 emulated on an mbed though, and a rather neat color video hack for its Brazilian cousin.