PDA

View Full Version : Wireless Programming???


Vintory
01-16-07, 01:25 AM
Hi,

Currently, I am able to communicate wireless using DPAC wireless module which is connected to PORT SCI1.
http://www.quatech.com/catalog/airb...modules_emb.php


The next step that I attempt was to attach the wireless module to port SCI0 with only pins 2,3 and 5 connected to the respective TX, RX and GND of the wireless module.
At the other end, I connect the serial port of my desktop to the 2nd identical wireless module. The same 3 pins are connected. Next I run the NMITerm.

For both wireless modules, I have set the following settings:
data-bits 8
stop-bit 1
baud rate 115200
parity none
flow control none

Based on the above configuration, I predicted that I would be able to see some stuff on the screen when i power the isopod.
However, there was nothing and neither was i able to key in any words.

The whole aim is trying to program the isopod wirelessly.

What settings or connections have I missed out???
Please advise and thank you in advance.

Dave
01-16-07, 11:11 AM
The IsoPod has SCI0 accessible at RS232 levels on connections 1 and 2 on the end connector J1, with pin 4 available as Ground for reference.

SCI1 at RS232 levels is on header J4, pins 7 and 9 with 5 as ground.

This is shown on page 193 of the IsoPod manual (http://www.newmicros.com/store/product_manual/IsoPod.pdf) and also for SCI1 on page 194.

It is also on the IsoPod schematic (http://www.newmicros.com/store/product_schematics_pdf/IsoPod_V2.pdf) on the far right for the J1 female connector that has SCI0, though it is numbered in a different sequence from the J4 pin header that has SCI1.

Vintory
01-20-07, 08:45 AM
Sorry, I was referring to SCI0 of servopod which is a rs232.

I tried to send my programme from NMITerm to servopod wirelessly, replacing the serial cable with the 2 WIFI module. The configuration is as in the previous post. But it doesn't work.

What have I missed out??

Dave
01-22-07, 10:34 AM
On page 80 of the Servopod manual (http://www.newmicros.com/store/product_manual/ServoPod.pdf) it shows the pins on header J1 to be pin 2 for SOUT, pin 4 for SIN, and pin 8 for ground. Pins 2, 3, and 5 on J1 represent SOUT, ground and the reset line, which would not be a complete serial link.

The Servopod schematics (http://www.newmicros.com/store/product_schematics_pdf/ServoPod.pdf) shows the same pinout.

Edit add:

Was the DB9 serial connector of the ServoPod being referred to? In that case, connection 2 is TXD, 3 is RXD, and 5 is ground, for a female DB9 connector. See this DB9 female diagram (http://www.fortunecity.com/skyscraper/lead/1699/embedded/rs232.debug.cheat.sheet/rs232.pinout.jpg) for DCE, the female connector on the Servopod. Perhaps switching the TX and RX pins from the module to the ServoPod will help.

Additionally, it appears that the modules should be configured for ad hoc mode (http://www.dpactech.com/tech_support/802.11_wireless_faqs.asp#q3) to allow communications between 2 modules.