Home › Magazines › 2000 › December › Three Switches on One RCX Input

Three Switches on One RCX Input

Published in issue 294, December 2000

One of the main limitations of the RCX module of the Lego Robotics Invention System is that only one switch can be connected to a given input. Even though each input has a measurement range of 0 to 1023, using an internal 8-bit A/D converter, the software works with only two states for detecting a switch: open and closed.If you use the standard Lego software, you will have to accept this limitation. However, if you use a different programming language, such as Visual BASIC, it is not that difficult to find a way around it.

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

 

Downloads 

PDF Article (E00cH29.pdf)
10 Elektor Credits
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