Measuring Temperature On An AVR Without A Sensor

There are a few AVR microcontrollers with onboard temperature sensors. These temperature sensors are neither accurate nor precise, but they do work for a few use cases. [Thomas] came up with a little bit of code that runs on all AVR microcontrollers, and is at least as accurate as the sensors in the rare AVRs that have them.

Although not all AVRs have a temperature sensor, they do all have RC oscillators, and these RC oscillators are temperature sensitive. By combining the RC oscillator and watchdog timer, [Thomas]’ code can get a vague idea if it’s getting hotter or colder.

To prove his code works, [Thomas] took an ATtiny13A chip loaded up with a few bits of code and placed a heated coin on it. The chip was programmed to turn on an LED when it detected a rise in temperature, and predictably, the LED lit up. With a coin chilled in a bowl of ice water, another bit of code ran, flashing the LED.

While we’re sure it’s neither accurate nor precise, it does have its uses – overheating protection or a simple thermostat. You can check out a video of the code in action below.

Continue reading “Measuring Temperature On An AVR Without A Sensor”

Hackaday Events: NY, LA, SF, LA

We are doing a lot this spring to get people elbow-deep in hardware hacking. We have so many live events coming up that we’re going to be doing Saturday morning recaps to keep you informed. Here are the upcoming events should be planning to attend if you’re nearby.

nyc-hackationToday! NYC Hardware Hackathon

We hope you didn’t miss our announcements about the Hardware Hackathon we’re putting on in New York. It starts this afternoon and runs all night and into Sunday. If you really want to get in on the hacking we might be able to help you out (hit us up on Twitter). But you can also show up on Sunday to see the results live. Tickets for that are available here.

thp-worldwide-laMay 9 & 10 Hackaday Prize Worldwide: Los Angeles

Next weekend we open up the Hackaday Design Lab of Pasadena, California for a workshop, talks, and a day of hacking. This is the Hackaday Prize Worldwide: Los Angeles. Start out on Saturday with the Zero to Product workshop which will discuss getting from design to production. Interspersed with this are a set of talks from amazing presenters before a bit of social time at night. On Sunday we open our doors for Free Build and hope to see a ton of people working on their Hackaday Prize entries. RSVP now!

2015-05-01_BAMF-meetupSaturday, May 16 BAMF Meetup

Seeing everything at Bay Area Maker Faire means a lot of time on your feet. By the end of the day the Hackaday Crew is ready to take a load off and toss back a tasty beverage. We invite you to join us on Saturday, May 16th starting at 7pm. All the cool kids will be there so please RSVP now.

It’s not compulsory, but a lot of people bring hardware they’ve been working on to show off at this meetup and you should too!

layerone-logoMay 23 & 24 LayerOne Conference

Every year our friends from NullSpace Labs organize the LayerOne Conference in Los Angeles. This is LA’s premier hardware security conference. This year Supplyframe is sponsoring the badges and Hackaday will be camped out at the Hackaday Hardware Villiage.

[Brian Benchoff] and [Mike Szczys] will be hacking their own badges while looking for awesome hacks other people are pulling off. We’ll bring plenty of swag and want to get everyone there to try at least some level of badge hack.

Hackaday Prize Entry: BS Free USB

Take a look at some old electronics magazines, or even a few blog posts from 10 years ago, and you’ll notice something strange: parallel ports. Those big ‘ol DB25 were the way to get bits out of a computer and into a microcontroller. There was a reason for this: it was exceptionally easy to do.

Now, we have USB to deal with, and that means VIDs and PIDs, drivers, enumeration, and a whole bunch of cruft that makes blinking an LED a surprisingly complicated process. [Colin O’Flynn]’s project for the 2015 Hackaday Prize aims to fix that with BSU – BS Free USB.

Instead of USB to serial chips attached to another microcontroller, [Colin] is using a few microcontrollers with a built-in USB interfaces. These chips are loaded up with firmware and controlled with a simple API on the computer side. If you want to blink a pin, just add a library to your project and set the pin high. Want some SPI on your computer? That’s just setting a few pins as MOSI, MISO, and SCK and typing in a few bytes. It’s basically a $2 Bus Pirate that you can stick into any project.

If [Colin]’s name sounds familiar in the context of The Hackaday Prize, it’s because he won second place with the ChipWhisperer last year. While a tiny USB thing isn’t quite as cool as a tool to break embedded encryption, the BSU certainly seems more useful to millions of hardware tinkerers around the world.


The 2015 Hackaday Prize is sponsored by:

A Custom, Workshop Squeezebox

Launched over 10 years ago, the Squeezebox was one of the most popular network streaming devices sold. The idea was simple: put some MP3s on a computer, connect the Squeezebox to a LAN, and stream those tunes. Someone at Logitech had the brilliant idea that MP3s and other audio files should be stored in an online service a while back, something that didn’t sit well with [Richard]. He went out and built his own Squeezebox with a Raspberry Pi, out of an ammo box, no less.

Most of the project is based on another Squeezebox Raspi mashup over at Instructables. This was a wall-mounted project, and not encased that keeps 7.62 ammunition secure during transport. It did, however, provide enough information for [Richard] to use in his project.

To make his Squeezebox look a little more industrial and sturdy, he cut a few holes in a NATO ammo can for speakers, a TFT touchscreen display, and a USB charger port. Inside, a pair of powered speakers, a USB hub, and a powerbank were added, making this a portable streaming solution that can take a beating.

3D Printed Headgear Turns You Into A Sim

Stop what you’re doing and dust off that 3D Printer, you’re going to want this headgear for your next party. [Daniel Harari] has created the perfect start of a phenomenal The Sims costume with this Bluetooth-enabled plumb bob.

The iconic crystalline shape will be familiar to anyone ever exposed to the game. It served as a handle and indicator for each virtual character in the popular life-simulation video game. On a short build deadline (a party), [Daniel] found a model of the shape he wanted on Thingiverse. He printed it in translucent green PLA so that LEDs inside would make it glow.

A headband and an aluminum pipe connect this to the wearer. Inside the printed enclosure is a an intricately packaged set of electronics that include an Arduino pro mini, low-side transistors to control six RGB LEDs, and an HC-05 Bluetooth module to connect to his phone. Batteries were mounted on the side of the pipe but we bet a bit of head scratching could re-imaging the battery type and get it inside the enclosure as well.

[Daniel] muses about adding brainwave sensing to control the LEDs. For this build he didn’t even need to write an app; he was able to get an already available color-picker to work. We’d like to see this combined with sentiment; a concept starting to gain popularity which samples social media and ascertains mood to change the display base what is found.

You realize what’s missing from his writeup? We couldn’t find any pictures of him wearing the thing!

The BB-8 Builds Begin

Yes, the new Star Wars film coming out in December has x-wings, dogfights through the engines of star destroyers, space battles, a dead Jar Jar, and [R2D2]. It will also have the coolest droid yet, [BB-8], the rolling sphere protagonist that will surely be sold as a remote control toy by Christmas 2016.

[James] of XRobots doesn’t want to wait until the [BB-8] toys arrive, so he’s building his own. Right now, it’s just a prototype, but it’s the beginnings of the mechanics and control system of a very, very cool droid.

We’ve seen the first BB-8 droid that was basically putting some magnets on a Sphero robot, but this bot doesn’t exactly have the same functionality of the real-life [BB-8]. The real [BB-8] is actually two parts, a remote control ball-body, and a separate remote-controlled head. [James] is focusing on the head for his prototype, replacing the remote-controlled body with a dummy stand in, a big styrofoam ball.

The head of [James]’ [BB-8] is 3D printed, with some especially clever design features. The electronics are just four DC motors, an Arduino, and some motor drivers. In the future [James] will probably be looking at either steppers or servo motors, but for now his [BB-8] bot can stand up straight and serves as a great platform for testing out control schemes.

All the code and parts are available on Github, with some videos below.

Continue reading “The BB-8 Builds Begin”

Square Bicycle Design

Building A Square Bicycle

Inspired by [Michael Ubbesen Jakobsen’s] BauBike design, [Aaron Seiter] decided to try building his own.

The entire frame was made out of 1″ square steel tubing and welded together in no time at all. Actually intending to ride this bike, he had to make a few changes to the original BauBike design. Most importantly, he raised the seat up to allow for proper leg extension while pedaling.

The funny thing is most people on Reddit thought it wasn’t going to work, so shortly after posting the gallery to imgur, [Aaron] also uploaded a short video to YouTube to prove, yes, he can actually ride it. Stick around after the break to see it in action.

Continue reading “Building A Square Bicycle”