Qball's Avatar

Qball

@qballcow

#lowpower, #tech, #esp32, #fpga, #rofi, #embedded

49
Followers
27
Following
448
Posts
23.11.2024
Joined
Posts Following

Latest posts by Qball @qballcow

Post image

Slowly converging..
I should probably also display a longer running count.
This is one count off in an hour.

07.03.2026 21:08 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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.

07.03.2026 16:21 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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.

07.03.2026 16:13 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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.

07.03.2026 16:09 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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..

07.03.2026 11:49 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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...

06.03.2026 22:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Its a different module from yesterday..
25 001 272

05.03.2026 22:36 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

now hopefully safe to stop them from pulling off the bodge.

05.03.2026 22:09 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image Post image Post image

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.

05.03.2026 22:05 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0

Tried your code.. Works thanks. (cleaner then the lib I found).

Got the same output, so I was not that far off.

04.03.2026 20:53 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I will admit, I have not dug very far into the datasheet to see what is the best way to set it up.

04.03.2026 20:14 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

It is pretty close @10MHz.. It is very usable.

04.03.2026 20:12 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

To point out, its the same brand (hantek) in exactly the same packaging. I cannot tell them apart.

04.03.2026 20:09 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image Post image Post image

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.

04.03.2026 19:54 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

I see mouser prices more then doubled for the esp32-c3-wroom modules.. luckely I stocked up on them :-/

03.03.2026 19:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

yeah 1.69 here.. odd.

03.03.2026 19:37 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Sorry.. the esp32c3 super mini modules are cheap.. (forgot the most important part)

03.03.2026 19:15 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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).

03.03.2026 19:15 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

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.

03.03.2026 17:42 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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.

02.03.2026 17:19 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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..

02.03.2026 17:13 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image Post image

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.

01.03.2026 20:47 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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...

01.03.2026 16:06 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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).

28.02.2026 21:13 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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.

28.02.2026 20:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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...

26.02.2026 20:35 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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.

26.02.2026 19:01 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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.

25.02.2026 20:32 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0
Post image

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.

25.02.2026 18:10 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
/blog - STM32G431 Analogue TV Transmitter

Thought this was pretty neat: slyka.net/blog/2026/ti...

24.02.2026 20:58 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0