Unable to connect Scribbler to a Microcontroller using Serial
Greetings
This is my first time posting on this forum so please excuse any inconsistencies.
I need help trying to connect Scribbler 2 using serial connection to Freescale MCF52259 microcontroller. http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF5225X
I have a more software background and I am not familiar with kind of setup needed to allow for serial connection to take place like the mapping of pins from the board to the scribbler. The MCF52259 board has a UART module that I wanted to use.
I tried one setup in which I connected three pins, recieve, transmit and ground but the response from scribbler was just that it reset itself. The three lights would turn on and off in a sequence and then the middle light would turn on and off.
Here is the pin setup for the microcontroller:
Signal
Pin
Signal
No Connection
1
2
No Connection
TXD
3
4
CTS
RXD
5
6
RTS
No Connection
7
8
No Connection
GND
9
10
3.3V
I am following the IPRE guide for the commands to the scribbler. http://wiki.roboteducation.org/Scribbler_Wire_Protocol
The buad rate is 38400.
Thanks for the help.
This is my first time posting on this forum so please excuse any inconsistencies.
I need help trying to connect Scribbler 2 using serial connection to Freescale MCF52259 microcontroller. http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF5225X
I have a more software background and I am not familiar with kind of setup needed to allow for serial connection to take place like the mapping of pins from the board to the scribbler. The MCF52259 board has a UART module that I wanted to use.
I tried one setup in which I connected three pins, recieve, transmit and ground but the response from scribbler was just that it reset itself. The three lights would turn on and off in a sequence and then the middle light would turn on and off.
Here is the pin setup for the microcontroller:
Signal
Pin
Signal
No Connection
1
2
No Connection
TXD
3
4
CTS
RXD
5
6
RTS
No Connection
7
8
No Connection
GND
9
10
3.3V
I am following the IPRE guide for the commands to the scribbler. http://wiki.roboteducation.org/Scribbler_Wire_Protocol
The buad rate is 38400.
Thanks for the help.
Comments
The microcontroller board has 10 pins and the table I provided shows the functions of each pin. I was not using any adapter to connect to the scribbler. I just hard wired the pins I thought were needed like the connecting the microcontroller's TXD to the scribbler's pin 3 (shows how little I know about hardware) .
I used the Scribbler wire protocol guide on the ipre website because I could not find any other documentation for the serial communication.
Thanks again for the prompt response.
how would I connect the scribbler and the microcontroller to this board? thanks
Depending on how your microcontroller board was designed, the serial interface may be "toast" at this point. The voltages provided by the DB9 connector are well beyond what your microcontroller's serial port is likely to be designed for. You'll just have to try it with the MAX3232 and see what happens.