Category Archives: Engineering Perspectives

ATmega328 on board for near space launch

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.

The finished PCB includes an NTX2 radio module, microSD card, DS18B20 temperature gauge, Ublox GPS, a Honeywell pressure sensor and Atmel’s stalwart ATmega328 microcontroller (MCU).

[Atmel’s] ATMega328 MCU is a great option because it can be programmed from the very easy Arduino IDE,” Ugifer explained.

“It will also run on 3v3 but only a 8MHz. However that’s plenty of processing power for reading a GPS and running a low baud-rate radio.”

Interested in learning more? You can check out the project’s official Instructables page here and the HackedGadgets write up here.

EASiLOGO controls your Etch-a-Sketch



Graham Toal has debuted a CNC Etch-a-Sketch robotic platform powered by an Atmel-based Arduino board.

Aside from the board, key project hardware components include:

  • Two stepper motors
  • 
Two bracket sets
  • Two couplers and a 2mm Allen Key
  • 12V power supply
  • One Adafruit Stepper motor shield

On the software side?

“I considered using remote procedure calls, I thought about implementing Hewlett Packard Graphics Language (HPGL) as used in pen plotters, but in the end for fun I decided to use GCODE as my drawing protocol – GCODE is how laser cutters and 3D printers and many other CNC machines are driven, so it seemed like good experience to learn a bit about how it worked,” Toal explained in a recent Instructables post.

“I found an Arduino GCODE interpreter and modified it to suit my project. Mostly the mods were just to remove the Z-axis code that wasn’t needed (you can’t lift or lower the pen in an etch-a-sketch – when you move, it always draws a line) but the main modification was to remove some machine-dependent stepper-motor-driving code and replace it with portable calls to the Adafruit libraries.”

To create a functional LOGO interpreter, Toal turned to Marcio Passos from Brazil who quickly coded an interface (EASiLOGO) based on the “Papert” LOGO interpreter written in Javascript by Thomas Figg along with an Etch-a-Sketch demo from the Mozilla Developer network.

“Marcio and I modified Papert to use the ‘Node.js’ system which gave the code the ability to drive the serial port so that we could send GCODE commands to the Arduino and make the Etch-a-Sketch draw,” he said.

“In a mammoth 30-hr session over the weekend, we got the LOGO interpreter working and sending drawings to the Etch-a-Sketch.”

So, what’s next for Toal? Well, the Maker says he hopes to polish the software so that anyone can use it without needing to build a physical Etch-a-Sketch robot.

“The emulation of the computer-controlled Etch-a-Sketch on our web page is very accurate and we’ll continue to work on it to make it look and perform even better. Programs that run on the web page will run just as nicely on the real hardware,” he added.

“If you can’t build the hardware, you can do the human simulation we described in the introduction, by writing down the instructions on a piece of paper, and giving them to your kids to execute on a real Etch-a-Sketch toy by hand. It’s a great way to learn to program, even without a computer.”

Interested in learning more? You can check out the project’s official Instructables page here.

Researchers develop ultralight 3D printed materials

Researchers at the Lawrence Livermore National Laboratory and the Massachusetts Institute of Technology (MIT) have developed a material with the same weight and density as aerogel – a material so light it’s called ‘frozen smoke’ – but with 10,000 times more stiffness.

According to Kenneth K Ma of Lawrence Livemore, the material could have a profound impact on the aerospace and automotive industries as well as other applications where lightweight, high-stiffness and high-strength materials are needed.

The research team’s findings are published in a June 20 article in the journal Science, which details how the material was developed using additive micro-manufacturing processes. More specifically, the article describes the team’s development of micro-architected metamaterials – artificial materials with properties not found in nature – that maintain a nearly constant stiffness per unit mass density, even at ultralow density.

Materials with these properties could someday be used to develop parts and components for aircraft, automobiles and space vehicles. Indeed, most lightweight cellular materials have mechanical properties that degrade substantially with reduced density because their structural elements are more likely to bend under applied load. The team’s metamaterials, however, exhibit ultrastiff properties across more than three orders of magnitude in density.

“These lightweight materials can withstand a load of at least 160,000 times their own weight,” said LLNL Engineer Xiaoyu “Rayne” Zheng, lead author of the Science article. 

”The key to this ultrahigh stiffness is that all the micro-structural elements in this material are designed to be over constrained and do not bend under applied load.”

The observed high stiffness is shown to be true with multiple constituent materials such as polymers, metals and ceramics.

“Our micro-architected materials have properties that are governed by their geometric layout at the microscale, as opposed to chemical composition,” explained LLNL Engineer Chris Spadaccini, corresponding author of the article, who led the joint research team. “We fabricated these materials with projection micro-stereolithography.”

This additive micro-manufacturing process involves using a micro-mirror display chip to create high-fidelity 3D parts one layer at a time from photosensitive feedstock materials – allowing scientists to rapidly generate materials with complex 3D micro-scale geometries that are otherwise challenging or in some cases, impossible to fabricate.

“Now we can print a stiff and resilient material using a desktop machine,” confirmed MIT professor and key collaborator Nicholas Fang. “This allows us to rapidly make many sample pieces and see how they behave mechanically.”

The team was able to build microlattices out of polymers, metals and ceramics. For example, they used polymer as a template to fabricate the microlattices, which were then coated with a thin-film of metal ranging from 200 to 500 nanometers thick. The polymer core was then thermally removed, leaving a hollow-tube metal strut, resulting in ultralight weight metal lattice materials.

“We have fabricated an extreme, lightweight material by making these thin-film hollow tubes,” said Spadaccini, who also leads LLNL’s Center for Engineered Materials, Manufacturing and Optimization. “But it was all enabled by the original polymer template structure.”

The team repeated the process with polymer mircolattices, but instead of coating it with metal, ceramic was used to produce a thin-film coating about 50 nanometers thick. The density of this ceramic micro-architected material is quite similar to aerogel.

“It’s among the lightest materials in the world,” Spadaccini said. “However, because of its micro-architected layout, it performs with four orders of magnitude higher stiffness than aerogel at a comparable density.”

Last, but certainly not least, the team produced a third ultrastiff micro-architected material using a slightly different process, loading a polymer with ceramic nanoparticles to build a polymer-ceramic hybrid microlattice. The polymer was removed thermally, allowing the ceramic particles to densify into a solid. The new solid ceramic material also showed similar strength and stiffness properties.

“We used our additive micro-manufacturing techniques to fabricate mechanical metameterials with unprecedented combinations of properties using multiple base material constituents – polymers, metals, and ceramics,” Spadaccini concluded.

It should be noted that the LLNL-MIT teams’ new materials are 100 times stiffer than other ultra-lightweight lattice materials previously reported in academic journals.

ATmega32U4 illuminates tricked out business card

Mathieu Stephan (aka limpkin) has designed a revamped business card that packs an ATmega32U4 micrcontroller (MCU).

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.”

Interested in learning more? You can can check out the project’s official page here.

Atmel AVR Man is live on Twitter!

We all know that with great Making there is also great obligation, which is why AVR Man has taken to Twitter, courtesy of Atmel!

Indeed, AVR Man will be assuming a more active role by acting as an official Maker liaison to the global DIY community.

Have a question? Simply tweet @TheAVRMan for an answer and follow along as he travels the world looking to bring ease-of-use, low power and high integration to Makers.

Super Awesome Sylvia is at the White House!

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!

sylviaawesome



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.

Atmel: What projects of yours are powered by Atmel-powered Arduino boards or stand-alone MCUs?

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!

Quin Etnyre talks Makers at the White House

At 13 years of age, Quin Etnyre is already an accomplished Maker and teacher working to change the world – one Atmel powered Arduino board at a time.

18_whitehousewithQuin_AVRMAN-2

Today, Bits & Pieces had the opportunity to interview the young Maker about America’s burgeoning DIY culture on the sidelines of the very first White House Maker Faire.

Atmel: Who, or what inspired you to become a Maker?

Quin: I was inspired by LEGO. Every day I would build a kit. To be a Maker, you have to think outside of the box, and come up with new ideas on your own. Later on, I started ‘hacking’ LEGO, and making my own versions of kits that worked just as good, maybe even better. This concept led to me hacking other electronics and mechanical objects around the house, which made me a Maker.

quintruck1

Atmel: How do you feel about being chosen to attend the very first Maker Faire at the White House?

Quin: It is awesome!!! I can’t believe that last year I started to show my projects at Maker Faire, and just the next year I am picked to go to the White House, and show the President what I’m making! It is super fun to show people what I make, and teach them how they can learn how to make projects, too!

Atmel: How do you think the Maker Movement democratizes the tools and skills necessary to design and create just about anything?

Quin: It allows more and more people the knowledge they need for free (open source), allows them to modify projects – and contribute to to the community in the end. Many people can learn, and many people can teach.

Atmel: What projects of yours are powered by Atmel-powered Arduino boards or stand-alone MCUs?

quinlincoln1

Quin: All of my projects with a microprocessor are Atmel-powered! Many of them are based on Arduino boards, like the FuzzBot, Gas Cap, and TFT LCD screen Instructables, and the Quasi-duino Arduino clone (also on Instructables!) uses the ATmega328 MCU with the bare minimum components needed to function as an extra small Arduino. [Since it] uses [a minimal number of] components on the breadboard, I even had to rewrite the Arduino core for it!

Atmel: How do you think the Maker Movement and DIY culture make the world a better place?

Quin: The average child or adult will be much smarter! They will have even more access to the digital tools and DIY machinery necessary to build complex projects with ease. Every open source product made will enable an average citizen to learn more and become ore knowledgeable, whether it is building space engines, or making light-up cupcakes.

BuildersBot CNC Router is also a 3D printer

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.”

Key BuildersBot components include:

  • 4 Nema 23 Motor dual shaft 425oz-in
  • 4 driver 4.2A 128MicroDriver
  • 3 power supplies (36V, 36V and 12V)
  • 1 Arduino Mega (ATmega2560)
  • 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.”

Interested in learning more? You can check out the project’s official page here.

minDUINO v1.5 (ATmega328) goes live



Steve Smith of Project AVR has published the design files and relevant data for the Atmel-powered minDUINO v1.5 board – with the information released under the Creative Commons Attribution Share-Alike license.

According to Smith, the ATmega328-based minDUINO is relatively easy to assemble, featuring a two layer through-hole design, along with headers for FTDI, ISCP and port breakouts.

“The board has two LEDs, one red, as seen above, for power indication and one green for testing,” Smith explained in a recent blog post.

“I chose to connect the green test LED to pin D10 (physical pin 16) because it is capable of PWM output. I used a shrouded connector for the ICSP connection which matches the plug from my USBASP programmer.”

The minDUINO boards were fabricated by the Hackvana crew, with the relevant gerber files available here.

“I have been using Hackvana for a while and they have fabricated several boards for me,” he added.

“Their customer service is second to none and the end result is a high quality, professional PCB that would be at home in any commercial equipment.”

Interested in learning more? You can check out minDUINO’s official project page here.

Embedded Developer features Atmel’s ATPL230A modem

Earlier this year, Atmel introduced the ATPL230A, a Power Line Communications (PLC) modem designed to implement the physical layer of the PRIME standard (Power Line Intelligent Metrology Evolution).

This month, the ATPL230A modem is featured in the June edition of EE Web’s Embedded Developer magazine. According to Atmel exec Kourosh Boutorabi, the ATPL230A offers OEMs a seamless and cost-efficient solution for smart metering platforms.

“Expanding on Atmel’s unique and highly flexible SAM4Cx platform, ATPL230A addresses the fifth pillar of [our] existing platform, the physical communication layer,” Boutorabi explained.

“Atmel’s ATPL230A can be paired with dual 32-bit ARM Cortex-M4 RISC processors to deploy an unprecedented level of integration and accuracy for single and multi-chip architecture options for system integrators and OEMs.”

The ATPL230A also boasts a class D line driver for PLC signal amplification, providing optimized signal injection efficiency by up to 62 percent.

Combined with low power sipping, this feature enables improved thermal behavior, extends long-term reliability and reduces overall power consumption. Meanwhile, new transmission modes and frequency band extensions facilitate robust power line communications.

As Boutorabi told the publication, Atmel is currently working with top tier customers worldwide who are developing multiple products for individual markets such as the Spanish, French or U.S. market.

“These customers need a supplier that addresses all their markets’ requirements. Our solution addresses 90 percent of all of these markets,” he said.

“Every utility has different communication requirements, so to be able to address all of these segments with one solution is a significant achievement.”

To help accelerate the design process for engineers, Atmel is currently offering the ATPL230A evaluation kit which can be used to test the ATPL230A’s smart metering capabilities with embedded PLC.

Interested in learning more about Atmel’s Smart Energy Platform? You can check out our recent deep dive on the subject here.