473,385 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Hardware Interaction...

Hi all,
can anyone plz send me some tutorials on hardware interaction using C/C++.

Can u please suggest me a good topic for doing my project im going to code in C++ .
Please give me some ideas . . . .
Feb 18 '07 #1
8 7449
horace1
1,510 Expert 1GB
Hi all,
can anyone plz send me some tutorials on hardware interaction using C/C++.

Can u please suggest me a good topic for doing my project im going to code in C++ .
Please give me some ideas . . . .
are you using a PC or an embedded system? If a Windows PC you can only access hardware from DOS, Win95 or Win98 - more modern versions of Windows such as 2000, XP, etc will not allow user program to access hardware directly. For eaxmple, when we need to talk to hradware directly we often dual boot Windows XP and DOS. Which compiler were you thinking of using?

have a look at
http://digiassn.blogspot.com/2006/04...h-turbo-c.html
Feb 18 '07 #2
are you using a PC or an embedded system? If a Windows PC you can only access hardware from DOS, Win95 or Win98 - more modern versions of Windows such as 2000, XP, etc will not allow user program to access hardware directly. For eaxmple, when we need to talk to hradware directly we often dual boot Windows XP and DOS. Which compiler were you thinking of using?

have a look at
http://digiassn.blogspot.com/2006/04...h-turbo-c.html
Thank you sir for the response.
I have to develop a lift operator using 8085 microprocessor.
I plan to connect the hardware to pc through a parallel port,
then later may be I'll like to implement it on an embedded system.
I am using Turbo C 3.0 for this.
I am new to External hardware interaction and microcontroller
programming. So plz help me with some e-books or tutorials on this topic.
Thanks once again for ur help.
Feb 21 '07 #3
horace1
1,510 Expert 1GB
Thank you sir for the response.
I have to develop a lift operator using 8085 microprocessor.
I plan to connect the hardware to pc through a parallel port,
then later may be I'll like to implement it on an embedded system.
I am using Turbo C 3.0 for this.
I am new to External hardware interaction and microcontroller
programming. So plz help me with some e-books or tutorials on this topic.
Thanks once again for ur help.
have a look at
http://engr.nmsu.edu/~etti/fall96/co...r/printer.html

which discusses interfacing to the parallel port - the program in section D. Simple Example, compiles OK using Turbo C V3.0 but I did not try to run it
Feb 21 '07 #4
have a look at
http://engr.nmsu.edu/~etti/fall96/computer/printer/printer.html

which discusses interfacing to the parallel port - the program in section D. Simple Example, compiles OK using Turbo C V3.0 but I did not try to run it
Thanks a ton buddy.
that was of great help.
Feb 21 '07 #5
horace1
1,510 Expert 1GB
Thanks a ton buddy.
that was of great help.
no problem - sounds an interesting project !
Feb 21 '07 #6
sajib
3
Hi all,

I m doing a project on SERIAL PORT COMMUNICATION using C..
Here i m trying to send a data generatedc by C programm & trying to pass that signal coming out from serial port(PIN NUMBER 3 AS TRANSMIT INN DB9) into a bread board in which a SERIAL TO PARALLEL SHIFT REGISTER IS THERE.
bt the problemm is here i m not able to get the clock signal from serial port which i need the braed board circuit connection to work....

Is there any way so that i can get the same clock signal from the port ..using any handshaking signal pins or any other way?

THANKX...
Mar 14 '07 #7
horace1
1,510 Expert 1GB
Hi all,

I m doing a project on SERIAL PORT COMMUNICATION using C..
Here i m trying to send a data generatedc by C programm & trying to pass that signal coming out from serial port(PIN NUMBER 3 AS TRANSMIT INN DB9) into a bread board in which a SERIAL TO PARALLEL SHIFT REGISTER IS THERE.
bt the problemm is here i m not able to get the clock signal from serial port which i need the braed board circuit connection to work....

Is there any way so that i can get the same clock signal from the port ..using any handshaking signal pins or any other way?

THANKX...
the PC serial port does not transmit a seperate clock - see
http://en.wikipedia.org/wiki/Asynchronous_serial_communication

bit synchronisation is provided by the start bit with the interface then clocking in the data at the appropriate baud rate. Your serial to parallel shift register would have to look for the start bit transition from mark to space then clock in bits.
Mar 14 '07 #8
hello all
i joined this fruitfull site for a purpose to improve my skill in c++.
a week ago my teacher gave me as assignment which is beyond my thinking cuz im new to c++ but i posses some good skill too.
well i have to code a program in tc++ for a gsm mobile fone to trace a specific person wherever he moves in our campus. whatever i need, will be provided by the department to me but i dont know what i need for the project. Can neone plz helpme out.....tell me whatelse should i demand for it........
Jan 3 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: anant_tickoo | last post by:
how to interact with printer port in c++ on NT based system? i want to send the data to printer port and also want to read from it but Nt system in not allowing me to do that. help needed for...
3
by: Aaron Queenan | last post by:
I have a form which performs some asynchronous code. I want to display a wait cursor when it starts, and hide the wait cursor when it has completed. This part works fairly well, using: ...
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
4
by: vivek | last post by:
I am new to flash and want someone to guide me, Is it possible to create a UI entirely in Flash and that will inetract with C# components (backend) and these components will in return interact...
4
by: prashant | last post by:
Guys does any body know how to develop an micro operating system using c++. or tell about how to make an executable that can interect with system hardware and does not require a ms dos to run.And...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
2
by: Alberto | last post by:
How do you write the interaction diagram's messages in c#? like calling a method in the object class? like an event? Thank you
0
by: Omar Abid | last post by:
Reason of this project: The Microsoft.VisualBasic.Interaction class exposes many useful commands and methods that were available in Visual Basic like AppActivate, Beep, Callbyname... This...
3
by: mmm | last post by:
I am looking for advice on Python Editors and IDEs I have read other posts and threads on the subject and my two questions at this time are mainly about the IDLE-like F5-run facilities. While I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.