Тёмный
No video :(

Flir One teardown part 2 - Lepton hacking 

mikeselectricstuff
Подписаться 131 тыс.
Просмотров 48 тыс.
50% 1

Freeing the Lepton from its Iphone prison!
Lepton resources page : www.electricstu...

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 137   
@ThingsWhichArentWork
@ThingsWhichArentWork 10 лет назад
I love your videos Mike because you leave the hardcore wafeform analysis in - Please don't dumb it down for us. You do the best electronics vids on the 'net.
@ChongMcBong
@ChongMcBong 10 лет назад
that home made socket is a bloody masterpiece! nice work Mike :)
@OrbiterElectronics
@OrbiterElectronics 10 лет назад
Proper full-on electronics. Thanks Mike for the awesomeness.
@yakui5264
@yakui5264 10 лет назад
Ahhh, you're the best man. I was ruined when I first saw the "coming soon to iphone" when the FLIR one was first announced. Cheers!
@andrewmcneil
@andrewmcneil 10 лет назад
Mike you’re a true hacker my friend, a self taught genius!
@SetMyLife
@SetMyLife 10 лет назад
Mate, you are the best. No idea how much experience is behind that, but gotta be decades.
@anthonyj777
@anthonyj777 10 лет назад
I don't think it gets much better than this :) Excellent 35 minutes, well done.
@doctorgarner
@doctorgarner 9 лет назад
Good god you are a fantastic engineer. Could watch you reverse engineer these things all day! Can't wait to see your analysis of the Lepton2
@bitcoredotorg
@bitcoredotorg 10 лет назад
Exciting video Mike. More hardcore stuff!! Once again, my absolute favorite youtube channel author proves his awesomeness. I always learn something new, no matter what the video subject you've produced. Thanks Mike!
@elboa8
@elboa8 10 лет назад
Tear down! Now THAT'S a tear down. Great video Mike. Thanks
@robertcalkjr.8325
@robertcalkjr.8325 10 лет назад
Thanks Mike. That is badass! I'm glad I found your channel!
@ValdemarCamilo
@ValdemarCamilo 10 лет назад
aww man, seeing this in the queue made my evening. Please keep doing this stream of consciousness reverse engineering thing. this and the mipi display videos where awesome.
@federicocamilo7917
@federicocamilo7917 10 лет назад
Awesome :0)
@mariuspopescu3117
@mariuspopescu3117 10 лет назад
Mike, that's a fine piece of reverse engineering! My fingers have been itching too for some time to reverse engineer the Flir Lepton, but damn you're fast! :) Major props for easing the task for anyone else willing to venture in Flir Lepton's still uncharted territory. (please excuse my shameless plug...): Should anyone be interested in entry-level, sub $100, open-source, open-hardware thermal imaging be sure to check my ongoing project on Hackaday.io: hackaday.io/project/1974-TJ---$99-Thermal-Imager
@azyfloof
@azyfloof 10 лет назад
"...I thought this would be too hardcore for many viewers" Aww.. :-( ".., I've moved it to the end" Yay! :D
@oOMonkeyMagicOo
@oOMonkeyMagicOo 10 лет назад
With the cheap video glasses and this video, is one of these projects going to be a set of thermal imaging goggles? 2 + 2 = 5 an all.
@rocketman221projects
@rocketman221projects 10 лет назад
It would be cool to add a raspberry pi with thermal imaging to some projects. I hope sparkfun or someone starts selling these modules at a good price.
@DextersTechLab
@DextersTechLab 10 лет назад
awesome, great to see the bus decoding, lots of useful tips. We just need to see the price of the modules drop now.
@90SecondsofAviation
@90SecondsofAviation 10 лет назад
Mike, my biggest respect goes to You, I know this video is going to be awesome ! Thanks Mike for those videos, You are my number 1 channel behind Dave haha :D (No offense Dave, still love Your videos but I like Mikes style better)
@robertcalkjr.8325
@robertcalkjr.8325 10 лет назад
No offense, but Daves teardowns aren't even close to Mikes.
@90SecondsofAviation
@90SecondsofAviation 10 лет назад
Robert Calk Jr. I agree, Dave is more professional, but I like Mike and how he reverse engineers everything ! Mike is like 1337 guy haha
@robertcalkjr.8325
@robertcalkjr.8325 10 лет назад
use the force Dave is funny & has the right tongue angle.lol
@90SecondsofAviation
@90SecondsofAviation 10 лет назад
Robert Calk Jr. I agree, they both are pro's at electronics, But I just liek Mikes style more :)
@electronalchemy7513
@electronalchemy7513 10 лет назад
Dave is more into entertainment videos now, Mike's are firmly in the engineering domain. Fair enough really, Dave has to go with what generates most views/money! But this is what I'm watching at 5am on a Sunday morning. I suspect Adafruit may well underwrite an order for 1000x sensors @ $250, they have a lot of customers with disposable incomes who love this sort of thing.
@vehasmaa
@vehasmaa 10 лет назад
I dont know why, but i like these sort of decoding protocols videos...
@DanFrederiksen
@DanFrederiksen 10 лет назад
Nice. Could be a USB camera and for android as well. The flir page says the lepton sensor is available for oem. That sounds to me like it can be bought alone. Prompting digikey to stock it could be all it takes. Digikey folks are quite responsive to suggestions.
@ghwizz
@ghwizz 10 лет назад
Another masterful demonstration of the art of reverse engineering! I can just barely keep up - but I learn more in a few minutes watching over your shoulder than in a whole book of electronics theory! (best to do both, they re-inforce each other, but Mike is much more watchable!)
@crgarciamg
@crgarciamg 10 лет назад
What I like best are exactly the "hardcore" reverse-engineering stuff!!! Keep up the nice work!
@electronash
@electronash 10 лет назад
Superb vid as always, Mike. Is it possible the Atmel ARM is accessing extra boot data from the SPI Flash on the board? Would be interesting to see how the chip select for the Flash chip relates to the other data. Much simpler using SPI rather than MIPI for the pixel data though. I'll definitely be grabbing one of the sensors if they make them available separately.
@magikality
@magikality 10 лет назад
Mike, mate, you are a genius. Another amazingly insightful video.
@googletitsfost
@googletitsfost 10 лет назад
Mike, awesome vid. I glad you only moved the scope stuff to the end instead of trashing it, they were still very interesting. I just wish my scope was as powerful - I could only dream of a list function for I2C data.
@Kallenator1988
@Kallenator1988 10 лет назад
Thanks for sharing and including detailed reverse engineering shots from the scope. Brilliant prototype, looks it's part ^^ Looking forward to seeing the microchip code if you decide to upload it.
@1974Alfa5Spd
@1974Alfa5Spd 10 лет назад
Funny how you mentioned this could be integrated into a quadcopter or something, because seeing how simple the mockup you built on that PCB was my first thought was to mate it with a cheap 480TVL board camera from china and an RC camera switcher so just a flick of a switch can take you from standard color camera to thermal. Add a lens onto it to focus it at about 10-15 feet and you have a DIY government drone. Maybe with some extra hardware the two signals could be overlayed like in the One the module came from or the Flir E series.
@user-jt3nf7in5w
@user-jt3nf7in5w 10 лет назад
GREAT idea with the frame around the contacts!
@Vogtinator
@Vogtinator 10 лет назад
To get into the linux system that's running it should work to press "Ctrl-C" at "Hit CTRL-C to s autoboot" (you lost 3 bytes there) and add "init=/bin/sh" to the default cmdline using u-boot commands. There may be some interesting stuff in the image.
@electronalchemy7513
@electronalchemy7513 10 лет назад
Might it be possible to hook up a JTAG adaptor to the ARM and do a memory dump?
@yaghiyahbrenner8902
@yaghiyahbrenner8902 10 лет назад
this is REAL hacking, dam you got good at this. respect.
@bfhben
@bfhben 10 лет назад
Reading the Linux log there is a lepton kernel module, may it be worth asking FLIR for the Linux source as required under GPL, it could give some insight on the I2C data.
@donpalmera
@donpalmera 10 лет назад
If they did it "right" then the lepton module will be a kernel to userland shim that doesn't do much.
@bfhben
@bfhben 10 лет назад
I guess so, still figure its worth a shot.
@sarowie
@sarowie 10 лет назад
donpalmera Yes and no. As all I/O operations essentially pass-trough kernel calls, it could interesting to replace those kernel calls with dummy functions which report those calls out to the serial port. Lots of effort - recording an replaying the I2C Traffic would be easier for MIkes purposes - but when you want to hack the FlirOne it self (not the bare chip) it could be still worth it. Remember: They need to hand out the source code AND a documentation how to flash the kernel onto the device. I am really confused why they use linux here - on the higher end cameras they use a Windows, which has the benefit of "when you buy a license, you can to what ever". But with Linux, you have to supply a GPL copy, hold backups of every ever released Kernel Version (any consumer can ask for the very version his specific device is running) and so on. I mean: They don´t need a public server. They just need to hand out the source to verified customers on request, but... only one person has to do it and then this person can release it.
@donpalmera
@donpalmera 10 лет назад
sarowie >Yes and no. I'm not sure what you mean by "yes and no" really. It could be a shim that exports enough to userspace to do the work. For I2C etc they could just use the userspace interfaces for those subsystems. You'd be able to see what it's doing with something like strace. It's more likely that their module is handling some stuff like interrupts that aren't easy to do well in userspace. Or maybe it does contain actual driver code because they don't care as all of the expensive R&D went into the stuff that's in the chip itself. Maybe they are looking to mainline the driver.. who knows. The one thing you can be sure of is that it doesn't contain anything that they wouldn't want to be in the public domain. >they use linux here Why not? it's in almost everything else. >AND a documentation how to >flash the kernel onto the device. The Linux kernel is GPLv2. AFAIK GPLv2 does not contain anything about instructions on how to flash or supplying keys so that burned in bootloaders etc will accept the user compiled kernel. You are probably thinking of the anti-tivo stuff in the GPLv3. >(any consumer can ask for the very >version his specific device is running) >and so on. Tagging the release in their local git will be part of their release cycle so it's a piece of piss to generate a copy of the source that the user is requesting. >They just need to hand out the source Companies can make it very hard to get the source and still be within the terms of the license. The number of people you actually have to give the source to goes down a lot when you ask people for their name and address to send a physical copy.
@sarowie
@sarowie 10 лет назад
donpalmera In one case I can think of, a developer of an open source library sued a company that used his library in a consumer product. As he was a copyright holder and a owner of one of their product (he used it to prove that is was actually this specific library), he had any right to sue them and no hazard, after winning the case in court, to release the code publicly. About instructions: It deepens on how you read paragraph 3 of the GPL 2: > For an executable work, complete source code ... >plus the scripts used to control compilation > and installation of the executable How fare those installation go? And the right to modify the software. (It can be argued, that locking the programming interfaces by encryption and similarly methods, it would be impossible to use the right to modify the software [on the specific hardware]. Therefor blocking access would invalid the license.) But you are right: There is no explicit requirement, so the court will decide and if in doubt: There is no requirement to supply instructions. Mike posted the boot messages which contain something interesting: > Image Name: Linux-2.6.39+ > Image Type: ARM Linux Kernel Image (uncompressed) An uncompressed image, U-Boot as boot loader and pretty obvious serial interface may mean, that Flir does not care to much about hacking the FlirOne. Similar as canon accepts the hacking of their camera firmware. After all: I think the flirOne is more marketing then the future of thermal imaging. It is a relatively low priced, fancy gadget to introduce people to thermal imaging and the brand Flir. Using Linux is - at least for me - still surprising, as the higher end models use windows. Did flir intended the hacking of the FlirOne? I mean: Nothing better then viral marketing, but is it intentional or accidental?
@kagi95
@kagi95 10 лет назад
This is incredible, even though I can only grasp a tiny bit of the technical side of things.
@Ryuuken24
@Ryuuken24 9 лет назад
Is it possible to have two or more cameras to collect data for same viewing area, and divide the resolution, so each camera is doing different parts of the entire frame, and have a collective output?
@AttieGrande
@AttieGrande 10 лет назад
@mikeselectricstuff I think you're right - those reset / power down pins are most likely to be used by the processor's RBL (ROM Boot Loader). The larger ARMs tend to have their next stage boot loader (e.g U-Boot) in SPI flash. It's a shame that the pins are shared though... :-\
@Kilohercas
@Kilohercas 10 лет назад
get STM32F429i-DISCO, and you could make color mapping while outputting data to on board 320x240 TFT screen. Is it possible to get only sensor ? if yes, from where ?
@eigenvector7035
@eigenvector7035 6 лет назад
24:00 ds1054z also takes data for protocol decode from the display, makes anything wider than 12-14 bits undecodeable at once.
@raminpashaie
@raminpashaie 10 лет назад
Hi, I have one question about FLIR ONE. Can I program the system to read the temperature in my computer and use it to turn on or turn off the heat source? I want to get the feedback few times a second and precisely control the temperature. Is this possible with FLIR ONE?
@markbell9742
@markbell9742 10 лет назад
Thanks Mike: I'm not a digital guy, but learning a bit from your vids. Although, I still don't know enough to know what I don't know. Cheers, Mark
@sarowie
@sarowie 10 лет назад
Is there a GPL copy in the manual? I mean, ignoring open source licenses is a common thing, but still: Where is the source code of the kernel and the documentation how to flash a new kernel onto the thing?
@wingswest328
@wingswest328 10 лет назад
Simply amazing!
@PowerScissor
@PowerScissor 2 года назад
I have 2 Flir One Pros that both refuse to funtion (the same red light is all I get with both of them). They are basically brand new, and the onboard sensors and cameras surely work fine. Is there any way for someone with no electronics background (just build my own drones is the extent of electronics and soldeting I've done) to make use of these $350 dollar paperweights?
@johndoo1265
@johndoo1265 7 месяцев назад
Hello Mike, I had an issue with that FLIR One version and want to ask, if you give me some tips to fix this problem 😅
@TheEPROM9
@TheEPROM9 10 лет назад
You can count me as interested in this project, I would love to get a cheap thermal imaging camera up and running. I would love to see these moduals sell on places like RS. This does put my printer hack to shame, but we all have to start somewhere =-)
@oOMonkeyMagicOo
@oOMonkeyMagicOo 10 лет назад
Nice selection of videos, I just subbed.
@yiyou6529
@yiyou6529 9 лет назад
Awesome video! I got a lepton from groupon. I wonder if you could provide me anything that I can refer to in order to get the SPI data and synthesis them into image. Thanks!
@poiuytrewq8ff
@poiuytrewq8ff 10 лет назад
why the hell would anyone in their right mind thumb this down? what IDE are you using for the PIC?
@Zauviir
@Zauviir 10 лет назад
This is awesome, I purchased a E4.8 because of Mike and I'll get a flir one to start hacking now, I do not have a iphone but that does not look like it will be a problem. I would like to root that linux soc and see whats on there, does that do the initial configuration crosstalk?
@mau557
@mau557 10 лет назад
Hey! Great videos. And amazing job you are doing tearing down this device. I have heard that the Lepton Core is the same thermal core used in the FLIR Ex Series of cameras, and all Ex Series use the same core but each produce different resolutions which are limited by software. Some guy (maybe you. XD) manage to hack the Lepton Core to make the cheapest Ex camera perform like the most expensive Ex camera (80x60 vs. 320x240). Can this be done to the FLIR ONE? Is it posible for this device to perform in 320x240 resolution??
@dorsetengineering
@dorsetengineering 9 лет назад
What scope is this? It's awesome....
@jekader
@jekader 10 лет назад
Really impressive reverse engineering! Hope thermal imaging becomes a commodity very soon.
@laneboysrc
@laneboysrc 10 лет назад
Awesome reverse engineering as usual. What a joy to watch!
@Lion_McLionhead
@Lion_McLionhead 10 лет назад
All that I2C probing & socket construction, only to never use it. Why does everyone build these crazy analog video schemes instead of a USB output?
@iknowsstuff
@iknowsstuff 10 лет назад
so when can we get a raspberry pi thermal camera????????
@mikeselectricstuff
@mikeselectricstuff 10 лет назад
Just as soon as you can get a Flir One and write some code
@yaghiyahbrenner8902
@yaghiyahbrenner8902 10 лет назад
I'm a "simple peasant savage" from south africa as well chap, just use an alternative sensor for now. lol dont make us sound so savage lol
@Razor2048
@Razor2048 10 лет назад
They need to really deliver a 30-60FPS thermal imaging sensor. Also is that a hardware limitation for the 1 update every 3 frames, or did they get so use to console gaming that they just cannot understand what a low frame rate is , and thus did not get around to fixing it? It seems that flir makes 720p thermal imaging sensors for the military that they are already shipping, why can't they simply take those units and glue a smartphone case to them and then add a connector for smartphones?
@kalhana1
@kalhana1 10 лет назад
Seriously? Sell a military grade system that probably costs thousands of dollars if not more for $350? It costs that much because you don't simply pluck a 720p sensor from a tree. It takes years of R&D cost which they have to get back and the manufacturing process doesn't yield 100% perfect sensors meaning there is extra cost specially when die sizes increase. They probably up the frame rate in that way to make it conform to standard video frame rates when saving as video files. Anyway, even the E4 can only do 9fps. This is not meant for playing call of duty, for most thermal applications, the changes in temperature are relatively slow.
@iknowsstuff
@iknowsstuff 10 лет назад
kalhana1 I believe there are government restriction on thermal sensors for sale to the public. they are probably worried that the Taliban are gonna start building home made heat seeking rockets or something.
@kalhana1
@kalhana1 10 лет назад
iknowsstuff Interesting. Does it mean no one can sell discrete sensors? Or do they inflate the price of consumer products? Because you can certainly buy 60fps Flir cameras (not 720p as far as I know), although expensive.
@mikeselectricstuff
@mikeselectricstuff 10 лет назад
kalhana1 TICs and sensors >9fps or >111Kpixels require export license. Below that the only restriction is you can't ship to embargoed countries.
@kalhana1
@kalhana1 10 лет назад
mikeselectricstuff Oh ok, we have a T420 in the uni. But I guess they went through the export license procedure. As it's for research, they must be ok with sending from US. Not sure how difficult it is for industrial use in UK or for individuals.
@AntonioBarba_TheKaneB
@AntonioBarba_TheKaneB 10 лет назад
Ok Mike, you are pretty good, but now try this again blindfolded and one-handed. :D
@o0julek0o
@o0julek0o 10 лет назад
What do you do for a living, Mike?
@dtiydr
@dtiydr 6 лет назад
The 7 thumbs down was from some key employers at FLIR.
@SinanAkkoyun
@SinanAkkoyun 5 лет назад
Could you please try to hack the 30Hz out of this Lepton module? I just cannot affort to buy >100 units to get them.. I would really love if you could find anybody who has a Lepton 3 module with 30 Hz :)
@tommasodesolda3261
@tommasodesolda3261 10 лет назад
Where did you learn about electronics?
@electronash
@electronash 10 лет назад
Hogwarts? lol
@GadgetUK164
@GadgetUK164 10 лет назад
electronash LOL! You certainly would think so, what he does is pure magic.
@jguy584
@jguy584 10 лет назад
IIRC, he is mostly self taught.
@devnull7970
@devnull7970 10 лет назад
So fascinating!
@leorio021
@leorio021 7 лет назад
GREAT VIDEO !!! i am from Brazil and i can`t pay 200 pounds on a PureThermal breakout... i got an lepton 3 for a prize from flir, i need to get analog video out for my drone... how to do this spending less money ? can i use this board: Stm32f103c8t6 Stm32 Arm Cortex-m3 ?
@thinkaboutitagain
@thinkaboutitagain 10 лет назад
Tremendous video. My one correction is how to pronounce "Linux". Linux Pronunciation
@AurelioArias
@AurelioArias 9 лет назад
fascinating videos!
@DanFrederiksen
@DanFrederiksen 10 лет назад
Everybody knows that you can't kill a person with 9Hz thermal sights. Chance in a million.
@jimmimak
@jimmimak 7 лет назад
Maybe Farnell, RS or somebody could buy the MOQ of Leptons and release them into the wild?
@MrTridac
@MrTridac 10 лет назад
Rosebud!
@NerdNordic
@NerdNordic 10 лет назад
Gay! ;)
@redtails
@redtails 10 лет назад
I bet the password is Kane, or Citizen or something along those lines ;)
@JohnMcclaned
@JohnMcclaned 10 лет назад
2:13 was christmas come early haha. I have no idea what you're doing most the time but it's fucking interesting. How did you learn all this? I understand it comes from experience but did you have a mentor or something because you genuinely know your shit.
@mdesm2005
@mdesm2005 10 лет назад
I get "502 Bad Gateway" when I try dorkbotlondon.org/ what does that mean?
@leppie
@leppie 10 лет назад
Mike, you are a god!
@africanelectron751
@africanelectron751 10 лет назад
Expert level compared to Dave Jones stuff right here....now pardon me while i have a brain aneurysm.
@90SecondsofAviation
@90SecondsofAviation 10 лет назад
Combine this with those shitty video glasses You recently tore down.... but first try to make patent so nobody steals idea lol
@sarowie
@sarowie 10 лет назад
Flir used to build thermal imaging cameras for fire fighters. Look up "FireFLIR 110 Thermal Imager" and rethink it.
@90SecondsofAviation
@90SecondsofAviation 10 лет назад
sarowie I know about Fireflir but compare the sizes man.....
@sarowie
@sarowie 10 лет назад
use the force look up the very product I mentioned. Still you are right: With this module, a decent priced video glass (not the cheapy mike teared down) and a video modul it would be possible to create an amazing product. (One eye Infrared, one eye visible, switchable to both visible light and both infrared...) But stay fare away from patents. What Mike is doing may interest Flir Marketing and maybe their Semiconductor Supplier. Marketing is happy, because some geeks will buy a FlirOne just get a chip. The Semiconductor Group will also be happy. Either they participate in the FlirOne sales or their chip gets sold separately. But when it goes to patents... I would not wonder when flir was or is holding one or more that describes a head mount thermal image system. And lawyers are less friendly then marketing guys and engineers.
@arekx
@arekx 10 лет назад
Network and sshd starting? Heh.
@OK2BCK
@OK2BCK 10 лет назад
brilliant
@TheStevenWhiting
@TheStevenWhiting 10 лет назад
Genius
@gamebent
@gamebent 10 лет назад
Awesome
@Pyro19903
@Pyro19903 9 лет назад
thanks mike i was always wondering a bout the lepton thanks nice proto pcb i saw a vid on it on EEVblog
@cuckingfunt9353
@cuckingfunt9353 6 лет назад
FFS dude, you're out of your mind. , , Startreck is missing one of it;s crew.
@NerdNordic
@NerdNordic 10 лет назад
This will make a fine NV! ;)
@Fan119
@Fan119 10 лет назад
First
@Pieh0
@Pieh0 10 лет назад
Second
@juhoheikkonen9204
@juhoheikkonen9204 10 лет назад
Thermal nanocam ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CsKd8wNWzYU.html ?
@mikeselectricstuff
@mikeselectricstuff 10 лет назад
Stay tuned ;-)
Далее
Designing a low-cost "bullet-time"  camera rig
41:01
Просмотров 40 тыс.
DIm & Dimmer - design for test & installation
32:14
Просмотров 45 тыс.
The Fan’s Fang Skin🔥 | Brawl Stars Sneak Peek
00:16
Кого из блогеров узнали?
00:10
Просмотров 660 тыс.
EEVblog #660 - Electrocardiogram (ECG) Experiments
30:18
Seek Thermal camera teardown part 2
16:31
Просмотров 30 тыс.
Baggage X-ray machine part 2 - reverse engineering
23:30
Antique Decca navigation control panel teardown
17:59
Another thermal imaging camera
18:08
Просмотров 20 тыс.
Laser strain mapper teardown
18:41
Просмотров 18 тыс.