M
M
Moonlight14012016-01-18 11:56:53
Electronics
Moonlight1401, 2016-01-18 11:56:53

How to make a motion sensor on IR diodes and photoresistors with an audio signal output?

Please help, maybe someone has already implemented this. It is necessary to put a motion sensor on IR diodes and photoresistors in the trash can. (I understand that there will be a reaction only to more or less dimensional objects, not the essence, but if there are suggestions, please help). So far, the idea is this: 4 IR diodes and 4 phototransistors against each other in a circle. When one of the beams is interrupted, a pre-recorded sound signal (word) should work. I found how to implement sound output on Attiny
(getchip. net/posts/087-attiny2313-sd-card-talking-device/), a space before net, otherwise the link does not work , I
also found a couple of circuits for a motion sensor:
(photo relay - www .sdelaysam-svoimirukami.ru/177-podborka_prostyk... ; radio-stv.ru/ot-chitateley/datchiki-dvizheniya-svoimi-rukami).
But, because I'm a teapot, can't figure out how to combine everything. I would also like the circuit to be powered by the controller (MB and not the controller):
www.aliexpress.com/snapshot/7234879128.html?orderI...
gives out 5v, in theory. Or tell me how to power the circuit without an outlet, using batteries.
Another question arose, just according to the method of connecting 4 elements (diodes, phototransistors), in order to maintain performance, how to connect them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ai Lab, 2016-01-18
@vpuhoff

It’s not clear how you are going to play sound without MK, ideally you can use something like this , the quality will be better than tiny can, but it will definitely be more expensive and it’s not a fact that you can start it without MK.
In any case, your task is simple, the LEDs can be powered from the same power as the board, just choose the right resistors, phototransistors can be used, but you can forget about calibration, photoresistors are easier, then you can adjust the sensitivity.
In general, there are a lot of sensor circuits and it’s easy to google, but making sound is a more difficult task and without MK it’s difficult to implement.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question