Archive for the ‘Robot’ Category

Cloud Robotics Hackathon!

Posted by Erin, the RobotGrrl on Tuesday, March 6th, 2012

I was at the Cloud Robotics Hackathon this weekend in Montreal and it was a BLAST! There were tons of teams participating, learning about robotics, programming with Arduino, and there was a MakerBot, some Naos, and a Darwin-OP there! Holy macaroni!

My favourite part at the end was listening to the experiences that people had programming their robot. There were lots of new people to robotics, so it was great.

I worked with Marek over the weekend! He is a super web dev guru, and was also on the Edubotics team at Startup Weekend Montreal. We came up with a pretty crazy project, under the team name of TEAM LIGHTNINGBOTS, because lightning comes from the cloud!

We ended up winning the Montreal part of the Cloud Robotics hackathon! Here is our project’s video!

As a quick summary, we made a network of cheerleading robots for an educational math game that can post the scores on MyRobots, then display them on a robotic scoreboard. Let’s take a look at this in more detail!

Cloud Robotics Hackathon - TEAM LIGHTNINGBOTS!

Here is the basic setup. There is the math game on the iPad. This app is actually a web app with a very thin native client layer to send data to the robot. It works by sending HTTP callbacks, which the app parses, then sends a packet through the Redpark Serial Cable, which Learning Pet (blue RoboBrrd) receives, parses, then does an action. You can input two digit numbers into the app because there is a specially-tuned delay to do so. You get an unlimited number of tries for answering, and no hints, since this is a basic version of it (proof of concept). The green dots below are showing the number of questions completed and needed to level up. The game repeats once you level up. The game is functional in any modern web browser, so you can check it out HERE! Marek was the one who coded this, and it was developed beforehand at Startup Weekend, so nothing new here.

Cloud Robotics Hackathon - TEAM LIGHTNINGBOTS!

Now for the new part: when Learning Pet (blue RoboBrrd) receives the data from the app, it also broadcasts the message out through its Xbee to the other two robots. We use the XBee Network Protocol for this, developed by Kris Kortright, but we use my uno-compatible fork of it.

Both Impy (orange RoboBrrd) and MANOI receive this data through their XBees, and are able to act out the actions as well. When you get the answer right, they do a little action of encouragement (MANOI swings its arms, RoboBrrds flap their wings, and Impy changes its eyes green too). When you get the answer wrong, they shake their heads- MANOI looks really scary doing this so you don’t want to get the answer wrong. When you level up, they all do a crazy dance celebration.

You can grab their code on Github here!

Now for the next new part: when Impy (orange RoboBrrd) receives the data from the mesh, it communicates with the computer which is running a Processing application. In the application, it creates a tally of the questions answered, and the number correct, the enthusiasm value (which is just how drastic changes in RoboBrrd’s sensors were), and the “brain power”.

The brain power is determined by the function:
(correct/tries)+enthusiasm+(100*levelnumber)

Cloud Robotics Hackathon - TEAM LIGHTNINGBOTS!

This data is then uploaded to MyRobots every 15 seconds and then cleared out for the next upload batch.

One of the tricky parts was figuring out how to optimize the sending and receiving of packets on Impy (orange RoboBrrds) end. It turned out that we had to listen before we send, or something like that, just to make it work a bit more reliably.

You can grab the code for the Processing sketch on Github here.

Cloud Robotics Hackathon - TEAM LIGHTNINGBOTS!

Here’s the next new part: To have the results of the game displayed on a live scoreboard, we used the DFRobot RobotShop rover as a scoreboard. I attached it to the bottom of a soapdish, which gave the treads enough clearance, and some popsicle sticks for support. Marek added the numbers and faceplate to it, and coded it up in Python. The code pulled the live “correct” number score from MyRobots and then called the Arduino to update the motors accordingly. It was pretty sweet!

Cloud Robotics Hackathon - TEAM LIGHTNINGBOTS!

Cloud Robotics Hackathon - TEAM LIGHTNINGBOTS!

All in all, the whole system worked great. It’s truly the ultimate social robot network, because we were able to combine so many robots together!

There was a lot of stuff that we developed that we didn’t use or mention though. For instance, Marek created this web nodejs application that can show the same webpage to all clients, and also send tcp messages to everyone connected. CHECK IT OUT HERE! We were going to use this originally as a sort of orchestra or central command console for the robots. He also made a Twitter analyzing program that looks for happy faces or sad faces in the streaming Twitter firehose. The data is being plotted on his MyRobots page for it, which is really cool.

On the first day I worked on getting Learning Pet (blue RoboBrrd) going with the ADK. For some reason it would work fine, I would get up for a break, and then not work. So that night was the turning point in the hackathon when we went with the idea we have now.

The idea we implemented is pretty cool though, since it both sends data to MyRobots and it uses it. We also are using basically 3 clouds in the 1 project, being:
1. The math game web app
2. The local mesh network
3. MyRobots

All in all, it was a blast! Huge thanks to Marek for his web skills!

I’m definitely looking forward to volunteering at this hackathon next year. Thanks to the organizers for making such an awesome event. SEE YOU IN THE CLOUD!

Posted in: Fun, Programming, Projects, RoboBrrd (thx Adafruit!), Robot, WyoLum Progress.

Building Learning Pet

Posted by Erin, the RobotGrrl on Monday, September 26th, 2011

Here’s what you may not know about Learning Pet: It was created in 4.5 days.

When I heard about the Open Hardware Summit Scholarship contest, I couldn’t let this opportunity pass. The prize would do more than wonders to get this idea flying. For example: A 3D printer would be able to be bought and used to create parts for kits. Also, we would have been able to order some custom PCBs online with the winnings, too.

When I heard about the contest later on that evening was when I started (Sept 8). I created the structure and beak mechanism all in that one night :)

IMG_3047

The first day (Sept 9), the mini RoboBrrd character was crafted, and all servos and LEDs tested and functional.

11 - 1-2

The second day (Sept 10), the modular electronics board was created. Featuring a slide-out drawer for the Google Android ADK :) This was also my birthday! Hooray!

IMG_3085

Third day (Sept 11), all of the circuits and wiring was complete. Had some pitfalls during the day trying to use different connectors, but switched to the ones you see below in the photo. The plugs are great, really sturdy!

IMG_3102

Here’s a timelapse of some parts of the build:

Watch on YouTube

Forth day was for creating the software and documentation, and submitting to the contest rather early. My train was leaving the next day, so I had to get everything done ahead of time :)

We didn’t win the contest, or place in the top 3. Somehow. So this became yet another unobtained opportunity, but I can definitely say that Learning Pet was a competitive entry. The documentation webpage was a force not to be reckoned with compared to the other entries. Learning Pet has a purpose that would benefit society. Furthermore, I created a demo prototype for the video about my idea.

Maybe some people will think that it was crazy to pour in all this dedication to one robot. If it would have won, it wouldn’t have seemed crazy. Success is defined as getting up one more time than you’ve been knocked down. I’ll still be continuing with Learning Pet, the idea is exciting and education desperately needs an effective use of technology in the classroom, rather than more technology in the classroom.

Thanks again to everyone who left a comment on my Google+ during the build progress! And thanks to the FIRST team that I mentor, COSI, the gang from FMCG, and all my friends for voting! :)

Also: I used some parts (the large servo and two RGB LEDs, specifically) from the parts that Adafruit Industries sponsored for the original RoboBrrd, so thanks to them also ;)

Posted in: Projects, RoboBrrd (thx Adafruit!), Robot.

RobotGrrl’s Robots at Maker Faire NYC 2011!

Posted by Erin, the RobotGrrl on Saturday, September 17th, 2011

RobotGrrl’s robots will be at Maker Faire NYC Saturday and Sunday!


picnikfile_xR_jIn

Featuring my robots!
MANOI- the hockey playing robot
RoboBrrd- the virtual food eating robot
Dogcow- the robot that is driving around randomly
Mini RoboBrrd aka Learning Pet- learn how to sort numbers from lowest to highest *and* blast UFOs!

We will be located in Zone A, the Robot Square!

Also, check out Jonah and Katherine’s Scrapyard Challenge talk! It will be an excellent source of information about creating an event in numerous places in the world. Truly amazing and inspiring, and they may mention RIP Banff too!

We hope to see you there!

Posted in: Projects, Robot.

Learning Pet – Thanks for voting!

Posted by Erin, the RobotGrrl on Friday, September 16th, 2011

Thanks everyone who voted for Learning Pet in the Open Hardware Summit Scholarship! It was much appreciated! We didn’t place in the top 3.

Here was a fantastic interview by Ian Cole, thanks so much Ian!



The future of Learning Pet is that there will be time spent on apps4arduino to make some money in order to be able to purchase some laser cut parts, 3d parts, and boards.

Here are some stats of the contest that I collected from the webpage:

- 51.9% had a prototype
- 48.1% showed a demo in their video
- 51.9% had a website
- 3.7% released their hardware files under a license for the open hardware definition
- 22.2% had their hardware files available
- 14.8% had a bom
- 5.6% released their source code under an osi license
- 22.2% had their code available
- 40.7% had documentation
- 22.2% had additional videos
- 59.3% said what they would do with the prize if they won
- 18.5% demoed while at the ohs

You can check out all the documentation for Learning Pet here:
http://robotgrrl.com/learningpet

Thanks again!

Learning Pet will be at the Maker Faire this weekend, so be sure to say hi! (or whatever hi is in robobrrd language)

Posted in: Android ADK, Projects, Robot.

Learning Pet – VOTE! (Open Hardware Summit Scholarship)

Posted by Erin, the RobotGrrl on Wednesday, September 14th, 2011

VOTE FOR LEARNING PET IN THE OPEN HARDWARE SUMMIT SCHOLARSHIP!

Introducing Learning Pet, a mini RoboBrrd with a very large theme- education! Learning Pet enriches lessons by creating a physical interface to interact with the virtual world.



We demonstrate a number sorting game, where the student interacts with the robot to blast virtual UFO’s with the lowest value. Correct answers are celebrated with a wing flap, and each level-up with a dance. We use the Accessory Development Kit to interface with mobile devices while away from the computer.



On LearningPet’s webpage, it has all the detailed information about the hardware, software and design. There is also a handy checklist at the top, so that at a glance you can quickly see the important facts.

It would be awesome if you could vote for Learning Pet in the Open Hardware Summit Scholarship! VOTE here!

Here is a YouTube playlist of all the videos!

Posted in: Android, Android ADK, Programming, Projects, RoboBrrd (thx Adafruit!), Robot.

RoboBrrd Food – Using the Redpark Serial Cable

Posted by Erin, the RobotGrrl on Thursday, July 21st, 2011

Remember a while ago, when I was able to send data through the MFi SkyWire cable? It turns out, now there is a cable designed for hobbyists, with an SDK, by Redpark! They were very kind enough to send me a cable, so I figured that the first thing to try would be to feed RoboBrrd!

Here is a video where I explain everything in detail!

View video on YouTube

Here is a link to the code on Github!

What is next? For WWDC 2011 legacy sake, I will probably try to drive DOGCOW robot with the iPhone’s accelerometer. This time though, the cable would be attached to an XBee so that it will be wireless. :D

Posted in: iPhone, Programming, Projects, Robot.

Dogcow + iPad

Posted by Erin, the RobotGrrl on Tuesday, June 14th, 2011

IMG_1734 - Version 2

Dogcow now works with the iPad without the use for a middleman in between! It goes straight from the App to the XBee for Dogcow to receive.

Here is a video explanation:

Or view the video on YouTube.

The process begins with an App using the ExternalAccessory framework:

IMG_1749 - Version 4

Then goes through the SkyWire cable:

IMG_1747 - Version 2

RS232 is converted to TTL:

IMG_1752 - Version 2

Which is then sent through the XBee:

IMG_1757 - Version 2

The XBee is powered by 3.3V, using an Arduino as a simple power supply haha:

IMG_1758 - Version 2

And Dogcow receives with the XBee:

IMG_1741 - Version 2

Making this whole process really cool!

IMG_1764 - Version 2

Here are some resources that may be helpful:

Also, as per Technote #31:

Dogcows, by their nature, are not all dog, nor are they all cow, but they are a special genetic hybrid. They are rarely seen in the wild. Since dogcows are two dimensional, they will stand facing a viewer “on edge” to avoid being seen.

IMG_1736 - Version 2

:P

Posted in: Projects, Robot.