by tedlarson » Fri Dec 17, 2010 12:41 am
by tedlarson
Fri Dec 17, 2010 12:41 am
Just to clarify some things. I am not using the Zig-100. I have another microcontroller, connected directly to the 4-pin serial port, instead of it. It is using 3V logic. I do NOT have the programming cable connected at the same time.
If I write the worlds simplest RoboPlus program:
START PROGRAM
{
Remocon TXD = 85
}
It will send out a hex 0x55, at 2kbps, properly packed in the packet format. It looks like this:
FF 55 55 AA 00 FF
This is undisputable at this point. I don't know why it picks this baud rate....it just does. However, I cannot receive a data packet into the CM-510 using the following simple program:
START PROGRAM
{
IF(Remocon Arrived == TRUE)
{
RXX = Remocon RXD
Aux LED = TRUE
}
}
I never get the light. Even if I send the packet properly formatted.
What I think is going on is....the Zig-100 doesn't just have a radio in it, it has an ATMega microcontroller in there. It does something to signal to the CM-150 when it is connected. Otherwise, by default it assumes you have the IR receiver for the remote control attached. This is why it uses a 2K send rate by default, for sending via the IR remote port.
Without putting a protocol analyzer between the zig-100 and the CM-510, there is no way to know for sure. Unless somone has some info they can post here that tells me the answer for sure, that will be my next step.
Thanks,
-Ted
Just to clarify some things. I am not using the Zig-100. I have another microcontroller, connected directly to the 4-pin serial port, instead of it. It is using 3V logic. I do NOT have the programming cable connected at the same time.
If I write the worlds simplest RoboPlus program:
START PROGRAM
{
Remocon TXD = 85
}
It will send out a hex 0x55, at 2kbps, properly packed in the packet format. It looks like this:
FF 55 55 AA 00 FF
This is undisputable at this point. I don't know why it picks this baud rate....it just does. However, I cannot receive a data packet into the CM-510 using the following simple program:
START PROGRAM
{
IF(Remocon Arrived == TRUE)
{
RXX = Remocon RXD
Aux LED = TRUE
}
}
I never get the light. Even if I send the packet properly formatted.
What I think is going on is....the Zig-100 doesn't just have a radio in it, it has an ATMega microcontroller in there. It does something to signal to the CM-150 when it is connected. Otherwise, by default it assumes you have the IR receiver for the remote control attached. This is why it uses a 2K send rate by default, for sending via the IR remote port.
Without putting a protocol analyzer between the zig-100 and the CM-510, there is no way to know for sure. Unless somone has some info they can post here that tells me the answer for sure, that will be my next step.
Thanks,
-Ted