Buy an Axon, Axon II, or Axon Mote and build a great robot, while helping to support SoR.
0 Members and 1 Guest are viewing this topic.
output to hyperterminal via UART2 via my usb to serial adapter
hardware settings in system devices
LED_on(); uartSetBaudRate(2, 115200); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello1"); uartSetBaudRate(2, 57600); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello2"); uartSetBaudRate(2, 38400); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello3"); uartSetBaudRate(2, 19200); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello4"); uartSetBaudRate(2, 9600); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello5"); uartSetBaudRate(2, 4800); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello6"); uartSetBaudRate(2, 2400); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello7"); uartSetBaudRate(2, 110); delay_ms(500); rprintfInit(uart2SendByte); delay_ms(500); rprintf("Hello8"); light_off();
rprintfInit(uart2SendByte);//select uart2uartSetBaudRate(2, 38400);//select baudrprintf("Hello2");//say hello
Supports RS232 serial interface
USB to Serial Adapter from laptop's USB to a nullmodem adapter to a surface mount male D9 connector (this gives me pins that I can connect to easily). Then Pin 5 to UART2 ground, Pin 3 (RX) to UART2 TX.
http://www.societyofrobots.com/electronics_wire_connector.shtml
TX to TX and RX to RX
Great! When you get the code refined/commented, send it over and I'll add it to the Axon library.QuoteTX to TX and RX to RXYea I hate it when they do this . . . I put current limiting resistors on the Axon to prevent people from frying the UART accidently.Its really 'to-Tx to Tx' and 'to-Rx to Rx'
I setup the wiring with the Vcc terminal on the adapter connected to the +3.3v pin.