Let's Make Robots!

interface

A custom Pi shield or an Arduino?

As more and more people get a Pi they are asking how to interface it to their robot. I do not own a Pi but I looked at the GPIO pins available for interfacing. Apart from general digital I/O pins you have I2C, SPI and Serial interfacing available. I assume there is a library or something that allows these pins to be easily access from within the Linux operating system.

So the question becomes do you just use another MCU such as an Arduino to provide the necessary I/O functionality or do you use a custom shield?

Interfacing yor robot to your PC using Gobetwino (can work with any MCU)

I am currently working on a project where I need to teach my robot to "see" using an ultrasound sensor. In particular it must find and collect drink cans on a playfield and return them to a specific location.

To make the programming easier I wanted to take the sensor output from the robot and display it on the computer as a chart. As I am a terrible programmer I did a quick google search and came up with Gobetwino.

Serrxd - Oh god nothing is happening

Trying my hand at making a computer interface for a PICAXE28x2. Plans are for it to send serial data through the programming cable and for that data to be interpreted and acted upon by the picaxe. To test how this serial communications works, i've set up the following code on the picaxe.

 


interface:


    serrxd b0
    if b0 = %00000001 then
    sertxd ("Recieved")
    end if

    goto interface

 


The Wii Nunchuck controller, might be a cool way to control your robot wirellesly, has a joystick, two buttons and an accelerometer inside. Related Links: Nunchuck … Read more
Allows you to input keyboard commands into your picaxe
Using a
So one thing that I have been wanting to do is connect a keyboard (PS/2) to the Picaxe. This is the first step to a whole slew of applications. Control Robots with … Read more

Interface Arduino w/ Sharp IR sensor

I have a Sharp GP2Y0A700K0F IR sensor that I want to connect to an Arduino decimilia. The data sheet says to use (3) wires for connection (pin 1 to ground, pin 2 to voltage, and pin 4 to analog pin) but the sensor has a 5-pin housing. Should I find a 5-pin female to connect with? or is there a better way to make the connection. Please help! I have been searching for how do this interface for a while with no success....my first robot. Thank you.