cancel
Showing results for 
Search instead for 
Did you mean: 

ev1527

mahmoud boroumand
Associate III
Posted on August 01, 2017 at 09:16

hello 

does anybody have any code  with stm32f10 for decode ev1527 output signal.

i confused how it works.

please help

3 REPLIES 3
Posted on August 01, 2017 at 16:14

Hi Mahmoud,

A question, do you have the module or just the chip? could you attach an image because if it is the module you just need to power the receptor and read the pins as GPIOs while the transmisor is pressed.

Posted on August 02, 2017 at 08:26

Hi !

This module has an ASK receiver with digital (LO ,HI) output  and working in standard rate bps.

Hi state represents '1' bit and LOW state represents '0' bit.  There is not any clock signal to synchronize this output with MCU.

You must 'produce and use this clock signal internaly' (by timer) and take some samples at every period, to evaluate bit state.

You need to connect module's output to a GPIO pin, first.

1. Make, a time base that will generate interrupts every 1/rate period .

2. You must 'synchronize or/and resynchronize' the start of timer's counter with the start of first(or every) positive pulse you receive. This configuration needs the GPIO pin use EXTI interrupt , to 'trigger a reset with interrupt' to the counter of the time base.

3. At every interrupt service routine produced by the timer, you will take the state of pin by take sample(s) after eg half period.

You can use the data collected  according to the protocol of your transmitter.