Slowly converging..
I should probably also display a longer running count.
This is one count off in an hour.
Slowly converging..
I should probably also display a longer running count.
This is one count off in an hour.
Once it all works, I want to add support for something like the si5351c and also use this setup to calibrate this.
Can't find a si5351c ready board to test with (only the a version). I rather test it before I make a PCB.
Drawing out the schematic on the board it seems perfect to make a window DAC. A MCP4725 @ 3.3V replacing the pot-meter gives us a control window of 1.95-2.31V (typo in previous post, the old range is 1.95-2.17V)
This seems to match perfectly.
Now running tests to slowly converge to a ~0ppb offset.
In my reference clock project we now can:
* accurate count the 10MHz clock
* Count against GPS PPS to get offset over longer period.
Next step is to 'tune' the OCXO based on the calculated offset.
The board uses a 204k pot-meter, allowing you to tune OCXO Vref between 1.96-2.32V.
Fun with SMD markings..
A divider, with 363 resistors, and 688 or is it 68B?
688 makes no sense.. but the last 8 looks more 8 then B, yet it was.
Took me an (embarrassing) while that some where in 3-eia others in eia-96..
hmm sorry I should have been more clear.
I modified the 'xtal' value I pass to the library, this then uses it to correct the calculations it does when configuring the chip for the right output frequency.
github.com/etherkit/Si5...
Its a different module from yesterday..
25 001 272
now hopefully safe to stop them from pulling off the bodge.
Using this lib i got it it pretty exact.. github.com/etherkit/Si5... by tuning xtal value.
Also added a bodge so we can set the VDDO output.
Tried your code.. Works thanks. (cleaner then the lib I found).
Got the same output, so I was not that far off.
I will admit, I have not dug very far into the datasheet to see what is the best way to set it up.
It is pretty close @10MHz.. It is very usable.
To point out, its the same brand (hantek) in exactly the same packaging. I cannot tell them apart.
In latest ALI haul, got a few SI5351 clock generators in. Not for myself, but to help somebody out (results will be published). They are easy to use, not accurate, but good enough.
Another thing in this haul was a bnc to banana plug cable, I bought one before locally, this was <1/3 the price.
I see mouser prices more then doubled for the esp32-c3-wroom modules.. luckely I stocked up on them :-/
yeah 1.69 here.. odd.
Sorry.. the esp32c3 super mini modules are cheap.. (forgot the most important part)
The esp32c3 you can get for around 1.69 euro (this is including vat).. Not sure how easily available they are everywhere..
esp-now is fun to play with for quick cheap communication without the need of a base station (and with some tweaking you can get decent distances with them).
I recommend skipping the esp8266 and going to the esp32c3 for 'new' projects. You get better peripherals on board, dirt cheap and the esp-idf sdk for the esp32c3 works really well.
Then later when you need more processing power/memory/etc, its easier to go to another esp32XX chip without rewrite.
I suspect it ran cons. this recently. Every 30s or so, it spend 25s read @ 56mbyte/s and writing. Turned out the sqlite3 db was not vacuumed correctly.. so I had a 99GB hosts.db-wal file and a hosts.db-shm that kept growing each time time by 100th of mbs.
Cleaned it up, seems better now.
hmm 'bug' in software, my opnsense router eaten through a large amount of data on the nvme...
Spare: 100%
Spare Th: 10%
% Used: 26%
Read: 140,971,432 [72.1 TB]
Written: 56,692,629 [29.0 TB]
In 23530 hours..
Another small alie haul..
For my gps conditioned 10MHz ref. clock, an active gps antenna. (I got two for 1/15th of the price of buying one local)
I also got some SMA connectors, cables and a bunch of wire with silicone sleeve.
Center negative.. This must be done explicitly to screw your customers and sell your own power supply.
Beside Brother my 30 year old Roland keyboard is the one other device with center negative...
Not sure if I messed up.. but 10Mhz ocxo, counting pulses over 1 hour. gives me this offset. So that is 3 pulses more over an hour.. now how to validate I did not screw up..
Specification is 0.05ppb, but it is clearly a used module (from ali).
Stupid connector gremlins.. NAS reported one disk dead.. (nvme).. so got it from my parents place (remote backups).. reseated the disk.. everything is just fine again...
Happy the disk still worked, its now almost twice the price then when I bought it 1/2 year ago.
I had another fun one yesterday.
They threw out a nice 50W brushless motor + driver + gearbox.. (throwing in a way it would be damaged)..
Today got a call, 'owh that was our calibration device' can we have it back...
The dumpster pile did and didn't deliver.. all I found where two brand new in package usb 3.2 cable.. . Kinda a shame to cut up..
I think I'll dig up my box with weird usb cables to pilfer.
Hmm I don't have good 4 core wire lying around.
Hopefully I can find something useful (old usb cable?) in the trash pile at work tomorrow.
Thanks to @oldtaki.bsky.social who gave me this hint. I got some 'sensor casing' in, for my outside sensors.
Now I need to remember how I did reprogram these sensors again to make the outside one use an sht31.
Thought this was pretty neat: slyka.net/blog/2026/ti...