Search found 342 matches

by viktor_au
Sat Jan 07, 2023 9:58 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi Re: motor current monitoring I used the AC712 module first, but due to a lot of unstable readings I changed it to a simple 2A fuse. I think a hand resistance (try to stop the gate by one hand) will blow it. 1527 protocol Sure. Understood. I think I am close to read the PIR sensors, but due to som...
by viktor_au
Fri Jan 06, 2023 10:50 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi

A link to my old project (the automatic gate) with 433mHz Tx->Rx module.
http://www.geocities.ws/viktor_au/proje ... oller.html
by viktor_au
Fri Jan 06, 2023 6:07 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi I am not sure why do you want to measure the RF TTL signal. As I understood you have the complete system to control the AC garage door: the button Tx module and Rx module with two relays. If you connect the Rx module output to MC input you can control the opening and closing of the garage door by...
by viktor_au
Thu Jan 05, 2023 10:05 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi

Re: I have two transmitter units
If you have two transmitters, what kind are they?
Is it the two-button module or just one button module?
by viktor_au
Thu Jan 05, 2023 8:19 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hello Re: There is a single chip marked 9890, a crystal with the odd discrete or two. I think it is a decoder chip. Probably not 9890, but 9896. Re: Unfortunately I don't know what the board outputs, RF or digital but I suspect it isn't RF. RF is an umbrella word. RF covers all possible frequencies ...
by viktor_au
Wed Jan 04, 2023 10:32 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi
Accidents... What can you do...

Can you please have a look at the Rx module chip?
I tried to find out on the web-site, but failed.

Is it SYN470R?
by viktor_au
Wed Jan 04, 2023 5:12 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hello

Can you please publish a photo of your module?
Is it a Rx only module?
by viktor_au
Mon Jan 02, 2023 10:42 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi Re: Pulse duration I can be wrong but I can say that the Timer1 readings are not stable. This is the reason number 1. Another problem is the amount of 'noise' during transmission and reception. Voltage as well. Re: consistence of the pulse duration. I don't think that duration is constant (again ...
by viktor_au
Mon Jan 02, 2023 8:22 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

1527 protocl as Morze code

Hello After thinking about the decoding method I have realised that (probably?) no need in measuring the duration of the pulse during the High state and the Low state. We can measure duration only during the Low state. Just a suggestion. We can decode the protocol measuring the duration during one o...
by viktor_au
Fri Dec 09, 2022 9:36 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Thanks
Would be interesting to see the results
by viktor_au
Thu Dec 08, 2022 9:16 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hello Re: roller door For a few years I used the front gate controller based on Nano, however this project used an end-switches. Re: 1527 based receiver Would be interesting to see how it goes. Re: rxb12 receiver I see the next problems in my project: - noisy AGC and ways of waiting until AGC level ...
by viktor_au
Mon Nov 28, 2022 11:33 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi Re: Preamble+Address+Data I think the packet repeated unchanged: Preamble+Address+Data. SYN470R, 433MHz module There are different modules with SYN470R chip. Mine is the cheapest one and the outputs of data and squelch are connected or squelch is deactivated. Re: need to concentrate on this circu...
by viktor_au
Mon Nov 28, 2022 10:56 pm
Forum: Flowcode V8
Topic: C-code->how to add micros() function?
Replies: 2
Views: 9710

Re: C-code->how to add micros() function?

Well... It is one way to do it.
Another way is to use C-code..

Thanks Ben
by viktor_au
Mon Nov 28, 2022 12:55 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi

Re: if there is a way you can record / send an actual signal and then a way we can 'play back' this signal to test?

I think it is possible, but right now I don't have access to my scope.
If I do, I would connect the output of rxb12 433mHz receiver to my scope and record the packet.
by viktor_au
Mon Nov 28, 2022 12:52 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

What people write about the Automatic Gain Control in SYN470R chip June 15, 2020, 05:41:18 pm -- My receivers all had the noise problem, no matter what voltage, pullup or power condensor I used. Even a speed change did not provide any improvement. For some reason, I took the power supply away from ...
by viktor_au
Sun Nov 27, 2022 8:11 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi Chipfryer Re: Enable IOC on D2 (or perhaps wait until high) That is a problem as we deal with floating level of output of SYN470R Rf chip. Signal is not clean and as I understood some programs will run a few cycles until the AGM output of SYN470R will go lower. I attached a very noisy RF 433.975 ...
by viktor_au
Sun Nov 27, 2022 12:59 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hello Martin Pulse count is a good idea. I was thinking about it. Say... If we have 4 pulses in one bit, each pulse has 3 raising/falling edges... than one bit shouldn't have more than 3*2=12. Is it correct? Testing you program No go... For some reason I belive that Timer1 component doesnt' work. I ...
by viktor_au
Sun Nov 27, 2022 12:58 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi chipfryer

I have to study about your 'sampling design more.
Will answer shortly.

Thanks
by viktor_au
Sat Nov 26, 2022 7:09 pm
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi
As I understood correctly:
- if state of D2 pin changed
- disable IOC (D2)
- start 350uS timer
- enable IOC
- wait for pin D2 change
- disable IOC
- measure the duration

Is it correct?
by viktor_au
Sat Nov 26, 2022 7:09 am
Forum: Flowcode V8
Topic: C-code->how to add micros() function?
Replies: 2
Views: 9710

C-code->how to add micros() function?

Hello
I am trying to add a C-code from an Arduino IDE program.
It is a micros() function.
I have problem, as this function calls a cli() --( macro) that executes an assembler macro to disable interrupt.

Any help will be great.
by viktor_au
Fri Nov 25, 2022 8:53 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hello Martin I have check the rxb12 433mHz receiver (again). Looks like the SYN470R chip Automatic Gain Controller output level should be pulled down or up before receiving the ttl data. I tried both ways. If D2 by setup = 0, no input at all. If D2 by setup = HIGH, it works (with RCSwitch library). ...
by viktor_au
Fri Nov 25, 2022 12:30 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

what about low-pass software filter?
by viktor_au
Thu Nov 24, 2022 10:53 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi Martin Code looks good. I don't thing it is a code. In real life the output of 433mHz receiver is very noisy. I read on www that some wait for the second or third packet to start processing data. I would be able to fix the shcmitt trigger (maybe) next week of week after. And will try your code ag...
by viktor_au
Thu Nov 24, 2022 12:40 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hello Martin I have tried your new version. No go... ------------------------ What do we have in a state machine logics? On any edge of pinD2 change: 1. raising edge: state=Start. Is it a noise? (.pullse < 50) && (state != IDLE) No -> Is it -> a 350mS pullse? (.pulse >= 300) && (.pullse < 400) No 2....
by viktor_au
Tue Nov 22, 2022 9:15 am
Forum: Flowcode V8
Topic: HC-12 433 mHz module + Ard + Kerui PIR
Replies: 94
Views: 514099

Re: HC-12 433 mHz module + Ard + Kerui PIR

Hi Martin

I have to slow down a bit.
Will come back to this issue after I make a new PCB and signal will be better.
Appreciate your help.