cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Esteemed Contributor

NO, It's not AK-47, but it's an AK9750!

This is an IR sensor with I2C I/F from AsahiKASEI and the module was from Strawberry Linux

AK9750 | Product | AKM - Asahi Kasei Microdevices

AK9750 人感センサーモジュール(4素子タイプ) - AK9750 - ネット販売

It has 4 IR sensors to be used detecting human or some warm object.

IMG_3473.JPG

I wrote a sample program with CY8CKIT-044.

schematic was quite simple

000-schematic.JPG

UART, I2C and one interrupt from AK9750 and one from SW2 to switch mode between interrupt and polling.

As the 4 sensors covers area like below (the picture is from the datasheet)

004-Sensor-areas.JPG

I decided that it's a time to use my previous sample "vt100"

A simple VT100 Escape Sequence Emulator

So I located the values of each sensors in diamond like positions.

The TeraTerm log looks something like below

(POLLING MODE)

001-TeraTerm-POLLING.JPG

(INTERRUPT MODE)

003-TeraTerm-Interrupt.JPG

I tried to locate an asterisk in the middle to reflect the value relation of IR1 and IR3, IR2 and IR4,

not quite good index, but ... well... I hope it's better than nothing.

The distance between the sensor and the object and the position of the object matters.

As far as I played with this, distance of 5cm~10cm seemed to be easy to see the value characteristics.

moto

3 Replies
Honored Contributor II

moto,

what is the shooting range for AK9750?

0 Likes
Reply
Esteemed Contributor

Dear Odissey1-san,

This Arm is surely for close quarters.

I tested about up to 1.5m and it was detecting my movement.

It was the limit of the length of my arm.

Then I left the sensor on my desk and moved away,

at least 2m~3m seemed to be inside the range,

the detecting area got smaller though.

As I didn't want go outside of my office window,

I stopped there.

Best Regards,

9-Mar-2019

Motoo Tanaka

0 Likes
Reply
Esteemed Contributor

本サンプルは CQ出版 インターフェース 2019年6月号に

2019年6月号 | Interface – CQ出版

ふえる今どきセンサNote

その17 動作方向も判別できる人感センサ

として掲載されました。

I contributed this sample project to a Japanese technical magazine

"Interface" June/2019 edition.

moto

0 Likes
Reply