Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6469

General • Re: No DCF77 reception without wifi?

$
0
0
Hi,

I'm also planning to make a pico clock with a DCF77 receiver.

When interpreting this thread it souns like switching on GPIO23 actually did work for you?!
Unfortunately not for me... or did I miss something?

My normal setup are two picos, one as picoprobe connected via USB to my desktop PC and the other one connected to the first one.
I also tried another setup with a 12V power supply and a 5V DC/DC converter.

That's the one I've got.
VDD on 3V3, GND on GND, OUT on GPIO16.
I would expect to see the DCF77 100ms / 200ms pulses on the LED, where i put it out directly.
Nothing happens.

TP4 has 3,3V, in some positions or when moving the receiver I get some flickering on the LED, but no stable 1s DCF signal.
If it works for you - what am I doing wrong?
Unfortunately I've got no oszilloscope.

Code:

const uint LED_PIN = PICO_DEFAULT_LED_PIN;int main() {    gpio_init(LED_PIN);    gpio_set_dir(LED_PIN, GPIO_OUT);        gpio_init(16);    gpio_set_dir(16, GPIO_IN);    gpio_set_pulls(16, false, true);        gpio_init(23);    gpio_set_dir(23, GPIO_OUT);    gpio_put(23, true);    while (true) {        gpio_put(LED_PIN, gpio_get(16));    }}
UPDATE:
When putting a LED on the DCF77 OUT, I actually do get a obviously correct signal! It's not perfect but maybe sufficient.
As soon as touching the DCF77 OUT with the GPIO it stopps working and hungs up.

I added "gpio_set_pulls(16, false, true)" maybe that's contra-productive, how should the pull-up/down situation be?

Statistics: Posted by Michel_0 — Sat Jan 11, 2025 10:04 pm



Viewing all articles
Browse latest Browse all 6469

Trending Articles