Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

we built a lightning strike detector in just 2 days in partnership with Embedder and open sourced it! the future of hardware is fast. a thread 🧵

167,016 görüntüleme • 1 ay önce •via X (Twitter)

60 Yorum

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

1/ it picks up strikes 40km out and puts the distance to the storm front on screen, so you know somethings coming while its still out of sight and earshot. it clips to a pack and runs for months on one charge.

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

2/ time breakdown - 30 min part selection - 1h30 schematic - 30 min design review - 4h layout (semi-manual) - 4h firmware from @embedder_dev we built a crazy fast pcb design agent that autonomously finds parts, generate schematics, runs SPICE sims and even orders the board. this is what lets us ship boards for our clients so fast!

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

3/ the AS3935 shaped everything else on the board. a strike radiates a broadband rf burst called a sferic that carries for hundreds of km. the chip listens for it on a tuned loop antenna, measures the shape of the pulse, and estimates the distance to the approaching storm!

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

4/ the coil is tuned to 500khz, so you have to be very careful to keep your communication protocols and switching regulators out of this frequency range!

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

5/ we then handed it over to the @embedder_dev agent, which connected to the debugger and started working away. it got the kicad schematics, the project files and a page describing what the device does. in a few short hours, we had fully completed a full hardware project!

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

6/ we took it 1200m up to wedgemount lake in Vancouver, Canada and took some great photos!

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

7/ read more about the project or grab the hardware files here! hardware: full writeup:

Embedder profil fotoğrafı
Embedder1 ay önce

Thanks for collaborating on this! 🤖⚡️

Rodrigo Feliciano profil fotoğrafı
Rodrigo Feliciano1 ay önce

@tercio_miranda @embedder_dev I built one too…

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@tercio_miranda @embedder_dev cool!

International Cyber Digest profil fotoğrafı
International Cyber Digest1 ay önce

@embedder_dev Awesome!

Brian Eastwood profil fotoğrafı
Brian Eastwood1 ay önce

@embedder_dev Add a open server to triangulation from multiple devices and add an api for home assistant.

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev don't think you need triangulation actually, the datasheet for the chip walks through how it determines distance. do note that it's not the distance to a single strike, but the distance to the storm (there isnt a strike 1km away 😱)

Brian Eastwood profil fotoğrafı
Brian Eastwood1 ay önce

@embedder_dev also noticed WeatherFlow Tempest is the same chip, so their own distance reports are somewhat based on rough calcs.

Marco Franzon profil fotoğrafı
Marco Franzon1 ay önce

@embedder_dev Sickk!!!

galaxian profil fotoğrafı
galaxian1 ay önce

@embedder_dev Maybe during the lightning, it could turn off the devices via smart plugs and home assistant to help protect them from the lightning. It could have a timeout period or something to keep the devices off while lightning is ongoing.

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev you should build it! everything is open source :))

Aaron Gonsior profil fotoğrafı
Aaron Gonsior1 ay önce

I call BS. Not because this would be impossible, you can do this in your head even if you count the seconds between flash and thunder. Every 3s is 1km as the speed of sound at sea level is ~333 m/s (light almost instant). I call BS because of the movement of the device (looks like AI, does not move in sync with th hand and because there is no thunder. I don't see how you would accurately determine distance without sound.

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev hardware files are on github for you to inspect yourself ;)

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev the datasheet of the chip also explains what is being done in detail:

Aaron Gonsior profil fotoğrafı
Aaron Gonsior1 ay önce

I looked into it tried to understand it and I want to give you the benefit of doubt so I'll say how I think it works and you correct me when I'm wrong okay? I'd imagine it working like this: A lightning strike emmits a broad spectrum of electromagnetic radiation but since it emmits above 500kHz (radio waves), we use this as a trigger for "there was a lightning strike at some unknown distance away". Now we look at the amplitude of that signal which we know decreases over travel distance. Since the amplitude of radiation above 500kHz caused by lightning strikes varies greatly, we observe multiple strikes and try to correct the error that way by making some assumptions about the know distribution of amplitudes in normal storms and the longer we listen, the more accurate we become. If I'm correct in assuming it works like that which might not be the case, I think this would be very error-prone and does not seem to be better than counting time between flash and thunder or do you have data on the accuracy with reliable ground truth? Why does the movement in the video look so unnatural?

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev not sure whats going on with the video. if you have doubts you can check the higher quality pics of the device + the hardware files

Aaron Gonsior profil fotoğrafı
Aaron Gonsior1 ay önce

Is this how it works though? I looked more into it and at 500kHz, the amplitude E decay is proportional to (see image) depending on initial amplitude E_0, distance r, surface conductivity sigma. Sigma varies by a factor up to 20 depending on surface conditions like wet or dry. This means that any distance estimation has an error of up to sqrt(20)>4 and this error can not be corrected at all by listening for more events. Do you have test data with reliable ground truth?

Aaron Gonsior profil fotoğrafı
Aaron Gonsior1 ay önce

I really don't want to be mean or devalue your work but since it doesn't seem to work, there is a reliable method already without device or cost (counting seconds), I'd recommend you leave it as a lost 2-day project and not put more time into it. All assuming this is really how the method works but it seems like it does.

Gordon profil fotoğrafı
Gordon1 ay önce

@embedder_dev Pretty neat stuff. I live in Florida (one of the lightning capitals) and would love to try this out.

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev grab the files here!

Gordon profil fotoğrafı
Gordon1 ay önce

@embedder_dev Thank you!

Engineer profil fotoğrafı
Engineer1 ay önce

@embedder_dev Genuinely impressive turnaround. What's the false positive rate looking like so far? Lightning detection usually lives or dies on rejecting switching noise from nearby industrial equipment curious how you're filtering that out.

BlackwellBoy profil fotoğrafı
BlackwellBoy1 ay önce

@embedder_dev How many tok/s?

Brian Scott profil fotoğrafı
Brian Scott1 ay önce

@embedder_dev You might want to check which coordinates a network of detectors (which you can join by getting the right hardware) that maps real time lightning worldwide.

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev cool!

Sourish Sharma profil fotoğrafı
Sourish Sharma1 ay önce

@embedder_dev it's 1km away?!?! go hide under a rock Daniel 🪨🔥

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev yeah we getting fried over here

Zabbie profil fotoğrafı
Zabbie1 ay önce

@embedder_dev Now THIS is what I wanna see

Nick Jackson profil fotoğrafı
Nick Jackson1 ay önce

@embedder_dev Very cool!

bailout00 profil fotoğrafı
bailout001 ay önce

@embedder_dev Integrate this with home assistant and I’d totally buy one

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev project is open source, you should totally do it!

bailout00 profil fotoğrafı
bailout001 ay önce

@embedder_dev The only problem with open source hardware, is that you still have to buy the hardware

La Flama Blanca profil fotoğrafı
La Flama Blanca1 ay önce

@embedder_dev detector is nice, but wake me up when you have a predictor.

Mustafa. profil fotoğrafı
Mustafa.1 ay önce

@embedder_dev @i2cjak

A Snowflake Solidity @Apecoin DAO & PolygonLabs profil fotoğrafı
A Snowflake Solidity @Apecoin DAO & PolygonLabs1 ay önce

@embedder_dev I love it)

Camski profil fotoğrafı
Camski1 ay önce

@embedder_dev Def something you can do software-only with the onboard sensors on any phone. It’s novel, but not worth a whole dedicated device. And in the clip, the lightning flashes are CONSTANT and no rain on the window at all. Is any of it real?

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev it is real, you can check the hardware files yourself :))

s4mmy0x0h profil fotoğrafı
s4mmy0x0h1 ay önce

@embedder_dev This is interesting as Fcukkk. Phenomenal job you guys

alouche31 profil fotoğrafı
alouche311 ay önce

@embedder_dev In just two days with an IA prompt is very long. Find a faster AI.

PolyMathUSAF profil fotoğrafı
PolyMathUSAF1 ay önce

@embedder_dev Are there instructions for the hardware?

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev yes!

TelepathicPug profil fotoğrafı
TelepathicPug1 ay önce

@embedder_dev Very cool!

T profil fotoğrafı
T1 ay önce

@embedder_dev Nice. can you put it in a USB dongle?

Eric Alvarez profil fotoğrafı
Eric Alvarez1 ay önce

@embedder_dev I want one.

Advanced SuperSilly Intelligence profil fotoğrafı
Advanced SuperSilly Intelligence1 ay önce

@embedder_dev I am not living wherever that is.

Pascal Unger profil fotoğrafı
Pascal Unger1 ay önce

@embedder_dev 🔥🔥🔥

Maclaine profil fotoğrafı
Maclaine1 ay önce

@embedder_dev Cool 😎

Lucas Moreira profil fotoğrafı
Lucas Moreira1 ay önce

@embedder_dev Hello! Which agent did you use to assist with the development of the schematics and PCB? Could you share it?

Daniel Liu profil fotoğrafı
Daniel Liu1 ay önce

@embedder_dev it's an agent we built internally, you can dm me if you wanna try it ;)

FatherTimeLine profil fotoğrafı
FatherTimeLine1 ay önce

The Department head at USF School of Electrical Engineering built a lightening detector. He then spent $45k on packaging and marketing to find out that there is a big difference between Knowing and Caring. He kept one in his office to remind himself that it does not matter how smart you are, if you can not sell the product, it was a waste of time and a waste of money.

Moinsen profil fotoğrafı
Moinsen1 ay önce

@embedder_dev That's just another pointless AI device that will end up in a landfill.

🎶 profil fotoğrafı
🎶1 ay önce

@embedder_dev Cool brah

Andrew profil fotoğrafı
Andrew1 ay önce

@embedder_dev Popov would be proud

ANwTGrsNeqRyKIg : priv/acc profil fotoğrafı
ANwTGrsNeqRyKIg : priv/acc1 ay önce

@embedder_dev what in the world! that is so cool!

Benzer Videolar