See below for the screenshot from my phone. N64 CONTROLLER SERIAL PROTOCOL SNIFFER INSTALLJust install “DroidTerm (v7.2)” and run its “USB Virtual Serial Port” option (Baud Rate 9600). N64 CONTROLLER SERIAL PROTOCOL SNIFFER ANDROIDIf you have an Android phone/tablet with USB-OTG, then you can play with the sniffer without a desktop/laptop computer. Serial.println( mySwitch.getReceivedProtocol() ) ĭigitalWrite(13, HIGH) // Toggle the onboard LED if serial is available - Optional Serial.print( mySwitch.getReceivedBitlength() ) Serial.print( mySwitch.getReceivedValue() ) PinMode(13, OUTPUT) // D13 as output- Optional MySwitch.enableReceive(0) // Receiver input on interrupt 0 (D2) Hardware: Arduino Nano & Generic 433MHz RF Receiver Based on an example from the RCSwitch Library You can see a teardown of the same remote control here: I used a simple two-channel 433-MHz remote control for sending codes to the sniffer to carry out most of the experimentation done in my lab. In addition to the Arduino Serial Monitor, I tried the same setup later with PuTTY. Below are snapshots of my initial experiment setup and the serial monitor window of my laptop. N64 CONTROLLER SERIAL PROTOCOL SNIFFER CODEThe code to capture the 433-MHz RF signals is actually a slightly modified part of the famous “RCSwitch” library ( ). As you can see, the setup is on the Arduino ground with a 433-MHz receiver module and the USB interface. Presented below is a simple and cheap 433-Mz RF Sniffer ideal for testing/reverse-engineering most 433-MHz wireless devices. Let me show you how you can handle the data-packed radio signals easily without having to use pricey test gears (this idea is actually more handy than using something exceedingly expensive). It’s really a clumsy process of trial and error! Actually, there are about 100 milliseconds of radio silence after a data reception before the AGC winds back up again, allows you to look for the radio silence, and then looks for the data immediately to sniff out the signal. This makes it difficult to actually capture the “too-fast” data from noise with a homemade soundcard logic analyzer or an ordinary oscilloscope for analytical review/reverse-engineering purposes. Another slightly annoying thing is that, when there is no signal availability, the receiver’s AGC circuit gets ramped up and all you get is unwanted noise on the data pin. Surprisingly, it’s not widely noted that the ISM (Industrial, Scientific, and Medical) band, centered on 433.92 MHz, actually covers a bounteous 1.7 MHz between 433.05 MHz and 434.79 MHz. These cheap short-range radio modules can be used with almost all microcontrollers for a broad range of applications that require wire-free radio control, though in this case, we will use it as an RF sniffer. These days, 433-MHz RF transmitter/receiver modules are very popular with electronics hobbyists and tinkerers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |