Home › Magazines › 2002 › April › I2C Interface for Lego RCX 'Brick'

I2C Interface for Lego RCX 'Brick'

makes unprecedented extensions possible!

Published in issue 309, April 2002

I2C Interface for Lego RCX 'Brick'
It has, by now, become well known that the Lego RCX-module is eminently suitable for experimenting with such things as robotics. But once the designs grow beyond simple experimentation it quickly becomes obvious that the number of inputs and outputs that this control module provides, are rather insufficient. That’s why Elektor Electronics presents the I2Cinterface for this Lego brick. An entirely new world is opened up: in principle, no fewer than 128 I2C-devices may be connected to the bus!The RCX, the ‘intelligent’ component of the Lego Robotics Invention System, which forms part of the Lego Mindstorms program, is eminently suitable to serve a as the basis of various automation applications. Apart from the programming that is still required, it is very easy to assemble, for example, a small robot together with ‘normal’ Lego parts. However powerful or modular the design of the RCX-module may be, when more things have to be controlled or measured than are possible with the three inputs and the three outputs, you’re out of luck…
(interface board)
Resistors:
R1,R6,R7,R12,R13 = 1kOhm
R2,R8 =3kOhm 3
R3,R5,R9,R11 = 100Ohm
R4,R10 = 4kOhm 7
Capacitors:
C1,C3 = 22µF 16V radial
C2,C4 = 1µF 16V radial
C5 = 220µF 25V radial
C6 = 100nF
C7 = 1000µF 16V radial
Semiconductors:
D1, D14 = zender diode 4.7V 400mW
D2-D13,D15-D26 = 1N4148
D27 = low-current LED
T1-T4 = BC547
IC1-IC4 =CNY17-2
IC5 = 7805
Miscellaneous:
K1,K2,K3 = 6 PCB solder pins
K4 = 10-way boxheader
Disk, project software, order code 010089-11 or free download
(test board)
Resistors:
R1-R8 = 560Ohm
R9,R10,R11 = 10kOhm
Capacitors:
C1,C2 = 100nF
C3 = 10µF 16V radial
Semiconductors:
D1-D8 = rectangular LED
IC1 = PCF8574
IC2 = 74HCT245
Miscellaneous:
K1 = 10-way boxheader
S1 = 3-way DIP switch (4-way will also fit)

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (e024038.pdf)
10 Elektor Credits
PCB layout (010089-PCB.pdf)
10 Elektor Credits
 

Order from Elektor 

PCB
010089-1
PCB
010089-2
 

Order from Eurocircuits 

PCB

PCB

 

Free downloads 

010089-11.zip

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF