Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 1st November 2007, 07:32 AM   (permalink)
Default make a pan and tilt cam with servo+MC

hii all ...

right now im on progress to make a pan an tilt webcamera with servo and controlled by PC ( browser ), but somehow i get in to trouble rite now =( , im using MC AT89S52..im already bought the component..
what kind of downloader can i use?
anybody have the schem?
anybody can help me..???

regards,,

thx
HydDan is offline  
Old 1st November 2007, 10:01 AM   (permalink)
Default

I appreciate this is for a PIC not Atmel part but it maybe of interest.

http://picprojects.org.uk/projects/zcode/index.asp
__________________
Pete
picprojects.org.uk
geko is offline  
Old 4th November 2007, 09:22 AM   (permalink)
Default

thx for your reply... ^^

PIC is quite interesting, but somehow i still want to create it with 8051 , hehehe.....

anyone can help me?
HydDan is offline  
Old 4th November 2007, 09:38 AM   (permalink)
Default

What do you want?
What do you have?
How have you started?
Where is the problem?
__________________
Need Help?
Press F1
If that doesn\'t help you, ask me... I might know better.
bloody-orc is offline  
Old 4th November 2007, 10:04 AM   (permalink)
Default

i want to make a pan and tilt camera using motor servo and micro At89S52,
I want to connect the Servo motor through a Microcontroller to PC

yes ive start it, but rite now ive a problem with the interface...
do you have any idea?
HydDan is offline  
Old 4th November 2007, 10:49 AM   (permalink)
Default

Quote:
Originally Posted by HydDan
i want to make a pan and tilt camera using motor servo and micro At89S52,
I want to connect the Servo motor through a Microcontroller to PC

yes ive start it, but rite now ive a problem with the interface...
do you have any idea?
Interface between what and what?, from micro-controller to servo is a piece of wire, and from micro-controller to PC a MAX232 (or similar).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th November 2007, 11:04 AM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Interface between what and what?, from micro-controller to servo is a piece of wire, and from micro-controller to PC a MAX232 (or similar).
what i mean is.. the circuit beside ISP flash downloader that help to motion..
HydDan is offline  
Old 4th November 2007, 11:12 AM   (permalink)
Default

Quote:
Originally Posted by HydDan
what i mean is.. the circuit beside ISP flash downloader that help to motion..
Sorry, I've no idea what you're asking?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th November 2007, 01:46 PM   (permalink)
Default

By downloader, do you mean a programmer for your microcontroller?
If that is what you are after, just google search "Atmel Programmer" and you'll get a tonne of information.
I've read that those programmers are fairly easy to build (apparently the Atmels require less components for programmers... but correct me if I am wrong).

Last edited by Omar.M; 4th November 2007 at 01:50 PM.
Omar.M is offline  
Old 4th November 2007, 04:54 PM   (permalink)
Default

Try this site...

http://www.8051projects.info/index.asp

I use AVR chips, but I look at other microcontrollers sometimes. There are a lot of similarities. I used Nigel's Pic tutorials a lot for the first month or so, and I've never used a Pic (no interest either ).
HarveyH42 is online now  
Old 4th November 2007, 05:05 PM   (permalink)
Default

Quote:
Originally Posted by HarveyH42
I used Nigel's Pic tutorials a lot for the first month or so, and I've never used a Pic (no interest either ).
Feel free most of the tutorials are applicable to any micro-controller, but obviously require different code.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th November 2007, 05:46 PM   (permalink)
Default

The hardware portion can be used on most any controller. Even the software side had some helpful information. Just wanted to point out that you can get some insight from other chips. You can't expect to find what you want for a specific chip or language, but you can get the general idea from similar projects, regardless.

I've been wanting to do a pan/tilt project for a while, but it's a little beyond my assembler skills still, but getting there. Just started with a free version of a BASIC compiler. Took a while to figure out how to get a simple LED flash program to the chip, but got it eventually. Hoping it will take care of most of the timing details that have been giving me trouble.

Back to the thread...
Do you have the mechanical portion worked out? I sketched out an idea using some PVC pipe I have littering my yard. Was a little concerned about weight at the time, but I was going to use stepper motors back then. After playing with some servos, found they are surprisingly strong for the size. I could probably still use the pipe I have, but servos could reduce size to less than half. PVC is cheap, so will probably redo the design. Mine are intended for outdoors, so need to keep water out. Another bonus of servos, they are pretty well sealed, though probably not waterproof or submersable.

Keep us up to date, post some pictures. I'll do the same when I get started on mine. Have to get a better handle on BASIC first, its been a while.
HarveyH42 is online now  
Old 4th November 2007, 05:54 PM   (permalink)
Default

Quote:
Originally Posted by HarveyH42
Back to the thread...
Do you have the mechanical portion worked out? I sketched out an idea using some PVC pipe I have littering my yard. Was a little concerned about weight at the time, but I was going to use stepper motors back then. After playing with some servos, found they are surprisingly strong for the size.
You really need to have a play making radio controlled models, it's amazing how powerful the servo's are and what ingenious modellers (not me!) can do with them. You can also buy larger more powerful servos, for bigger models, they obviously cost more - but their ease of use, high performance, and relatively low price, take a lot of beating.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 5th November 2007, 12:07 AM   (permalink)
Default

Heh, funny you should say that. The model airplanes community tries to find the smallest servos possible (generalization, of course)-- while we here at Electro-Tech try to find the most powerful, heaviest and biggest!

Harvey-- just because I have this project started (and almost done)-- I'll let you know that once you get a bit proficient with BASIC, the code for the pan / tilt system will be a piece of cake.

I don't use assembler (to maintain sanity), but found that Great Cow Basic (BASIC compiler) was easy to pick up and powerful enough for most anything I have wanted to do so far.

My pan and tilt servo setup will be used to monitor my room from a USB webcam (room automation project). I made a simple command-line program that sends different binary values to parallel port (which has PIC connected to it)-- once the signal is received, it does a bit of calculating and starts outputting a pulse width to the MCU pins (ones with servos connected). All I have to do is load up that command line program through PHP and voila! Web-based pan and tilt!

Anddd! Back on topic .
-Omar
Omar.M is offline  
Old 5th November 2007, 08:44 PM   (permalink)
Default

I just started BASCOM AVR. Want to get a few simpler things done with it first. Took me a few tries to get a flashing LED program to work on the Tiny13. Simple mistakes, mostly it seems that I needed to save the program, before compiling it. Guess that makes sense for larger projects, just isn't optional. Missed a few check boxes too, guess I should get in the habit of arleast browsing through the documentation...

I've got a manual zoom lens I'd like to motorize, perhaps another servo...
HarveyH42 is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Pan and Tilt Platform with Memory! PLZ help:) Cynergy Micro Controllers 3 31st October 2007 10:13 PM



All times are GMT. The time now is 06:35 PM.


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

eXTReMe Tracker