HB100 radar!

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
jgu1
Posts: 602
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: HB100 radar!

Post by jgu1 »

Wow Martin, thank´s ;)

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: HB100 radar!

Post by medelec35 »

Flowchart used: Doppler 16F1937.fcfx
Using Eblocks BL0080 with 16F1937
The only thing I had to do was change the address of my backpack as its 0x63.
Connected signal generator to C0 & GND.
Connected backpack LCD to : SCL = C3, SDA = C4.
Selected 1KHz CMOS O/P from signal generator.
Worked first time with 16F1937:
IMG_20210921_203529_edit_216067485433176.jpg
IMG_20210921_203529_edit_216067485433176.jpg (100.56 KiB) Viewed 3559 times
Hopefully, you can see the display OK?
Martin

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: HB100 radar!

Post by jgu1 »

Well well Martin, yes I see very fine. What am I doing wrong. Is this from one of my examble? If not would you then please send me the program you use. And which pin are you using for the X tal? I use pin 13 + 14.

Again thank´s in advance

.

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: HB100 radar!

Post by medelec35 »

jgu1 wrote:
Wed Sep 22, 2021 4:57 pm
Is this from one of my examble?
Yes, I'm using Doppler 16F1937.fcfx which you posted.
Is the one second flash test spot on?
I have noticed that you have not got the crystal matching caps connected.
I'm wondering if that is affecting things?
Just make sure the once sec delay stays as one second for a while.
Your want to make sure your hardware is not stopping.
Perhaps you can send seconds elapsed to your display.
What pin have you got the sig gen connected to?
jgu1 wrote:
Wed Sep 22, 2021 4:57 pm
And which pin are you using for the X tal? I use pin 13 + 14.
The crystal connects to pins osc1 & osc2 so, yes 13+14 is correct.
Martin

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: HB100 radar!

Post by jgu1 »

Yes one sec flash.
Correct no caps I will do. But when I test signal out to the display, no signal. I also test via myEB006-009 board, same result.
There is nothing i the display.

"Perhaps you can send seconds elapsed to your display." I will test.

"What pin have you got the sig gen connected to?" Not tested yet, because black display.

Of course, when it work by you, it should also work by me. I will try with a new decvice and test all my connection again. :)

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: HB100 radar!

Post by jgu1 »

Test on my EB 009 Board.

If I place the led_flash in the beginning in Main before the Loop, it flash as it should.

If I place the led flash inside the loop it give a single flash every aprox. 45 sec. It´s just like the program slow down when it reach the mainloop :D

If I disable all display macro, the led flash begin to work?????



But Martin, you already used lot of time on this project, don´t waste more time on this, I can imagine you have lot of things to do ;)

Thank´s
Jorgen.
Attachments
Doppler 16F1937 Test display.fcfx
(22.47 KiB) Downloaded 115 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: HB100 radar!

Post by medelec35 »

jgu1 wrote:
Wed Sep 22, 2021 7:30 pm
If I place the led flash inside the loop it give a single flash every aprox. 45 sec.
jgu1 wrote:
Wed Sep 22, 2021 7:30 pm
If I disable all display macro, the led flash begin to work?????
To me, both of these statements suggest there is an issue with the I2C backpack display.
Either you are using an out of date Flowcode component.
Check by selecting Help, Library Updates...
Change the Files in-use to full database
If any components have been updated, you will need to select Reload for the effects to take place.
have you entered the correct address for the display?
You can test the display address using the Arduino.
Here is an Arduino Sniffer
Have you got the display Data going to C4 and clock going to C3?
Martin

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: HB100 radar!

Post by jgu1 »

Ligth in the end of the tunnel, please wait, now the display work and I see change in the freq and speed. Unfortunalely I don´t have more time today
Come back tomorrow Martin. You hear :D

Jorgen

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: HB100 radar!

Post by medelec35 »

Sounds promising, what was the issue?
Martin

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: HB100 radar!

Post by jgu1 »

Hi Martin!

I dare almost not to tell you :D You know, two of those jumperwire (chinese) we use in breadboard when we connect devices, there was somtime bad connection in these :x

Your program work now. And when I send 50 hz to the counter, display show 50 hz Speed 2,51 km/h 1,59 MP/h

I will during the weekend (had a long hard workday today) connect the amplifier and the radar, and hopefully be able to send out some speeding tickets/fee :lol:

I apologize for the inconvenience you have had for my mistakes. I am very grateful and glad for your efforts.

You will hear from me.

Jorgen

Post Reply