So you just got something like an Arduino or Raspberry Pi kit with a few sensors. Setting up temperature or motion sensors is easy enough. But what are you going to do with all that data? It’s going to need storage, analysis, and summarization before it’s actually useful to anyone. You need a dashboard!
But even before displaying the data, you’re going to need to store it somewhere, and that means a database. You could just send all of your data off into the cloud and hope that the company that provides you the service has a good business model behind it, but frankly the track records of even the companies with the deepest pockets and best intentions don’t look so good. And you won’t learn anything useful by taking the easiest way out anyway.
Instead, let’s take the second-easiest way out. Here’s a short tutorial to get you up and running with a database backend on a Raspberry Pi and a slick dashboard on your laptop or cellphone. We’ll be using scripts and Docker to automate as many things as possible. Even so, along the way you’ll learn a little bit about Python and Docker, but more importantly you’ll have a system of your own for expansion, customization, or simply experimenting with at home. After all, if the “cloud” won’t let you play around with their database, how much fun can it be, really?
Continue reading “Howto: Docker, Databases, and Dashboards to Deal with Your Data”
Some may be surprised to hear that CB radio is alive and well in the 21st century. From disaster response to operating in areas without reliable communication infrastructure, there are plenty of reasons people are still reaching for their radio and not their smartphone. Unfortunately, modern automotive interior design doesn’t have such an enlightened view. It’s hard enough to get decent cup holders in some cars, let alone a spot to hang your microphone.
When presented with this problem in his Subaru Forester, [Alex Loizou] did what any modern hacker would, he 3D printed a mount that snaps into the stock dash. No drilling was required to attach his radio mount, it simply replaces a decorative trim piece that wasn’t doing anything anyway. Obviously this particular mount would only really work on the same year and make of vehicle as [Alex] has, but this is a good demonstration of how 3D printing can be used to adapt to existing hardware.
As is often the case when trying to print something to match perfectly with an existing object, there was a fair amount of trial and error required. It took a few attempts before [Alex] got the proper shape, and things weren’t made any easier by the fact he was doing his designing in TinkerCAD. While we appreciate the fact that TinkerCAD provides a web-based CAD tool that is easy enough for anyone to use, using a parametric design tool like OpenSCAD is generally preferred when you need to make slight adjustments to your model.
Software limitations aside, [Alex] managed to come up with a mount that not only holds his CB microphone, but also his handheld transmitter. All while looking about as close to stock hardware as something like this could. We especially like that he switched to a darker filament color for his final version to blend it into the dashes color scheme a bit better.
If your radio interest is a little full-fat for CB, take a look at what keeps ham radio alive and well in 2017, and if you’re a radio amateur with a hankering for the CB days we’ve got you covered.
Automotive dashboards are something that largely go untouched in the average car’s life. Other than the occasional wipe with a damp cloth, they’re generally reliable for the life of the car and considered too tricky to repair as age sets in. Nevertheless, some hackers find themselves tinkering with them, and learn skills in the process, such as how to control stepper motors and talk to the CAN bus. Having done some projects in the past, [Dan] had some old tachometers lying around and decided to turn them into a piece of art.
The build is powered by an STM32 – a powerful ARM-based platform with plenty of IO and potential. [Dan] leveraged its capabilities to have the board generate music and react to its onboard accelerometer data while also driving the stepper motors from the old tachometers. The project was then completed by 3D printing a mounting plate and placing the tachometer assemblies into the back of an IKEA canvas print.
The end result is a piece of wall art that emits eerie stringed music while twitching around. It came about from [Dan]’s prior projects in working with dashboards. It’s a fun use of some well-earned hacking skills, but we reckon there’s even more potential. There’s a huge number of projects that could benefit from lightweight tiny actuators, and we’d love to see a robot made entirely out of junkyard dashboard parts.
For another dashboard hack, why not check out this beautiful Jeep desk clock?
You heard it here first: dash cams are going to be the next must-have item for your daily driver. Already reaching market saturation in some parts of the world but still fairly uncommon in North America, we predict that car makers will soon latch onto the trend and start equipping cars with dash cams as standard equipment. And you can just bet that whatever watered-down, overpriced feature set they come up with will be sure to disappoint, so you might want to think about building your own Raspberry Pi dash cam with an accelerometer and lots of LEDS.
Still very much in the prototyping phase, [CFLanger]’s project is at its heart a dash cam, but it looks like he wants to go far beyond that. Raspivid and a PI NoIR camera take care of the video streaming, but the addition of a Pi SenseHAT gives [CFLanger] a bunch of options for sensing and recording the car’s environment. Not content with the SenseHAT’s onboard accelerometer, he added an ADXL345 to the sensor suite. The 64-pixel LED display is just for fun – it displays pitch and roll of the platform – and a yet-to-be-implemented bar-graph display will show acceleration in the X-axis. He figures the whole thing is good for a couple of days of video, but we hope he adds audio capture and perhaps ECU data from an OBDII-Bluetooth adapter.
We’ve seen surprisingly few DIY dash cams on Hackaday, at least so far. There has been a dash cam teardown and retasking, and there are plenty of dashboard computer builds, though. Seems like most hackers want that DIY self-driving car first.
Continue reading “Homebrew Dash Cam Enables Full Suite of Sensors”
LED matrix projects are all over the place, but this one is interesting for its simplicity: it’s an LED matrix that is driven straight from an ESP8266 board. [Ray] put it together as a quick project for his students to teach the basics of LED programming.
Just get on the same network and load up the module’s WiFi address for a graphical representation of the 5×7 LED matrix. Pick a color, turn pixels on or off, or choose a predefined pattern and send it to the hardware. This is a powerful way to get use input and with this as a guide it’s fast to set up for pretty much an application you can think of. Just work your way through the documents he put together for the workshop (Zip file link), including all of the code and the slides he used to run the workshop.
Continue reading “Web Matrix Control Proves Power of ESP8266”
You’d figure a luxury car like a Jaguar would have a high-end infotainment system. [RichTatham]’s Jag did, but the trouble was that it was a high-end system when a cassette deck and trunk-mounted CD changer were big deals. So naturally, he saw this as a great reason to modernize the system by grafting a netbook into the Jag’s dash. The results are fantastic!
Even though the Jag’s original system didn’t have much left that made it into the final project — the navigation system, CD changer, phone and even the amps ended up on the scrap heap — at least the dashboard instrument cluster proved to be very amenable to his mods. By substituting a climate control cluster from another model into his car, he was able to free up tons of space for the netbook’s 8″ display. A custom bezel and some clever brackets completed the head-end of the new system, and the look is as close to a factory install as you’re likely to find in an aftermarket mod. With the netbook stashed in the bay vacated by the OEM system, a GPS dongle, and a USB sound card connected to a 5.1 amp using the original speakers this jag is ready to bump. We bet that the system sounds as good as it looks, and with the added functionality of a Windows PC to boot.
For obvious reasons, lots of computers make it into hackers’ dashboards, whether they be Windows like this one, Samsung tablets or Nexus tablets running Android, and even phones. But [Rich]’s build is top notch, and takes in-car integrations to the next level.
Although we’ve never had the privilege to drive one, [skaarj] tells us Dacia made some terrible cars. The Dacia 1310, a communist clone of the Renault 12, was cheap, had sixty-two horses under the hood, and was easy to maintain. The cabin, by all accounts, is a bit lacking, giving [skaarj] the opportunity to improve the instrument cluster and dash. He’s not throwing a stereo in and calling it a day – [skaarj] is upgrading his Dacia with retro-futuristic components including a vacuum tube amp, a CRT computer display, and an unspeakably small dumb terminal.
[skaarj]’s build began with a hit and run accident. With most of the body panels on the passenger side of the car removed, [Skaarj] ground some rust, rattle canned some rust proof paint, and bondoed the most offensive corrosion. Work then began on the upgraded dash, with a few choice components chosen including an old Soviet television, a hardware neural network to determine hardware faults, and a bizarre implementation of a CAN bus on a car without any of the requisite electronics.
This is one of those projects that can go on forever; there’s a lot you can do with the dashboard of a car if you’re not constrained by a suffocating desire to appear normal. In that respect, [skaarj] has this one locked up – he’s got a vacuum tube amplifier and enough CRTs in this car to add retro satellite navigation. It’s a great entry for The Hackaday Prize, as something cool is sure to come out of this project.