
HB100 radar!
-
- Posts: 774
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: HB100 radar!
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: Hopefully, you can see the display OK?
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: Hopefully, you can see the display OK?
Martin
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: HB100 radar!
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
.
Again thank´s in advance
.
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: HB100 radar!
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?
The crystal connects to pins osc1 & osc2 so, yes 13+14 is correct.
Martin
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: HB100 radar!
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.
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.

-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: HB100 radar!
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
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.
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

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 531 times
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: HB100 radar!
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
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: HB100 radar!
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
Jorgen
Come back tomorrow Martin. You hear

Jorgen
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: HB100 radar!
Hi Martin!
I dare almost not to tell you
You know, two of those jumperwire (chinese) we use in breadboard when we connect devices, there was somtime bad connection in these
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
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
I dare almost not to tell you


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

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