InfoHole A blog by Gordon R. Page

13Jul/100

Arduino Mega 2.4Ghz R/C Receiver Code

Since posting this video, a few people have been asking for the source code. I don't have that exact code available still, but here is some code which takes 3 input values from an R/C receiver and outputs them to the screen.

I took this code from another of my projects, and just deleted all the non-relevant code. I may have inadvertently deleted parts of the code that I shouldn't have, so if you have come across any errors just leave a comment below with details and I'll fix it.

#include

//these store the current transmitter positions/values
unsigned long transmitterThrottlee=0;
unsigned long transmitterLeftRight=0;
unsigned long transmitterForwardBack=0;

void setup()
{
pinMode (8, INPUT); // connect Rx channel 1 to PD7, which is labled "D7" on the Arduino board
pinMode (9, INPUT); // connect Rx channel 1 to PD7, which is labled "D7" on the Arduino board
pinMode (10, INPUT); // connect Rx channel 1 to PD7, which is labled "D7" on the Arduino board

Serial.begin(57600);
Serial.println("Done with setup");
}

void checkTransmitter()
{
transmitterThrottlee = (pulseIn (9, HIGH, 100000))/10; //read RC channel, wait max of 0.1 seconds for pulse
transmitterLeftRight = (pulseIn (8, HIGH, 100000))/10; //read RC channel, wait max of 0.1 seconds for pulse
transmitterForwardBack = (pulseIn (10, HIGH, 100000))/10; //read RC channel, wait max of 0.1 seconds for pulse
}

void loop()
{
checkTransmitter();//check the data being received by the transmitter.
Serial.print ("data: ");//if we decrease altitude we should check for landing, and slow our decent when we get close to the ground.
Serial.println (transmitterThrottle);
Serial.println (transmitterLeftRight);
Serial.println (transmitterForwardBack);

delay (200);
}

Filed under: Robotics No Comments
6May/100

Robot Balancing On A Ball

Here's a cool video of a robot balancing on a ball. Presumably it uses a few gyroscopes, magnetometers, etc.

20Apr/100

UploadScreenshot.com Stats

I implemented a custom stats tracking feature on UploadScreenshot.com a couple of months which allows me to track image load data, even without pageviews. The system works by loading each image dynamically and updating a database with the relevant information.

Below is a screenshot of the current site stats, click on it to enlarge it. It shows approximately 15,000 image loads per day, viewed by ~9,000 unique people, across ~220 unique websites.

Click here to view full size

The site also received a bit of love in the design department in the last couple of weeks, with some CSS clean up and a new logo.

Click here to view full size

Update April 23rd, 2010:

Click here to view full size

17Apr/100

Office Pics

I just snapped a few pics of the office. It works really well for us, with plenty of space to work on our various projects. It is usually very bright in the office thanks to the 6ft+ tall windows, but today was one of very few overcast days here in Austin.

Click here to view full size Click here to view full size Click here to view full size Click here to view full size Click here to view full size Click here to view full size Click here to view full size

7Apr/100

UploadScreenshot.com Firefox Add-On Usage Grows!

The Firefox add-on for UploadScreenshot.com went public (out of beta) a week or so ago, and the number of daily downloads has since shot up to around 90+ from 7 per day. As a result, the active daily user base for the add-on has increased and seems to be further increasing rapidly.

Add-on users represent a small number of the visitors to UploadScreenshot but account for almost 1/4 of all uploads. Further add-on usage growth will result in more site growth, and vice-versa.

Click here to view full size

We completed the API last week, which allows others to develop applications that upload to the site. Now we're working on a chrome extension so that we can extend our reach to more users.

Update April 13th 2010:
The number of daily active users of the add-on continues to grow, with 928 today!
Click here to view full size

Update April 17th 2010:
The number of daily active users of the add-on continues to grow, with 1248 today!
Click here to view full size

4Apr/100

Left 4 Dead 2 On PC

I've not played any games for about 6 months, but decided to download "Left 4 Dead 2" from Steam on Friday night. Since then, and it is only Sunday now, I've played for about 16 hours.

The co-operative team play makes for a very fun and engaging experience. You can't just run around and do your own thing in this game, you have to keep an eye on your team mates and work together in order to beat the levels.

Below are two game play videos that I recorded of the game-play. The 5mbit/sec versions will load fairly quickly for most users, but they don't depict the game's graphics very well. The 15mbit/sec versions depict the graphics quality much more accurately but require a fast (20mbit+) internet connection, or a lot of buffering time.

Be sure to click the full-screen button on the video player.



Filed under: Gaming No Comments
2Apr/100

Google Fiber, Hoping It Comes To Austin

I'm really hoping that Google Fiber will come to Austin, TX. It looks like we certainly had a lot of people contact Google to express their interest.

Bandwidth in Austin is disproportionately more expensive than Dallas and Houston which have some of the cheapest bandwidth in the country because they are very well connected cities.

I'd love to setup a new build office block here in Austin which offered bandwidth to small businesses at affordable prices. Lots of small companies like mine need to upload and download the occasional 5 gig file and it takes hours on the overpriced cable connection.

Click here to view full size

31Mar/100

Switched Back To Vista From Ubuntu

Ubuntu is great for a free operating system, back in December 2009 I switched my home computer OS from Vista to Ubuntu 9.10 to see if I could get used to it enough to be able to switch to it on our work machines.

Unfortunately there is just too much that Windows makes much easier to do than Ubuntu, and needing to edit Adobe Flash files, etc means that I can't make the switch to Ubuntu until there is more supported software.

Hopefully in the next few years switching to a free OS will be a more realistic option.

Click here to view full size

Filed under: Computing No Comments
4Feb/100

Stats On UploadScreenShot.com

All uploads to UploadScreenShot.com now include statistics, simply click the stats link above your image. Stats show the number of loads, referring domains, and bandwidth usage over a 30 day period.

Here is what the stats page looks like:
Click here to view full size

Here is a link to a stats page for one of my screenshots: http://www.uploadscreenshot.com/stats/45689/5906957

31Jan/1026

How Not To Get In

This woman woke most of my neighbors up this morning, so it seems only fair that I post the video on the internet.

She was outside banging on the glass door for about 15 minutes shouting to the woman who showed up on the other side of the glass to let her in. She was saying something about having spent the night in jail, and that the woman was her best friend. It sounded like some cheating with someone's boyfriend was going on, but that is only my best guess based on parts of the shouting.

The action happens 25 seconds in to the video. I captured this video, please do not copy it to other sites, just link back here ( http://www.infohole.com/blog/videos/ouch ). Thanks.

Filed under: Videos 26 Comments