Tutorials

Introduction to Joysticks

Today, I’m going to show you a little bit more of the joystick with an Arduino and what exactly a deadzone is. Let’s hop right in! A deadzone lets you see into people’s future and tell if they’re going to be the next Hitler or not. Wait, no, hold on. That’s the Stephen King novel. Let me start again.

Programming-wise, a deadzone is a region at the center of the joystick that is not recognized by the device. What’s this mean? On most joysticks, there’s going to be a small area where moving the stick does not result in movement of the device. This deadzone area varies from model to model, but it can usually be adjusted. Let’s play with that today.

A photo posted by Dan Royer (@imakerobots) on

Take a look at the joystick we get to play with. It’s fairly similar to the kind you’ll see on your XBOX or PS3 controller. It’s got an x-axis, a y-axis, and if you push straight down you get a button. You’ll remember that we used this joystick in our tetris game.
(more…)

Uncategorized

New level: Distributors & Resellers

We’re now ready to start supporting distributors and resellers. It’s a thrilling adventure for us to reach this new level. Marginally Clever is always scaling up and growing, so this seems like the natural next step.

Basically, a distributor is any brick & mortar chain. A reseller can be almost anyone, provided they meet the requirements. Contact us to sign up, and then start receiving discounts on larger orders.

As always, if you have questions or feedback, send it in. We live for your insights.

News Tutorials

Little Big Planet Sackboy faces with the Arduino Starter Kit

Today, we’re going to build faces using LEDs and a joystick. Previously, we’ve wired up LEDs and learned how to control individual lights, how to draw pictures, and how to use a joystick. Today, we’re gonna put them all together to make a set of emotions based on the direction we push the joystick. Again, we’ve got the debounce, so the emotion will stay on our screen until we push the stick in a new direction.

(more…)

Uncategorized

Post later today

I’m teaching my last class at West Point Grey Academy this morning, then testing a gearbox I had designed.  I’ll have a post some time later today.  Watch the twitter feed for an update.  Thanks!