BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Fri Apr 27, 2018 12:04 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Basic Atom code for servomotor
PostPosted: Tue Dec 10, 2013 4:52 pm 
Offline
New User

Joined: Tue Dec 10, 2013 4:42 pm
Posts: 1
Hello everybody!

I need help. I have to write a program in Basic Atom for servomotor to beregulated voltage 0-5V. 0 is min position -2400 and 5 is the max position 2400. Servomotor is rotated according how big is the voltage. Could someone help me? Thank you


Top
 Profile  
 
 Post subject: Re: Basic Atom code for servomotor
PostPosted: Wed Dec 18, 2013 2:06 am 
Offline
Site Admin
User avatar

Joined: Fri Apr 12, 2013 8:38 pm
Posts: 87
Location: Nottingham, England, UK
HI,

I would like to confirm exactly what it is your wanting to do here,

Are you saying you have an external signal coming into the Atom Pro that varies between 0 and 5 Volts DC and depending on the magnitude of this voltage you want to output a PWM servo signal with MIN pulse width at 0V and MAX pulse width at 5V ?,

What Atom Pro do you have ?,
What hardware are you using and what Input pin is the 0-5V on and what pin will the PWM output be on ?,
Will the Atom Pro be doing anything else other than this task and if so what ?,

Many thanks

Dave
BasicMicroUK

http://www.basicmicro.co.uk/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO