Let's Make Robots!


Has anyone ported Bill Porters Easy Transfer for Raspberry PI?

I *REALLY* like Bill Porter's Easy Transfer library for Arduino.  Yes, I've Goo-oo-oo-gled this, but have not found any hits on Easy Transfer (Bill Porter's Easy Transfer, as opposed to that MickeySoft product)  for Raspberry PI.  


I would Love to be able to move a struct { }  from Arduino to Pi, just as easy...

Code Post - Interfacing Arduino and Python

This is something I've done by hand at least ten times and always seem to lose it so I've decided to post it here. It is an easy way to debug and test stuff will developing software for the Arduino (or any Microcontroller really). There is a python code that sends string messages to the arduino over serial based on which arrow key on your keyboard is pressed. There is also an Arduino code that listens for these messages, then repeats the message back to the PC to make sure it went through.

Read RFID tags from the Parallax RFID reader on the Raspi
How to connect the Parallax RFID Serial Reader to the Raspberry Pi safely. Using a Logic Level Converter from SparkFun to step down the 5V serial from the reader … Read more

Three 08M2s and a Pi?

Hello! I'm a complete Picaxe n00b, but I have read quite a bit online, so hopefully my ideas here are not entirely inane.

I have been playing around with a Raspberry Pi as the brain for a small two-wheeled differential drive robot. It's very simple, but it more or less works.

Some software help with Bluetooth modules

I got tired of operating "blind" when working with those inexpensive serial bluetooth modules, so I wrote a utility that helps with testing them as well as reprogramming the name/pin/baud.  

Serial monitoring


Does anybody know of a decent freebie transparent serial monitor? I've been having some trouble with processing and arduino, (see this), and I'd like to be able to compare what processing and the arduino terminal are sending so I can find the problem.

Thans in advance.

Talk to my computer through Serial?

Long time no see LMR!!!!

This semester was my most brutal yet, but the rewards have been priceless!


Anyways, back to the robots,

So my current project is to create a virtual indentity that I can have a VERY simple conversation with. His name is Sergei, cause everyone needs an awesome Russian buddy. But I find myself being a bit stuck on one thing: Serial Communications


What Im really trying to better understand is how to make the Arduino respond to my serial input. 

Processing-Arduino serial port problem

I've picked up an arduino to start working with, and have currently slung together a bit of code to toggle the on-board LED over serial. I've also modified one of the Processing demos to use as a GUI to turn it on and off. However, my arduino is on COM6, and if I try to change the port on Processing to anything other than 0, it comes up with an error. I know the arduino code works, as I've tried it with the arduino serial terminal, however the processing app doesn't want to play ball.

How To: Arduino to Parallax Serial Terminal

Well folks, I finally got around to doing this...

read raw gpa data from gps module to arduino

Hey guys I am trying to read raw data from a gps module using TTL communication on RX pin 0 on the arduino mega. i dont know how to program it since i am total noob at arduino programming. 

can someone help me out please.

Matlab and PICAXE comms

Anyone out there who knows how to make Matlab work with serial communications?

I'm in the early stages of writing a matlab program to do inverse kinematics for a leggy kinda robot, and I want to get it to send the numbers to a picaxe via rs232 - seems fairly straightforward?

My test program is behaving wierdly



Picaxe = serial('COM4');

set(Picaxe,'BaudRate', 9600, 'DataBits', 8, 'Parity', 'none','StopBits', 1, 'FlowControl', 'none'); 




B = fread(Picaxe)

Number up to 180 from C# serial print mapped to servo movement

Okay, I'm thinking the title probably isn't very descriptive but it's late and it's the best I can do. Basically, I've written a program in C# (I shall unveil this on here in a few days) that ouputs a value between 0 and 180 based on certain conditions. I want to be able to take this value and print it over the serial and read it at the Arduino end as an integer, so i can just have myServo.write(int).

At the moment, in C# I'm using sp.Write(int.ToString()); but I can use the same command to write a byte array and a char array.

Arduino Serial Question


I was wondering if anyone could tell me how to send a string to the arduino and just echo it back to the serial monitor but also create a NEW LINE.  Right now I got it to take a string and echo it back exactly but every time I send the string form the computer to the ard it just tacks the echo from the ard right back onto the end of the previous data that is showing in the monitor.  


For example: 

I get this:

hello from arduino!!hello from arduino!!

Newbee: Arduino MEGA and ultrasonic URM37 V3.2

I tried to start with developing something with my new Arduino (DFRduino
Mega 2560).

serial communication on picaxe

i have been looking to do something with the easy radio module (forgive me if i do not use the correct terminology) but i have know idea how to use the serxxd, sertxd, serout and serin commands the explanations on the picaxe website wern't very useful . so do i just tell it to send out a random number ( with which command?) and then on the recieving end say if (again, i don't know which command) = then the same random number, then do what i want it to do. wouldn't that mean i have to put 

if this = this do this

if this = this do this

if this = this do this

Arduino to processing

So I have a Sharp IR sensor connected to my Arduino, feeding to my pc the values of its analog input, via the Serial connection.

To do this, I'm using the Serial.write() command. I want to be able to read these values into processing, but when I use the Serial.read() command in Processing, the values it picks up are nothing like what the Arduino Serial monitor is giving me, and are unaffected by the IR sensor.

What am I doing wrong, and how can I get processing to read these values from the IR sensor?

Any help is appreciated.

tts 256 text to speech serial data

If anybody knows this it would be great help to me. on the tts 256 data sheet it says on start up that the tts256 transmits serial data to host processor, but Im not sure what data it is sending for me to receive. Im using a picaxe microcontroller.

Bluetooth control from your Android phone or tablet

Hello, I am the author of Mintoris Basic for Android phones and tablets.  I recently added Bluetooth serial communications to the language with the intention of making it very easy to communicate and control robots.

Here is a short example program in Mintoris Basic which connects to a device then transmits data from the phones accelerometer.  So as you tilt the phone or tablet in any direction, the amount of tilt is sent to the Bluetooth device.

dim a$(0)
dim c(4)

' Get a string array of all the paired Bluetooth devices


Help with Hserin/Hserout commands?

I have 2 Picaxe 28x1's that will need to communicate serially with one another while each performing tasks such as PWM, reading ADC, simple outputs. As I understand, the Hserin and Hserout pins/commands allow the Picaxes to recieve serial data in the background, store it somewhere, and read the stored data whenever necessary. I need Picaxe A to do tasks, and then send 2 variables to Picaxe B without interupting B's program flow. B needs to be able to look up the variable sent from A whenever necessary and continue on. How would I connect the 2 Hserin/Hserout pairs on each Picaxe?

28X1 Pin 7 (Serial Out) Used as Normal Output??

Is it possible to use pin 7 of the Picaxe 28x1, which is normally used in the download circuit, alternately as a normal output that could in my case drive a single LED? If so, what would be the code for it?

Picaxe Serial Communication Through Prog. Socket??

Hey, I'm wondering: If I have 2 Picaxe 28X1's that both have their own programming sockets, after programming them, can I use a male to male audio cable and connect their sockets, and send information from one to the other with serout commands? One 28x1 sends info to the other, no data is sent back, so only on serial line is needed. Is it possible, and how would I implement it?

Using an RF receiver/transceiver pair along with a wireless camera to process the images and send commands to a mobile robot

I would like to create a setup I will be using for a lot of my upcoming robots. A small wireless camera that will be ultimately outputting through USB to my computer. The computer processes the video and sends commands to the robot via RF. I guess the serial connection will be no more than 1900 bds. How can I coordinate RF and image-processing in a single program for autonomous navigation/other tasks (I can almost hear GroG saying "MyRobotLab" ;)?

pins specification

i need to know the pin configurations of usb,serial,and parallel ports of a computer.....someone make me understand about the micro processor DDR,registor,address,etc evrythig related to a micro processor..

Problem with Ultrasound Sensor

Hello LMR.

I am working on a current project but seem to be having a ridiculous amount of difficulty implementing an SRF02 Ultrasound sensor. I am using it in serial mode and communicating with an Arduino Duemilanove. The problem is not in the wiring as I triple checked that.

The adruino is supposed to send 2 bytes to the SRF02 [ address, command ] and then receive 2 bytes in response giving the distance measured by the sensor.

Tracks human faces using a webcamera and two servo motors to pan and tilt
Using a
This is my first time using OpenCV, an open source computer vision library developed by Intel Corporation.  It wasn't too hard to get setup or use OpenCV in … Read more

ISP or Serial programming an Arduino

I am the proud owner of an uBotino board by Robot-x. I do not own a USB-to-Arduino cable (FTDI with auto-reset). However, I do own computers with good old fashioned serial ports.

So I think I'm gonna build a serial programming circuit. Would the classic "Picaxe" level-correcting schematic work in this case?

* a voltage divider to shift down the signal from my PC from ca 11V to 5V;
* a series resistor in both data lines to limit current;

Serial RFID reader troubles

I recently purchased the seeedstudio serial RFID reader for 125khz tags, but I cant really understand the datasheet. I am having trouble figuring out how I am supposed to interface it with my picaxe. 

Here is the product:


And her is the datasheet: