Let's Make Robots!

programming

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

a$()=BTGetPaired$()

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?

Helps newbies to learn how to program
Now it is Arduino’s turn to open the secret of “Blink a LED” to us. Arduino is heavily supported by a huge community, and is well documented. Read more

Picaxe questions

I started with an Arduinno because I read about it in Make Magazine (so very recently). I am considering trying Picaxe, because it seems as though the programming will be easier and I do not have a strong programming background (read: Basic in 1984).

Two quick questions:

Helps newbies to learn how to program
   So far we’ve been talking theory, but now it is time to make things blink! You might have heard of “Hello World” term in programming. All that “Hello … Read more
Saves time and avoids many related coding mistakes.
I have been learning about programming for years. More recently, I have been taught that magic numbers or constants should not be hard coded deep in your program. … Read more

Programming :S

So I'm trying to build the Start Here robot. I'm just playing around with the programming at the moment and have got a tad stuck on it, at first it wouldn't rrecognise the USB cable but I fiddled around with it and after a while managed to get it to recognise the USB connection and loaded the programe:

high 4

low 5

high 6

low 7

Helps newbies to learn how to program
“Hey, Chapter numbers are in binary!” could you say. And, yes, they are! And they are bytes. And we can have maximum number of 255. Will we go so far? Who … Read more

robot programming toolkits

Hello, 

It has been a while that I have not done any robots programming, so I need to update my skills.

What is the most recent robotics toolkit library? There are carmen and mrpt.org - but they both seem kind of old? What is the newest of such software, with community support? Are there any new ones?

Also, I dont want to work with arduino, nor pic - I have done both and I want to graduate from both of them? What would you guys suggest? ARM???

Best Regards,

C.B.

Helps newbies to learn how to program
Let’s start with a basic understanding of what program actually is. Program is a set of instructions for microcontroller to follow. A particular program is … Read more

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" ;)?

Anyone using ROS?

Hello all, 

I just downloaded ROS and intend to begin learning it throughly. Unfortunately, I'm learning to use Linux for the first time as well. In the past I always used Matlab for everything because I was in school and licenses weren't an issue for me. Now that I'm in "the real world" and see how much Matlab costs, I'm ready to move on. Not to mention ROS seems to have alot of great people working on it.

Microcontroller Programmer

Hello Everyone!

I am currently thinking on moving from Picaxe to microcontroller as Picaxe isnt available except by buying outside the country and microcontroller in that way seems to be a cheaper solution.

After some research I discovered i need C knowledge which i dont posses. So i found out of BASIC just like Picaxe is.

Problem is: which programmer to use... I dont really want to buy one so I was thinking on a free tool that could program BASIC and then I could slowly move onto C.

Does anyone know of any "good" software that could do this?

 

Curiosity

Ya so a few topics I have a little gliches and I would want to know bout them. Firstly, instead of a picaxe or arduino board can i use a simple breadboard. IF yes, then please suggest a simple microprocessor, how to program it, AND WHERE TO PLUG IN THE USB OR RS CABLE TO??? Cause my conception is that the female usb jack is built on the picaxe board. Secondly, Suggest any other sensor than the SHARP. Any sensor even an audio one will do. Thirdly, I would appreciate if someone actually explained all the special components of a picaxe board. Thanks in Advance. :)

Ethical Bots?

I found this article to quite interesting, though I don't think we are quite there yet.

http://www.physorg.com/news/2010-11-ethical-robot-video.html?ref=nf

 

Picaxe code

Hi all,

I've been busy over the past few days studying the Picaxe manuals and trying to understand the coding. I keep reading about how easy it is and it's even called basic, but my problem is, I don't understand any of it.

My electrical and mechanical skills are enough to get me by, but this programming makes no sense to me what so ever.

I've Googled in an attemp to find online tutorials, that doesn't seem to help either.

Can anyone explain how they learned the Picaxe basic coding? That might help me.

Thanks,

The Bromz.

Picaxe, programming and peanuts

Hi brain boxes,

I'm a bit stuck at present. My problem is, I know nothing about programming. I don't know much about anything really, but programming is really low on my list of knowledgable subjects.

I'm trying to programe my picaxe chip and have no idea what I'm doing, I tried eating some peanuts, but even that didn't help. I still have no idea what I'm doing!

So, I thought someone may have stumbled across an online tutorial of somekind. If someone knows of such web page, if they could let me know and I'll give them a peanut.

Thanks fellers,

The Bromz.

Two I2C-slaves ==> i2cslave-command repeated?

Hi,

In the near future I'll have to control 2 MD03 motor controllers via I2C. Now, I don't get much about the i2c-commands integrated in PicAxe µC's so I'd like to ask how I should talk to them. Should I issue the i2cslave-command everytime I want to speak to one, or should I issue it twice (euch with another address) in the beginning of the program, or is there another way that I don't now about?

Thanks!

microcontrollers and programming

ok i would like to have a go at using a microcontroller and programming it and so on

im in the uk what is a good cheap one ?

or a basic cheap one? i dont have much money soo any links would be very nicee thank you or any ideas what i should do

oh and software and shiz

 i havnt had any programming experiences

I am going to tell you how to use the same cable you use to program your Arduino with to program a Picaxe. I am sure this could also be used the other way around … Read more

Tips for making a robot multi-task

I have a robot, and my robot has a brain. However, my robot's brain can only think about one thing at a time. I can set I/O pins high or low, and they will stay there until I change them, but that isn't going to work. Here's the deal:

Doubts about software development for robots

Hi LMRtians

After doing some programming for my first robot I was wondering (maybe because of my computer science background) if someone uses some kind of notation or software development methods at the hour of programming the robot.
 
When you are programming simple things like the Start Here Robot (http://letsmakerobots.com/start) it is easy to program a sequence of actions:

While
  Condition 1: gosub Action 1
  Condition 2: gosub Action 2
End

State transition table

This weekend when I should have been fixing my tiny bot, or making a prototype force sensor, or testing some of the dozens of parts I ordered recently, instead I pulled an old rc car out of the junk pile and wired it up as a robot!

wallracer

Robust Autonomous Robot Localization Using Interval Analysis

hi


i'm gonna do my project on autonomous robot.... and i got a ieee abstract.....

here goes....

Abstract :

Ultrasonic range finder SRF04

Hi,

I am a beginner. 

I have got a PIC18F252 to run a line follower robot. I would like the chip to run an sfr04 ultrasonic range finder SRF04.  basically if the SRF04 detects an object infront of it, it then turns away.  I am programming in C and am stuck. 

Has anyone got a programme or could somone please point me in the right direction.

 Any help would be great

 Thanks 

Need help "translating" a C program to work in Arduino

I need an expert in C/C++ programming to help me translate a fairly complex piece of C code into Arduino specific code, perhaps even create a library. The original author of the code can't do it, but we have his permission to do it, as the code is released for hobby use only.

 The code is very interesting for many Arduino based robots, lots of people will benefit if we can make it work.

Please reply here or PM me if you're interested. Thanks.