KiCad Utilities Generate Parts; Track Costs

The popularity of KiCad keeps increasing, and not only are more people converting to it and using it for their projects, but there’s also a growing number of folks actively contributing to the project in the form of libraries, scripts and utilities to improve the work flow.

KiPart

[Dave Vandenbout] a.k.a [xesscorp] has written a couple of utilities for KiCad. When working with large multi pin parts such as micro-controllers, creating a schematic symbol from scratch using the traditional KiCad schematic library editor can be quite tedious. KiPart is a python script that uses a CSV table as its input to generate the KiCad schematic symbol and is able to create multi-part symbols too. Usage is quite simple. The csv file needs a part name on its first row. The next row contains the headers. ‘Pin’ number and Pin ‘Name’ are the minimum required. Additionally, you can add in ‘Unit’, ‘Side’, ‘Type’, and ‘Style’. Unit is used when defining multi-unit parts. Side decides the location of the pin, Type its function, and Style is its graphic representation. Running the KiPart python script then results in a nice KiCad schematic symbol. Besides, KiPart can specifically generate schematic symbols for the Xilinx 7-Series FPGAs and the Cypress PSoC5LP. There are a whole host of options to customize the final output, for example ordering pin placement based on pin number, or pin name or pin function. Source files can be obtained from the [xesscorp] Github repository.

KiCost

KiCostAnother useful utility from [xesscorp] is KiCost. It is intended to be run as a script for generating part-cost spreadsheets for circuit boards developed with KiCad. The one piece of information you need to add to your schematic parts is a manufacturers part number. The KiCost Python script then processes the BOM XML file, reading the manufacturer part number, scraping the web sites of several popular distributors for price and inventory data, and creating a costing spreadsheet. You can grab the source files from the KiCost Github repository.

Check the two videos below where [Dave] walks through the two utilities.

Thanks to [RoGeorge] for sending in this tip by commenting on the Open Source FPGA Pi Hat built by [Dave] that we featured recently.

Continue reading “KiCad Utilities Generate Parts; Track Costs”

Hacklet 87 – Roomba Projects

First introduced in 2002, The iRobot Roomba was conceived as a robotic vacuum cleaner. Just about every hacker, maker, and engineer out there immediately wanted one. The Roomba proved to be more than just a vacuum though; it was the perfect base for any household robotics project. Before long Roombas were being hacked to do way more than sweep your floor. iRobot recognized this, and added a hacker friendly serial port to later model Roombas. They even released a vacuumless version called the iRobot Create. Thousands of projects have literally ridden on the wheels of the Roomba. This week’s Hacklet is all about Roomba projects.

roomba1We start with [fuzzie360] and Poor Man’s Raspberry Pi Turtlebot. [Fuzzie360] has their Roomba running Robot Operating System (ROS). ROS actually is running on an on-board Raspberry Pi. While Willow Garage may be out of business, ROS lives on as an open source project run by Unbounded Robotics. Installing it can be a chore though. While [Fuzzie360] hasn’t given a full tutorial, they have offered to give advice if and when you get stuck.

A Raspberry Pi would be overkill for the simple suite of sensors built into the Roomba, but it’s perfect for [fuzzie3680’s] modified setup with a Microsoft Kinect. [Fuzzie360’s] goal is to have a robot that can vacuum the hostile territory of a university apartment.

 

roomba2Next up is [Sircut] who upgraded his Roomba’s power cell. Early Roombas were designed to use Nickle Metal Hydride (NiMH) batteries. The individual cells are built into a proprietary iRobot battery pack. NiMH can’t hold a candle to Lithium Ion batteries though. Lithium Ion cells are very common these days in devices like cell phones and laptops. In fact, [Sircut] used 18650 sized laptop cells for this upgrade. [Sircut] also added the essential LiIon battery protection circuit to make sure those cells stay happy. A voltmeter provides a visual reference that the batteries aren’t becoming overcharged. An upgrade like this will likely double the Roomba’s runtime, but it does come at a cost. Roomba’s original charge dock can no longer be used as the on-board charge circuitry isn’t designed for LiIon battery charge algorithms.

roomba3Next is [Marcel Varallo] with Robot Wars for the Commuter. How does the IT department blow off steam? Fighting robots of course! Unfortunately, [Marcel’s] coworkers aren’t all programming mavens. Hopefully some programming is in the cards for them down the road. For now though, [Marcel] has created a robot fighting league using nearly stock Roomba robots. Each bot gets a set of 3 balloons and 3 pins. A balloon represents a life. Once your lives are all popped, you’re dead! [Marcel] also created an upgrade system where winning ‘bots can move on to stronger weapons like flamethrowers. During his research, [Marcel] found out that the brushes in his Roomba are powerful enough to sweep dust and debris up without the vacuum enabled. So he’s disabled the vacuums for longer cleaning battle times.

roomba4Finally we have [Fredrik Markström] and ESP8266 controlled Roomba. [Fredrick] is hacking an ESP8266 module to be the main computer of this little Robot. Of course, a ‘8266 means it will be carrying WiFi, so this robot needs to have a web interface. [Fredrik’s] first problem was powering the ESP8266. The Roomba’s battery runs around 15 volts, which is definitely not friendly to the 3.3 volt ESP8266. A switching DC to DC converter was in order, and [Fredrik] found the perfect candidate on eBay. The ‘8266 will control the Roomba through the serial interface included on all the current models. [Fredrik] has big plans for this ‘bot, including navigation and advanced vacuuming algorithms.

If you want to see more Roomba projects, check out our new Roomba project list! If I missed your project, don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Bartop Arcade Honors Aspect With 4:3 IPad Screen

Let’s face it, we all love arcades, but not all of us can fit a full size stand-up in our homes. [Bentika] knew the solution was a bartop style cabinet, but it had to be designed and built to his specifications. You see, he’s a bit of an aspect ratio nerd. Only a proper 4:3 screen would do for emulating games designed for just such a display. Modern 4:3 displays are hard to come by, unless of course you have an iPad handy. The 1024 x 768 screens used on the early model iPads are perfect for the task.

Driving these screens used to be a chore, but thanks to hacker reverse engineering and overseas manufacturing, these days, controllers are only a few clicks away. [Bentika] ordered a controller for the iPad 1 screen from eBay. What he got was a controller that only worked with the iPad 2 screen. Thankfully he had a pile of old iPads to play with, so it wasn’t an issue.

[Bentika] designed his cabinet using AutoDesk 123D based upon a basic outline provided by [Joshendy]. His final cut patters were created with Adobe Illustrator. He was able to get the entire cabinet laser cut for around $160, including materials. Cabinet assembly was easy, thanks to plenty of square gussets used to align the various pieces.

The controller for this arcade is of course a Raspberry Pi 2 running RetroPie. [Bentika] used a control block to interface the joystick and buttons to the Pi itself. RetroPie lends itself to “keyboardless” operation, he didn’t have to bring any of the Pi’s USB ports outside the case.

We have to say the final results are very nice. This system has all the portability of a CRT based bartop setup without the weight. You can check out more discussion of this hack over on Reddit, or click past the break for the video.

Continue reading “Bartop Arcade Honors Aspect With 4:3 IPad Screen”

Airport Land Art Is (Acoustic) Baffling

According to an article in the Smithsonian magazine, these geometrically arranged hills aren’t landing signs for extra-terrestrials, but instead effectively sound baffles worked into the ground behind a runway at Amsterdam’s Schipol airport.

Photo by Alexis Glass, via Wikipedia
Photo by Alexis Glass, via Wikipedia

The 80 acres of hills and valleys are called the Buitenschot ‘land art park’ and supposedly reduce noise in the nearby neighborhood by around 50%. They work by sending the reflections in random directions that would otherwise skip off of the ground, just like anti-echo baffles in a sound studio. A nice touch for the local residents, they also contain jogging trails.

People have made land art before — we particularly like Spiral Jetty in the Great Salt Lake — but as far as we know this is the first land art “piece” that’s also functional.

Beauty is in the eye of the beholder, of course. Unfortunately, as the Smithsonian notes, nobody is beholding it. Because Buitenschot aims to diffuse the takeoff noise coming out of the rear of the planes, they are always flying away from it; passengers don’t get to see it from the air.

Chromatic Clocks With A Steampunk Twist

There’s nothing like a good clock project, and tacking the steampunk modifier on it only makes it better. [José] built a steampunk clock that does it much better than just gluing some gears on an enclosure and calling it a day. This build includes glowing jewels displaying the time in different colors while displaying the a steampunker’s prowess with a pipe cutter.

The body of the clock is a piece of finely lacquered wood, hiding a perfboard construction with a DS3231 real time clock, a DHT22 temperature and humidity sensor, and a light sensor for dimming the WS2812 LEDs according to the ambient light level.

The rest of the clock is a bunch of 12mm copper pipe, elbows, and t couplers. The end of these pipes are capped off with marbles, with the RGB LEDs behind each of the ‘digits’ of the clock. This is a chromatic clock, with the digits 0 through 9 assigned a different color, based on the resistor color code scheme with exceptions for black and brown. Once you’ve figured out how to tell time with this clock, you should have no problem finding that single 56k resistor in your junk box.

You can check out the video of the clock below.

Continue reading “Chromatic Clocks With A Steampunk Twist”

Smart Coaster Informs You When Your Drink Is Ready

How many times have you made a cup of coffee or tea and it’s been too hot to drink, and then by the time you get to it, it’s become too cold? While very much a #firstworldproblem, [ToniTheAxe] decided to fix it — and enter a contest at the same time. He calls it the µCoaster, and essentially, it is a temperature sensing alarm clock.

The coaster uses a TMP006 infrared temperature sensor which measures the temperature of whatever you place on the coaster indirectly. It also doesn’t use much power. He designed the PCBs around this and created a very nice looking coaster that’s powered off of a button cell battery — he thinks it’ll last for around 6 months with daily usage — though that depends on how bad your caffeine addiction is.

Continue reading “Smart Coaster Informs You When Your Drink Is Ready”

Volvo Trucks: Kid Tested, Mother Approved

If that looks like a four year old with a remote control driving a full-size dump truck — that’s because it is. As part of their Live Test Series, Volvo made a ridiculous obstacle course, and then let a four year old take the wheel of one of their heavy duty dump trucks. Viral advertising maybe — but too awesome not to share.

And don’t worry, there is a hack involved! The remote control setup in the truck isn’t that polished, and can’t possibly be a commercial “RC kit”. Which means some lucky hacker got to build a remote control system for a freaking dump truck. Consider us jealous.

Surprisingly (or maybe not), the truck seems to withstand everything the four year old throws at it. Including rolling it sideways down a hill, and of course smashing through an entire building. It’s well worth the watch and had us grinning from ear to ear.

Continue reading “Volvo Trucks: Kid Tested, Mother Approved”