Drive A Sony Camera With An ESP8266

Nearly everything has WiFi these days. [glaskugelsehen]’s Sony camera uses the wireless network to transfer photos to the computer, naturally, and it also has a remote-control application that’ll run on Android smartphones. [glaskugelsehen] doesn’t have an Android — but he does have shows us an ESP8266 that he turned into a WiFi-powered remote for the camera (Google translate into English).

Sony actually made [glaskugelsehen]’s work easy here. They have a publicly available API for the camera’s controls, and it’s all run by JSON sent over HTML HTTP POST. Which is to say, that it’s a piece of cake to script as long as you can send HTMLHTTP directives.

[glaskugelsehen]’s code, written in the Arduino environment for the ESP, first finds the camera’s WiFi network and authenticates to it. Then it sets the camera into remote-control mode, and takes over from there. So far, he’s only implemented taking still photos, but from the API it looks like you can also stop and start video recordings and more.

And yeah. We just wrote up another project doing virtually the same thing with a GoPro. [glaskugelsehen] read that too, and mentions it in his blog. We love it when people take inspiration from each other!

Internet Of Things In Five Minutes

If you’re looking for the quickest way to go from zero to voice-controlled home automation system, you should spend five minutes checking out [Hari Wiguna]’s project on Hackaday.io where he connects up IoT gadgets and services into a functioning lightswitch. (Video below the break.)

6166971452133983621[Hari] demonstrates how to set up a complex chain: Amazon Echo to IFTTT to Adafruit.io as a data broker, which is then polled by an ESP8266 unit in his home that controls his X10 setup. (Pshwew.) But each step along the way is designed to be nearly plug-and-play, so it’s really a lot like clicking Lego blocks together. [Hari]’s video is a nice overview.

There’s only one catch if you’re going to replicate this yourself: the X10 system that’s used for the last mile. Unless you have one of these setups already, you’re on your own for controlling the outlets that turn the lights on and off. For price and hackability, we suggest the common 433MHz wireless outlet switches and pairing them with cheap 433MHz transmitters, available at eBay for around $1. We’ve seen a lot of hacks of these systems — they’re quite common both in the US and Europe.

We’ve also covered [Hari]’s projects before: both his self-learning TV remote and a sweet Halloween hack. His video production skills are excellent. We’re in awe of how much info he crams into his YouTube videos.

Ode To The TL431, And A LiFePO4 Battery Charger

Nerd Ralph loves cheap and dirty hacks, and for that we applaud him. His latest endeavor is a LiFePO4 battery charger that he made out of parts he had on hand for under $0.50 US. (Although we think he really made it for the fun of making it.)

The circuit is centered around a TL431 programmable shunt regulator, which is an awesome and underrated chip in its own right. If you don’t know the TL431 (aka LM431), you owe it to yourself to fetch the datasheet and pick up a couple with your next electronics part order. In fact, it’s such a great chip, we can’t resist telling you about it for a minute.

Continue reading “Ode To The TL431, And A LiFePO4 Battery Charger”

Add Seinfeld Bass Riffs To Any Doorway

It’s not the most involved hack we’ve seen this week, but it’s definitely creative and made us laugh. [Grant] and some friends were joking around about how cool it would be to have sitcom-style entry music fire off every time someone came in through a door, but in real life. You know, like everyone wants to have their own theme music? This is the same idea, but the Seinfeld equivalent. (Video embedded below the break.)

20160104_213816

A few simple parts later (Arduino, MP3 shield, magnetic door reed switch) and a tiny bit of code to randomize which bass riff plays, and it’s a done deal. Like we said, it’s not rocket science, but it’s a humorous addition to what looks like a well-stocked game room. (Is that a Joust console we see?)

For even greater comic effect, why not add Seinfeld bass riffs to your skateboard ramps?

Continue reading “Add Seinfeld Bass Riffs To Any Doorway”

Open-Source Firmware For A Mini Quadrotor

Since you’re going to have to be flying your “drones” indoors anyway in the USA, at least in the US Capitol region, you might as well celebrate the one freedom you still have — the freedom to re-flash the firmware!

The Eachine H8 is a typical-looking mini-quadcopter of the kind that sell for under $20. Inside, the whole show is powered by an ARM Cortex-M3 processor, with the programming pins easily visible. Who could resist? [garagedrone] takes you through a step-by-step guide to re-flashing the device with a custom firmware to enable acrobatics, or simply to tweak the throttle-to-engine-speed mapping for the quad. We had no idea folks were doing this.

Spoiler alert: re-flashing the firmware is trivial. Hook up an ARM SWD programmer (like the ST-Link V2) and you’re done. Wow. All you need is firmware.

The firmware comes from [silverxxx], and he’s written all about it on the forum at RCGroups.com. He’s even got the code up on GitHub if you’re interested in taking a peek. It looks like it’d be fun to start playing around with the control algorithms. Next step, Skynet!

Reading the forum post, it looks like you’ll have to be a little careful to get the right model quad, so look before you leap. But for the price, you can also afford to mess up once. Heck, at that price you could throw away the motors and you’d have a tricked-out ARM dev kit.

And if you insist on hacking everything, you can probably re-purpose a wireless mouse controller to control the thing. Write your own code for the controller and you’ve got an end-to-end open firmware quadcopter for a pittance.

Make PCBs With DLP, OMG!

There’s so many ways to skin the home-fabrication-of-PCBs cat! Here’s yet another. [Nuri Erginer] had a DLP projector on hand, and with the addition of some reducing optics, managed to turn it into a one-shot PCB exposer.

If you’ve ever used photo-resist PCB material before, you know the drill: print out your circuit onto transparency film, layer the transparency with the sensitized PCB, expose with a UV light for a while, dissolve away the unexposed resist, and then etch. Here, [Nuri] combines the first three steps in one by exposing the board directly from a DLP projector.

The catch is that the projector’s resolution limits the size of the board that you can make. To fab a board that’s 10cm x 10cm, at XGA resolution (1024×768), you’ll end up with a feature size of around 0.004″ in the good direction and 0.005″ in the other.

For DIP parts, that’s marginal, but for fine-pitch or small SMT parts, that won’t do. On the other hand, for a smaller board, optimally one in the same 4:3 ratio, it could work. And because it exposes in one shot, you can’t beat the speed. Cool hack, [Nuri]!

When you need more precision, strapping a UV laser to an accurate 2D robot is a good way to go, but it’s gonna take a while longer.

Get Your Amateur Radio License Already!

We run a lot of posts on amateur radio here at Hackaday, and a majority of our writers and editors* are licensed hams. Why? Because playing around with radio electronics is fun, and because having a license makes a lot more experimentation legal. (*We’re sure you have good reasons for slacking, Szczys.)

So let’s say that you want to get your “ticket” (and you live in the USA). It’s easy: just study for an exam or two, and take them. How to study? We’re glad you asked, because we just found this incredibly long video that’ll prep you for the exam.

swr_powerAt six and a half hours, we’ll admit that we haven’t watched the whole thing, but what we did see looks great. Admittedly, we were a little bit unnerved by [John (KD65CY)]’s overdone enthusiasm. But the content is fundamental, broad-ranging, and relevant. Heck, even a bit entertaining.

Even if you’re not interested in taking the exam, but are just interested in some radio basics, it’s worth looking. If you give it a shot, and like what you see, let us know in the comments what times stamps you found interesting.

The other “secret” about the amateur radio exams is that all of the questions and their answers are drawn from a publicly available pool of questions. This means that you can just cram the right answers, pass the exam, and you’ll have your grey cells back good as new in no time. To help you along your path, here are all the current Technician questions with only the correct answer for each. (And here is the Python script that generated them.) Read through this, take a couple of practice exams, and you’ll be ready to go.

In our experience, the Technician exam is easy enough that it’s probably worth your while to study up for the General exam as well. You have to take the former before the latter, but there’s nothing stopping you from taking them all in one sitting. (General gets you a lot more international shortwave frequencies, so it’s at least worth a shot.)

But don’t let that slow you down. Just getting the Tech license is easily worth studying up for a couple of hours or so. You have no excuses now. Go do it!

Continue reading “Get Your Amateur Radio License Already!”