Hi!
Is it possible and not to difficult to create a component in FC for this radar so it is possible to measure the speed. Similar to this:
https://stoppi-homemade-physics.de/dopplerradar/
I can send one device for test.
Thank´s in advance.
Jorgen
HB100 radar!
-
- Posts: 615
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: HB100 radar!
Hi Jorgen,
That looks very interesting. I know Medelec has just been working on a frequency meter and so converting this to speed looks to be a very simple task.
Speed KM/H = Frequency / 19.49
Speed M/H = Speed KM/H * 0.621371
Making a universal component to measure frequency should be possible.
That looks very interesting. I know Medelec has just been working on a frequency meter and so converting this to speed looks to be a very simple task.
Speed KM/H = Frequency / 19.49
Speed M/H = Speed KM/H * 0.621371
Making a universal component to measure frequency should be possible.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: HB100 radar!
Hi Ben!
Thank´s for reply. Ok so simple I will give it a go with Martin´s frequency counter. But anyway, it would be nice with a component for the HB100 too.
Maybe also be able to choose HB100 for other purposes. Example in addition to being able to measure speed, use it to detect if someone / something is approaching similar Pir sensor which could be selected in properties.
By the way, for loooong time ago you create a component for the ILI9488 display. I promised to let you know when I have test this with SPI. I have still not received the display, Ebay you know wrote to the seller today and ask......
Br regard
Jorgen
Thank´s for reply. Ok so simple I will give it a go with Martin´s frequency counter. But anyway, it would be nice with a component for the HB100 too.
Maybe also be able to choose HB100 for other purposes. Example in addition to being able to measure speed, use it to detect if someone / something is approaching similar Pir sensor which could be selected in properties.
By the way, for loooong time ago you create a component for the ILI9488 display. I promised to let you know when I have test this with SPI. I have still not received the display, Ebay you know wrote to the seller today and ask......
Br regard
Jorgen
-
- Matrix Staff
- Posts: 1464
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 514 times
- Been thanked: 474 times
Re: HB100 radar!
Hi Jorgen.
Can you send me a flowchart that just has a one-second flasher working at the correct frequency?
I will then see if I can get the doppler radar to work for you.
Can you send me a flowchart that just has a one-second flasher working at the correct frequency?
I will then see if I can get the doppler radar to work for you.
Martin
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: HB100 radar!
Hi Martin!
You are amazing . Hereby one sec flasher for a pic and an Arduino ( hope I understand you correctly) Both is tested in real world.
For the Arduino is the 98% accuracy for one second. The timer0 Prescaler rate is 1:1024 and give a frequency 61.035 hz.
The Pic16F876 is 100%
I will start create the amplifier with a LM324N today.
Hope this is ok?
Jorgen
You are amazing . Hereby one sec flasher for a pic and an Arduino ( hope I understand you correctly) Both is tested in real world.
For the Arduino is the 98% accuracy for one second. The timer0 Prescaler rate is 1:1024 and give a frequency 61.035 hz.
The Pic16F876 is 100%
I will start create the amplifier with a LM324N today.
Hope this is ok?
Jorgen
- Attachments
-
- HB100Pic16F876.fcfx
- (11.73 KiB) Downloaded 125 times
-
- HB100Nano.fcfx
- (11.91 KiB) Downloaded 130 times
-
- Matrix Staff
- Posts: 1464
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 514 times
- Been thanked: 474 times
Re: HB100 radar!
Thank you for the files, happy to help.
The reason for asking is so I know that the flowchart runs your hardware OK.
What display are you using, the generic 16x2?
I will use the 16F876.
The reason for asking is so I know that the flowchart runs your hardware OK.
What display are you using, the generic 16x2?
I will use the 16F876.
Martin
-
- Matrix Staff
- Posts: 1464
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 514 times
- Been thanked: 474 times
Re: HB100 radar!
Hi, Can you give this a try please?
The frequency input is T1CKI = pin15
I have not got your microcontroller, so unable to test on hardware first.
The frequency input is T1CKI = pin15
I have not got your microcontroller, so unable to test on hardware first.
- Attachments
-
- Doppler 16F876.fcfx
- (20.59 KiB) Downloaded 139 times
Martin
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: HB100 radar!
Thank´s Martin. As you see on picture, so far so good
But pin 15 is SDA C4for the display, and I cannot remap this pin. I dare not to change something in your program, can you change the input from the doobler to another pin input, please?
***EDIT*** Of course, I change the display from channel1 to software C4 > C5 Display still work but no speed readout in display. I also try to connect my signal generator TTL not help
But pin 15 is SDA C4for the display, and I cannot remap this pin. I dare not to change something in your program, can you change the input from the doobler to another pin input, please?
***EDIT*** Of course, I change the display from channel1 to software C4 > C5 Display still work but no speed readout in display. I also try to connect my signal generator TTL not help
- Attachments
-
- IMG_1987.JPG (80.4 KiB) Viewed 4360 times