Arduino Development; There’s A Makefile For That

Hardware and software combined, Arduino does many things right. It lowers the entry level into embedded systems development with a nifty hardware abstraction layer. It aims for cross-platform compatibility by supporting Windows, Mac OSX, and Linux operation systems. It throws out the need for an external programmer to get you up-and-blinkin’ those LEDs quickly.

One thing most of us never cease to curse about, though, is the IDE. Many have cried out wildly against the Java-based text-editor for its cryptic compiling-and-linking process, its inability to accommodate bare C or C++ source files, and (shh!) its lack of Vim keybindings. Fortunately, our cries have been heard, and the like many community-based projects, the community fights back with a custom solution.

Calling all Grumpy Engineers: The Arduino-Makefile

Enter the Arduino Makefile.

What began as [Sudar’s] lightweight program to escape the IDE has become a fully-blown, feature rich Makefile that has evolved and adapted to grow with the changes of Arduino. With a community of 47 contributors, the Makefile enables you to escape from the IDE entirely by writing code in the cushy text editor of your choice and compiling with a simple incantation of make into your terminal, be you in Linux, Mac, or Windows.

Without further ado, let’s take a walking tour of the project’s highlights.

Continue reading “Arduino Development; There’s A Makefile For That”

Because Burning Man Needed More LEDs

There are a lot of blinky glowy things at Burning Man every year, and [Mark] decided he would literally throw his hat into the ring. He built a high visibility top hat studded with more RGB LEDs than common sense would dictate. It’s a flashy hat, and a very good example of the fashion statement a few hundred LEDs can make.

[Mark]’s top hat has 481 WS2812b addressable LEDs studded around the perimeter, a common LED choice for bright and blinky wearables. These LEDs are driven by a Teensy 3.1, with a Bluetooth transceiver, a GPS module, a compass, and gyro/accelerometer attached to the microcontroller. That’s a lot of hardware, but it gives [Mark] the capability of having the hat react to its own orientation, point itself North, and allow for control via a modified Nintendo NES controller.

The WS2812 LEDs draw a lot of power, and for any wearable project having portable power is a chief concern. [Mark]’s original plan was to use an 8x battery holder for the electronics enclosure, and use five AA batteries to power the hat. The total idle draw of the LEDs was 4.5 Watts, and with even a few LEDs blinking colors there was a significant voltage drop. The idea of powering the hat with AA batteries was discarded and the power source was changed to a 195 Watt-hour lithium ion battery bank that was topped off each day with a solar panel.

The hat is awesome, exceedingly bright, and something that gets a lot of attention everywhere  it goes. For indoor use, it might be too bright, but this could be fixed with the addition of a bit of black stretchy fabric, like what our own [Mike Szczys] did for his DEF CON hat. [Mark]’s hat is just version 1, and he plans on making a second LED hat for next year.

This PCB Business Card Is Logically Different

Having seen a number of PCB business cards [Will] decided to go against the more popular choice of a micro-controller based design and show some character with a logic based finite state machine. [Will] uses a single 7-segment display to scroll through the letters of his name with a state machine that outputs the desired combination of 1’s and 0’s to the LED display each time the tactile button is pushed.

[Will] uses a 4-bit counter made up of D Flip-Flops for the clock signal as a conditional input to 6 of the 4-input AND gates. He doesn’t go into the painful details of displaying each character through the process (thankfully) but he does mention that he uses the Quine-McCluskey technique for reduction instead of Boolean algebra. Since his name is 11 characters long and the 4-bit binary counter goes from 0000 to 1111 leaving 5 more pushes of the button before rolling the count back to 0000, during which time the display is left blank. [Will] kindly includes the eagle and Gerber files for your downloading pleasure over at his blog if you’re interested in getting a little deeper into the design.

Continue reading “This PCB Business Card Is Logically Different”

World Maker Faire 2015: Prometheus And The New Air Quality Egg

There were plenty of projects and products to be seen at the 2015 World Maker Faire. In the maker pavilion, we found [Rocco Tuccio] showing off Prometheus, his PCB CNC router. Machines like this make prototyping circuits easy. Just place a blank piece of copper clad in the machine, load up your design, and a few minutes later you’ll have a board ready to stuff. Prometheus spspindleorts some impressive specs: 7 mil (0.18 mm) trace and space, and a Total Indicated Runout (TIR) of .0001 inches (2.5 micron). Not bad for a spindle turning 40,000 RPM. [Rocco] has spent the last two years designing this machine, and has sourced most of the parts from local US vendors. The unique part of Prometheus is the spindle design. Like many other small PCB routers, Prometheus uses a brushless quadcopter motor for power. Rather than go with a belt system, [Rocco] simplified things to a simple friction drive. The only precision parts he has to worry about are the bearings which hold the cutting bits in place. Prometheus isn’t for sale yet. [Rocco] plans to launch a Kickstarter campaign in the coming months.

 

egg1A few minutes later we ran into [Victor Aprea] from Wicked Device, showing off the Air Quality Egg V2. [Victor] and his partner [Dirk] ran the design and manufacturing side of the Air Quality Egg, which had a successful Kickstarter campaign back in 2012. The eggs from that campaign can be found online at the project’s website. [Victor and Dirk] have greatly improved on the Egg since then. The biggest update are the sensors. Sensors for ozone, nitrogen dioxide, and sulfur dioxide are now much more sensitive units from SpecSensors. These sensors don’t come cheap though. To keep costs down, [Victor and Dirk] have released three separate versions of the product with different sensor suites. On the connectivity side, the egg is now based upon Wicked Device’s Wildfire, allowing it to connect to WiFi networks. These Eggs mean business too – [Victor  and Dirk] obtained permission to co-locate a trio of eggs alongside an official New York State/EPA air quality sensing unit. The Eggs all read within 2 parts per million for carbon monoxide, and 10 parts per billion for sulfur dioxide. As with the original Egg, these devices are open source hardware. Source code is available on Wicked Device’s Github.

3D Popup Cards From 3D Photos

The world of 3D printing is growing rapidly. Some might say it’s growing layer by layer. But there was one aspect that [Ken] wanted to improve upon, and that was in the area of 3D photos. Specifically, printing a 3D pop-up-style photograph that collapses to save space so you can easily carry it around.

It’s been possible to take 3D scans of objects and render a 3D print for a while now, but [Ken] wanted something a little more portable. His 3D pop-up photographs are similar to pop-up books for children, in that when the page is unfolded a three-dimensional shape distances itself from the background.

The process works by taking a normal 3D photo. With the help of some software, sets of points that are equidistant from the camera are grouped into layers. From there, they can be printed in the old 2-dimensional fashion and then connected to achieve the 3D effect. Using a Kinect or similar device would allow for any number of layers and ways of using this method. So we’re throwing down the gauntlet — we want to see an arms-race of pop-up photographs. Who will be the one to have the most layers, and who will find a photograph subject that makes the most sense in this medium? Remember how cool those vector-cut topographical maps were? There must be a similarly impressive application for this!

[Ken] isn’t a stranger around these parts. He was previously featured for his unique weather display and his semi-real-life Mario Kart, so be sure to check those out as well.

Robot Dances On The Icy Ceiling

NASA’s Jet Propulsion Laboratory (JPL) is working on a robot for the exploration of Europa’s oceans. A big problem is the oceans are under a permanent ice ceiling. JPL is making that ceiling a feature with a robot that dances, okay wheels, on the ceiling.

The Buoyant Rover for Under-Ice Exploration (BRUIE) is, as the name says, buoyant so it floats against the ice ceiling. Two large paddle wheels allow it to drive along the ceiling.

Andy Klesh from JPL with BRUIE
Andy Klesh from JPL with BRUIE

In 2012 they took an earlier version to Barrow, Alaska for testing under the ice. While the temperatures encountered there may not match those of Europa’s frozen methane [Europa is water, also – Rud] it’s still a challenging environment for man and robot. One of the challenges for the arctic exploration team was the need to test when the ice was thin enough to make a hole. They had to proceed judiciously to avoid falling in.

Recently they tested a newer version rover the California Science Center aquarium, giving new meaning to the phrase “swimming with the fishes.” Andy Klesh, principal investigator for the rover at JPL and volunteer diver at the science center accompanied BRUIE during the testing. Sometime in the future they hope to turn BRUIE loose in a lake where it can explore autonomously.

Fortunately the arctic team didn’t encounter any polar bears, another possible risk. When the rover makes it to Europa it’s unlikely to encounter an extra-terrestrial equivalent.

Video coverage after the break.

Continue reading “Robot Dances On The Icy Ceiling”

New Part Day: Tiny, Tiny Bluetooth Chips

The future of tiny electronics is wearables, it seems, with companies coming out with tiny devices that are able to check your pulse, blood pressure, and temperature while relaying this data back to your phone over a Bluetooth connection. Intel has the Curie module, a small System on Chip (SoC) meant for wearables, and the STM32 inside the Fitbit is one of the smallest ARM microcontrollers you’ll ever find. Now there’s a new part available that’s smaller than anything else and has an integrated Bluetooth radio; just what you need when you need an Internet of Motes of Dust.

The Atmel BTLC1000 is a tiny SoC designed for wearables. The internals aren’t exceptional in and of themselves – it’s an ARM Cortex M0 running at 26 MHz. There’s a Bluetooth 4.1 radio inside this chip, and enough I/O, RAM, and ROM to connect to a few sensors and do a few interesting things. What makes this chip so exceptional is its size – a mere 2.262mm by 2.142mm. It’s a chip that can fit along the thickness of some PCBs.

To provide some perspective: the smallest ATtiny, the ‘tiny4/5/9/10 in an SOT23-6 package, is 2.90mm long. The smallest PICs are similarly sized, and both have a tiny amount of RAM and Flash space. The BTLC1000 is surprisingly capable, with 128kB each of RAM and ROM.

The future of wearable devices is smaller, faster and more capable devices, and with a tiny chip that can fit on the head of a pin, this is certainly an interesting chip for applications where performance can be traded for package size. If you’re ready to dive in with this chip the preliminary datasheets are now available.