Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
LinkBack Thread Tools Display Modes
Old 19th October 2006, 12:50 PM   (permalink)
Default Analog to digital converter

After reading the 10 digits from 18f452....i dnt know how to make use of the 10 bits to decide whether to initiate an interrupt or not.......pls help me with it
pasawphaw is offline  
Old 19th October 2006, 02:47 PM   (permalink)
Default

Why would you want to?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th October 2006, 04:55 PM   (permalink)
Default

A most confusing question - digits or bits? I presume you meant bits in both cases. I think you don't understand what the term interrupt means. You don't initiate an interrupt - some external mechanism does.

Maybe your question is simply about how to use 10bits of data on an 8 bit machine - toss away the lower 2 bits - left justify and take the adresh value.

But in any event, I'd review your next question carefully so that it makes more sense.
philba is offline  
Old 21st October 2006, 04:34 AM   (permalink)
Default nigel goodwin

currently i am working on a sensor for a sumo robot!
the sensor only produces analog output. So, from that i will have to decide the direction of the movement of the robot.Pls give me some advice!!
Thanks
pasawphaw is offline  
Old 21st October 2006, 09:06 AM   (permalink)
Default

Simply read the sensor, then decide what to do based on it's value - there seems no need (or use) for interrupts.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 21st October 2006, 12:25 PM   (permalink)
Default motor

can u give me a good source of to learn motor control software !!
pasawphaw is offline  
Old 21st October 2006, 12:38 PM   (permalink)
Default

What sort of control are you looking for?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 21st October 2006, 01:30 PM   (permalink)
Default motor control

i already have built an H bridge with mosfets... what i have to do now is to program using pic 18f452 with pwm. but i am pretty lost.
Thanks for ur help!!
pasawphaw is offline  
Old 21st October 2006, 01:35 PM   (permalink)
Default

I've not done it with an 18F series, but if you check my tutorials there's an example of two channel PWM using a 16F876, it should be simple to use it with an 18F series chip.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 22nd October 2006, 06:17 AM   (permalink)
Default

hi, Nigel.....it seems you're an expert on robotics.....i really wanted to build a simple robot as a starter...a robot that will move backward when it senses something that obstructs its way....what are the materials needed....the SW and HW...and what are the procedures to follow....i know some theories about analog and digital electronics...we build simple digital electronics circuits before...we have been lectured on microprocessor programming...but we haven't had the idea to put it in practice.......thanks in advance..
biboy is offline  
Old 22nd October 2006, 10:31 AM   (permalink)
Default

You might have a look at one of my websites at http://www.lpilsley.co.uk/cybot/index.htm which has a simple robot based on the magazine robot Cybot.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 17th November 2006, 02:39 AM   (permalink)
Default delay

hi,
i want to write a delay subroutine for 5s.Though i tried it with stopwatch simulator, the time doesnt synchronized with real time.Can i get a solution for that?
pasawphaw is offline  
Old 30th November 2006, 11:52 AM   (permalink)
Default pcb

hi,
i am currently using power pcb software to fabricate a pcb. my problem is that i want to connect the circuit board with power by a molex connector. so ,i place a connector instead of power and ground. Then, it shows error.I needed to replace it back with power and ground symbols.So,i will have no connector when i fabricate........i dnt know how to do that.pls help with this.
Thanks
pasawphaw is offline  
Old 30th November 2006, 05:51 PM   (permalink)
Default

ok, 2 suggestions:

1) start a new thread for unrelated questions
2) place the connector and connect it to power (Vcc??) and gnd. I would guess your software expects to see gnd.
philba is offline  
Old 1st December 2006, 04:40 AM   (permalink)
Default

My opinion, If you use Servo motors it is will be easier.
I guess that you adc to connect with distance sensor to measure the your enemy robots, this not interrupt. You should poll this sensor every time as possible.
__________________
Microcontroller Programming:
http://mcu-programming.blogspot.com
uC - News, Resources and Tutorials
sci-3d is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 02:45 PM
Digital to Analog Converter? arrow General Electronics Chat 8 10th December 2006 10:11 AM
Analog digital converter.. vise versa... sonaiko General Electronics Chat 7 10th November 2004 12:42 PM
Panel meter, analog VS digital Johnson777717 General Electronics Chat 7 23rd June 2004 12:33 AM
analog 2 digital converter... TKS Micro Controllers 3 1st June 2004 11:33 PM



All times are GMT. The time now is 10:32 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker