473,811 Members | 3,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hardware Interaction...

17 New Member
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 7468
horace1
1,510 Recognized Expert Top Contributor
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
sudhanshu
17 New Member
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 Recognized Expert Top Contributor
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
sudhanshu
17 New Member
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 Recognized Expert Top Contributor
Thanks a ton buddy.
that was of great help.
no problem - sounds an interesting project !
Feb 21 '07 #6
sajib
3 New Member
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 Recognized Expert Top Contributor
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.or g/wiki/Asynchronous_se rial_communicat ion

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
kamal230
1 New Member
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
1693
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 that
3
4130
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: this.TopLevelControl.Cursor = System.Windows.Forms.Cursors.WaitCursor; I also want to prevent user interaction with the controls on my form while the wait cursor is displayed, so that use events (except resize and cancel) are blocked. What is the...
2
6904
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 (which is the UI used to adjust the actions taken by, and the schedule of the service), then a privileged user thread should be used in the UI - no service required. But... "A windows service enables the creation of long-running executable
4
21852
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 with database etc. If flash and C# interaction is possbile then, what are the prons and cons of this interaction? As using flash, one can create wonderful UI. But in return I also want it to interact fully with C# components.
4
3425
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 tell me how t o write a assembler code in c++........ please reply..
110
10643
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 case scenario for MyISAM backend? Also is it possible to not to lose data but get them corrupted?
2
1742
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
2150
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 tutorial shows how to work with some of them. Project details: 1- From VB 6.0 to VB .net 2.0 2- Useful interaction commands 3- Samples of interaction commands
3
3957
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 am fairly happy using IDLE, the debugger is unintuitive to me and I wanted a project manager and a better variable/ class browser and also the potential to edit/run other languages such as R and Tex/Latex. Windows and LINUX compatibility is...
0
9731
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10136
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5556
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.