Keep Tabs On The Weather With Rpi_status

[Facelessloser] is interested in glanceable information. Glancable devices are things like your car’s dashboard, your wristwatch, or widgets on a smartphone lockscreen. The glanceable information distribution system in this case is rpi_status, [facelessloser’s] entry in the Enlightened Raspberry Pi Contest.

[Facelessloser] coupled a ring of eight WS2812 RGB LEDs with a small OLED screen managed by a the common ssd1306 controller. Since he was rolling his own board for this project, [faceless] some buttons and a BMP180 temperature sensor. Going with popular parts like this meant libraries like the Pimoroni unicorn hat library for the WS2812 were readily available.

A simple display like this can show just about anything – from status of a nightly software build, to traffic along your morning commute. [Facelessloser] is using it for weather data. His data source is Weather Underground’s API. Weather information is displayed on the OLED. The WS2812’s display the temperature. A single blue light means cold. The ring fills as the temperature warms up. After eight degrees of blue, the color changes to orange, followed by red.

Check out the video after the break for a short demo of the board.

Continue reading “Keep Tabs On The Weather With Rpi_status”

A Brief History Of ‘Drone’

In the early 1930s, Reginald Denny, an English actor living in Los Angeles, stumbled upon a young boy flying a rubber band-powered airplane. After attempting to help the boy by adjusting the rubber and control surfaces, the plane spun into the ground. Denny promised he would build another plane for the boy, and wrote to a New York model manufacturer for a kit. This first model airplane kit grew into his own hobby shop on Hollywood Boulevard, frequented by Jimmy Stewart and Henry Fonda.

The business blossomed into Radioplane Co. Inc., where Denny designed and built the first remote controlled military aircraft used by the United States. In 1944, Captain Ronald Reagan of the Army Air Forces’ Motion Picture unit wanted some film of these new flying targets and sent photographer David Conover to the Radioplane factory at the Van Nuys airport. There, Conover met Norma Jeane Dougherty and convinced her to go into modeling. She would later be known as Marilyn Monroe. The nexus of all American culture from 1930 to 1960 was a hobby shop that smelled of balsa sawdust and airplane glue. That hobby shop is now a 7-Eleven just off the 101 freeway.

Science historian James Burke had a TV wonderful show in the early 90s – Connections – where the previous paragraphs would be par for the course. Unfortunately, the timbre of public discourse has changed in the last twenty years and the worldwide revolution in communications allowing people to instantaneously exchange ideas has only led to people instantaneously exchanging opinions. The story of how the Dutch East India Company led to the rubber band led to Jimmy Stewart led to remote control led to Ronald Reagan led to Death of a Salesman has a modern fault: I’d have to use the word ‘drone’.

The word ‘propaganda’ only gained its negative connotation the late 1930s – it’s now ‘public relations’. The phrase ‘global warming’ doesn’t work with idiots in winter, so now it’s called ‘climate change’. Likewise, quadcopter pilots don’t want anyone to think their flying machine can rain hellfire missiles down on a neighborhood, so ‘drone’ is verboten. The preferred term is quadcopters, tricopters, multicopters, flying wings, fixed-wing remote-controlled vehicles, unmanned aerial systems, or toys.

I’m slightly annoyed by this and by the reminder I kindly get in my inbox every time I use the dreaded d-word. The etymology of the word ‘drone’ has nothing to do with spying, firing missiles into hospitals, or illegally killing American civilians. People like to argue, though, and I need something to point to when someone complains about my misuse of the word ‘drone’. Instead of an article on Hollywood starlets, the first remote control systems, and model aviation, you get an article on the etymology of a word. You have no one else to blame but yourself, Internet.

Continue reading “A Brief History Of ‘Drone’”

Books You Should Read: The Car Hacker’s Handbook

I just had my car in for an inspection and an oil change. The garage I take my car to is generally okay, they’re more honest than a stealership, but they don’t cross all their t’s and dot all their lowercase j’s. A few days after I picked up my car, low and behold, I noticed the garage didn’t do a complete oil change. The oil life indicator wasn’t reset, which means every time I turn my car on, I’ll have to press a button to clear an ominous glowing warning on my dash.

For my car, resetting the oil life indicator is a simple fix – I just need to push the button on the dash until the oil life indicator starts to blink, release, then hold it again for ten seconds. I’m at least partially competent when it comes to tech and embedded systems, but even for me, resetting the oil life sensor in my car is a bit obtuse. For the majority of the population, I can easily see this being a reason to take a car back to the shop; the mechanic either didn’t know how to do it, or didn’t know how to use Google.

The two most technically complex things I own are my car and my computer, and there is much more information available on how to fix or modify any part of my computer. If I had a desire to modify my car so I could read the value of the tire pressure monitors, instead of only being notified when one of them is too low, there’s nowhere for me to turn.

2015 was the year of car hacks, ranging from hacking ECUs to pass California emissions control standards, Google and Tesla’s self-driving cars, to hacking infotainment systems to drive reporters off the road. The lessons learned from these hacks are a hodge-podge of forum threads, conference talks, and articles scattered around the web. While you’ll never find a single volume filled with how to exploit the computers in every make and model of automobile, there is space for a reference guide on how to go about this sort of car hacking.

I was given the opportunity to review The Car Hacker’s Handbook by Craig Smith (259p, No Starch Press). Is it a guide on how to plug a dongle into my car and clear the oil life monitor the hard way? No, but you wouldn’t want that anyway. Instead, it’s a much more informative tome on penetration testing and reverse engineering, using cars as the backdrop, not the focus.

Continue reading “Books You Should Read: The Car Hacker’s Handbook”

Minimal MQTT: Control And Clients

So you’ve built a central server and filled your house with WiFi-connected nodes all speaking to each other using the MQTT protocol. In short, you’ve got the machine-to-machine side of things entirely squared away. Now it’s time to bring the humans into the loop! We’re going to explore a couple graphical user interfaces.

You could build a physical knob and/or LED display for every little aspect of your entire system, but honestly, this is where GUIs really shine. In this installment of Minimal MQTT, we’re going to look at human-friendly ways of consuming and producing data to interact with your connected sensors, switches, and displays. There are a ton of frameworks out there that use MQTT to build something like this, but we’re going to cut out the middle-man and go straight for some GUI MQTT clients.

Continue reading “Minimal MQTT: Control And Clients”

Spice Power

Spice is a circuit simulator that you should have in your toolbox. While a simulator can’t tell you everything, it will often give you valuable insight into the way your circuit behaves, before you’ve even built it. In the first installment of this three-part series, I looked at LTSpice and did a quick video walkthrough of a DC circuit. This time, I want to examine two other parts of Spice: parameter sweeps and AC circuits. So let’s get to it.

schem2In the first installment, I left you with a cliffhanger. Namely the question of maximum power transfer using this simple circuit. If you run the .op simulation you’ll get this result:

--- Operating Point ---
V(n001): 5 voltage
I(R1): 0.1 device_current
I(V1): -0.1 device_current

The power in R1 (voltage times current) is .5 W or 500 mW if you prefer. You probably know that the maximum power in a load occurs when the load resistor is the same as the source resistance. The Rser parameter sets the voltage source’s internal resistance. You could also have created a new resistor in series with V1 and set it explicitly.

Continue reading “Spice Power”

Hackaday Links: January 10, 2016

Everybody loves cheap stuff, and we hate telling everyone about coupon codes. That said, TI has a new LaunchPad development board they’re promoting. It’s based on the MSP432, the ARM extension of their MSP430 line. The MSP432 is an ARM Cortex M4F, low power, and planned for production later this year.

Here’s your daily CES garbage post. Through a collaboration between Sony and Nissan, a car has become a video game controller controller. A controller plugs into the ODB II port, reads throttle, brake, and steering wheel positions (and buttons on the dash/steering wheel, I guess), and translates that into controller input for a PlayStation 4. What games do they play with a car? You would think Gran Turismo, Rocket League, or other games with cars in them. Nope. Football.

Dangerous Prototypes is a legal Chinese company! [Ian] didn’t say anything about the process about becoming a legal Chinese company because he wrote a blog post, not a book. Shenzhen Dangerous Prototypes Electronics Technology Limited allows them to have an office in the Shenzhen electronics market, hire local and foreign hackers, host Hacker Camp Shenzhen, and allow people to apply for ‘Authorized Authority’ visa letters for the people who need them. Great news for a great company.

The Forge hackerspace in Greensboro, NC is growing. In just over a year they have 160 members and they’ve already outgrown their 3,400 square foot space. Now they’re moving to a larger space that’s twice the size and they’re looking for donations.

People have been taking old iPad screens and turning them into HDMI displays for years now. [Dave] got his mitts on a panel from a Macbook Pro 17″, and turned it into a monitor. It required a $50 LVDS adapter, but the end result is great – a 1920×1200 panel that looks pretty good.

Henry Smolinski And The Flying Pinto

Anyone who has ever been stuck in gridlock has probably daydreamed about pushing a button on the dashboard that turns their car into a plane. Imagine how much more relaxing a weekend getaway would be if you could take to the open sky instead hitting the congested highway. For as long as there have been aircraft and automobiles, man has tried to combine the two. The proper term for this marriage is ‘roadable aircraft’, and a successful one requires attention to the aerodynamics of flight as well as the rigors of motoring.

One promising attempt at a roadable aircraft came from Henry Smolinski, an aeronautical engineer in Van Nuys, California. He along with his friend Harold Blake started a company in 1971 called Advanced Vehicle Engineers (AVE) to produce the AVE Mizar. This flying car combined the lightweight Ford Pinto with the wings and partial fuselage of a Cessna Skymaster.

Continue reading “Henry Smolinski And The Flying Pinto”