Reinventing VHDL Badly

A few years ago, Philip Peter started a little pet project. He wanted to build his own processor. This really isn’t out of the ordinary – every few months you’ll find someone with a new project to build a CPU out of relays, logic chips, or bare transistors. Philip is a software developer, though, and while the techniques and theory of building hardware haven’t changed much in decades, software development has made leaps and bounds in just the past few years. He’s on a quest to build a CPU out of discrete components.

Search the Internet for some tips and tricks for schematic capture programs like KiCad and Eagle, and you’ll find some terrible design choices. If you want more than one copy of a very specific circuit on your board, you have to copy and paste. Circuit simulation is completely separate from schematic capture and PCB design, and unit testing – making sure the circuit you designed does what it’s supposed to do – is a completely foreign concept. Schematic capture and EDA suites are decades behind the curve compared to even the most minimal software IDE. That’s where Philip comes in. By his own admission, he reinvented VHDL badly, but he does have a few ideas that are worth listening to.

Continue reading “Reinventing VHDL Badly”

Meet Up With Hackaday This Saturday In San Mateo

We’ll be at Bay Area Maker Faire and we want to have a beer with you on Saturday night.

Two years ago we headed off to the Bay Area Maker Faire and thought we’d invite friends and acquaintances to congregate at a bar on Saturday night. Anyone who’s been to the Faire (or been through a harrowing weekend of working a booth) knows that a bar stool and frothy beverage are a great way to recuperate. The turnout was amazing, we easily filled up O’Neill’s Irish Pub with that first meetup, and the Hackaday BAMF Meetup was born. Last year we packed it to the seams. This year we’re planning for an even bigger turnout that will go late into the evening.

I’ve only ever heard one complaint about this event; the band is too loud. This year O’Neill’s doesn’t have a band lined up so everything seems to be coming up roses. Come hang out with us! If you RSVP we’ll buy your first beer. Bring your stories, your easily transported hacks to show off, and have fun with the eclectic and enthralling community that turns out for this, the greatest meetup on earth.

Hackaday Letter from the Editors

If this is the first you’ve heard about this year’s meetup, you should subscribe to our weekly newsletter. Every week, a Hackaday Editor writes about what’s been going on that week, and shares a few of the most interesting posts from the past seven days. You can sign up for it in the sidebar to the right or with that signup link I just shared. If you’d like to know what you’re getting yourself into, here’s the most recent newsletter which we sent out on Friday. It’s a mini Hackaday delivered to your mailbox.

Hackaday Links: May 15, 2016

The Hackaday Overlords (or Hackaday family) are running a series of AMAs on SupplyFX. What is SupplyFX? It’s a social network for EEs. Who’s in the first AMA? [Brady Forrest], the guy who runs Highway1, a Bay Area hardware accelerator. They’re the accelerator responsible for the lustworthy Keyboardio, and the startup that is purely mechanical and has shipped zero lines of code, CoolChip. If you want to talk about hardware startups, [Brady] is your man. The AMA is tomorrow, May 16th, at 13:00 Pacific.

Makerbot is dead, or at least they will be soon. Whatever. Nothing of value was lost. Lulzbot, on the other hand, is going gangbusters. They saw eight hundred percent growth over the last two years. and $15M in revenue in 2015. They did this all with open source hardware and software, and using 3D printing in a manufacturing context. They’re the jewel of the Open Hardware movement, and a shining example of what Free Software can do.

The current generation of software defined radios started with the ubiquitous TV tuner dongles, and quickly graduated to the HackRF. You can only get so much bandwidth out of a USB 2.0 socket, and the newest and bestest SDR is the LimeSDR. They’re about halfway through their crowdfunding campaign (and halfway funded), and have finally changed out the USB A connector to a USB micro B connector. Good choice.

The ESP8266 is quickly becoming the go-to device for when you want a cheap way to put a sensor on the Internet. The only problem is programming it. No problem – here’s a bunch of Lua scripts that do 90% of everything. Need to read a PIR sensor? Light up a few LEDs? Put the data from a temperature and humidity on the Internet? There you have it.

The Vintage Computer Festival West is back on this year. We’ve gone to VCF East in New Jersey for a few years now, and had a few occasional outings to the southeast and midwest Vintage Computer Festivals over the years. This is the first time the west coast has had a Vintage Computer Festival in several years. It’s in Mountain View, on August 6th and 7th. Yes, that’s the same weekend as DEF CON.

E3D, makers of fine hot ends and 3D printer paraphernalia, have released a new kind of filament. It’s called Edge, it’s based on PET, and it prints as easily as PLA, with better mechanical properties than ABS. A few sample prints made from Edge were at this year’s Midwest RepRap Festival, and the Edge’s bridging ability is crazy. You need a heated bed for Edge and it’s sensitive to moisture, but it has some very interesting properties that can be cleverly exploited.

In other filament news, Colorfabb released a filament to print clear parts. Yes, that’s very weird. Clear parts require 100% infill, meaning it will use a lot of filament. It’s still very advanced wizardry, and I’m very interested in seeing the first print of a sanded and polished convex lens.

Holy Crap it’s the 3D printing edition of the links post. [Prusa] just released the latest version of the i3. It’s now bigger: 250x210x200mm build volume. The heated bed – [Prusa] was one of the first to experiment with PCB heated beds – is now vastly improved when looking at it through a FLIR. The Mk. 42 heated bed doesn’t have a hot center or cool corners. PEI sheet removes the need for blue painters tape, glass, aqua net, or glue sticks. The printer has self-test capabilities. The mechanics of the printer, especially the Z axis, are improved. [Prusa] will be selling this as a kit for ~19000 Czech Crowns or $699 USD, but he’s RepRap to the core. Buy a spool and start printing your next printer.

 

Hacklet 107 – 3D Printing Projects

3D printers have forever changed the hardware hacker movement. From the original RepRap project on up through current commercial offerings, 3D printers have become an indispensable tool for hackers, makers, and engineers. While printers may not have started a desktop manufacturing revolution, they are a desktop prototyping evolution. It’s rare for a day to go by on Hackaday without a project that uses a 3D printed part in some way shape or form. These printers also continue to evolve, with new projects pushing the technology ever forward. This week’s Hacklet is all about some of the best 3D printer projects on Hackaday.io!

reprapWe start with [TTN] and Icepick Delta. [TTN’s] passion is creating 3D printers as cheaply as possible. The Icepick definitely succeeds at this. Icepick’s frame is made of wood. The motors are commodity steppers. Control is via the long proven Ramps 1.4 board, which can be picked up with drivers and an Arduino Mega clone for under $35 these days. A few ball bearings and metal parts fill out the vitamins of this design. Just about everything else is 3D printed in true RepRap style. The printer is currently running Marlin firmware, but [TTN] plans to move to Repetier in the future.

Even with these humble origins, Icepick manages to print at a very respectable 50 mm/s before frame flex becomes a problem.  Prints at 0.1mm layer height look great, on par with any current commercial printer.

strataNext up is  [Machinist] with 3D printer brain retrofit. Commercial 3D printers have been available for decades now. This means some of the older models are getting a bit long in the tooth. [Machinist] has a very tired 15 year old Stratasys Dimension 768. The mechanics of the Dimension are still in good shape, but the electronics have seen better days. [Machinist] is ditching all the old electronic hardware (and the DRM which goes with it) and setting this machine up with a Smoothieboard 5X. So far the Dimension has been gutted, and [Machinist] has gotten the monster stepper motors playing sweet music with his new control board. I can’t wait to see how this project progresses.

coffeeNext we have [jcchurch’s] Coffee Maker Delta 3D Printer. [jcchurch] has managed to convert an old Norelco coffee maker into a mini sized 3D printer. The warmer plate has even become a heated bed for ABS prints. Unlike Icepick up top, the aim of this design is to use as few 3D printed parts as possible. The idea is that this would be the first printer to build when you don’t have another printer handy. Think of it as a caffeinated RepStrap. According to [jcchurch], this printer has been running strong at Tropical Labs for over a year. You can even pull the delta assembly off and make a pot of coffee! The coffee maker printer is still somewhat of a teaser project. If you see [jcchurch] online, tell him to head over and give us more details!

linearFinally, we have [DeepSOIC] with linear stepper motor 3d printer. 3D printers all use good old fashioned rotary stepper motors. [DeepSOIC] is trying to eliminate all that rotary motion, along with the belts and pulleys required to convert to linear motion. Linear stepper motors can be thought of as regular stepper motors, just unrolled. They tend to be very expensive though, so [DeepSOIC] is building DIY versions. His first attempt was to print motor parts using BlackMagic3D’s ferromagnetic filament. This lead to a whole separate project to measure the permeability of the filament. Unfortunately, the filament isn’t permeable enough to act as a motor for a printer. [DeepSOIC] hasn’t given up though. This is the type of project we love – one that might not work out, but really gets people thinking. Check out the comment thread on the project to see Hackaday.io collaboration at work!

If you want to see more 3D printer projects, check out our updated 3D printer list! If I didn’t wake up early enough to catch your project, don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Phoenix Perry: Forward Futures

There were a lot of very technical talks at Hackaday Belgrade. That’s no surprise, this is Hackaday after all. But every once in a while it’s good to lift our heads up from the bench, blow away some of the solder smoke, and remind ourselves of the reason that we’re working on the next cool project. Try to take in the big picture. Why are you hacking?

image5[Phoenix Perry] raised a lot of big-think points in her talk, and she’s definitely hacking in order to bring more women into the field and make the creation of technology more accessible to everyone. Lofty goals, and not a project that’s going to be finished up this weekend. But if you’re going to make a positive difference in the world through what you love to do, it’s good to dream big and keep the large goal on your mind.

[Phoenix] is an engineer by training, game-coder by avocation, and a teacher for all the right reasons. She’s led a number of great workshops around the intersection of art and technology: from physical controllers for self-coded games to interactive music synthesis devices disguised as room-sized geodesic domes. And she is the founder of the Code Liberation Foundation, a foundation aimed at teaching women technology through game coding. On one hand, she’s a hacker, but on the other she’s got her eyes on a larger social goal.

Continue reading “Phoenix Perry: Forward Futures”

Mike Szczys Ends 8-Bit Vs 32-Bit Holy War!

If you’ve read through the comments on Hackaday, you’ve doubtless felt the fires of one of our classic flame-wars. Any project done with a 32-bit chip could have been done on something smaller and cheaper, if only the developer weren’t so lazy. And any project that’s squeezes the last cycles of performance out of an 8-bit processor could have been done faster and more appropriately with a 32-bit chip.

bits_argument

Of course, the reality for any given project is between these two comic-book extremes. There’s a range of capabilities in both camps. (And of course, there are 16-bit chips…) The 32-bit chips tend to have richer peripherals and run at higher speeds — anything you can do with an 8-bitter can be done with its fancier cousin. Conversely, comparatively few microcontroller applications outgrow even the cheapest 8-bitters out there. So, which to choose, and when?

Eight Bits are Great Bits

The case that [Mike] makes for an 8-bit microcontroller is that it’s masterable because it’s a limited playground. It’s a lot easier to get through the whole toolchain because it’s a lot shorter. In terms of debugging, there’s (often) a lot less that can go wrong, letting you learn the easy debugging lessons first before moving on to the truly devilish. You can understand the hardware peripherals because they’re limited.

And then there’s the datasheets. The datasheet for a chip like the Atmel ATMega168 is not something you’d want to print out, at around 660 pages long. But it’s complete. [Mike] contrasts with the STM32F405 which has a datasheet that’s only 200 pages long, but that’s just going over the functions in principle. To actually get down to the registers, you need to look at the programming manual, which is 1,731 pages long. (And that doesn’t even cover the various support libraries that you might want to use, which add even more to the documentation burden.) The point is, simpler is simpler. And if you’re getting started, simpler is better.

Continue reading “Mike Szczys Ends 8-Bit Vs 32-Bit Holy War!”

Open Robots With Open Roberta

Kids, and Hackaday editors, love robots! The Open Roberta project (OR) takes advantage of this to teach kids about programming. And while the main focus is building a robot programming language that works for teaching grade-school and high-school kids, it’s also a part of a large open source robotics ecosystem that brings a lot more to the table than you might think. We talked with some folks at Google, one of the projects’ sponsors, about where the project is and where it’s going.

csm_Roberta_9e1215fc57Building a robot can be very simple — assembling pre-configured parts or building something small, quick, and cute — or it can be an endeavour that takes years of sweat and tears. Either way, the skills involved in building the ‘bot aren’t necessarily the same as those it takes to program the firmware that drives it, and then eventually the higher-level software that makes it functional and easy to drive.

OR, as an educational project, makes it very, very easy for kids to start off programming robots, but it’s expandable as the user gets more experienced. And since everything is open source, it’s part of a whole ecosystem that makes it even more valuable. We think it’s worth a look (along with something significantly more complex like ROS) if you’re playing around with robotics.

System Architecture

openRoberta.dotOpen Roberta is the user-facing middleware in a chain of software and firmware bits that make a robot work in a classroom environment. For the students, everything runs inside a browser. OR provides a webserver, robot programming interface and language, and then converts the output of the students’ programs to something that can be used with the robots’ firmware. The robots that are used in classrooms are mostly based on the Lego Mindstorms EV3 platform because it’s easy to put something together in short order. (But if you don’t have an EV3, don’t despair and read on!)

The emphasis is on ease of entry for the students and the teachers supervising the class. Everything runs in a browser, so there’s nothing to install on the client side. The students connect to a server that directs the robots, communicating with the robots’ own operating system, and uploading the students’ programs.

Continue reading “Open Robots With Open Roberta”