EEVblog Electronics Community Forum
Electronics => Projects, Designs, and Technical Stuff => Topic started by: 0xdeadbeef on October 04, 2017, 11:38:02 am
-
Another little spare time project of mine.
Quite some time ago I stumbled over the Panasonic "Grid-Eye" AMG88 family of infrared sensor arrays.
They only have 8x8 pixels, but in comparison to Flir Lepton sensors, they are relatively cheap (~25€ including VAT) and easy to get (RS).
So I ordered one some weeks ago, created a small breakout board and while I was at it, used the opportunity to create a mini IR cam by adding a cheap chinese "65k" OLED module (~6€).
Since I was playing around with the LPC824 for another project, I used it as a chance to test (and bugfix) my SPI library.
The LPC824 (32k ROM, 8k RAM) is running from a (trimmed) internal RC oscillator at 12MHz. Communication with the AMG88 is I2C and pretty straight forward.
The temperature data is 12bit signed and the maximum frame frequency is 10Hz (actually there is only a 1Hz and 10Hz mode).
So the LPC824 collects the data every 100ms, converts it to an IR false color palette, scales it up to 64x64 pixels and sends it with a four line SPI (CLK, MOSI, CS, C/D) to the OLED (96x64 pixels).
Luckily I could use the HW SPI CS feature of the LPC824 in combination with DMA, so even though the data needs to be sent in 8bit frames (one CS per 8bit), I can send one full scaled up line (64x8 16bit pixels) with one DMA transfer.
The whole setup needs ~60mA.
-
Very cool project !
-
Thanks! Actually it makes me smile as soon as I plug it in (even though I own a Flir E4).
If I hadn't so many other unfinished projects, I would sure be a funny gadget to put in a little case.
I guess this kind of sensor could also be used for some kind of desktop toy, i.e. to track a face or hand and use it to control some eye or head movements.