Let's Make Robots!

ADC

Analog/digital signal output from laptop?

Apologies if this has been covered here before, but so far my searches haven't pulled much up.  I'm thinking of a few uses for an old and somewhat defunct laptop I have lying around, and most of them would involve sending information from the laptop to control components like motors directly.  (The idea is appealing since it'd be using the proessing power of the computer for most things, and also because I have more experience in that realm... not to mention potentially being cheap, since I already have the computer!)

Can't program picaxe 20m2

Hi,

Two days ago, i downloaded a simple debug ADC program onto my picaxe 20m2 to get adc values from an IR phototransistor. Code: main: readadc b.3, b0 debug goto main The program downloaded successfully and a window opened showing the adc values. Then I closed that debug window and made a few changes to my IR phototransistor circuit.

CHEAP-O WAY TO MONITOR ADC VALUES IN PICAXE

Fellow members,

Does any of you know of, or use a way to monitor the ADC values produced by a Picaxe analog input pin in real time?

As far as I know, the only two ways to monitor these values as they happen are: 1) with an LCD in the circuit or 2) on the programming PC via the download cable.

I was wondering f there was a cheap-o version, something you could breadboard easily and with discrete components... Ideas anyone? Or am I looking for the holy grail?

Thanks, all!

Cheers,

Andrés

Xbee ADC

Ok, so I'm working on a plan to bring my little brother's little Niko RC car (you know, these models that suddenly break down for no reason at all after three charges) back to life. The plan is:

Floating ADC inputs

 

Just been reading about floating analog inputs. I understand it a lot more than I did, thanks to you guys on here, but I'm still not 100% on the subject.

What I really need to know, is...

Do all the ADC inputs on my Picaxe 28X1 project board need jumpers on them? Even though I'm not using any analog inputs.

Thanks Lads,

The Bromz.

Beware of floating ADC inputs. They may play tricks on you

Last night I was building my next bot, Hammer, and I got to the point where I had all the electronics more or less completed and some mechanics done too. With some help from my dear friend hot glue I managed to build a shaky test platform. I hoped I could test Sharp IR distance sensor and motors. Maybe even do some simple navigation stuff. Here are a couple of pictures how Hammer looks like right now.


Front

ADC and strange readings

Hello guys,

I ran this sketch that would simply read an ADC port and print it out to my pc. It went just fine and results were pretty consistent, something like: 300 300 300 300 300 299 300 300 299 300 300 and so on....

But when I use Serial.print(analogRead(whatever_pin)); in a larger sketch, results are very different, something like: 300 290 305 288  310 315 306 296 and so on. This "larger" sketch has 3 interrupt service routines, and the hardware setup has 3 different chips and a loudspeaker.

ADC and PWM

Hi guys,

I've finally found time to test te ADC and PWM capabillities of my picaxe microcontroller :)

Sorry for my bad english, but I'm a little bit tired ;)

 

EDIT:

added an SRF05 ultrasound sensor for some cool FX ;)

Wavecrafter chirps and beeps at you to let you know about things and stuff.
So, a little while back I made a posting about adding a low-cost ADC module to micros for various reasons. At the same time as I was testing this concept out, I … Read more
I've found this multifunction chip on ebay,  the official webpage is http://www.web4robot.com/ I've just bought a pair, I'll come back to post with my … Read more
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