Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | pic24 communicating with WI232 DTS transciever


Advertise Here

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

pic24 communicating with WI232 DTS transciever - fadi83 - Aug 27 7:56:34 2008

hello all,

before i start i have to stay that i'm still a beginner in working
with pics, so take it easy on me :).

i'm currently working with explorer 16 Dev. board using
pic24FJ128GA010. i'm trying to communicate with a transciever that i
just acquired which is Wi232DTS from radiotronix. i've configured the
uart in the pic, and i tested it by using a hyperterminal. according
to my understanding with the wi232DTS transciever, you only have to
send characters to the transcievers (uart interface), and it will do
the whole job for you by sending the characters wirelessly. but
ofcourse life is not that simple, it didn't work this way. so now i'm
kind of bangin my head trying to configure the transciver via my pic.

so here comes my inquiry, i've read the manual for the transciever
there is a uart configuration for it. simply they are, CTS, CMD, RXD
and RXD. for me what i care about is the CMD. what it does it tell it
whether to be on command mode where the pin should be low( set the
registers) or not where i can just send characters and it will send
it to the RF word.

so my question is, how can i configure the CMD pin from my PIC. i'm
using both RF13 (output) and RF12 (input) pins in my pic uart
configuration.

so please i would really apprecaite it if someone can help me on this.

thanks in advance
------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: pic24 communicating with WI232 DTS transciever - Harold Hallikainen - Aug 27 9:05:44 2008

The uarts in 24 series pics include hardware handshake, so that takes care
of tx, rx, rts, and cts. The CMD pin is not part of the RS232 standard,
but sometimes the DTR (data terminal ready) or DSR (data set ready) pin
can be used for this purpose. I'd figure out what pin the radio is
expecting the CMD line on, then allocate an unused PIC pin for that and
run it through an RS232 driver. Your code can then set that pin high or
low as needed.

Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: pic24 communicating with WI232 DTS transciever - fadi83 - Sep 8 8:05:56 2008

Thanks alot,

but the question is how can i run it through the RS232 driver, coz
according to my understanding it the UART transmission is automatic,
what i mean is that i don't evne have to worry about the transmission
or recieving. Do you have sample c code that might help me.

Thanks alot, sorry if i'm bothering.
--- In p...@yahoogroups.com, "Harold Hallikainen"
wrote:
>
> The uarts in 24 series pics include hardware handshake, so that
takes care
> of tx, rx, rts, and cts. The CMD pin is not part of the RS232
standard,
> but sometimes the DTR (data terminal ready) or DSR (data set ready)
pin
> can be used for this purpose. I'd figure out what pin the radio is
> expecting the CMD line on, then allocate an unused PIC pin for that
and
> run it through an RS232 driver. Your code can then set that pin
high or
> low as needed.
>
> Harold
> --
> FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
> opportunities available!
>

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )