Reading analogue data on a Raspberry Pi using MCP3002

I got a bit disappointed with my little bus pirate yesterday. I’ll investigate how to update it to fix the odd SPI behaviour another time, but for now, its on to trying to read the MCP3002 SPI ADC chip directly using the Raspberry Pi. However, this one I’m going to do a bit differently. My …

Continue reading ‘Reading analogue data on a Raspberry Pi using MCP3002’ »

Another try at reading a MCP3002 ADC with Bus Pirate

A few months ago I got somewhat stuck trying to understand how to “join the dots” between the Bus Pirate and a MCP3002 SPI analogue to digital converter (ADC) chip. Finally I abandoned the effort and moved on to other things. More recently, however, I have succeeded in sending data to a MAX7219 LED matrix …

Continue reading ‘Another try at reading a MCP3002 ADC with Bus Pirate’ »

Using Raspberry Pi with a Freescale KL25z

In my continuing quest to get ultrasonic sound information in to a Raspberry Pi so I can do interesting stuff with bat sounds, one of the candidate devices I have identified is the Freescale Freedom KL25z board. Unlike the MCP3002 that I tried to connect to recently, this is not just an analogue to digital …

Continue reading ‘Using Raspberry Pi with a Freescale KL25z’ »

Pirates and SPIs

“Pirates and SPIs” sounds like a cheesy adventure story, but I’m afraid it’s more likely to be a serial than an exciting drama. A few days ago I had a delivery of some components I had ordered, including a MCP3002 analogue to digital converter. The data sheet for this device claims that it can do …

Continue reading ‘Pirates and SPIs’ »

A possible candidate for analogue input

I’m still looking for a way of getting analogue input into my Raspberry Pi so I can build an ultrasonic “bat detector”. I looked at this a few days ago, and came away disappointed with the slow speed of all the analogue input devices I could find. I think I may have found an answer. …

Continue reading ‘A possible candidate for analogue input’ »

Analogue input

Unlike many embedded controller boards, the Raspberry Pi does not have any analogue input. For a lot of uses this is not an issue, but as I progress with my plans to build an ultrasonic recording and processing system (a.k.a “bat detector”) I’m beginning to think that I need to add some analogue input to …

Continue reading ‘Analogue input’ »