More serial port foolishness

So I’m still banging my head against the difficulty of making a simple serial connection between my Raspberry Pi and an ATMega chip on a daughter board. And I still have not got it working properly. Overnight it occurred to me that I ought to have turned off the serial port login on the Raspberry …

Continue reading ‘More serial port foolishness’ »

Using the bcm2835 C library for SPI

Yesterday I used Gordon’s WiringPi library to successfully read analogue voltage values from an MCP3002 chip over SPI. My plan for today was to try and read data as fast as possible, to begin building one version of an ultrasonic “bat detector”. However, I got a bit distracted.. When I looked in detail at the …

Continue reading ‘Using the bcm2835 C library for SPI’ »

First trial of fourier transform on a KL25z

Progressing with my attempt to record and process ultrasonic sounds, I have spent this evening with a trial version of a fast fourier transform (FFT) on the KL25z ARM board. My hope is that if I can get it running fast enough and well enough, I can offload that part of the work to this …

Continue reading ‘First trial of fourier transform on a KL25z’ »

Going Batty

I’m a big fan of bats. I even went so far as to make a video at Natterer’s Wood in Bury St Edmunds. I have borrowed a “bat detector” (a device for listening to the ultrasonic noises made by bats as they fly and hunt) a few times, and it has always been very interesting, …

Continue reading ‘Going Batty’ »