Projects

Debug GPIO with LED

Debug GPIO with LED

During the daily device driver development routine, we often need to understand the behavior of the GPIO pins to understand if there is I2C traffic or if our driver is handling the coming interrupts and so on. Sometimes is not enough to mount the debugfs interfaces and read out the values or cat/grep the /proc/interrupts […]

Debug GPIO with LED Read More »

How to Use Timer in Raspberry Pi

How to Use Timer in Raspberry Pi

The Raspberry pi is a device which uses the Broadcom controller chip which is a SoC (System on Chip). This SoC has the powerful ARM11 processor which runs on 700 MHz at its core. This powerful processor and the controller having the peripherals like timers, interrupt controller, GPIO, PCM / I2S, DMA controller, I2C, SPI

How to Use Timer in Raspberry Pi Read More »

How to connect a Lego Mindstorms NXT Ultrasonic Sensor to the Raspberry Pi

How to connect a Lego Mindstorms NXT Ultrasonic Sensor to the Raspberry Pi

Abstract Directly connect a Lego Mindstorms NXT Ultrasonic Sensor to a Raspberry Pi. A TCA9517 I2C bus buffer and an additional GPIO pin for SCL is necessary. A short C++ program to read the measured distance is provided. Introduction Raspberry Pi (Pi), despite some shortcomings, is definitely my favorite SBC. By far the biggest community

How to connect a Lego Mindstorms NXT Ultrasonic Sensor to the Raspberry Pi Read More »

Scroll to Top