Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
thanks for your help. i was interested to get any message from the Pic no matter what was the character is.
i should send .2 then .3 followed by CR and LF
it works thanks again
void serialPort_DataReceived(object s, SerialDataReceivedEventArgs e)
{
//the program works when i wrote those line
str=sp.ReadLine();
MessageBox.show(str);
//i did not removed the goto loop
}
hellow
i want to send the string y23 followed by newline (CR then LF) this is done by file.asm then read that string by c# program (file2.cs )
those are my two program
loop movlw 0x79
call snd
movlw 2
call snd
movlw 3
call snd
movlw 0x0D ;CR
call snd ;Send...
Hi
i need help to fully understand the following example
given
pulse width=44us
required duty cycle=50%
microcontroller operate at 4MHZ
prescaler=4
pr2=value to be loaded to timer2
pr2=[pwm/(prescaler*4*TOSC)]-1
=[44X10^-6/(4*4*.25X10^-6)]-1=10 BASE ten = 0AH...
Hellow
I want to set the configuration bits (pic16f690) according to this line
Internal 8MHz oscillator (INTIO)
Which one of the following will match?
1- RC Oscillator CLKOUT function on Ra4/osc2/CLKOUT pin,rc on Ra4/osc1/CLKIN
2- Oscillator INTOSC oscillator CLKOUT function on...
Sound recognition is not an easy job for computer,i have wrote a c# program which print what i pronounced,but the program could not recognize each word or sentences ,mostly he write it wrong,if you said mouse he might write house
may be if you said mouse in the house he would write house in the...
You could make a timer,say Mytimer1,put a variable name it mycounter have it increased by one till 1000
enable this timer,then start the timer then enter an infinit loop
for(;;)
{
if (mycounter == 999)
{
//do what you want to do
break;
}
}
the program...
I am confused ,i have run the given program above
and got 12 ,exactly as the book above. Now i am puzzeled by the datasheet ,it wrote if Asyncronous use
Baud Rate= FOSC/(16(X+1));
DataSheet can not be generic ,any comment ?
Re: serialport and pic16f627
This is what i have thought.the author must be mistaken.
if you look at book pic project a practical approach by Hassn Parchizadah,
see page 111
he found that SPBRG=12, using this equation Baud Rate= FOSC/(64(X+1)); where x= SPBRG
while using equation ,Baud Rate=...
Hi
a project to Send number through serialport, using max232 and pic16f627.
the given are:
High data rate for sendding (BRGH=1)
Asynchronous ( SYNC=0)
Then according to datasheet
https://ww1.microchip.com/downloads/en/DeviceDoc/40300C.pdf
page 69 ,check USART Baud Rate Generator table 12.1...
Good sugesstion
i have browsed the datasheet using several searching word(distance,how far,range) findding for how far it can send is important to me. i will close this post soon as solved,but if you know for how far it can send inform me either here or as a porivate message.
thanks
It is a good idea to use something better, faster and cheaper, frankly I have never done a project using usb cable
But it seems worth the effort, could you direct me to a project that is done using usb, at least what should I need
1-what type of pic?
2- As far as I know there is no command in c#...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.