A Maker named Ugifer recently sent a box of electronics attached to a balloon approximately 124,000 into the air.
As Alan Parekh of Hacked Gadgets reports, the balloon was tracked using the Space Near Us system, with Ugifer creating a custom PCB to keep the circuit as robust and compact as possible.
Today, we’re going to get up close and personal with an ATtiny pocket sequencer created by bergerab that uses the very same tinyAVR microcontroller (MCU). Built around the popular ATtiny85, the pocket-sized sequencer is fully programmable and usable in a studio setting.
“Besides making a pocket-sized sequencer, my goal of this project was to stretch the uses of the ATtiny chips to show how powerful they really are,” bergerab explained a recent Instructables post.
“This project is great for those interested in music and/or electronics, and by the end you will have one of the smallest, unique sequencers ever made.”
Aside from the ATtiny85 MCU, key project components include:
Perfboard (5 cm by 7 cm)
Two 10k potentiometers
Two tactile switch-buttons
Two two-way switches
A 7805 voltage regulator
Two 10uF caps
One 100uF cap
One 2k resistor
8 LEDs
74HC595 shift register
1/4 inch audio female jack
Speaker/buzzer
9v Battery (with connector)
(optional) 5cm by 7cm acrylic sheet
On the software side, bergerab uses a relatively simple sketch to regulate the device.
“In my design of this sequencer, I wanted the user to program the steps right when the device is turned on. To do this I used the ‘setup()’ function, [which] is executed when the ATtiny is initially given power, or if its reset pin is set to LOW,” he continued.
“I added a startup tone (which is a little arpeggio of a c major chord) to notify the user that they are in the frequency programming mode. In the main loop (‘loop()), the ATtiny is told to go through each step, and for each step, light the appropriate LED. Then play the note assigned to that step, at the specified note length. During this, the MCU is checking if the button (analogRead(pot)<30) is pressed. If it is, the program enters a function called ‘setSustain()’. In this function, the user can select the notes length, (via the button and potentiometer).”
According to Stephan, the new card stackup fits perfectly into a USB connecter, measuring 2.4mm high (1.6+0.8).
“The old version was actually thinner so I had to apply solder on the USB pads, which was not so pretty in retrospect. You’ll be surprised to know that the new card can still fit in a normal wallet as it is completely flat,” Stephan wrote in a recent blog post.
“However, the hard part was to solder the two PCBs together as a 1.5mm wide exposed copper ‘band’ was put near the cards’ edges to this goal. Using a reflow oven with the card facing up turned the soldermask yellowish so I ended up soldering them by hand with a hot air gun.”
Nevertheless, says Stephan, not much has changed between the two versions in terms of function, except the number of PWM channels. Meaning, the card is still recognized as an external USB drive and can be reprogrammed using an integrated bootloader.
“The only thing worth mentionning here is that given the ATmega32U4 only had 7 PWM channels I had to use a given PWM channel complementary output and two extra I/O pins to enable/disable these given LEDs,” he added. “Two groups of 2 LEDs will therefore always have the same duty cycle.”
As Tom Kalil and Jason Miller note on the White House blog, the United States has always been a nation of tinkerers, inventors and entrepreneurs.
“In recent years, a growing number of Americans have gained access to technologies such as 3D printers, laser cutters, easy-to-use design software and desktop machine tools. These tools are enabling more Americans to design and build almost anything,” Kalil and Miller write.
“Across the country, vibrant grassroots communities of innovators, visionaries and manufacturers are organizing Maker Faires, creating local Makerspaces and mentoring the next generation of inventors.”
According to the White House, the rise of the Maker Movement represents a huge opportunity for the United States, with new tools for democratized production boosting innovation and entrepreneurship in manufacturing.
Indeed, Making is capable of inspiring and empowering more young people to excel in design and STEM (science, technology, engineering and math), as well as helping them pursue careers in manufacturing.
That’s why President Obama is hosting the first-ever White House Maker Faire today, with Makers, innovators and entrepreneurs of all ages showcasing their cutting-edge tools and projects. We at Atmel are proud to be at the very heart of the global Maker Movement, with Quin Etnyre and Super Awesome Sylvia (both sponsored by Atmel) attending the DC Faire.
Indeed, our microcontrollers (MCUs) power a wide range of open source platforms and devices, from 3D printers to wildly popular Arduino boards.
For us, every Maker Faire has always been the Greatest Show (and Tell) on Earth – a family-friendly venue of invention, creativity, resourcefulness and a celebration of DIY culture. Simply put, it’s a place where people of all ages and backgrounds gather together to show what they are making and share what they are learning, whether in Washington DC, New York, San Mateo or Shanghai.
Working together, we can prove that in America, the future really is what we make of it.
Tom Kalil is Deputy Director for Technology and Innovation at the White House Office of Science and Technology Policy and Jason Miller is Special Assistant to the President for Manufacturing Policy at the National Economic Council.
Sylvia Todd – aka Super Awesome Sylvia – has been creating and making things since she was five. Sylvia, who learned how to solder when she was 7, also hosts her very own MAKE YouTube show.
Today, Bits & Pieces had the opportunity to interview the young Maker about DIY culture and Making at the very first White House Maker Faire – which Atmel is proudly attending.
Atmel: Who, or what inspired you to become a Maker?
Sylvia: I was inspired to be a Maker/make things when I went to the very first San Mateo Maker Faire in 2006 when I was 5. That event and the ones after it showed me that making is fun, interesting, and [helps] you learn lots of new skills. After that weekend, I wanted to solder and build and take apart things even more!
Atmel: How do you feel about being chosen to attend the very first Maker Faire at the White House?
Sylvia: I am so happy and honored that I was invited to attend the White House Maker Faire. It is pretty amazing that after being inspired by the Maker Movement to create my show back in 2009, I eventually became one of the people that helped others get into Making!
Atmel: How do you think the Maker Movement democratizes the tools and skills necessary to design and create just about anything?
Sylvia: I think the Maker Movement helps give us the knowledge resources to create lots of stuff, through sharing! The internet allows us to find and share projects, sell projects, and even show others how to make things. Sharing how to’s and project details really can inspire people to get out there and make something, even if it’s not exactly what they’re trying to make, it helps them learn by doing.
Sylvia: I have a book coming out next moth that shows three super simple Arduino projects for beginners, all using the Arduino Uno as the base. I am also going to use the Arduino in many other projects and might soon design a custom circuit board around the ATmega328 MCU for a kit. One of my older projects was an Arduino and GPS powered RC car that could navigate around my house, and one of my latest ideas is a sensor that senses when the mail truck comes and tells me by switching on a servo to ring a bell.
Atmel: How do you think the Maker Movement and DIY culture make the world a better place?
Sylvia: I think the Maker Movement will change the world because when you have lots of people thinking of new ideas or inventions and sharing their work and results, we could solve really big issues faster! Also when kids grow up in an environment of making, they’ll be more willing to fix or reuse things instead of just throwing them away, and they’ll be making themselves smarter about the world at the same time. Making stuff rocks!
“This ruler is the smallest (5cm by 7cm) and cheapest (about 5 USD) ultrasonic measuring device available today.”
Aside from Atmel’s versatile ATtiny85 microcontroller, key project components include:
74hc595 shift register
7805 voltage regulator
HC-SR04 ultrasonic range sensor
330 Ohm resistors (8)
One tactile-switch button
One two-way slide switch
LEDs (8)
One indicator LED (with 2k resistor)
Perfboard (5cm by 7cm)
9v battery (with connector)
On the software side, bergerab describes the sketch for the circuit as quite small and simple.
“Basically, all the code does is every 500 milliseconds, the distance between the HC-SR04 and an object infront of it is shifted out to the shift register via the data and clock pins attached to the ATtiny85,” he added.
“When the user presses the button on the device, they are actually activating the ‘latch’ on the 74hc595. This illuminates the need for attaching the latch pin to the attiny and attaching a button to the ATtiny85.”
As HackADay’s Rich Bremer reports, the clock is equipped with a total of 24 LEDs, with one group designated for each hour, while the other displays five minute increments.
“The 24 LEDs are arranged in two concentric rings. To display the hour, both LEDs at the same angle are lit up. To show the minutes, just the inner LED is lit,” writes Bremer.
“If you are familiar with the ATtiny84 you know that it only has 12 in/out pins, which is significantly less than the amount of LEDs that need controlling.”
As such, Chris ended up using a number of 74HC595 shift registers to increase the IO pins on the ATtiny.
Essentially, the entire build is packed onto a protoboard with point-to-point wiring, which is housed in a basic tinted plastic case.
A Maker named “aldricnegrier” has designed an Arduino-based BuildersBot machine, which he describes as a CNC Router that is also capable of 3D printing.
“The BuildersBot works/moves within a three-dimensional Cartesian coordinate system, allowing the machine to position its tool (drill bit or hot end) in any location inside the three-dimensional work space,” aldricnegrier explained in a recent Instructables post.
“The X axis will move the tool from left to right, the Y axis will move the tool from back to forth and finally the Z axis will move the tool up and down inside the work area.”
1 Ramps 1.4 Board (for CNC milling and 3D printing)
Smart controller LCD
6 end stops
5 meter LED Strip with remote control (IR)
Kress 1050 Spindle MFE
“The Buildersbot electronics enclosure is made from 7 laser cut acrylic parts, [with] all parts fitting together to make the enclosure. The enclosure houses the four Micro Stepping Drivers, three power supplies (36V, 36V and 12V), the Arduino Mega, a Ramps 1.4 board and two fans for cooling,” said aldricnegrier.
“The enclosure has rear holes for all exterior wire connections, [with] all stepper drivers mounted on an acrylic plate and positioned in the middle of the enclosure. The enclosure is closed using zip-ties. For extra fun there are four blue LEDs that light up the enclosure when power is on.”
”As I have an abundant supply of old hard drives, I went the upcycling route and used one for the enclosure. Should add to the clocks nerd cred as well, which can’t hurt,” Aaron explained in a recent blog post.
“You typically need a torx screwdriver bit to crack open most hard drive cases. However, you can bust out some dodgyness and use a flat head if need be.The only parts to be re-used were the body and cover of the hard drive, [although] there’s also some handy rare-earth magnets that can be salvaged.”
Aaron kicked off the binary clock project by marking a grid, then punching and drilling the holes, which he describes as a common LED arrangement for DIY binary clocks. Simply put, the left two columns represent the hours, while the right side displays the minutes.
“Each LED is installed and secured into place with a bit of hot glue. All the LEDs negative legs are soldered together creating a common ground connection. A color coded wire was soldered to each positive connection then insulated with another healthy dob of hot glue,” he continued.
“I had a couple of ATmega328 microcontrollers with Arduino bootloaders (can be programmed by an Arduino) so I breadboarded out a functional Arduino (hackduino) and tested it with the standard blink sketch.”
Aaron then adopted a more permanent model using a protoboard with the RTC – adding outputs for each LED with a resistor in series, 7805 5V regulator and other supporting passive components.
”Once everything was connected up, I let it run naked for a couple of days to make sure everything was sweet. A spare 9v wall wort provides enough power for the unit,” he added.
According to Aaron, the RTC “remembers” the time for approximately 10 years on its own battery, although it is capable of drawing power from an external source when available.
Last, but certainly not least, the Arduino sketch uses Adafruit’s RTC library to interact with the RTC module and ask for the current time/ The sketch then takes those values and calculates which LEDs should be lit to display the current time in binary format.