PIC digital data on pir motion sensor signal

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
rha
Posts: 2
Joined: 06 Nov 2017 15:11

PIC digital data on pir motion sensor signal

#1 Post by rha » 06 Nov 2017 16:14

Hi All ,
I'm a software programmer , java programmer exactly, i'm not an electronic or electronic programming stuff specialist but i'm passionnate for that, so i hope you'll be patient while reading my problem .
I'm working on a home automation solution based on raspberry pi and a couple of sensors like pir motion sensor,
when pir motion sensor detects movements it delivers 3.X v on a specific pin ,
what i want is to connect the sensor to some PIC that capture this current presence, and generate some digital data (that represent numeric value) and this data will be sent over a 433 mhz tx , the data will be then read on a receiver that is connected to raspberry pi .
What is mostly fuzzy for me is the PIC part ,
is it first of all doable , what pic ( i prefer microchip because i already have microchip pickit 3, and mikroC installed to program the chip )
can do the stuff , means on current presence , generate output digital signal.
if yes, i'm not really asking any one to give me the working program , but to put me on rails, by pointing me to some helpful resources to my problem.
Thank you in advance for your help

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: PIC digital data on pir motion sensor signal

#2 Post by lana.arsic » 08 Nov 2017 18:44

Hi,

Welcome to the MikroE forum.

You may find Motion click and its examples useful:

https://libstock.mikroe.com/projects/vi ... ck-example

In addition you can take a look in Manchester example in the compiler,
it is located in for example:

c:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Examples\Other\Manchester\

Regarding decision which PIC to use, I suggest to check ROM and RAM
memory usage of the examples and to search by parameters on Microchip's website.

Or you may want to consider to use one of PIC MCUs which are connected
on our development boards:

https://shop.mikroe.com/toolchains/pic

Kind regards,
Lana

rha
Posts: 2
Joined: 06 Nov 2017 15:11

Re: PIC digital data on pir motion sensor signal

#3 Post by rha » 13 Nov 2017 15:24

lana.arsic wrote:Hi,

Welcome to the MikroE forum.

You may find Motion click and its examples useful:

https://libstock.mikroe.com/projects/vi ... ck-example

In addition you can take a look in Manchester example in the compiler,
it is located in for example:

c:\Users\Public\Documents\Mikroelektronika\mikroC PRO for PIC\Examples\Other\Manchester\

Regarding decision which PIC to use, I suggest to check ROM and RAM
memory usage of the examples and to search by parameters on Microchip's website.

Or you may want to consider to use one of PIC MCUs which are connected
on our development boards:

https://shop.mikroe.com/toolchains/pic

Kind regards,
Lana
Thank you Lana that's a good start !

Post Reply

Return to “User Projects”