25 Years Of Hardware Manufacturing In Plovdiv

Plovdiv, Bulgaria has a long history of design and innovation going back at least 6000 years to cultures like the Thracians, Celts, and Romans. In the last decade it is also an important center for open hardware innovation — reviving the lost glory of the computer hardware industry from the former “Soviet bloc countries”. One of the companies in the region that has thrived is a 5000 square-meter microelectronics factory which you may have heard of before: Olimex.

Olimex has over 25 years of experience in designing, prototyping, and manufacturing printed circuit boards, components, and complete electronic products. Over the last decade it has evolved into a shining example of an open hardware company. We recently had the chance to visited Olimex and to meet its CEO, Tsvetan Usunov.

Continue reading “25 Years Of Hardware Manufacturing In Plovdiv”

SPI: Let Go And Use The Force

Take a leap the next time you use SPI and don’t poll for the busy flag. “What, are you crazy? That’s the whole point of the busy flag! It’s a quick check to make sure you don’t kill a byte waiting to be shifted out!” Sure, we thought the same thing, but the other side of the coin is that it takes time to check the busy flag, and that’s time he could be transmitting data. [bigjosh2] calculates that his technique saves 20% of those wasted cycles in this particular case. And he’s “using the force” only because he’s a Jedi master able to rely on the cycle count of a chunk of assembly code.

He’s working with an AVR processor, and pumping out bits to drive the vintage LED display pictured above. The ancient chips don’t have buffered SPI so he has to blank the display while shifting new data in to prevent it from glitching. Because the display blank during the SPI transmission, the slower it goes, the dimmer the lights.

He attacks the problem with synchronous code. It takes 2 cycles for the hardware SPI to send each bit, so he twiddles his thumbs (that’s exactly what he wrote in his code comments) for 16 cycles before reloading the SPI register with his next value. This leaves it up to faith in the silicon that the shifting will always take the same number of cycles, but the nice thing about hardware is that it’s deterministic. He ends up killing a few cycles in order to save time by not polling the busy flag.

Still need a crash course in what SPI actually does? [Bil Herd] has you covered with this SPI communication demo.

Drone Registration Is Just FAA Making You Read Their “EULA”

Over the last few weeks we’ve waded through the debate of Drone restrictions as the FAA announced, solicited comments, and finally put in place a registration system for Unmanned Aerial Systems (UAS). Having now had a week to look at the regulation, and longer to consider the philosophy behind it, I don’t think this is a bad thing. I think the FAA’s move is an early effort to get people to pay attention to what they’re doing.

The broad picture looks to me like a company trying to get users to actually read an End User Licensing Agreement. I’m going to put the blame for this firmly on Apple. They are the poster children for the unreadable EULA. Every time there is an update, you’re asked to read the document on your smartphone. You scroll down a bit and think it’s not that long, until you discover that it’s actually 47 pages. Nobody reads this, and years of indoctrination have made the click-through of accepting an EULA into a pop-culture reference. In fact, this entire paragraph has been moot. I’d bet 99 out of 103 readers knew the reference before I started the explanation.

So, we have a population of tech adopters who have been cultivated to forego reading any kind of rules that go with a product. Then we have technological advancement and business interests that have brought UAS to the feet of the general public both with low costs, wide availability, and pop-culture appeal. What could possibly go wrong? Let’s jump into that, then cover some of the other issues people are concerned about, like the public availability of personal info on the drone registry.

Continue reading “Drone Registration Is Just FAA Making You Read Their “EULA””

Build Some Entertainment For Young Holiday Guests

Need a good excuse to duck out on the family over the holidays and spend a few hours in your shop? [Jens] has just the thing. He built a color-mixing toy that looks great and we’d bet you have everything on-hand necessary to build your own version.

The body of the toy is an old router case. Who doesn’t have a couple might-be-broken-but-I-kept-it-anyway routers sitting around? Spray painted red, it looks fantastic! The plastic shell hosts 6 RGB LEDs, 3 toggle switches, and 2 buttons. [Jens] demonstrates the different features in the demo video below. They include a mode to teach counting in Binary, color mixing using the color knobs, and a few others.

Everything is driven by an Arduino Pro Mini. The lights are APA106 LEDs; a 4-pin through-hole package version of the WS2812 pixels. You could easily substitute these for the surface mount varieties if you just hot glue them to the underside of the holes in the panel. We’d love to see some alternate arrangements for LEDs and a couple more push buttons for DIY Simon Says.

Continue reading “Build Some Entertainment For Young Holiday Guests”

Let Alexa Control Your Life; Guide To Voice-Enable Everything

Let’s face it, automation doesn’t feel quite as futuristic unless you can just say what you want out loud and have the machines flawlessly obey. That is totally possible now — and on the cheap. Well, cheap as far as money goes. It can be an expensive learning curve to get it all working. This will help. [Lindo St. Angel] has put together a guide to navigate voice control of hardware using Amazon’s Alexa SDK.

We previously reported that Amazon’s AI had escaped its hardware prison in the form of the Alexa Skills Kit. Yes, calling it the Alexa SDK above is wrong it’s actually the ASK but nobody knows what that acronym is while most recognize the gist of an SDK. It gives you the hooks and the documentation necessary to leverage the functionality in your own applications. The core functionality of Alexa is voice recognition. Even so, it’s still a tall hill to climb.

[Lindo] has broken down the problem into a very manageable example. The Amazon Voice Service (part of ASK) is used for voice recognition and control. Amazon’s Lambda service connects the ASK to your piece of hardware; in this case he’s using a Raspberry Pi as the server. The final step is to connect your hardware to the Pi. [Lindo] is interfacing a keypad-based home automation system with the Pi but the sky’s the limit at this point.

With all the authentication and connectivity laid bare, this is a lot more approachable. The question is no longer can you connect everything to voice control. The question becomes should you give control of everything over to one single online service?

Cyberpunking Home Alone

[Macaulay Culkin] err… [Kevin McCallister] pulled off some epic 1990 hacks to scare off a couple of bumbling burglars in the classic film Home Alone. Now celebrating its 25th Anniversary, it’s fun to see the tricks [Kevin] used to spoof a house party brought into this age of high-technology.

The trick in the original movie was all about silhouettes in the windows that made the house look full of people. [Michael Jordan’s] cardboard cutout taped to a model train is fairly believable. But really, who has a half-dozen mannequins just sitting in their attic? Creepy.

The marketing company RedPepper are behind the facelift of this pop culture icon. They outfitted their offices with some window dressings that are perfect for the silhouettes. In a delightful cyberpunk twist they went with projects and digital silhouettes. Embracing our current tech-heavy lives is the mobile aspect of it all. Of course there’s an app for that. It means [Kevin] doesn’t have to pull the strings. He can hide outside the building and decide which animations are played by the projectors within. Check it out after the break.

Continue reading “Cyberpunking Home Alone”

Hackaday At 32C3 And Shmoocon

We are just a few days away from the 2015 Chaos Communications Congress in Hamburg Germany and we’re happy to say that a couple of the Hackaday crew will be on hand.
The annual event is one of the premier hacker conferences in the entire world. CCC-fairydustBoth [Voja Antonic] and [Nava Whiteford] will be attending this year’s 32C3, which runs from Sunday the 27th through Wednesday the 30th.

[Voja] will be pretty busy working a booth that will show off two of his projects. One is his Single-Chip Gaming System and the other is his DIY Book Scanner. If you do want to track him down, he dusted off his Twitter account, @Voja_Antonic, just for the event.

[Nava] will be less tied town, and looking for the best there is to see at the conference. If you want to connect with him, give his Twitter account a jingle: @new299.

2016 Shmoocon

schmoocon-bikerShmoocon is in the middle of January and boasts “Less Moose than Ever”. It’s notoriously hard to get a ticket for the annual hacker convention held in Washington, DC. We asked for three press passes and they were kind enough to provide one. We tried and failed to get tickets during the second public release, which sold out 900 passes in 7.58 seconds.

We’re Looking for One More Ticket!

We were able to purchase a single ticket second-hand, so along with the press pass we now have two. [Mike] and [Brian] are both planning to attend, but we’d like it if [Sophi] could be there as well. If you know of an extra ticket which we can buy at face value, please email mike at Hackaday with the details.

Will you be at Shmoocon? Want to meet up with [Brian], [Mike], and hopefully [Sophi], or know of an activity there we just shouldn’t miss? Ping us on Twitter (@szczys, @bbenchoff, @sophikravitz).

Also, how are our choices on con attendance so far? Leave a comment below and let us know what hacking events you think we just shouldn’t miss in the coming year.