Tag Archives: Atmel

Becky Stern builds a NeoPixel ‘punk collar



We’ve covered a number of cyberpunk inspired ensembles in recent months here on Bits & Pieces, including Mell Ell’s cos-play outfit, the NeoGeo watch, Kaleidoscope Eyes and the Flora-powered GPS jacket. Today, we’re going to be taking a closer look at a NeoPixel punk collar designed by Adafruit’s Becky Stern that is powered by an Atmel-based GEMMA (ATtiny85 MCU).

“Get your cybergoth on with five color-changing NeoPixels studded onto a leather collar,” Stern wrote in the tutorial’s introduction.

“The tiny GEMMA microcontroller can display endless animations on this fun funky accessory that’s easy to make with a little soldering. The GEMMA and battery live on the outside of the collar, [while] the NeoPixels pierce through the collar to be wired on the inside.”

Becky recommends that Makers kick of the project by connecting all pixels power pins to GEMMA’s Vout, ground to GND and the first data input to GEMMA D1. The data out from each pixel is wired to the data in on the next – and hobbyists can easily add five more pixels for a total of ten.

Next up? Installing the NeoPixel library, connect the NeoPixels to a solderless breadboard, using alligator clips to attach to GEMMA.

“You’ll need to change a few lines in the code regarding the data pin (1), type of pixels (RGB vs GRB), and number of pixels (5). From the Tools→Board menu, select Adafruit Gemma 8MHz or Adafruit Trinket 8 MHz as appropriate,” Stern noted. “Connect the USB cable between the computer and Trinket, press the reset button on the board, then click the upload button (right arrow icon) in the Arduino IDE. When the battery is connected, you should get a light show from the LEDs.”

If all the pixels are working, Makers can proceed to the next step: building the collar.

“While the collar is pretty durable, use caution in heavy rainstorms or really sweaty dance parties- remove and power down the collar if the circuit is going to get wet. Store your collar in the round, and don’t shove it in your bag or it might get twisted or crushed, which could break the circuit,” added Stern.

Interested in learning more about building a NeoPixel ‘punk collar? You can check out Adafruit’s full 
tutorial here.

DIY Makers inspire Silicon Valley

Writing for Reuters, Noel Randewich notes that Silicon Valley was originally made famous by hard-scrabble hackers and modders building radios, microchips and other devices.

“Now, a proliferation of high-tech but affordable manufacturing tools and new sources of funding are empowering a [new] generation of handy entrepreneurs, [while] laying the foundation for a hardware renaissance,” he explains.

Designers work at computer stations at TechShop in the South of Market neighborhood in San Francisco, California April 24, 2014. CREDIT: REUTERS/ROBERT GALBRAITH

“[The] Maker movement [is] sweeping northern California and, in a smaller way, Europe and other countries. Renewed interest in tinkering with objects – versus apps or software – is attracting more money from investors and fostering a growing number of workshops, where aspiring inventors can get their hands on computerized milling machines and other high-end tools.”

Ann Miura-Ko, a self-professed tinkerer and partner at Floodgate, tells Reuters she believes nostalgia for the Valley days of yore plays a key role in the Maker boom.

“Just the same way you have kids who have been coding for 10 years at the age of 16, you’re going to see kids who have been making stuff for 10 years at the age of 16. If you see that, you’ll know we’re ready for the Mark Zuckerberg of hardware.”

As Randewich points out, the growing wave of do-it-yourselfers may very well hold the key to manufacturing innovation.

“Hardware is catching up to the open-source revolution, with common standards and a culture that encourages the sharing of designs and building blocks that save inventors the time and expense of reinventing the wheel,” he writes.

“Take the palm-sized [Atmel-powered] Arduino, ubiquitous in the Maker Movement. The roughly $20 item was developed for students, offering low price and relatively easy programming. Arduino lets do-it-yourselfers snap together and program interchangeable components such as GPS chips and motor controllers to run everything from robots to cocktail mixers.”

Meanwhile, Christine Furstoss of General Electric says products of the do-it-yourself movement – improved 3D printing, laser cutters, water jets and other tools – will help the United States safeguard and extend its lead in advanced manufacturing.

“We’re proud of our manufacturing heritage, but we don’t invent everything… The spirit and tools of the Maker Movement are something we want to engage with,” she concludes.

The full text of “Do-it-yourselfers Inspire Hardware Renaissance in Silicon Valley” by Noel Randewich is available on Reuters here.

Dual port RAM interface debugs NES games

While writing a game for his old-school NES console, Andrew Reitano realized that live debugging on real hardware would definitely be a step up from the usual software-based fare.

The original solution? Firing variable information out the second controller port to serial every NMI. However, Reitano ultimately decided to take a shot at designing a new Atmel-powered PCB to interface with the console.

“The board routes the left port of the dual port RAM (Cypress CY7C136) to the DIP footprint on the NES and the right port to an AVR (ATmega164 MCU), this allows me to read and write any location at runtime without bus conflicts,” Reitano explained in a recent blog post.

“Control is provided through the UART and two additional pins are soldered directly to the 2A03 to control /NMI and /RESET. AVR control code was written mainly in C with some assembly sprinkled across for the memory control portions.”

The ATmega164 – tasked with “waiting” for serial commands – performs a number of functions including:

  • Read/write of any memory location
  • Quick dump of an entire 256-byte page
  • Freezing of memory addresses (rewriting a single value constantly in the busy loop)
  • Single frame stepping by controlling the NMI
  • Remote reset of console
  • Applying auto increment to tables to a single variable (fun for sine waves on x/y positions)

“[I] had pretty great results with using 250000 baud with the Genesis flasher project which is plenty fast for what I’m trying to do here,” he added. “As far as I can tell from the datasheet leaving CE low shouldn’t have an effect on the opposite port but it most certainly does. Next revision could definitely use a few pullups on the AVR side, other than that I’m pretty happy with the layout.”

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

Atmel announces Maker Faire lineup



Maker Faire is the Greatest Show (and Tell) on Earth – a family-friendly showcase of invention, creativity, resourcefulness and a celebration of the Maker Movement. 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. Over 1,000 Makers will be represented at the upcoming Maker Faire Bay Area, with more than 200 registering as first-time exhibitors.

makerfaireburning

We at Atmel are once again proud to be a Silversmith Sponsor of Maker Faire Bay Area. We’re also hosting the following star-studded lineup of Makers and presenters at the Atmel booth (#205) who will:

Mel Li, PHD – Demonstrate wearable electronics and DIY laboratory automation, both powered by Atmel MCUs and Arduino boards.

Trevor Zylstra, SparkFun COO – Showcase Red Boards, the ProtoSnap Pro-Mini and wildly popular MicroView.

Quin Etnyre, CEO of Qtechknow – Host the “QTechKnow Olympics” robotic challenge with Arduino, XBee and FuzzBots.

Pamungkas Prawisuda Sumasta, AVR Hero contest winner – Discuss “Phoenar,” a new way of learning to program AVR uC and prototyping electronics on a Mobile phone. The demonstration will include an Atmel-based board equipped with a number of add-ons to highlight several applications including breadboard on-the-go, monitoring heart rates, pedometer and controlling a robot.

Super Awesome Sylvia – Demonstrate various Atmel-powered devices and projects. 

Matt Johnson, Founder of Bare Conductive – Highlight the Touch Board, a capacitive touch prototyping platform powered by an Arduino Leonardo (Atmel ATmega32u4 MCU).

Bob Martin, Atmel’s Wizard of Make and Warp Drive Propulsion Engineer – Hack Hexabugs and demonstrate uToT Robots.

atmelbobmartin

Dan Ujvari, Atmel Sr. Field Applications Engineer – Showcase 3D printing using an Atmel-powered MakerBot Replicator.

Maker Faire Bay Area 2014 will kick off at the San Mateo Event Center in San Mateo, CA, on Saturday, May 17, from 10am to 8pm and Sunday, May 18, from 10am to 6pm. 

Tickets are on sale now at http://makerfairebayarea2014.eventbrite.com at advance pricing. Advance ticket sales ($17.50 – $32.50 for a full day pass) take place between March 17 and May 16. Tickets can also be purchased on-site at Maker Faire Bay Area 2014 on May 17 and 18, 2014 ($25.00 – $40.00 for a full day pass). All Makers can be found on the Maker Faire web site at http://makerfaire.com/meet-the-makers.

Can’t make it to the Faire? You can follow @Atmel live on Twitter for event updates, or join the conversation by tweeting #AtmelMakes.

 

Video: Arduino Mega drives single-wheel Jackal



Nick Thatcher has debuted the Jackal, a slick one-wheeled self balancing vehicle (unicycle) equipped with a single 19-inch motorcycle wheel.

The Jackal – powered by a 24v 450w geared unite motor – is controlled with the help of an Atmel-based Arduino Mega (ATmega2560 MCU) that maintains the cycle’s balance.

“The Arduino Mega REV3 takes the data from the inertial measurement unit IMU (gyro), does some number crunching and then spits out PWM signals in the direction of the motor controller,” Thatcher explained.

Aside from the Atmel-based Arduino Mega, key project components include:

  • IMU (gyro)
  • SyRen 50 motor controller
  • Two 12v 12ah lead acid batteries (slated for upgrade)
  • PVC
  • Chain drive

The Jackal is capable of achieving a top speed of 20mph, with enough torque to climb all but the steepest of all hills.

According to Thatcher, the Jackal builds on a previous project dubbed “The Raptor,” adding speed, style and a proper wheel.

Interested in learning more? You can check out The Jackal’s official page here.

Reading paper ticker tapes with an Arduino



Ticker tape – in use from 1870-1970 – was the earliest digital electronic communications medium, transmitting stock price information over telegraph lines.

According to Wikipedia, it consisted of a paper strip that ran through a machine called a stock ticker, which printed abbreviated company names as alphabetic symbols followed by numeric stock transaction price and volume information.

Recently, a Maker named NeXT decided to design a custom PCB from scratch to facilitate the easy reading of paper ticker tape. As HackADay’s James Hobson notes, it is somewhat difficult to buy a working paper tape reader at a reasonable price.

“What we love about this hack is its clever reuse of perfboard — it just so happens that the spacing of his paper tape holes line up perfectly with the holes in the perfboard. Don’t you love it when engineers work together with nice, even, standard units?” Hobson writes.

“After discovering this it was just a matter of adding some photo-transistors on one side of the perfboard sandwich and LEDs on the other side. A bit of soldering, some Schmitt triggers, and an Arduino Pro Mini [Atmel ATmega168 MCU] later… and bam you have a serial output of data.”

According to NeXT, the the output can be fixed to any specific baud rate, although it is currently set at a cool 9600.

“That’s enough that I won’t overflow the serial channel, nor will it be painfully slow. It’s possible that I can change the baud rate with a jumper but I’ve yet to learn how exactly that would be programmed so we’ll leave that for another day. When I want to reprogram it the same four pin header that powers it and connects it to the host also holds an Rx pin so I can talk to it,” he says.

“In the end I decided while this makes a very nice and portable reader I decided the best home would be in my DEC LA-120 hard copy terminal. It has an option knockout on one side and you could easily build it into the overall terminal by taking the Tx line from the reader and tapping into the TxD line on the terminal’s serial port. That way so long as you were in 9600 baud mode if you wanted to read in a paper tape you threaded it through the optic block, set the computer to capture through the serial port and then pulled the tape through.”

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

Project ARETHA taps solar energy

ARETHA (Air Exchange Thermal Assembly) is a sustainable, Arduino-based platform designed to produce hot water from the sun. Manufactured out of low-cost materials, ARETHA is a relatively easy project to assemble.

“Traditional photovoltaic or thermal solar panels are too expensive for most people in developing countries, especially in small and isolated villages, because of import and production high costs,” an ARETHA rep explained in a recent Indiegogo post.

“On the contrary, ARETHA panel can be made from local material: wood, wool, car radiators, transparent plastic panels or glass.”

ARETHA is controlled by an Atmel-based Arduino board, activating the system pump and fan when the temperature difference between air and water rises over a defined threshold.

More specifically, the board measures temperatures across various parts of the platform by means of various digital sensor chips. Meanwhile, a DataLogger Shield paired with an SD card saves relevant system information, which is then relayed by an Ethernet shield over the Internet for remote monitoring purposes.

Interested in learning more? You can check out Project ARETHA’s official Indiegogo page here.

Adafruit builds a WiFi Yún soundboard



Adafruit’s Tony DiCola has put together a detailed tutorial describing how to transform an Atmel-based Arduino Yún (ATmega32u4 MCUinto a soundboard that can be controlled from a webpage over WiFi.

Aside from the Atmel-powered Arduino Yún, key project components include a MicroSD card with 20 megs of available space and a USB audio adapter (or USB speakers).

“Before you get, started you will want to have your Yun connected to your wireless network and be familiar with connecting to the Yún over SSH,” DiCola explained.

The project’s first step? Making sure the MicroSD card is inserted into the Yun and powered on. After connecting to the Yún with SSH, Makers are instructed to install the audio and drivers.

Next up? Installing and configuring the Flask web application framework.

“Once the audio and Flask setup steps are complete, you can install the software for this project,” said DiCola. “While connected to the Yun over SSH, execute commands to download the software and unzip it on the SD card.”

As DiCola notes, Makers can add their own sounds to the soundboard by simply copying MP3 files into the YunSoundboard-master/sounds folder. For Mac or Linux, the scp tool is used to copy files from a PC to the Yun by executing in a terminal. On Windows, Makers will need to install the pscp utility, with the syntax the same as used for the Mac/Linux command, except for the ‘pscp’ command instead of scp.

“Once the sounds are copied over, reload the web page and you should see them added to the list of sounds automatically,” he noted.

According to DiCola, the above-mentioned project is a great example of how to use the Yún’s Linux processor to host a web application and play sounds. Of course, the basic project can be modded or expanded to run on other boards. Makers can also copy their music collection to the device for WiFi controlled boombox, or hook up a PIR motion sensor to the Yun and have the web page alert them if someone is near the device and ready to be pranked.

As we’ve previously discussed on Bits & Pieces, the Atmel-powered Yún has been used in a wide variety of Maker projects that we’ve recently covered, including an electricity monitor, mesh extender platform, high-five cameraFoursquare soap bubble machine, a Gmail (alert) lamp, water heater regulator, smart measuring camera and a security camera.

Interested in learning more about building a WiFi Yún soundboard? You can check out Tony DiCola’s full tutorial on Adafruit here.

Understanding IoT security requirements

The power of objects in the Internet of Things (IoT) to change the state of environments will likely prompt chief information security officers (CISOs) to redefine the scope of their efforts beyond current responsibilities.

According to Gartner, IoT security requirements will “reshape and expand” over half of all global enterprise IT security programs by 2020 due to changes in supported platform and service scale, diversity and function.

“The IoT is redrawing the lines of IT responsibilities for the enterprise,” explained Earl Perkins, research vice president at Gartner. “IoT objects possess the ability to change the state of the environment around them, or even their own state; for example, by raising the temperature of a room automatically once a sensor has determined it is too cold or by adjusting the flow of fluids to a patient in a hospital bed based on information about the patient’s medical records. Securing the IoT expands the responsibility of the traditional IT security practice with every new identifying, sensing and communicating device that is added for each new business use case.”

To be sure, traditional “information” technology is now being supplemented by purpose-built, industry-specific technologies that are defined by where and how that technology is used and what function it delivers. Simply put, information remains a critical deliverable and is the fuel for IoT devices. The device’s ability to identify itself (such as RFID tags that identify cargo), sense the environment (such as temperature and pressure sensors) or communicate (such as devices in ocean buoys that transmit environmental changes to the areas around them) requires information to be generated, communicated and/or used.

Although traditional IT infrastructure is capable of many of these tasks, functions that are delivered as purpose-built platforms using embedded technology, sensors and machine-to-machine (M2M) communications for specific business use cases signal a major change in the traditional concept of IT and the concept of securing IT.

“This is an inflection point for security. CISOs will need to deconstruct current principles of IT security in the enterprise by re-evaluating practices and processes in light of the IoT impact. Real-time, event-driven applications and nonstandard protocols will require changes to application testing, vulnerability, identity and access management (IAM) — the list goes on,” said Perkins.

“Handling network scale, data transfer methods and memory usage differences will also require changes. Governance, management and operations of security functions will need to change to accommodate expanded responsibilities, similar to the ways that bring your own device (BYOD), mobile and cloud computing delivery have required changes — but on a much larger scale and in greater breadth.”

Although the business use cases being identified daily are indeed innovative and new, the technologies and services that deliver them are seldom new as well — they are also rarely uniform in architecture and design. Each use case risk profile has specific requirements that may result in the use of old platform and service architecture with a new technology “overlay” to improve performance and control.

“This represents an interesting challenge for CISOs when delivering secure services for the IoT,” Perkins continued. “In some cases, it may be a ‘past is future’ exercise in evaluating mainframe, client/server, Web, cloud and mobile security options as part of an overall IoT business use case. Even out-of-maintenance systems such as Windows XP may still play a critical role for some industry infrastructure as part of an IoT security system. Security planners should not throw away their old security technology manuals just yet.”

In addition, says Perkins, CISOs should not automatically assume that existing security technologies and services must be replaced. Rather, they should evaluate the potential of integrating new security solutions with old. Simply put, many traditional security product and service providers are already expanding their existing portfolios to incorporate basic support for embedded systems and M2M communications, including support for communications protocols, application security and IAM requirements that are specific to the IoT.

According to Perkins, CISOs should resist the temptation to overthink security planning while patterns and solutions are still emerging. Rather, they should start small and develop initial security projects based on specific IoT interactions within specific business use cases. CISOs can build on these use case experiences to develop common security deployment scenarios, core architectural foundations and competency centers for the future.

“The requirements for securing the IoT will be complex, forcing CISOs to use a blend of approaches from mobile and cloud architectures, combined with industrial control, automation and physical security,” he concluded. “Fortunately, many of the security requirements for the IoT will look familiar to the CISO. The technologies and services that have been used for decades to secure different eras of computing are still applicable in most cases.”

Interested in learning more about the IoT? You can check out Atmel’s recent IoT SoMa panel on the subject here, Patrick Sullivan’s EELive! 2014 presentation and our extensive Bits & Pieces IoT article archive here.