[Richard Deininger] built the project after having the AC system go down in his company’s server room. That environmental cooling is imperative if you don’t want your server hardware turned to slag. The idea is a separate piece of hardware that monitors the room temperature and will alert the on-call staff if it climbs too high. He was successful, and showing the hacked hardware around the office came up with a second idea: a temperature sensor for your car to ensure it’s not too hot for your dog.
Anyone who has a canine friend living with them knows you don’t utter the word “ride” out loud lest a barking, whimpering, whining frenzy ensue. But jingle those keys and they’ll be at the door in no time. During the summer you can still take them with you for short errands thanks to the peace of mind [Richard’s] build provides. It’s simply an Arduino, DHT22 temp/humidity probe, and a SIM900 GSM modem. Set your temperature threshold and you’ll get an alert if temperatures are climbing to unsafe levels for Fido.
[Steve Gardner] wants an accurate clock for his bench. Of course the only option most engineers will accept for something like this a clock they’ve built themselves. In fact, this is his second time around as his first was an OLED based system using one of those sweet Maxim TCXO’s that keep time for years with negligible drift.
This build is going to be dead accurate as well since he plans to roll in a GPS source. But for now he’s covering the display build itself and will use another clock source IC at first. The display is a set of six 2.3″ 7-segment displays on protoboard. Bonus points for all the tidiness in his point to point soldering!
You may think this is a super simple project, and in a way it is. But [Steve] does an amazing job of dotting all the i’s and crossing all the t’s in a way that is beneficial to learn for all of your prototyping. For instance, he’s combining some 7-segment displays with 5mm LEDs as the colons. He mentions checking the peak wavelength of the displays to match the LEDs when choosing components. The design is also well-planned on graph paper. This may be just for use in illustrating the video but is a great practice in your own prototyping.
We’re not sure if there’s some movie magic involved here as his first burning of code to the PIC microcontroller results in a fully working device — impressive. Looking at his entire presentation, if you follow the workflow that [Steve] uses in his engineering, you’re doing it right!
For the past two weeks we’ve been on the lookout for the best 2015 Hackaday Prize entries which are using parts manufactured by Atmel, Freescale, Microchip, and Texas Instruments. All four are sponsors of this years initiative to solve problems faced by a large number of people.
The three-week mini-contest will come to a close on Monday and the Hackaday crew will begin to assign 200 prizes to the entries; 50 for each of the curated lists. Prizes include Mooshimeters, DS Logic Analyzers, Stickvise, Bluefruit BLE Sniffers, Cordwood Puzzle kits, and TV-B-Gone kits.
Don’t miss out on this stage of the contest. You stand a really great chance of being selected as a winner! And for those already on the lists we can offer some advice for rising to the top. Polish up your documentation. Tell us how the parts are used in your design, where you are in the prototyping process, and list the tasks you have yet to accomplish. Share the whole story of what you’re working on. Good luck!
SparkFun, you know them, you love them. They list themselves as “an online retail store” but I remember them for well-designed breakout boards, free-day, videos about building electronics, and the Autonomous Vehicle Competition. This week SparkFun turned my head for a different reason with the announcement that [Nathan Siedle], founder and CEO will be stepping down. He’s not leaving, but returning to the Engineering department while someone else takes the reigns. I spoke with him yesterday about what this means for him, the company, and what SparkFun has planned for the future.
Stepping Down Without Saying Goodbye
[Nate] founded Sparkfun in 2003 while still working on his Electrical Engineering degree from the University of Colorado Boulder. He cites wanting to return to his engineering roots as the reason for his title shift, which won’t happen for at least 9 or 10 months. It’s the concept of leaving the CEO position without leaving the company that raises many questions in my mind.
Just getting to Shenzhen is an adventure for a different post, but the Hackaday crew made it and spent our first full day in the city last Thursday.
Unlike Wednesday’s experience in Hong Kong, most people you run into do not speak English and the signs generally don’t have English words on them. This makes getting around hard in that it’s difficult to figure out where it is you’re going. It’s equally tough to convey the destination to a taxi driver or translate it into public transportation. I was able to get to the Software Industrial Base via taxi because I had saved the Chinese character address on my phone and showed it to the cab driver. But when the trip ended I had trouble figuring out how much to pay… the meter reads 10 Yuan but there is an additional charge of a few Yuan which I only realized in retrospect. But my driver was very nice about this and helped me with change and a smile.
Visiting Seeed Studio
Seeed Studio sign as you walk in
Shenzhen Industrial Software Base
Huge Makerfaire Banners
You might think finding the correct building would be simple. But the Shenzhen Industrial Software Base is a huge complex of similar buildings. A friendly security guard looked at my saved address and used the squares in the sidewalk as a map to non-verbally get me headed the right way. Seeed Studio, our hosts for SZMF, have a beautiful new office which is industrial-modern in its decor. There are glass-walled conference rooms but the majority of the space is open in design as it wraps around the exterior of half a floor in the six or seven story building.
Hitting the Markets
After doing some planning for the Hackaday workshop the next day, [Chris] from Seeed offered to take us to the electronics markets. How do you pass up that offer? We first stopped off at a Korean restaurant for lunch, then hopped a slightly-crowded cab to meet [Matt] and [Alek] who were already at the market.
Booth after booth
Rice Ice Cream (purple flavor… yum!)
Triangle LED modules form pyramid displays
The Huaqiangbei markets are multi-story buildings filled with booths. We first went into the wrong one, which turned out to be the used equipment building. Vendors specialize in refurbishing electronics. There were floors and floors of booths filled with equipment — often three tiers or more of laptop computers (open and running) wrapping each booth which were about the footprint of a king-sized bed.
Back on track we made it to a brand new building which was seemingly built already completely packed with booths. The place has everything, generally divided up by floor. The top two floors are mostly LEDs of every kind, or drivers for them. We were on the hunt for addressable LEDs, but there didn’t seem to be any legendary bargains available. This may have been an issue of volume because I later heard from a friend that he acquired 25-meters of 12V WS2812 strips for a song.
Next it was the hunt for the “baby phone”. This is an Android phone built to look like a miniature iPhone. They’re cute. The blocks, and blocks, and blocks of walking, backtracking, running into acquaintances who joined the hunt, and finally ascending shady stairs and dingy aisles did pay off. Ta-da, [Sophi’s] new phone!
We hopped the subway to get back from the markets. I love trying out public transportation in different cities and this didn’t disappoint. The stations are so clean, and after 85 degrees F and 80 percent humidity all day the air conditioning is heavenly.
You purchase a token which is a green plastic disc about the size of two american quarters stacked on top of one another. Very light weight and very tech-oriented. Each is an RFID (or some other non-contact) tag. Tap it on your way in, drop it in the slot on your way out. Midway during our return trip we realized we were changing the location for Hackaday’s Saturday Shenzhen Meetup. We got off the train, rode the other way, switched lines, and popped out in a beautiful part of Shenzhen. Everything in this city seems to be new and under construction. NYPD Pizza is in the middle of a very partially completed complex but has the hip, trendy, divebar-neveau that made for an awesome meetup. Check back on that yarn which deserves it’s own post.
A bit exhausted, we made it back to the hotel for a bit of dinner and relaxation. But who could pass up the opportunity to head to an outdoor BBQ party marking the end of Hacker Camp? This creation, started by Hackaday Alumni and Dangerous Prototypes founder [Ian Lesnet], invites engineers and hardware creators to come tour Shenzhen and pick up as much manufacturing knowledge as possible in between epic evenings of socializing.
Dripping wet BBQ Party
Again, figuring out where to go is really hard! We jumped on the subway and made it to the correct stop, but getting to the BBQ alley in what feels like a residential neighborhood required a aimless wandering, and bumping into two different people who had already been to the party.
Party in an Alley
Hot hot hot
Showing off hardware
Soldering station lets you program your own features
The atmosphere was sticky and blazing hot. Everyone was dripping with sweat and drinking a very large beverage. Check out this hi-res album for the proof. There were a few restaurants, an open-air bar, and a bodega with bombers of Tsingtao for under a buck (USD). To me it seemed to be a dead end street, but every few minutes a honking motorbike was waddled through the shoulder-to-shoulder crush of sweaty bodies. Hardened ex-pats and locals drank beer from glasses, but the foreign visitors seemed to stick with bottles.
This definitely registered as one of the most exciting days of my life. I love the adventure. The city feels safe and friendly — but travel (especially at night) adds a thrill.
This Saturday we’ll be in Shenzhen hosting a meetup at Bionic Brew at 19:00. Join us there and bring along your own hardware projects to show around. Everyone loves hearing about that latest build!
Even if you’re not in the area you can help us out by spreading the word. Tell your friends, share on your social media, and let us know about anyone in town who you think we should reach out to. Here’ s a poster if you want to print it out and hang it at your hackerspace, workplace, or other area where awesome people congregate.
The things you can do at this meetup: Laugh, drink, eat, and be happy. Talk excitedly about datasheets and timing diagrams. Pretend you hate talking about timing diagrams while being secretly giddy that someone wants to hear what you think of them. Recount your epic battles to meet production deadlines. Show off that latest blinky LED project you just got working. Meet a ton of awesome people. You can RSVP here to tell us you’re coming. See you soon!
Your mission, should you choose to accept it, is to code a program that leaks information to the user but does so in a way that can’t be discovered in a code audit. This was the challenge for the 2014 Underhanded C contest; the seventh time they’ve held the event. [Richard Mitton] took part and wrote a very entertaining entry. He didn’t win, but he did just share the details of his super-sneaky code.
The challenge set out for the Citizen-Four-like coders set up a scenario where they were writing a program for a shady company (or sketchy government entity) which makes completely secret decisions based on publicly posted social media. The twist is they were tasked with getting code past an audit that leaked the decisions made by this program to the users being secretly observed.
Above is the core trick which [Richard] used after taking inspiration from Heartbleed. The struct assignment has an off-by-one error in it which is shown corrected in the lower code block. This, used in conjunction with malloc and free, allows memory to be used under the guise of storage during the encryption process. Secretly, this same bit of memory is accessed later and leaked to the user being targeted.
Have your own Underhanded C that you’re dying to share? We want to hear about it so send us a tip!