Tag Archives: ATmega328P

SensorTape is a sensor network in the form factor of masking tape

Sensor deployment made as simple as cutting and attaching strips of tape.

Developed by students from MIT Media Lab’s Responsive Environments group, SensorTape is a sensor network in the form factor of masking tape. Inspired by the emergence of modular platforms throughout the Maker community, it consists of interconnected and programmable sensor nodes on a flexible electronics substrate. In other words, it’s pretty much a roll of circuits that can be cut, rejoined and affixed to various surfaces.


And what’s even cooler is that it’s a completely self-aware network, capable of feeling itself bend and twist. It can automatically determine the location of each of its nodes and the length of the tape, as it is cut and reattached.

As the neighboring nodes talk to one another, they can use their information to assemble an accurate, real-time 3D model of their assumed shape. Tapes with different sensors can also be connected for mixed functionality.

SensorTape’s architecture is made up of daisy-chained slave nodes and a master. The master is concerned with coordinating the communication and shuttling data to a computer, while each slave node features an ATmega328P, three on-board sensors (an ambient light sensor, an accelerometer, and a time-of-flight distance sensor), two voltage regulators and LEDs. The master contains the same AVR MCU, as well as serial-to-USB converter and a Bluetooth transceiver. The tape can be clipped to the master without soldering using a flexible circuit connector.


In terms of communication protocol, the team chose a combination of I²C and peer-to-peer serial. Whereas I²C supports most of the data transmissions from the master to slave, addresses are ‘assigned dynamically’ over peer-to-peer serial. This enables a fast transfer rate of 100 KHz via I²C with a protocol initialization sequence that accommodates chains of various lengths, up to 128 units long. (For testing, the MIT Media Lab crew developed a 2.3-meter prototype with 66 sensor nodes.)

Aside from its hardware, SensorTape has black lines that instruct where it’s okay to cut and break the circuits using a pair of scissors. As you can see in the image above, this can be either in a straight line or on a diagonal, which allows you to piece together the tape into 2D shapes just as you would when forming a picture frame.

Although still in its infancy, sample use cases of SensorTape include everything from posture-monitoring wearables to inventory tracking to home activity sensing. What’s more, the team has created an intuitive graphical interface for programming the futuristic tape, and it’s all Arduino-friendly so Makers will surely love getting their hands on it and letting their imaginations run wild. You read all about the project in the MIT group’s paper, as well as on Fast Company.

Maker creates his own barebones Arduino for $5

Don’t have $25 to spend on an Uno? Piece together your own board instead.

When it comes to the Maker community, Arduino has become the go-to board for anyone looking to bring a project to life. Despite its popularity and ease of use, Instructables user Gursimran Singh asks, “Why spend $25?” Rather than having to dig into his wallet, the DIYer decided to create his own barebones version.


The build starts out with a fairly involved bill of materials, including an ATmega328P to power the board’s logic, as well as another AVR chip to handle serial communication. These components are then combined to make a board based on the Beeduino DIY Arduino with a built-in programmer and serial interface. Interestingly, the Beeduino costs a claimed $6, while the Singh’s Gduino comes in a dollar less. Perhaps one estimate is off, or the Gduino author has cheaper part suppliers.

Either way, both projects are impressive, and good resources if you want to attempt to devise your own Arduino-like MCU. Both guides feature a section on how the board was etched, drilled, and components soldered to it. Though it has to be really cool to see something like this come together, the process seems somewhat time-intensive. $25 might be a reasonable price to pay for something already assembled depending on your project goals.


On the other hand, if you want to truly build a quadcopter from scratch, you could construct your own board and use it as an Arduino Uno quadcopter flight controller!

The RedStick is a USB board with an ATmega328P at its core

The SparkFun RedStick is a production version of the BadgerStick, a board you’ve probably seen at a recent tradeshow inside the BadgerHack Badge. 

Last year, the SparkFun crew developed the BadgerStick as a fun and interactive way for Makers to learn about soldering and engaging with various boards at trade tradeshows. Now, the team has refined the BadgerStick into something they’re calling the SparkFun RedStick!


At the heart of the new device is an ATmega328P running at 16MHz. Makers will take comfort in knowing that the RedStick is packed with many cool features, including the Arduino Uno’s Optiboot bootloader, its compact form factor, FTDI and the ability to be plugged directly into a computer’s USB port (no FTDI board or USB cable required).

What’s more, the board can be programmed using the Arduino IDE. Simply insert the board, select “Arduino Uno” from the menu and you’re ready to upload code. The RedStick boasts 14 digital I/O pins with six PWM pins, eight analog inputs, UART, SPI, I2C and external interrupts.


The SparkFun RedStick can be juiced up over USB or through its power input (which supports a JST connector). Additionally, an onboard boost regulator provides 5V to the ‘328P from an input range of 2 to 6V. While the RedStick does not included a battery charger, it can be powered over a single-cell LiPo or even a pair of AA batteries.

Intrigued? Head over to its official page, where you’ll find an in-depth overview of the board.

Humans can now be bioluminescent with this LED implant

The Northstar V1 is the latest device biohackers are implanting under their skin.

There are wearables… and then there are embeddables. The latter is technology you can’t necessarily take off because it’s implanted in your body under the skin. This seems extreme for most people, but not for a group biohackers who recently implanted a coin-sized LED device in their hands.


The Northstar V1 is the latest subdermal technology implant created by Grindhouse Wetware, a Pittsburgh-based collective comprised of biohackers and grinders. For those unfamiliar with the term, grinders are people who are part human, part machine and they share the mission of “augmenting humanity using safe, affordable, open source technology.”

The Northstar is a module with five red LEDs that light up for 10 seconds when activated by a magnet, illuminating the user’s skin. While a light up implantable doesn’t sound too appealing and worth cutting up your hand for, co-founder Tim Cannon says the Northstar is designed to show that things can be inserted safely and be usable under the skin.


The Northstar is coated with Parylene, which is employed in biotech to prevent the body’s rejection of the device. At the heart of it is an ATmega28P. A limitation to the unit, however, is its power. The implant runs on a CR2325 lithium coin cell and is not rechargeable. However, the Grindhouse team believes this simple gadget will pave the way for a more advance and functional Northstar V2 that will be rechargeable, have gesture recognition, Bluetooth capabilities and even deliver biometric data.

At the moment, V1 is purely for aesthetic purposes and has gained interest from the body modification community as a way to backlight body art. If you’re interested in becoming a cyborg, visit Cannon and the Grindhouse Wetware’s website.

[Images: Ryan O’Shea/Grindhouse Wetware]

Change the color of your shoes with your smartphone

Can’t find the perfect shoes for your outfit? No worries! This pair can change colors in seconds. 

Have you ever spent hours looking for shoes to match an outfit, only to never arrive at a decision? Well, French company Eram, digital agency Phoceis and startup BlueGriot may have come up with a solution… or sole-ution! That’s because the collaboration has developed a lineup of smart footwear, appropriately named #CHOOSE.


An earlier model consisted of an open toe sandal driven by an Arduino Micro (ATmega32U4), while the latest iteration — which we had the chance to see firsthand at CES 2016 — is a fashionable white low-top powered by a LightBlue Bean (ATmega328P). With an accompanying smartphone app, users can now change the color of their footwear to match their attire in a matter of a few seconds.

All the electronics are housed inside the sole. Communication is handled through Bluetooth, while optical fiber and an LED are tasked with illuminating different hues. There’s even a battery in each shoe, which can be refueled when placed on an induction-charging mat.


What’s more, the app even features a color scanner that enables a wearer to truly match the shoe to any outfit, a handbag or whatever other accessory. While clearly still in its early stages, could such footwear become the future of industry? After all, it’s only a matter of time before smart clothing becomes mainstream.

The good news is that you won’t have to wait too long to get your hands on some, as the company hopes to have them on sale by the end of the year. They’ll likely be priced somewhere in the ballpark of $150 to $200.


Riots is a plug-and-play wireless network of sensors and controllers

The Riots family is a low-cost, minimalistic and Arduino-compatible solution for remote sensing, monitoring and controlling your environment.

It all began when propellerhead Samuli Stenudd fearlessly went to battle against the jumble of wires. He could not fathom how cumbersome and laborious it was to create a useful device out of a kit or components, nor why he had to always physically connect a wire to it in order to program updates. As any engineer would, he decided to roll up his sleeves and tackle these problems head-on. Stenudd set out to devise a new way to easily monitor his environment and smart gadgets in an inexpensive, effective and minimalistic manner. And so, Riots was born.


The Riots family consists of a “Mama” and several “Babies.” An individual Mama is the gateway to the Internet and can manage hundreds of uniquely tasked Babies, which are interconnected within a mesh network. These nodes can also communicate with one another without any external control.

Thus far, fully-functional prototypes include sensors for temperature, pressure, light and motion, capacitive touch buttons, DC control and USB connectors.


To get started, simply attach the Babies wherever desired. Connect the Mama to the Internet and add each node to your account. From there, you can remotely link, manage, monitor and even reprogram new tasks for all family members.

For example, say you wanted to keep tabs on the humidity level inside your bathroom. Place a Riots Air on the wall and another inside the vent, and hook the Mama up to the web. These Babies could then collect and visualize real-time information on your smartphone. Other applications include recording energy consumption, tracking belongings, ensuring doors are locked, and even being informed when a loved one arrives home, among many other things right from your Internet-enabled device.


At the heart of every unit lies a Riots Core, which is equipped with an ATmega328P, an RGB LED and an nRF24L01+ radio module. The real magic doesn’t happen, however, until it is joined with a Riots Base to make it an actual Riots Product. The mesh network itself is completely expandable, and the Riots family is entirely open source and Arduino-compatible.

Programming and data are globally accessible via the Riots Cloud or locally through private wireless networks. The Riots Cloud stores data from all the deployed Riots Products, provides management features and a basic user interface. Beyond that, remote development, over the air updates and debugging of individual Riots Products can be done through the cloud as well.


Looking for an easy, affordable and open source IoT solution? Head over to its page on Kickstarter, where Stenudd and the Riots Instruments team are currently seeking $30,000. Delivery is expected to get underway in May 2016.


Maker creates tiny RC flamethrower

A tiny radio-controlled flamethrower… what can go wrong?

It goes without saying that nothing good can come of a tiny radio-controlled flame thrower, so it’s probably not the best idea to build one. Yet, we couldn’t help but share a recent project from “MAKE-log,” who has done just that.


Admittedly, its creator does warn operating the 13cm x 4cm x 8cm device at your own risk. The RC Flamethrower is fueled by a 35ml deodorant spray. A micro servo pushes down the can’s lever and actuates its valve, while a SparkFun Spark Gap Igniter (no longer available) helps generate the spark and deterministically spit out flames.

The remote is in the form of a Microsoft joystick, which is equipped with an an MCU, an RF transmitter and an LED to denote that radio transmission is taking place.


Meanwhile, the flamethrower itself is based on an ATmega328P and features a transceiver, a DC/DC boost converter for supplying 5V, two Li-ion 11mAh batteries in parallel, a pair of 5-bit RGBs and a Li-ion charger set to 300A. The SparkFun igniter is connected directly to the the Li-ion battery via MOSFET.

That all said, MAKE-log’s compact build does boast several safety interlocks and dons an informative interface. A 128 x 64 OLED display shows the flamethrower’s burn time and remaining battery levels, while a two LEDs and a mini 5V buzzer emit visual and audible warnings for the user. Red indicates fire mode, flashing blue lights suggest a loss of signal.

YOU SHOULD NOT recreate this on your own. We repeat, you SHOULD NOT recreate this on your own. However, MAKE-log provides a detailed breakdown of the build below, and shares the AVR-GCC code for the joystick here.

Create (minty) fresh beats with this open source synth kit

MintySynth is a hackable, Arduino-compatible synthesizer kit that fits neatly inside an Altoids tin.

A few months ago, Andrew Mowry embarked on a side project to devise a pocketable synthesizer/sequencer capable of fitting neatly inside an Altoids tin. The Arduino-compatible kit, aptly named MintySynth, originated with hopes of becoming not only an educational tool but a fun toy for Makers and music enthusiasts alike.


The open source and hackable device comes unassembled, and generally takes anywhere from one to hours to build. It should be noted that some soldering is required. Once complete, MintySynth can be used with its preloaded software or programmed just like an Arduino.

After receiving some feedback on his first design, Mowry upgraded the kit with several revisions including fewer parts, a simplified power supply, a battery life of 150 hours (10X longer than the original), an additional photocell, and the ability to be powered by an FTDI cable when the switch is in the “off” position.

The acoustic instrument-maker by trade, tinkerer by night chose to improve the MintySynth’s software as well with enhanced LED functionality, additional waveforms, the ability to improvise using the light sensor, and a “laser tripwire” mode, which triggers music/sound effects when a beam of light is blocked.

MintySynth’s preloaded software consists of a four voice, 16 step wavetable sequencer that allows you to play around with different instruments while controlling the tempo, swing, keys and scale. Once you’ve created a song, you can enter “live mode,” which enables you to change the pitch and voice of one of the instruments in real-time so you can jam along with the other three instruments. You can even save up to four 16-note songs, relooping them over and over or reloading each one individually for a total of up to 64 notes. If you want to program the synth yourself, however, you’ll need an FTDI cable since there’s no on-board USB.

In terms of hardware, MintySynth is based on the ATmega328P and has auto-reset so you can easily upload sketches just as you would to an Arduino Uno. The kit also features a few resistors and capacitors, five thumbwheels, a 1/8″ audio jack, a 28-pin DIP socket, a six-pin FTDI header, a 16MHz ceramic resonator, two LEDs, a six-pin jumper header, a three-pin MIDI header, five buttons and runs on a pair of AAA batteries.

“MintySynth was designed to be compatible with a variety of Arduino sketches and libraries, and a jumper is used to select audio output on digital pin 3, 6, or 9, so you can use either of the 3 available timers,” Mowry explains.

Intrigued? You can head over to MintySynth’s page or the Adafruit store to get your hands on one. Keep in mind, though, that it does not ship with an Altoids tin, so you’ll have to eat some mints first and then get to work. Fresh breath first, fresh beats after.

StandiT lets you build your own electric standing desk

Not only can this standing desk be controlled by smartphone and voice, it can sense when you’re near and adjust its height accordingly.

As if it wasn’t already common sense, research has found that remaining stationary at your desk all day is bad for your health. Increased blood pressure, high blood sugar, excess body fat around the waist, abnormal cholesterol levels and poor posture are among only some of the pitfalls of prolonged sitting. This has led to the emergence of standing desks throughout offices worldwide. And as great as those may be, what about all of the existing ‘dumb’ pieces of furniture?


Taking this into consideration, one Pensacola-based startup has come up with a simple yet elegant solution to the problem. StandiT is a modular, patent-pending system that can take ordinary desks or wooden tabletops and transform them into electric stand-sit desks capable of raising and lowering on your command. Designed with flexibility in mind, the product boasts an extremely easy-to-use interface along with a few different methods of control: a high-res OLED control panel, an accompanying smartphone app, voice control and proximity detection. When ready to get some work done, your desk will sense your presence and will automatically adjust to the right.


What’s more, its accompanying app communicates with the StandiT via Bluetooth and comes complete with a fitness tracking function to show how long you’ve been standing, how many calories you’ve burned, and reminds you when to sit down for a bit. And while resting on your tooch, the system will help to improve your posture, alleviate back pain, and enhance your overall well-being.


The real magic, however, is in its ATmega328P powered, extendable leg system. Each leg, which is made of aircraft-grade aluminium with a brushed anodized finish, can carry up to 100 pounds and ranges from 27” to 44.5” in height. The plug-and-play, Arduino-compatible platform ships in kit form, and takes no more than 15 minutes to assemble. Whether you want to use StandiT’s solid wood top, attach the StandiT legs to your existing desk or simply build your own, it’s never been easier to create a custom workspace.


So, are you ready to improve your work life with an electric desk? Head over to StandiT’s Kickstarter campaign, where its team is currently seeking $15,000. Delivery is slated for April 2016.

The Stepoko is an ATmega328P powered CNC board

The SparkFun Stepoko is an Arduino-compatible, three-axis control board that runs grbl.

SparkFun has just unveiled an entire lineup of CNC products, including a brand new board that can be found at the heart a sleek and bright red desktop router.



The SparkFun Stepoko is an Arduino-compatible, three-axis controller that runs grbl software and is capable of connecting to your computer to accept stepper motor commands. The board’s design and firmware are completely open source and works with Java-based cross platform G-Code sending application to translate commands.

“By just looking at the pictures, this board may look daunting but the simplest installation of the Stepoko consists of just plugging the stepper motors in, connecting it to power and to your computer! To top it off, we’ve designed the SparkFun Stepoko to fit and be secured inside of our Big Red Box as an effective enclosure option after a bit of milling to support the boards connectors and heatsink,” the team writes.

The board itself is broken down into two “hemispheres.” Stepoko’s right side is tasked with supplying power and system control, courtesy of the ATmega328P at its core. SparkFun has broken out all of the pins that are associated with the MCU and power supplies, and has included chart in silkscreen on the back of the board that matches the grbl pin functions to the Arduino pin naming convention. According to its creators, applying 12-30VDC to either the barrel jack or screw terminals (not both) and the Stepoko can supply up to 2.0A. Additionally, there’s a rail of screw terminals that function as limit, probe and e-stop connections.


Meanwhile, the board’s left side features three of the stepper motor drivers for the Stepoko. Each of the three-axis drivers are managed by a DRV8811 IC, which communicates with the ATmega328P via digital control signals that are able to set direction, enable the motor and enact a step. Internally, it has a state machine that matches the states of each motor necessary to get it to perform. Modifying the microstepping control switches on each driver provide you to finely tune each array to your specified likeness. All the work that each stepper motor driver provides is contributed by the grbl software that comes pre-installed with each Stepoko.

“Whether you are using the SparkFun Shapeoko on your own rig or on one our Shapeoko CNC Machine platforms you should be able to utilize this board to its full functionality without breaking a sweat,” the crew adds.


But that’s not all. The Stepoko can be found at the heart of the Shapeoko 3 — a heavy duty desktop CNC machine capable of routing designs in a variety of materials like MDF, wood and even thin aluminum. This device was brought to life in collaboration with Carbide 3D. Intrigued? Head over to SparkFun’s page to get your hands on the Arduino-compatible board and a mill our own.