English 中文(简体)
Creating an 802.11 transmitter and reading the data from a WiFi router
原标题:

There are 2 parts to this question. Feel free just to give me URLs to articles or suggest books, too, as the answer is probably a bit in depth for a quick forum response.

1) I need to sense the wattage flowing through a pair of wires and transmit data about it via 802.11. I guess a micro controller is involved, but I m not sure where to begin. No security necessary. I just want the transmitter to broadcast the data at regular intervals (e.g., 1 frame per second).

2) I need to pick up the data broadcast in step 1 from my 802.11 router. I want to be able to do this for any number of transmitters in step 1. Does each transmitter in step 1 have a special kind of ID that I can look for from my 802.11 router? I don t even know how to get a "handle" on my router to see what data it s receiving. So, first, how do I get a hold of my router, then how do I see these possibly multiple data streams coming from my transmitters in step 1.

Thanks, Jay

问题回答

I m not sure (!) I can answer all of the above!

For the micro-controller, you may want to look at the open Arduino platform. There s some wireless capability documented here.

When you collect the data from these micro-controllers, each will have a unique hardware address and an IP address. So you can determine which is which by the address of the connecting server (most likely you ll pick up the IP address).

So the above is certainly feasible. However it s quite a lot of work.

What you are looking for is embedded wifi. It will take awhile searching, but you should be able to find exactly what you want, as there is a fairly good variety of devices available out there.

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2018&mcparam=en542255

Sounds like a job for XBee s (see here.) These are designed to operate as low power wireless sensors. If you re lucky you wont even need an external microcontroller as they can transmit data that they read on their own I/O pins.

There are concentrators available that allow them to be connected to normal wired or wifi networks.





相关问题
Parsing Twitter feeds in C

I m trying to figure out how to get the most recent latitude and longitude of a Twitter user (from the new Geo API data, ie the <geo:point> tag, you can see how they look like on my twitter user ...

Interfacing 45DB161 data flash with 89LP4052 controller

I am trying to interface the data flash with 89lp 4052 controller. Crysal used 11.0592 mhz. This controller has built in spi bus. I tried all combinations of CPHA AND CPOL. Tried mode 0 as well as ...

Circular buffer pointer irregularities

This is a follow up on this question: Display previously received UART values. After implementing a circular buffer on the microcontroller, it seems that there is a problem with the pointers. Sent ...

Steps to read data from ARM microcontroller port

I am having trouble reading serial data from ARM LPC2378 microcontroller. Will I have to use UART or any GPIO port can be used?? is ayone having c code for it??

Display previously received UART values

This should be easy to answer to anyone familiar with C. I want to display the previous values of a variable (receive register of a UART (RS-232) on a microcontroller) on an LCD. This is my current ...

clear code for counting from 0 to 255 using 8-bit datatype

I was wondering if there is a clean way of counting from 0 to 255 using an 8 bit datatype, something like: for(uint8_t i(0);i<=255;++i) { .... } This obviously will not work but it makes it ...

热门标签