Let's Make Robots!

picaxe

Update 3/27: Per request, I've attached the code I used for this guy. -------------------------------- This is my next little object-avoider, made from spare parts … Read more

Boosting speakers

Once again, I beseech the robot gods for some info ...

Speakers: How can I boost the sound/tune command from a picaxe to a speaker?

I've got a small 8ohm speaker that I've used in the past, and it works great (as long as the motors aren't droping the voltage) but  I want to boost my output. I've also got a much bigger 1 watt speaker I want to use. How would I boost it?

drive a parallel display using a 8574 port expander
Using a
Any parallelly interfaced character LCD you get these days will have a Hitachi HD44780 chip or a different one compatible with the HD44780. These usually have 14 … Read more

not sure what a pull-down resistor is ...

let the noob questions continue:

is this a pull-down resistor?

pulldown-resistor.gif

And if so:

-Is it just to keep a pin "low"?

-would i use it on any out pins as well?

 

Sharp IR Sensor with PICAXE-40x1 Oddity

I am using both a PICAXE-40x1 and a Sharp IR proximity sensor.

My issue is: when I download my code to the PICAXE chip the program editor throws an error saying "cable unplugged, floating pin, etc." When I pull the ground wire on the sensor, the code will download. Clearly an issue with the sensor or how I have it wired. Per the sensor schematic, I have power, ground and signla all wired in.

Has anyone run into anything similar?

Thanks.

What jack do I use to program my 'axe?

Hey All,

Is this the jack that I need to connect my picaxe to my pc? The diescription doesn't say anything about connecting ...

picaxe trouble

ok,

I just got a new picaxe 28x1 for christmas. I was trying it out and the pins don't seem to be working.

For example:

I connected a led to output pin 3 and ground and uploaded the code

main:

high 3

pause 5000

low 3

pause 5000

goto main

For some reason this code doesn't seem to do anything as the led just stays on constantly. and, yes I did wire the anode and cathode the right way

Is there something wrong with my chip, or am I just doing something incredibly obvious and dumb? 

 

PICAXE C?

Someone once mentioned it is possible to program a PICAXE in C. Is this true? Anyone have any experience with this? This seems odd since I thought all a PICAXE was is a PIC with a BASIC interpreter.

Just curious...

Suggest me a motor controller

I am researching motor controllers and am looking to try something new. Previously I have used the Dimension Engineering Sabertooth 2x5 and am looking for something in the same ballpark.

The controller will interface with a PICAXE 40x. So please feel free to shoot me some suggestions.

Thanks,

David

Sort resistors
Using a
The goal of this project is to automatically sort resistors in 66 different tubes, 60 tubes for the E12-series: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82 ohm … Read more
Avoids objects, recognizes objects, and more. Breaks
Using a
Newest Update: Oh my, its been a long time. Well, I'm finally back to programming the little guy after many hours of trial and error. Unfortunantly, he had a bit … Read more

Temperature Sensor?

Ok,

Right now i am planning to build a autonomous robot that puts out fires. It will go up to a tiny fire (about 4 inches) and then drop a tiny bucket of water (2 1/2 inches wide, like the ones that came with the old version of robosapien) on the fire. The bucket will be put on a platform attached to a servo. when the servo turns the bucket will pour. I am going to do this all with picaxe. I know how to use picaxe, and coding in basic.  Anyways what my real question is, Is there a type of sensor that i could use to find the fire and stop before it? Could I use IR somehow?

Picaxe 28X1 firmware A.4 has a bug, get a replacement.

As discovered by members of LMR, there is a bug in one version of one kind of Picaxe.

Phil and Limpa described their problems in two different nodes on the site. This thread aims to bring all info together, so we can write a walk through about it.

 


Phil wrote:

 

Recognising Buggy Version: 

Rolls, waits for me to tell it to do something
Using a
When I started R3M3, a month ago, I was using a BS2 for the core intelligence. Aside from price, I enjoyed the simplicity of the Basic Stamp. However, I have since … Read more

How, When, Damn it, Why do servos jitter?

I've had a lot of trouble with servo jitter lately, I seem so have solved the problem but I'm not sure why it has worked.

servos.jpgAt first I thought it was the power supply being spiked, no amount of decoupling capacitors solved the problem.

I thought it was software and although my code was improved, the jitter continued.

Because I was using optic sensors, I thought fluctuations in the light is causing my inputs to give false readings. Still no luck and I stubbed my toe in the dark.

plays his drum, provides his own soundtrack, simple object avoidance
Using a
Update: After getting a little attention for this bot, i decided to teach him a new tune. His objectivism avoidance still needs some work, but that's really the … Read more
Tips on EEPROMS, i2c, scratchpad and variables
The picaxe 28X1 has some very cool memory features that can be used to free up program space or to give your robot a more convenient user interface. This post … Read more
Sometimes you want to be able to go at different speeds, usually to make serial connections. Here is a snap on / off way of setting it up
Update: Note that the newer Picaxe models can change a lot by commands like setfreq alone :)   This is only for dummies like myself using Picaxe 28Xx standard … Read more

hardware not found error

Hi,

I run the picaxe programming editor on windows XP in a virtual machine (parallels desktop) on my OS X laptop. The serial connection to the picaxe 28x1 works fine when I'm just communicating using hyperterm or when the picaxe sends debug info.

When I want to upload a program to the chip, it usually takes 4 or 5 tries to get it right. The larger the program, the more it fails to load.

So i decided to use the command line compiler for mac OS X. Now the uploads are very stable only a new problem appeared.

Continuous Rotation Servo & Picaxe

Ok, so I finally got all my gear set up to build robot numero uno, but Im goin friggin nuts trying to control my continuous rotation servos from parallax. Im using a picaxe 18x to produce the code, but no matter what pulsout or servo commands I use, my servo's only go clockwise.I NEED them to be able to go counterclockwise  for my differential drive train to work right. I have read every post on LMR about servos and have tried a lot. I have read their parallax data sheet and that they should respond based upon the pulse width, but no go.

Sort of walks on 4 legs
Using a
My wife was looking through some video tapes, searching for something as irelevant as our wedding! To my happy surprise she found an old robot project of mine, my … Read more

Picaxe 28 and servo question.

Hi all :)

Im just getting started in robotics and just joined this forum. I got inspired by the great "start here" project you have here. I am starting with a similar project for my first robot, but I would like to make a few changes. Instead of using motors to drive the robot I plan on using servos modded for continuos rotation. The robot will have 4 servos. 2 for moving around, 1 for panning the head and the last one for either operating some sort of manipulator or panning the head up and down.

I have some questions though, which I hope you can help me with:

How to find documentation for your Picaxe products.
I think Picaxe is a great product. But somebody should kick their web department. Sometimes people buy a Picaxe product in another shop, and do not get the manual … Read more

Servo and picaxe: need resistor ?

hello, i'm trying to use a servo with my picaxe. I tried it on Arduino before, and it worked just connecting the pins at the right position, without resistors.

now i just connected the same way on the picaxe, and it doesn't move.. I then remembered that in the "start here" project, a resistor was used.. So the question is: is it necessary? why do i need a resistor? and how do i wire it ?

Another thing that is probably messing up.. i have the darlington chip there.. shoud i remove it?

 

thanks :) 

Driving servos

Here ( http://letsmakerobots.com/node/80 ) Frits had mentioned that either Arduino or PICAXE can control such and such number of servos. I'm pretty new to microcontroller world, so maybe my question will sounds a bit stupid... but I don't really get what we mean by saying "can only control X servos"? Does it actually mean, "platform X can have up to N serial outputs"? Because, AFAIK that's what servos are, aren't they?

Now, I can understand that PICAXE has also limitations due to the built-in Basic interpreter; but why Arduino?

Serial to Ethernet adapters work with picaxe?

Will a picaxe work with a standard serial to ethernet adapter?  I thought it would be nice to be able to connect it to my laptop via ethernet since my laptop doesn't have a serial port.  I have a usb-to-serial adapter but I'm always forgetting the damn thing and since I'm a network admin I've always got ethernet cables lying around.  I've done similar things with reprogramming dead routers remotely (have modems connected to the serial ports and just dial in to reprogram)

 

Problems with i2c (and an LCD display)

So, i just wasted an evening trying to make an LCD with i2c work with my picaxe.

I connected the SCL and SDA of the board to the other end on the LCD. (of course not crossing them :P)  BTW on the picaxe the pins are: Digital input 3 = SCL; Digital input 4 = SDA, am i right ?

If so, other question is: do i need the two pullup resistors ? i've read somewhere that they're already there on the board. But if so, the pin should be high most of the time, shouldn't it ? testing with my voltmeter reads 0V. 

PS i have the picaxe 28x1.