Building Poor Man's Logic Analyzer with an Arduino - Reverse Engineering A/C Remote part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ย. 2024

ความคิดเห็น • 78

  • @OptimusWhey
    @OptimusWhey 8 ปีที่แล้ว +99

    This channel is my life. I live here now

    • @slowdown_
      @slowdown_ 8 ปีที่แล้ว +7

      You have space for me too?

    • @OptimusWhey
      @OptimusWhey 8 ปีที่แล้ว +4

      Do you pay rent? rent is payable by bitcoin or arduino stuff

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +14

      +OptimusWhey heh. Really appreciate that

    • @__mk_km__
      @__mk_km__ 6 ปีที่แล้ว +5

      Make sure not to overflow

    • @manuyel4845
      @manuyel4845 3 ปีที่แล้ว

      hi fellow roommate

  • @m4nuuu
    @m4nuuu 8 ปีที่แล้ว +13

    Man, this kind of videos push me towards my only pending assignment in life, electronics. Thank you very, very much, it was very educational and entertaining.

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +2

      +m4nuuu Go for it! And Glad you like it

  • @gusos234
    @gusos234 6 ปีที่แล้ว +10

    Nice.
    Making use of an interrupt pin and interrupt routine could have given you a massive perf boost.

  • @cyancoyote7366
    @cyancoyote7366 8 ปีที่แล้ว +20

    I once made a little circuit, that only activates if the DVD player remote is pressed (doesn't respond to any other remotes as it looks for the "pattern" that is attached to every button press of the DVD remote (it's "10101100101" or sthg like that) ). I hid it in the classroom DVD player when nobody was there, hooked it up to the TV switch too (it was on the back), and when somebody turned on the DVD player, it always turned off the TV. It was fun for a while.

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +5

      +cyancoyote hehe nice project

  • @DavidPlass
    @DavidPlass 4 ปีที่แล้ว +2

    Wow! The code you wrote in Jupyter will help make my reverse-engineering of a keyboard much easier!

  • @BoydWaters
    @BoydWaters 5 ปีที่แล้ว +4

    Great presentation of basics -- start with the thing you want to discover, characterize the system's behavior, make some guesses, measure stuff. SCIENCE.
    I am just getting started with this, is so great to see you pull it all together. Thanks!

  • @Simrasil_
    @Simrasil_ 8 ปีที่แล้ว +2

    this is just great information you're giving on this channel! thank you so much for doing these videos you're awesome :D

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +1

      I appreciate it! thanks so much! I hope my future videos will be as informative for you. If you have suggestions or criticism please tell me

  • @AlanMedina314
    @AlanMedina314 3 ปีที่แล้ว

    I forgot how useful Jupyter can be.

  • @starcitizenmodding4436
    @starcitizenmodding4436 7 ปีที่แล้ว +2

    5:32 PREACH!!

  • @elGamarus
    @elGamarus 8 ปีที่แล้ว +1

    I love your videos. Thanks for taking the time to make them, they must be a lot of work. Keep it up! :D

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว

      yeah they are a lot of work. But the positive feedback and knowing that I taught people something new is very rewarding

  • @ryanmustain6545
    @ryanmustain6545 3 ปีที่แล้ว

    A grid set at 104us, then just type the 1s and 0s in an editor.

  • @xXoSmegZoXx
    @xXoSmegZoXx 8 ปีที่แล้ว

    Can't wait to try this out.
    Waiting for the next video to come out already!
    Great work, please keep at it!

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +1

      Don't wait on me! Go try it out! You could try to speed up the data acquisition to get more data points. You could also, like suggested in another YT comment, directly connect the arduino input to the LED of the remote (gotta open it up). That's even better than doing it over the IR sensor.
      Also if you want to know more about it, I linked a great video from EEVBlog in the video description. EEVBlog has multiple videos about the IR remote protocol stuff.

    • @xXoSmegZoXx
      @xXoSmegZoXx 8 ปีที่แล้ว

      Thanks a lot for the tips.
      I actually meant I'll have to wait until I get an arduino.

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว

      ha! ok. even better ;) I wish you a lot of fun with it

  • @shodanxx
    @shodanxx 8 ปีที่แล้ว +31

    You can get a 8 channel logic analyzer for 5$ and it works great up to 24mhz, search for CY7C68013A on ebay. And for software use SIGROK , an universal open source logic analyzer front end.

    • @anasarkawi4331
      @anasarkawi4331 7 ปีที่แล้ว +1

      shodanxx but the point is to learn something new

    • @theLuigiFan0007Productions
      @theLuigiFan0007Productions 6 ปีที่แล้ว +2

      You'l definitely learn something new using a logic analyzer as well. A remote like that uses relatively low speed communications. For pretty much anything that involves reverse engineering hardware you'd need a logic analyzer. It's the best tool for this job. The Arduino is good enough for a remote though, if you use highly optimized code to analyze the signals. A interrupt routine reading the data and immediately dumping it over the serial port is probably the best method. Keep in mind that massively boosting the serial clockrate over the default 9600 will also help A LOT.

    • @ManofCulture
      @ManofCulture 5 ปีที่แล้ว

      Where is the fun of it.

    • @alt0v14
      @alt0v14 4 ปีที่แล้ว

      Thanks for the hint! 15$ oscilloscope from aliexpress also will do.

  • @watawonderfulworld
    @watawonderfulworld 8 ปีที่แล้ว

    Wow... thanks buddy for sharing this trick

  • @WaldirBorbaJunior
    @WaldirBorbaJunior 7 ปีที่แล้ว

    Amazing brother... Loved it

  • @AmanNidhi
    @AmanNidhi 7 ปีที่แล้ว

    you have awesome contents! keep posting more videos and daily hacks. i hope your channel grows big

  • @dastrn
    @dastrn 8 ปีที่แล้ว

    Thanks for the great video! I love your approach to hacking.

  • @cerglabs3646
    @cerglabs3646 4 ปีที่แล้ว

    Very cool.

  • @cmiller4567
    @cmiller4567 4 ปีที่แล้ว +1

    What was the binary of the analyzed packets in the Fahrenheit and Celsius examples?

  • @TeeDawl
    @TeeDawl 8 ปีที่แล้ว

    Really well made video, keep it up!

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +1

      +TeeDawl thanks! I hope I can keep it up

  • @rupsdbb
    @rupsdbb 6 ปีที่แล้ว

    Very interesting.

  • @zer001
    @zer001 4 ปีที่แล้ว

    Schönes Video!

  • @h4ck314
    @h4ck314 8 ปีที่แล้ว

    interesting project and investigation

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว

      thank you.
      you should also expand on your game hacking videos!

  • @otkchk
    @otkchk 8 ปีที่แล้ว +2

    I have a question. Won't that be more easy if you connect arduino directly to the RC without using LED stuff?

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +3

      absolutely ;)
      I tried like 2min to pry open the RC. Then I said "fuck this" and do the LED.

    • @fss1704
      @fss1704 5 ปีที่แล้ว

      +LiveOverflow no, you're dumb, you could have used literally anything with a microphone input to capture the commands instead of trying to read the baseband modulation too.

  • @noamw3841
    @noamw3841 7 ปีที่แล้ว +2

    Wow i just found this channel and this is great!
    And by the way, did you know that there is a remote IR library for arduino that can read and send IR signals?

    • @nblrehman
      @nblrehman 6 ปีที่แล้ว

      there is .. but it does not handle AC protocols very well.. I have tried it and failed several times..
      I tried to duplicate just the ON OFF button with that library but the results were not at all satisfying.
      If you have tried duplicating AC protocols via ARDUINO, I would be very much interested in knowing them.

    • @fss1704
      @fss1704 5 ปีที่แล้ว +1

      +Nabeel Rehman i use my cellphone with a phototransistor connected to the microphone to record commands, then i play it back trough an opamp with baseband modulation at 38khz and it work fine at reproducing any command, and damn it's way easier to edit this files on audacity.

  • @RAGHAVENDRASINGH17
    @RAGHAVENDRASINGH17 6 ปีที่แล้ว

    Nice video

  • @user-oq7ff3oc7x
    @user-oq7ff3oc7x 8 ปีที่แล้ว

    Great!!!

  • @erikp6614
    @erikp6614 ปีที่แล้ว

    Why not analyze the electrical signal to LED instead. It is often easier.

  • @gershunistepan
    @gershunistepan 8 ปีที่แล้ว

    Awesome thanks!!!!!

  • @rek2hispagatos498
    @rek2hispagatos498 8 ปีที่แล้ว

    awesome

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +1

      you are awesome! I like your taste of music.

  • @FalconComic
    @FalconComic 8 ปีที่แล้ว

    Really nice video, I always get excited when I see new material from this channel. Do you suggest the Arduino learning kits for someone looking to get into basic electronics?

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +2

      +Jakob™ it depends a little bit if you are the kind of person who has fun just tinkering around. But generally yeah, I totally suggest arduino learning kits. They Show you how to implement a log of different Exempel Applications.

    • @Calm_Energy
      @Calm_Energy 6 ปีที่แล้ว

      if you want to play around without purchasing anything theres a website called tinkercad that has an electronics section and on their you can experiment with a virtual arduino! I use this website at the high school level to give my students an introduction to electronics and programming concepts

  • @thomasarthofer8125
    @thomasarthofer8125 8 ปีที่แล้ว +1

    Here's a simmilar Guide with more Info and a complete decryption of the protocol showing each step.
    github.com/zeroflow/ESPAircon/wiki/Steps-of-the-reverse-engineering

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว

      oh neat. I did not know about this one. But as I mentioned in the video. Looking at IR remotes is a super basic things and there exist endless of videos about it. Will be interesting to see how the packets compare to my remote.

    • @Calm_Energy
      @Calm_Energy 6 ปีที่แล้ว

      this is really cool! (ha, get it... b/c you worked on an air conditioning unit) seriously though great stuff. On a personal note I had an old VCR that used the NEC protocol

  • @HAEAEAEAEAEX
    @HAEAEAEAEAEX 6 หลายเดือนก่อน

    1:33 missed opportunity for a 69
    anyways, awesome video! helped a lot

  • @hayd7371
    @hayd7371 8 ปีที่แล้ว +5

    only 300 views? what is wrong with the world?

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +2

      +Hayden Kibble if you think more people could benefit from it, you can help by sharing the video ;)

    • @hayd7371
      @hayd7371 8 ปีที่แล้ว

      Need part 2 in place. Getting to the end of part 1 with no part 2 available is frustrating

    • @LiveOverflow
      @LiveOverflow  8 ปีที่แล้ว +1

      +Hayden Kibble working on it. Soon(Tm)
      Where would you like this to go? What would you like to learn about this here?

    • @hayd7371
      @hayd7371 8 ปีที่แล้ว

      +LiveOverflow the natural thing would be to determine the byte values being sent, then perhaps creating a new transmitter with an arduino.

    • @ared0hel
      @ared0hel 8 ปีที่แล้ว

      A side trip to disassemble digitalRead, say WTF a lot, then replace it with one line of C code, would be a good thing for people to see.

  • @huxleypig69
    @huxleypig69 7 ปีที่แล้ว

    Wouldn't it have been much easier to grad the pulses from the base of the remote LED? Rather than use an IR sensor?

    • @LiveOverflow
      @LiveOverflow  7 ปีที่แล้ว +3

      If by "easier" you mean I'd have to open the case of the remote, then yes :D

  • @florianettwein6509
    @florianettwein6509 6 ปีที่แล้ว +4

    Denglisch.

  • @goofycker
    @goofycker 4 ปีที่แล้ว +1

    8:46 exploratifffssfs scripts

  • @fearricepudding1859
    @fearricepudding1859 4 ปีที่แล้ว

    wisible light

  • @arminmohammadi1
    @arminmohammadi1 4 ปีที่แล้ว

    is not good method !!!

  • @whysguy3
    @whysguy3 7 ปีที่แล้ว

    @2:17 how the hell could you maje the conclusion that all setting are transmitted in a single packed just by going to another froom and pointing aylt a wall?? All u could get from that is maybe it sends IR OR the Rf sig is weak. 😒

    • @LiveOverflow
      @LiveOverflow  7 ปีที่แล้ว +6

      I guess I don't make it very clear in the video.
      Let's assume you only send a diff, then when you press "temperature up" ONLY the temperature will go up once. So if I go in another room where there is no RF connection, and press other buttons, and come back to the AC unit and press "temperature up" ONLY the temperature would go up, right?
      But like I show in the video, that when I go to another room and have no connection, and change a lot of other settings, then go back to the other room and press "temperature up" ALL the other settings adjusts to what the remote thinks it is.
      So it's pretty clear that it has to be this way. no?

  • @LoganDark4357
    @LoganDark4357 6 ปีที่แล้ว

    Disliked for british english