Click here to Skip to main content
15,916,412 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: Moitor HDMI Pin
cdpace29-Oct-09 2:50
cdpace29-Oct-09 2:50 
QuestionIS possible to activate after safe remove in USB Port Pin
anishkannan27-Oct-09 19:47
anishkannan27-Oct-09 19:47 
QuestionDoes anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
ROVIO26-Oct-09 4:39
ROVIO26-Oct-09 4:39 
AnswerRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
Indivara30-Oct-09 4:31
professionalIndivara30-Oct-09 4:31 
GeneralRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
ROVIO1-Nov-09 20:30
ROVIO1-Nov-09 20:30 
GeneralRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
Indivara2-Nov-09 22:58
professionalIndivara2-Nov-09 22:58 
GeneralRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
ROVIO2-Nov-09 23:16
ROVIO2-Nov-09 23:16 
GeneralRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
RTek233-Nov-09 6:52
professionalRTek233-Nov-09 6:52 
Unless you are using an old operating system (DOS, Win98), I believe it is next to impossible to get the kind of timing that is required for driving a servo.

A servo needs a pulse between 1 and 2 ms long, repeated every 20 ms or so. There are some servo's that are outside this timing, but that's pretty general. At 1 ms, the servo will be fully counter clockwise - left, and at 2 ms will be fully clockwise -right. The control is getting the time somewhere in the middle and being able to repeat it accurately every 20 ms or so, until you want it somewhere else.

So....the problem is the newer operating system control the hardware through an abstraction layer, such that you no longer have machine level interface (i.e. direct access to the parallel port) or the IRQ's and interrupts, and therefore cannot guarantee when things happen. LED's are one thing since if they are on 20 - 30 ms longer than desired, who cares, but with a servo, it will be jumping all over the place.

Now, if you are running an old system, that is different, and it is possible in C or assembler, if you hook the interrupts and do the pin toggling yourself, and some of that information will be available out there. Otherwise, you will need an interface chip like the PIC or ATMEL, etc. That code isn't exactly trivial but is easier than using a PC as a PIC.

Not exactly the answer you were looking for, but you should clarify your hardware platform (hint, VS-2008 indicates XP or Vista), and understand the complexities of the hardware abstraction layers put in place to protect us from ourselves.

Ken
GeneralRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
Dan Neely3-Nov-09 7:37
Dan Neely3-Nov-09 7:37 
GeneralRe: Does anyone have an app or source code (c# or c++) to control servo motors directly via the parallel port Pin
ROVIO3-Nov-09 19:04
ROVIO3-Nov-09 19:04 
Questiondongle Pin
J.K.Sharma26-Oct-09 2:01
J.K.Sharma26-Oct-09 2:01 
AnswerRe: dongle Pin
Jörgen Andersson29-Oct-09 22:05
professionalJörgen Andersson29-Oct-09 22:05 
QuestionCreating USB Harware Keys Pin
Som Shekhar24-Oct-09 5:56
Som Shekhar24-Oct-09 5:56 
AnswerRe: Creating USB Harware Keys Pin
Luc Pattyn25-Oct-09 12:51
sitebuilderLuc Pattyn25-Oct-09 12:51 
QuestionRe: Creating USB Harware Keys Pin
Som Shekhar26-Oct-09 3:36
Som Shekhar26-Oct-09 3:36 
AnswerRe: Creating USB Harware Keys Pin
Luc Pattyn26-Oct-09 3:50
sitebuilderLuc Pattyn26-Oct-09 3:50 
GeneralRe: Creating USB Harware Keys Pin
Som Shekhar26-Oct-09 3:59
Som Shekhar26-Oct-09 3:59 
GeneralRe: Creating USB Harware Keys Pin
AlGor26-Oct-09 4:35
AlGor26-Oct-09 4:35 
AnswerRe: Creating USB Harware Keys Pin
supercat930-Oct-09 7:00
supercat930-Oct-09 7:00 
QuestionTCP/IP Offloading Engine based NIC's, RDMA, and a new Innovation? Pin
Aerman456721-Oct-09 18:35
Aerman456721-Oct-09 18:35 
AnswerRe: TCP/IP Offloading Engine based NIC's, RDMA, and a new Innovation? Pin
Dan Neely22-Oct-09 2:19
Dan Neely22-Oct-09 2:19 
QuestionNDIS Driver Update Install Pin
ChaoZhong Li20-Oct-09 18:06
ChaoZhong Li20-Oct-09 18:06 
QuestionUPS contain bad smell Pin
Mekong River19-Oct-09 20:37
Mekong River19-Oct-09 20:37 
AnswerRe: UPS contain bad smell Pin
Richard MacCutchan19-Oct-09 23:17
mveRichard MacCutchan19-Oct-09 23:17 
GeneralRe: UPS contain bad smell Pin
Mekong River19-Oct-09 23:47
Mekong River19-Oct-09 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.