write a program
was it able to write a program than run by computer and control by electronic hardware by serial port?
need a program to play sound than control by 5 sensor.
the sensor will giving 0001 to 1111 bit...
each but will generate different sound,.was able to do so ?
You can probably do that, but you'll have to be much more detailed in what the interface you expect to have from one piece of hardware (e.g. a PC) and the other piece (e.g. a board with sensors).
can say as
u got 5 sensor, will giving input to computer by serial port.
and the program is need to be play each guitar chord by the input from the sensor.
like the sensor giving 1010 input., assume 1010 is for C chord. than the program will play the C chord sound though computer...
was it able to do so?
and was it hard to write and which program is the best for write this program?
No, that's not sufficient to tell what you need to do.
Does this board already exist? Is there a web-site for it?
What is the actual interface on the "sensor" board? Is ia asynchronous or synchronous serial port? What kind of serial connector is it?
not yet have. i just plan to do so./........
the sensor i using is flex sensor..
go i will make the board by giving 4bit signal to the computer..
about asynchronous or synchronous , i not sure yet..
actually wat is the different? and which is the best?
Right, so you're just planning the hardware right now.
What, besides sensors do you plan on putting on the board?
Can you point to a datasheet for the sensors?
Which is better of synch or asynch depends very much on what you actually are trying to achieve, as well as "what the hardware can do".
It may even be simpler to connect to the parallel port of the PC, rather than via serial - but again, it depends on what hardware you have, and how it works.
the sensor i using is flex sensor, and i will use PIC chip to connect to it and will generate
0000,0001,0002 to 1111 of different input to the computer
i just need the computer receive the input and read it..
and generate the according sound regrading to the input..
can say like a electronic keyboard..
Right, so the PIC chip you have, presumably has a USART, which supports asynch output, which would make most sense here.
Then it's up to the PIC to encode/decode packages of data from/to the serial port.
than how should the program will be write?
cause i dunno much about programinig..
what i doing is hard hardware....
can guide me pls..
Before the program can be written, I believe you need to specify EXACTLY what you want the program to do.
If the board is simply going to request your program to play a note on the computers speakers, then why not use the keyboard for this? User presses 'A', key, and the computer plays an A on the speaker, etc.
I don't see why you have the extra board and need the serial communication, yet.
Is this board going to be the interface for something like a keyboard, perhaps?
cause i plan to make a virtual guitar using wireless
so i will attach the sensor at the glove and play like playing a guitar...
so i need to have program to generate sound to me......
the program is need to generate each chord of the sound when i move the sensor...
Rather than trying to imagine (and write) the whole thing in one go, try to think up useful components which you might be able to adapt later on, or experiments which might help you understand what needs to be done.
Your first challenge would seem to be just to get the PIC to do anything at all. Start simple, say light an LED or send a character back to your PC over the serial line.
i have all the component already,, like pic and even mega32 microcontroller
I mean component in the software sense as well, say for example a few handy routines for sending / receiving data over the serial line.