Tag Archives: Arduino-Compatible

Show off your colorful side with the Arduino-compatible MangoCube

MangoCube — which recently made its Kickstarter debut — is a pocket-sized, Arduino-compatible development board powered by an ATmega32u4 microcontroller (MCU).

photo-main

Created by London-based Maker Bhargav Mistry, MangoCube provides developers with an uber-mini, stackable header-friendly board that comes in three versions: MangoCube LEO, MangoCube BLE (Bluetooth 4.0) and MangoCube Wi-Fi. Additionally, it can be found in a selection of five vibrantly colored cases, each of which allow a Maker to express his or her personality.

e51323e8e181a606bc716389d7b661aa_large

“If you think Arduino is fun to program but wish your development board was small in size, cool in appearance and easy to carry in your pocket, then MangoCube is for you.” Mistry shares.

3e56f8b5698ba7d1740c55a64c8f53bc_large

In order to develop the MangoCube, Mistry specifically developed an Arduino-compatible board, aptly dubbed LeoBoard. The dev board is equipped with an Arduino Leonardo bootloader pre-installed on the chip, enabling MangoCube to be fully-compatible with Arduino software and programming.

MangoCube, which is powered by either a USB via PC/laptop or external 5V batteries, can be used in a wide-range of applications ranging from sensors to remote control capabilities, as seen below.

1875b45e102e814cbe9ae458b5b9cddf_large

128b15131dd598712b0ca8da514abc3e_large

af2d4ac4bce06364becd4051c728d548_large

Apart from the colorful exterior enhancing its aesthetics, the hard shell ABS case protects the core board. MangoCube’s case boasts some cool features like holes for lanyard, keychain and mounting on uneven surfaces, which making it super easy to carry around.

This small case can also include a Bluetooth or a Wi-Fi board. According to its creator, this extra functionality of wireless communication makes MangoCube a perfect choice for any portable or wireless project. The ATmega32u4 based project, which is currently over on Kickstarter, has already well-exceeded its original £3,000 ($4,815) pledge goal. Interested in learning more or backing the MangoCube for yourself? Head over to its crowdfunding page here.

Aquaponics and hydroponics sensor platforms for Makers

Cooking Hacks, the open hardware division of Libelium, has launched two new sensor platforms that automate control and maintenance tasks in aquariums and in gardens through wireless connectivity and using open-source APIs. Designed for Makers, the new IoT solutions are based on Arduino, and include specialized sensors to measure parameters vital to aquatic life in ponds and fish tanks, or for indoor and outdoor gardening.

indoor_plant_4_big

Powered by an ATtiny84 microcontroller (MCU), the Arduino Uno-compatible Open Garden platform consists of three separate kits equipped with sensors to maintain healthy growth, despite whether plants are located indoors, outside or in water. A suite of sensors, ranging from humidity and temperature to light and soil moisture, monitor plants for optimal care wherever they are situated. The platform’s actuators can control irrigation, as well as activate lights and oxygen pumps. A hydroponics kit is also available, which includes both pH and conductivity probes.

montaje_arduino_gateway_open_garden_small

Open Aquarium has been designed to help Makers care for their fish by automating the control and maintenance tasks that are typically required in tanks and ponds. This newly-unveiled platform monitors water factors such as temperature, pH and conductivity. In addition, the fully Arduino-compatible system has the ability to measure water levels and leakage, as well as deploy actuators that can feed the fish, regulate water heating / cooling, activate pumps to change water or administer medicine, and control light intensity to simulate day and night cycles. The sensors send information using wireless interfaces such as Wi-Fi, GPRS and 3G.

open_aquarium_representative_names_small

Each product comes with a complete open source API to easily control the board through an ATmega328 based Arduino, as well as a web application that allows users to easily access and visualize relevant information from a browser or iPhone/Android device.

“We design connected technology using open source code to help makers discover, improve, and scale new sensor-based solutions for the Internet of Things,” explained David Gascón, CTO at Libelium.

Interested in learning more? You can check out the official Open Garden page here. Readers may also want to browse through some of our previous articles on open source agriculture, including “Vertical Farming with Arduino,” “The Internet of Things, Stalk by Stalk,” “Smart Urban Aquaponics in West Oakland,” “DIY Farming with Atmel and Arduino,” “Open Source Aquaponics with APDuino,” “Agricultural Monitoring with Atmel AVR
,” “Arduino-Based Farming in Maine” and “Building a DIY Moisture Monitor.”

Microduino-Joypad is an open-source 8-bit game console

The crew over at Microduino Studio has just released a new gamepad in honor of the Nintendo Gameboy’s 25th anniversary.

If you recall, the company had launched the popular Microduino platform back in September 2013, where the small, stackable boards — powered by ATmega328P and ATmega644PA — had garnered over $134,000 in its initial Kickstarter campaign.

photo-main

“We achieved success with the unique Upin27 interface, compact size, rich expansion boards as well as many applications. Over the past year, [the] Microduino community has been growing rapidly. Now, we have nearly 10,000 players worldwide,” a company rep writes.

315888f3cb63e15977f866b9b856a511_large

Paying homage to the iconic device’s 25th birthday, the team has now debuted the Microduino-Joypad, an 8-bit multi-functional game console capable of playing all-time classics ranging from Tetris to Snake. The open source gadget will allow Makers to relive some of their greatest childhood memories of clicking away at those giant buttons on a vintage Nintendo handheld.

0f7e2b23d50679438b4abc2716021109_large

To capitalize on this growing group of creative individuals, Microduino introduced this open-source gaming platform to hopefully cultivate another community that will innovate and share their product and ideas.

“The best part is that players can develop their own games according to their preferences. In addition, we also specially establish a community web page for you, making it easy for you to communicate,” the team emphasizes.

ef41bb686b74897a32bcb4cb552809d8_large

Not only is the Microduino-Joypad a game console, the integrated UPin27 interface allows for 30 different Microduino modules to be attached to add to the device’s functionality. As the Joypad’s Kickstarter campaign describes, the machine is “a flexible, interesting device capable of DIY as well as unlimited expansion possibilities.”

The Joypad’s abilities range from being able to to control a quadcopter or play a few levels of the latest Angry Birds installment; as a result, the versatile device could truly carry out nearly any task you could dream up.

96048fc9e26cf4d9070eb4716dd21b7b_large

According to the team, Microduino now maps all types of single-chip computers to UPin27 — including those AVR powered — covering almost all the existing popular applications.

Microduino Studio is currently seeking further funding to secure their supply chain and certify that they will be able to manufacture a full run of devices in the coming months. For more information about the Microduino-Joypad or to back this technostalgic device, make your way over to their official Kickstarter page here.

‘Entrapment’ comes to life with this Arduino-compatible laser trip wire

Straight out of the ‘90s movie Entrapment, crowdfunding veteran Patrick Thomas Mitchell has created a system of laser trip wires designed to keep any area secure.

256599ae694360fe72dd65b4f59c0ba5_large

After a recent launch on Kickstarter, Mitchell has announced that his project is complete and production ready. A 3V 5mW red laser module is the focal point of the Arduino-compatible device. These types of lasers can be focused to a thin, strong beam, or widened, weaker range to cover a larger area.

Upon powering the laser via a wall outlet and installing a regulator board, the Maker built his ever-important adjustable laser mounts. “The laser mounts have many adjustable axes, and can easily be mounted to almost anything,” he adds. To signal a trip, Mitchell incorporated a deafening siren that notifies the user of a security breach.

Mitchell included four different modes of operation for this design. Each one can be adapted to a different type of security for the laser trip wire set. If an [Atmel basedArduino were installed, it would control the programs and the inputs/outputs that they require. For instance, to trigger the machine in Program #2A, “You can connect this output to your Arduino with ease to trigger an operation when motion is detected/a change of light (such as a shadow) is introduced to the face of the board.”

083f8864cb090661bf5f12db6108dce1_large

“The more lasers that you have, the more area that you can cover. There are four sensors to choose from. You only need one, but the more the better. Bounce lasers off of mirrors to create a maze. Break one beam, and you’re toast!”

Sean Connery himself would be proud of this Maker project! For more information on how to help fund Patrick Thomas Mitchell’s latest design, check out his Kickstarter campaign here.

Building real-time monitoring for IoT device state

You may have a couple Arduinos, or billions of IoT devices connected in a single instance. A common need today is the requirement to detect when devices are turned on and turned off, also known as device state. And, monitoring the device state of connected devices and machines in real-time is called presence.

In this blog post, we’ll walk you through how to use presence to monitor IoT devices and hardware connected with PubNub (for both Java and JavaScript).

PresenceIotDevices

Why You Need to Monitor Your IoT Devices in Real-Time

IoT hardware comes in all shapes, sizes, and prices. But despite their differences, monitoring device state is essential, and we need to know exactly when they’re online and offline. Say you have an (Atmel based) Arduino hooked up to your apartment doorbell for whatever reason. Your Arduino goes offline, the pizza man is standing outside, and you’re not eating. Or maybe the situation is more dramatic. You may have hundreds of IoT devices hooked up to manage your farm. Keeping tabs on those devices is vital for the health of your farm, and you need to know when they go offline.

Device Monitoring Using Presence

We’ll first walk you through using Presence for IoT devices with Java, then move onto JavaScript. With both, you’ll first need to sign up for a PubNub account. Once you sign up, you can get your unique PubNub keys in the PubNub Developer Portal. In the developer’s portal, click to enable Presence. Feel free to play around as much as you want in our free Sandbox tier.

Check out our simulated Presence demo to get a better idea of how Presence can be used for real-time monitoring of Internet of Things devices.

Java

Step 1: Presence and here_Now() are two features of PubNub that update device or user state in real-time. Whether you choose to use JavaScript or the PubNub Java Presence SDK, the output for Presence is the same. You will get an output in this format:

{"message":"OK","status":200,"uuids":["uuid1"],"service":"Presence",
"occupancy":1}

where “uuids” contains a list of the uuids online and occupancy gives the number of online users.

I will be using the code feature to see ‘who’s there?’. All you need to provide is the channel name, and then check if there is anyone on that channel. The code sample below is basic usage.

pubnub.hereNow("my_channel", new Callback() {
     public void successCallback(String channel, Object response) {
         System.out.println(response);
     }
     public void errorCallback(String channel, PubnubError error) {
         System.out.println(error);
     }
 });

This will output the devices that are online which is identified by the UUIDs. In order to consume this information, all you need is to modify the callback function a little. The following code shows you how:

Step 2:

Callback callback = new Callback() {
	public void successCallback(String channel, Object response) {
	    String temp = response.toString();
	    int start = temp.indexOf('[');
	    int end = temp.indexOf(']');
	    for(int index = start+1;index<end;index++){
		    if(temp.charAt(index)!=','){	
		    	uuid1 = uuid1 + temp.charAt(index);
		    }
		    else{
		    	System.out.println();
		    }
	    }
    	String replaced = uuid1.replace("\""," ");
    	String[] uuidlist = replaced.split("\\s+");
    	for (String tempstring : uuidlist){
    		System.out.println(tempstring);
    	}	
	}
		
	public void errorCallback(String channel, PubnubError error){
		System.out.println(error.toString());
	}
};
	
	public void herenow(){
		Pubnub pubnub = new Pubnub("demo", "demo");
		pubnub.hereNow("my_channel", callback);
	}

This code, modifies the information received by the hereNow function, and stores and prints it in an array called ‘uuidlist’. In this manner, you can now use this information according to your requirements.

JavaScript

Step 1: The PubNub JavaScript Presence feature is an optional parameter used along with the subscribe call in JavaScript. The code sample below is basic usage:

pubnub.subscribe({
     channel: "my_channel",
     presence: function(m){console.log(m)},
     callback: function(m){console.log(m)}
 });

The presence feature will output the devices that are online as identified by their UUIDs, along with their timestamp, an action that indicates join/leave/timeout and the occupancy of the channel. This information will be displayed in the console.

But what if you want to consume this information by publishing it to a screen or store it somewhere? The following code lets you do just that.

Step 2: Now we’ll bring the presence to life with JavaScript

var deviceList[],
devices =[];

pubnub.subscribe({

    channel: 'my_channel',
    presence: function(message,channel){
        if(message.action == "join"){
        	devices.push(message.uuid);
    		deviceList.append("<li text-align:
    		center>" + message.uuid + "</li>");
      		}
        else{
          devices.splice(devices.indexOf(message.uuid), 1);
          deviceList.find(message.uuid).remove();
	}
 }
});

Here, we define a custom function for presence which basically uses the different actions of a presence event that could occur, such as join, timeout and leave.

  • If a ‘join’ occurs, we append the UUID to the list of devices that are online.
  • If a ‘leave or a timeout’ occurs, we remove that UUID from the list of list of devices that are online.

You now have the online users, both in an array called ‘devices’ and also as list printed on a page.

This way, you can now be updated on the different devices joining and leaving your network in real-time.

You can check out the PubNub JavaScript Presence documentation here.

Additional PubNub Presence Resources

Connecting multiple boards together with ChainDuino

After a highly successful Kickstarter campaign, the ChainDuino project has entered its final stretch of crowdfunding.

Arduino-Board1

Michael Tedeschi originally created the ChainDuino after realizing that he wished it were simpler to connect multiple Arduino Uno (ATmega328p) boards with readily available Cat5 cable. To get the ChainDuino idea off the ground, he set a crowdfunding goal of $2,500, which has well exceeded by raising over $8,800 to date.

According to its site, the ChainDuino is a daisy-chainable, Arduino-compatible development board that enables Makers to easily connect multiple boards together with standard Cat5 cable. The boards communicate using built-in RS-485 circuitry, and share power using passive PoE+ over the same Cat5 cable. Tedeschi’s design operates on an open source platform and allow news boards to be added to the chain simply by programming them with the Arduino IDE and plugging them in.

877041e6400bef8afb97debe8ca20f62_large

Tedeschi was fascinated with the idea of using an Atmel-based Arduino to monitor data from multiple locations simultaneously. “I needed a simple way to connect microcontrollers together to focus on the functions of each node, instead of wasting time solving how to connect the nodes to each other.”

Some have questioned why Tedeschi did not adopt wireless technology for the ChainDuino project, but he explains, “While I do find wireless gadgets fascinating, I have always been more of a hardwired fan when it comes to permanent installations.” He reveals he is also a proponent of powering remote devices over Cat5, also known as Power over Ethernet, or PoE.

afe482b0627509e5522cf028a47fcf55_large

Tedeschi has found that up to 25 boards can be linked using his system and has successfully tested the unit at a mammoth length of over 1,600 feet!

Upon reaching his funding goal, the Maker will first and foremost be using the money to fill Kickstarter backer’s orders of the ChainDuino. He will then look to begin developing an enclosure and further prototypes. He also has thoughts of adapting his design to work with either an Arduino Mega (ATmega1280) or an Arduino Pro Mini (ATmega168).

The board layout is loosely based on the Arduino Uno (without the USB):

  • Microcontroller: ATmega328P
  • Operating voltage: 5v
  • Input voltage: 7-28v DC
  • Digital I/O:14 pins (6 pwm)
  • Analog Inputs: 6
  • DC each I/O: 40ma
  • DC for 3.3v: 150ma
  • DC 5v onboard: 500ma
  • Clock speed: 16 MHz

Additional features include:

  • RS-485 half-duplex MAX485 chip onboard (pins 0,1,2)
  • RS-485 terminating & bias resistors selectable with dip switches
  • 28v DC switching regulator supplies 5V up to 500ma
  • VIN pin on Arduino header disconnected by default to protect some shields from > 12v (enable with simple solder joint)
  • PoE+ support for 24v DC power over Cat5
    passive PoE pins (+) 4,5 and (-) 7,8
  • I2C pullups onboard, disabled by default (enable with solder joints)
  • FTDI headers onboard
  • ICSP header onboard
  • Daisy-chainable via RJ45 ports or IDC connectors
    (insulation displacement of 24-26 awg wire)
  • WS2812b RGB LED onboard (pin 13)

For more information about the ChainDuino, you can head to the project’s Kickstarter page.

This 3D-printed wearable is larger than life

Maker Zack Freedman was frustrated by the subtlety of the current wearables on the market. In opposition of current trends, he set out to develop a smartwatch that stood out from the slick wearable crowd, and with the SmarTwatCh he did just that.

img_20140719_000337

His entire wristwatch case was 3D-printed and filled to the brim with high-tech gadgets. Aside from a few basic features, this one-of-a-kind wearable boasts a laser, a flashlight, and a fully-functional Breathalyzer. The device also includes a ‘TV B Gone,’ which in Freedman’s words “sends the ‘off’ command for pretty much every television in North America, one after another.”

img_20140719_000508

The Arduino-compatible unit can also control PowerPoint presentations and Google Glass. As Freedman so nonchalantly told Hackaday, “The only thing better than a wearable, is a wearable that controls a wearable!”

In the future, Freedman contemplates adding a sensor system or a control platform to his SmarTwaCh, but until then, the gadget’s future remains undecided. “What’s the the future of the project? Who knows? The future is a weird place and I can only hope to make it weirder.”

If you want to read more about Zach’s creation, you can see a full breakdown over at his site.

PopPet is an Atmel-powered DIY bot kit

PopPet – which recently made its Kickstarter debut – is described by its creator as an “expandable, customizable and easy-to-assemble” robot kit powered by the Atmel’s ATmega8 microcontroller (MCU).

photo-main-2

Designed by 19-year-old Maker Jaidyn Edwards, the Arduino-compatible DIY kit claims to differ from other platforms as “she is packed full of personality” – yet only slightly larger than a credit card, making the robot easy to tag along.

One of the prominent features of PopPet is its ability to be customized to suit you. You can easily swap out the look of PopPet with interchangeable faceplates and LED holes.

“Ages young and old love the look of PopPet, just a simple smile can do so much for adding personality to a robot.”

72f662edfac558565c65f31baa2d24db_large

The creator reveals that PopPet will be an open source robot, enabling Makers to create their own faceplates, add-ons, wheels and anything else imagined. For those seeking a wider variety, all the necessary files to produce your own will be provided.

“Not everyone has access to a laser cutter, so there will also be slightly modified files available to fit the tolerances found on most 3D printers,” a PopPet rep explains.

c0c84c6fcb012e3551185792c1d4ad1d_large

According to its Kickstarter page, PopPet is pre-loaded with a basic obstacle avoidance routine.

dbe5b9bc4b3604f11aa804e3a7b8ad1a_large

Aside from Atmel’s ATmega8 microcontroller, key technical specs and features include::

  • Input voltage range: 5.4V ~ 9V
  • Low dropout voltage: 250mV @ 500mA, 450mV @ 1A
  • Onboard high-performance dual 2A independent MOSFET H-bridge motor driver
  • PWM motor speed control
  • Bluetooth module interface (standard Otani Electronics Bluetooth module)
  • Onboard USB to serial chip, compatible with Arduino
  • MOSFET anti-reverse circuit
  • Power/Signal Interface available on all IO

Interested in learning more about the Atmel-powered PopBet? You can check out the project’s official Kickstarter page here.