Snapshot: Work in Progress

Over the summer, I’ve been working on restructuring much of the robot—both to reduce its physical size and to reduce its power requirements.

A short (and incomplete) list of changes:

  1. Switch from old laptop motherboard to an Artigo pico-itx computer
  2. Move the Kinect down—empirical data shows that it does not need to be placed very high to get useful readings
  3. Elevate the base (by using bigger wheels): I’ve had troubles getting over bumps due to low ground clearance
  4. Change microcontrollers from an ATMega328P to a ATMega2560
  5. Add an LCD for quick feedback on important things like battery voltage and motor speed

Source code is available for download—there’s a Git repository at tpmo.im/robot.git.

git clone git://tpmo.im/robot.git

Alternatively, browse the repository over the internet here

Pictures:

Replaced the computer and moved the kinect. It's a lot smaller now!

Read More Leave a Comment

August 15, 2011

Categories:

Robotics

College Visits: Cornell University

I went and visited Cornell University today – step one of my multiday trip exploring the Northeastern Universities.

Images after the break.

Read More Leave a Comment

June 20, 2011

Categories:

Uncategorized

Website Design update!

I’ve been playing around with this design for about a week. Tell me what you think about it?

Read More Leave a Comment

May 31, 2011

Categories:

News

Arduino Quine

One of the things programmers tend to learn how to do in every language they know is how to write a quine – that is, a program that echoes its own source code out to the user, without reading the source code directly. This is an inherently recursive operation, so language-based tricks are needed to get it to work.

The Arduino is programmed in C++, however, there is no std::cout. Instead, user input is usually through the USART on the Arduino, and as such needs to initialize and print out from that port.

Traditionally, C/C++ quines are written using the preprocessor and the printf command, as it allows for simple replacement of strings with characters, thereby overcoming the recursive operation. As such, I use the sprintf command below (Arduino’s HardwareSerial doesn’t support formatted prints, sadly enough).

Read More Leave a Comment

May 21, 2011

Categories:

software

Robot updates

So I finally got around to taking some pics of the robot (as it is now):

Read More Leave a Comment

May 10, 2011

Categories:

Robotics

 
Content-Type: text/html