Open jabrena opened 7 years ago
No, it's not complex.
But, to which part of my program do you refer?
Yesterday, I found your project and I think that you have key to integrate Arduino with RCX brick running with LeJOS. The idea could be send some value from Arduino to RCX using Opcode.
Example: http://lego.wikia.com/wiki/9738_RCX_Remote_Control_Unit http://www.lejos.org/rcx/tutorial/communication/remotecontrol.html https://github.com/michaelko/tvm/blob/master/examples/remotectl/RemoteControlTest.java
What is your opinion?
If the POC run nice, Arduino could used to add more sensors to a RCX brick.
Cheers
Juan Antonio
I'm not an expert with leJOS. But I think you are right. It should be possible to send RCX Opcode via Arduino to the RCX. You may use my send(..) function to send RCX Opcode, which starts like this in the code:
/**
* send 11 bits like this:
* 1 start bit 0
* 8 data bits
* 1 odd parity bit 1
* 1 stop bit 1
*/
void send(int data) {..}
Nice!!!
This week, I will try to create a n example to test the idea.
We are in contact.
Cheers
Hi,
Is it complex to send opcodes to RCX with an Arduino using IR? http://www.mralligator.com/rcx/opcodes.html
Cheers
Juan Antonio