Continue to Site

Welcome to EDAboard.com

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.

RF Module change to Zigbee for PIC and computer communcation.

Status
Not open for further replies.

lockman_akim

Advanced Member level 1
Advanced Member level 1
Joined
Jul 12, 2010
Messages
466
Helped
76
Reputation
152
Reaction score
68
Trophy points
1,308
Location
Malaysia
Activity points
3,523
i have an experience in using RF module 433Mhz for communication between PIC and computer. But the signal was not good. so i want to implement zigbee.. I already search for the schematic and there is nothing special thing needed except the 3.2 V supply. So my question is, is that any special programming needed to the microcontroller or i can just use the same program that i used with RF Module?
 

Yes, there is programming involved. Check out group set p by Bigdogguru. There are some very nice tutorials and YouTube demonstrations linked to there.

John
 
Last edited by a moderator:

Using RF Module and zigbee is same using UART module. The RF Module can only use low baudrate, 1200 and zigbee can use baudrate higher than that. I'm have use baudrate 9600.
 

so can i conclude that changing the RF Module to Zigbee is only change on hardware part? totally no change with the program? (just want to reconfirm because i have 2 different answer now)
 

On further review, my comment was not clear. I was referring specifically to the need to program the Zigbee. In other words, it in not a drop-in replacement for Holtek 12E/12D chips. As for the microcontroller generating the signal, it would need to be compatible, and may already be so. The tutorials on the link I provided explain what is needed.

John
 

let say, i need to receive data from uC to PC,
so at the PC side, do i need the max232? i have the usb to serial converter.
as i know usb to serial converter generate signal by using 5V pulse,
but xbee is use 3.3V power supply.

anyone have the schematic for tx and rx from uC to PC by using Xbee?
 

let say, i need to receive data from uC to PC,
so at the PC side, do i need the max232? i have the usb to serial converter.
as i know usb to serial converter generate signal by using 5V pulse,
but xbee is use 3.3V power supply.

anyone have the schematic for tx and rx from uC to PC by using Xbee?


It's actually fairly simple to use a pair of XBee Series 1 as a virtual cable replacement. The XBee Series 2 will require some additional setup, by the way Series 1 and Series 2 are not compatible in any way.

You can use the FTDI Uart to USB converter cable to interface the XBee on the PC side. Here is an example detail just such an implementation:

Using ZigBee to Implement a Virtual Serial Cable for Remote Programming of Mobile Radios

Otherwise a RS-232 Transceiver such as the MAX3232 will be required.

Also as John mentioned checkout the group:

Embedded Wireless Networks - WiFi, ZigBee, MiWi, 802.15.4, Bluetooth & RF

There are numerous examples similar to what you have requested.

Good Luck
 
Last edited by a moderator:

so can i conclude that changing the RF Module to Zigbee is only change on hardware part? totally no change with the program? (just want to reconfirm because i have 2 different answer now)
not only hardware you have to do some modification in software part i have experience last week with 433mhz rf transmitter i have to do code chaging to manchester decoding techniques
 

owh, i never use menchester code before, what is the different?
 

owh, i never use menchester code before, what is the different?

In telecommunication and data storage, Manchester code (also known as Phase Encoding, or PE) is a line code in which the encoding of each data bit has at least one transition and occupies the same time. It therefore has no DC component, and is self-clocking, which means that it may be inductively or capacitively coupled, and that a clock signal can be recovered from the encoded data.

Reference:

Manchester Code

I have posted many links with additional info and code examples to the topic below:

Embedded Wireless Network Group - Manchester Encoding/Decoding RF Applications

Manchester Encoding is used frequently in SubGHz/RF, Ethernet and other communication implementations.

BigDog
 
Last edited by a moderator:
hi all,
actually im working on project where i need to sent data from PIC to PC, data will be collect from ultrasonic sensor and rotary encoder.. but i dont think that im going have problem with those sensor. at the pc side i will use this device as receiver of my xbee signal.

Welcome to Cytron Technologies - Robot . Head to Toe : PIC Training Malaysia, PIC Microcontroller

now i need your help to check at schematic whether it is acceptable or not if im connect the xbee just like that in order to transmit the signal?
 

Attachments

  • xbee.bmp
    355.3 KB · Views: 138
Last edited by a moderator:

Your project description seems to indicate that a 802.15.4 connection will suffice, a pair of XBee Series 1 will perform the required tasks with no or little additional setup. If operating over extended distances is desired you may want to purchase a pair of XBee Pro Series 1.

BigDog
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top