In This Chapter
Adding a reset button to your Raspberry Pi
Saving on batteries for your EV3 brick
Controlling the LEGO motor directly from your Raspberry Pi
Reading the motor’s rotary sensors
Revealing the secrets of the EV3’s sensors
Accessing the LEGO peripherals without building anything
In the previous two chapters, we show you ways to communicate with the LEGO MINDSTORMS EV3 Intelligent Brick. In this chapter, we get a lot more hacky and look at controlling motors and reading sensors directly from the Raspberry Pi.
You can make your own cables that are much more flexible than the official cables, and we show you how in this chapter. Finally, when using the Raspberry Pi with a LEGO system, you can save on battery power and customize your project to your liking, and we cover all that in the pages that follow.