Forum Discussion
Altera_Forum
Honored Contributor
13 years agoDE0 FPGA board , how to connect it to another FGPA wirelessly using two xbee sensors
can someone tell if it's possible to make two fpga's to communicate and send data without cables using two xbee pro sensors ?? and if it's possible can you assist me in doing that , like writing code...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- okii that was harsh --- Quote End --- No it wasn't. Its called "advice". Learn to take it. --- Quote Start --- 1) how could i connect xbee module to FPGA ? and what kind of interface langauage i will be using? 2)in the data sheet it is possible to make two xbee modules to connect but , is it possible to use it to send data thorough FPGA ?? 3)in case of being able to make them communicate , from where i can start teaching my self to write the code for it to use in my project? --- Quote End --- Obviously you read the data sheet, but of course its all gibberish unless you've had to do this type of thing before, so I'll take a quick look and point you in the right direction. p5 and 6 have the electrical specifications. The important questions to ask are what is VCC and how do I talk to the module. p5 shows VCC = 3.3V which means it is compatible with the FPGA I/O pins. p6 indicates that communications is via a UART and some logic levels. p7 Describes how you talk to the thing - look at Figure 2‐01 - replace "Microcontroller" with "FPGA" and you'll see where your design has to fit into the picture. --- Quote Start --- here's the my project proposal ... --- Quote End --- Great. Now make sure to put that in the report that you need to hand in. --- Quote Start --- The objective of this project is to enable users to remotely control their home appliances and systems using a WSN and cell phone-based interfaces. To access the control unit, the user should type an authentication code via Keypad. Upon being properly authenticated, the cell phone-based interface at home (control unit) would relay the commands to a FPGA kit that would perform the required function/action ... --- Quote End --- Do the Xbee modules "speak" the same wireless language as a cell phone? If not, you cannot talk to the module from your phone. p4 of the document states they are ZigBee/IEEE 802.15.4 compliant. Does your phone speak Zigbee? I know most phones speak Bluetooth (to talk to hands-free devices), but I'm not sure about Zigbee. --- Quote Start --- The following is a list of expected end products and other deliverables. 1.) A FPGA controller module that can perform the following: a. Receive instructions and commands from a messaging device on a communication network b. Monitor a device status from an electronic interface c. Control target devices through an electrical interface --- Quote End --- Why have you selected an FPGA for this task? What you are proposing is really a microcontroller project. Of course, you may have been told to implement this using an FPGA. In that case, I would recommend using a NIOS microcontroller for most tasks, and some HDL for specific control interfaces. --- Quote Start --- Technology Considerations The considerations for this system will include a choice of networks, communication protocols, and interfaces. 1.) Cellular Networks: The widely available networks are based on GSM. This network provides a wide area of coverage and can be utilized more cost-effectively for this project. 2.) Communication protocols: The available communication protocols are UART,DTMF and SMS. The SMS is the most efficient because this project requires a cellular communication and limited data to be sent. 3.) I/O interfaces between FPGA kit and devices: Serial or parallel I/O will be considered as options for connection between the GSM receiver and the FPGA kit. Using the FPGA, a control circuit will be implemented to control the electrical appliances. --- Quote End --- The modules you have selected are not GSM, they are Zigbee. Cheers, Dave