No exact or substring matches. trying for part
PICList
Thread
'38400/19200 baud two way RS232 serial routine for '
1999\09\28@160932
by
Jon Petty
Hi everyone
I am looking for sample 38400/19200 baud two way RS232 serial routines so
that a basic stamp can talk to the a/d converter of a 12c671 chip.
I want to tell the 12c671 which a/d channels to use and instruct the 12c671
to send the data back to a BS2. The 12c671 is the cheapest 4 channel, lowest
pin count, 8bit, a/d converter I have seen. I'd like to use it. I'll bet a
lot of you would too!
Thanks
Jon
1999\09\28@165036
by
Darren Logan
stamp II only supports baud rates up to 9600
1999\09\28@181932
by
Don McKenzie
|
Jon Petty wrote:
>
> Hi everyone
>
> I am looking for sample 38400/19200 baud two way RS232 serial routines so
> that a basic stamp can talk to the a/d converter of a 12c671 chip.
>
> I want to tell the 12c671 which a/d channels to use and instruct the 12c671
> to send the data back to a BS2. The 12c671 is the cheapest 4 channel, lowest
> pin count, 8bit, a/d converter I have seen. I'd like to use it. I'll bet a
> lot of you would too!
What Darren said about the BS2 running at 9600 is true.
I can steer you to some comprehensive routines at:
http://www.dontronics.com/convert.html
But it makes me ask:
Why would you learn PIC assembly then interface to a BS2?
If you are going to this trouble, simply use the 671 instead of the BS2.
Don McKenzie spam_OUTdonTakeThisOuT
dontronics.com http://www.dontronics.com
Don's Download Dungeon: http://www.dontronics.com/download.html
Australian Electronics Ring http://www.dontronics.com/aering.html
Win $500USD Cash. Micro design contest: http://www.simmstick.com
1999\09\28@190637
by
Jon Petty
In a message dated 9/28/99 1:57:29 PM US Mountain Standard Time,
.....DAZLOGANKILLspam
@spam@AOL.COM writes:
<< stamp II only supports baud rates up to 9600
>>
I just did a rs232 stepper motor controller with 12c508 at 38400. Worked great
Jon
1999\09\28@191716
by
Darren Logan
Are you saying your BS2 can work with baud rates > 9600 ? - if so, how ?
Apart from the stamp, which language are you using ? and how are you running
such high baud rates ?
Out of interest, what is it you're making ? - some sort of engine management
system ?
Cheers,
Darren
1999\09\28@192338
by
Jon Petty
|
In a message dated 9/28/99 3:20:01 PM US Mountain Standard Time,
don
KILLspamDONTRONICS.COM writes:
<< But it makes me ask:
Why would you learn PIC assembly then interface to a BS2?
If you are going to this trouble, simply use the 671 instead of the BS2.
>>
There is not a simple answer to that question. I like the versatility of the
BS2, but as you know it has timing problems and no a/d. I have configured by
handheld NINO to run BS2 software. I can walk up to a vehicle and in minutes
make program changes. In my last project I used a BS2 for decision making,
eeprom and tables and programmed a 16F84 to: control servo position, monitor
rpm, seconds output, output BS2 settable variable duty cycle and frequency
outputs, motor control and 4 switch outputs all through RS232 comms at 9600.
The program was a multitasking bear and input from the list helped me get the
bugs worked out. The straight forward timing sensitive work can be
accomplished in the 12c67. I can combine the two on a single board and use
the a/d for one project, serial stepper motor controller , serial servo
controller, pulse measurement or pwm output for others.
Jon
1999\09\28@193404
by
Jon Petty
In a message dated 9/28/99 4:17:53 PM US Mountain Standard Time,
.....DAZLOGANKILLspam
.....AOL.COM writes:
<< Are you saying your BS2 can work with baud rates > 9600 ? - if so, how ?
Apart from the stamp, which language are you using ? and how are you running
such high baud rates ?
Out of interest, what is it you're making ? - some sort of engine management
system ?
Cheers,
Darren >>
I don't think I am doing anything special, but I have run 38400 with the BS2
successfully.
I am using assembly for the PIC12c67.
It is an interface for alternate fuel vehicles. The vehicles for this project
are LNG liquid natural gas (cryogenic).
Jon
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- Today
- New search...