Sorry, could you please give me more context and timestamp from the video above so that I can understand what you mean by "clock mode". If you mean the I2C protocol's SCL pin, then it is a synchronous clock by its definition: en.wikipedia.org/wiki/I%C2%B2C Also, I would say check with the datasheet of the sensor.
@@sayanee Thank you for your reply. I am talking about capture rate. I was wondering if you use timing or state acquisition. I have problem with adjusting capture rate so I asked.
@@ismaeelm7091 Uh yes, good question! The Saleae Logic Analyser's software Logic provides a list of sampling rate options. To be honest, I start with one of the options and I play around 🤷🏻♀️I do check with the datasheet as well to know approximately which sampling rate to choose in line with Nyquist theorem and Saleae recommends 4 times. Do check this link as well: support.saleae.com/faq/technical-faq/what-sample-rate-is-required Also another note on Nyquist and their recommendation on 4 times: downloads.saleae.com/Saleae+Users+Guide.pdf "Keep in mind that in order to successfully capture a signal, you must sample faster than that signal. That is due to the nature of asynchronous sampling and is described by the Nyquist-Shannon sampling theorem. With our products, in order to accurately sample a digital signal, you must sample at least 4 times faster than that signal." Hope this helps!!
Congratulations, Sayanee ! I'm trying to use a logic analyzer for the first time. It is for read a unknown logic protocol, which is used by Fujitsu Split VAC(Air Conditioners). The clock signal and DATA are in the AC line wave, 60HZ. I guess the data signal should read exactly at the middle of the high clock signal. I would like to ask you, please: Is there a setting to point and read the data exactly at the middle of high state of the clock signal ? Thank you.
I'm not so sure actually, especially since this is an unknown protocol. I am guessing you can write a custom protocol analyzer and state there to read the data exactly at the middle of the high state of the clock signal. Saleae is continuously updating its API for this. Check here for writing a custom protocol analyzer: support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk And I would highly recommend the forum to ask these questions: discuss.saleae.com/ And if you are using other logic analyzers, it will depend on that model and I wouldn't know. For the purpose of aircon IR signals, I would also recommend checking www.analysir.com/blog/ Sorry, I couldn't provide the exact answer, but hope the above links will give you some clue!! Hope you find a way to decode it.
Hello, @@sayanee ! Thank you by attention and hints. They are very usefull. I'm trying to decode and understand the communication between external and internal units of a Split model Air Conditioner. It is not about the InfraRed signals of the remote controller. It is about two Microcontrollers on two PCB's communicating. There are 2 units in a Split Air Conditioner: Internal unit, where is the evaporator unit. External unit, where is a compressor motor and condensator unit. Both of them, have PCB's controlling each step, temperature, sensors, valve and other things. These 2 units change informtions and commands using a third wire among the voltage AC lines. This third wire is connected on the PCB, which has a kind of modem that modulates the bits received from a microcontroller over the 220V AC wave(please, see these signals on my video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HDqMhQzB0HU.html ). Thank you, again. You are the best !
I made a video later on about Saleae's custom protocol analyzer: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-P2z-iwrrVWU.html Do you mean the same or something else?
Can i copy the rx tx signals For example a control panel control a drive using rx tx signals When a drive or pannel are faulty I trace the signal and use another drive or pannel
What would you recommend when using UART/I2C sensors with an industrial PLC ? Is it best/easier to go with a converter or use a RS-232/485 and program the communication protocol to fit with it ?
I have never used an industrial PLC. But for any such integration, I would always reach out to the manufacturer and ask them for their recommendation based on the specific use case.
Uh! LCDs are usually SPI, which is not a standardized protocol. I'm sure you can read the data, but you will probably need the specific LCD's datasheet to decode the signals.
These videos are really well done. They incorporate lots and lots of useful, actionable information and the explanations are very clear. Plus, the pacing is spot on. Showing your audience how to work through issues they may encounter in the real world is extremely valuable and much appreciated.
Great video. One question. Can you use the same computer to operate the Arduino and also operate the logic analyzer at the same time? That would take two USB ports. How would that work? Thank you.
Yes, I used up all the laptop's USB port for Arduino and the logic analyzer. In fact, during the video recording, I also needed 2 more USB ports for the web camera and the microphone, so I had to use an external USB hub to connect 4 devices to my 2015 MacBook.
Woww! Que buen video me encanta la forma en que explicás cada tema, tendrías que tener más subs sin dudas. Thanks a lot for your videos! I love all of them. Saludos desde Bs As, Argentina.
@Landyn Colton Looks like Instagram already patched the brute force exploit so they suggest you use phishing and social engineering to get the password. You don't need software for that lol
Wow the DHT11 one is grt . Well I would like to have your suggestion on one thing. For checking signals of different protocol say UART , SPI, I2C ,ADC TIMERS , PWM waves , GPIO Pins switching high and low of order ms ,us , ns.And to check clock frequency of MCU So what equipment should i go for oscilloscope? Logic analyser?. Which will suit by application, According to cheapness.
I guess you can't really compare the functionalities of an oscilloscope vs a logic analyzer. Here is a good summary: articles.saleae.com/logic-analyzers/logic-analyzer-vs.-oscilloscope#differences I have seen fairly good "cheap" logic analyzers, but good oscilloscopes are expensive.
I agree that good oscilloscopes are expensive. But I feel it’s important to note that “good” is all relative. If you find secondhand equipment acceptable, there are lots of fast oscilloscopes available. About six months ago, I picked up a 300 MHz Tektronix oscilloscope for under 100 USD. That’s less than even the student pricing on a Sales’s logic analyzers. A logic analyzer is a fantastic tool, but the oscilloscope can do most of what do you logic analyzer does - it’s just slower, because you will need to decode the protocols by hand. (Not difficult - just potentially time consuming. But, you will learn from the exercise.) Newer, higher-end oscilloscopes can do this decoding automatically, but their prices can go from high to astronomical. If you are just trying to understand what’s going wrong with a simple system, a low-cost oscilloscope can be a great option. Very often, the problems with digital systems are simple ones, and often they are actually in the analog domain. For example, a common mistake is to use an improper pull up resistor for the transmission speed, or to accidentally leave one out entirely. In this situation, the inexpensive oscilloscope will probably provide better information than the more expensive logic analyzer. And, once the problem is resolved, the digital parts of the system will probably work as intended. That’s not true in all cases, of course. But, in my experience, analog problems represent a slight majority of the real-world issues in “digital” systems. Hope that all helps with your decision. Edit: I should have mentioned that handheld oscilloscope can be rather inexpensive as well - perhaps as low as 125 USD. Just take their reported speeds with a grain of salt - consider dividing the reported sampling rate by 10X. So, a cheap, handheld “100 MHz” scope might be reliable at ~10 MHz, when used with digital signals. They will be more successful with slower-changing analog signals, but that wasn’t your original question.
Seriously your explanation is just great I just love the your video thank you .one help I want can you make a video that how we can decode same date using Arduino instead of graph can we get the character or decimal date at the serial monitor please help out mam
very nice.. now how would be an ez-way to set the arduino up for " modbus rtu rs485" and do the test with the Saleae logic analyzer. also, can a test message be sent to the arduino from the Saleae using simulated read-write registers like: 400001, 300001, 100001, 000001, etc ? thank you so much..:) this would be great for IoT bench testing...:)
I have neither used MODBUS RTU nor an Arduino with it :) I have used MODBUS TCP, but on a microprocessor running the full operating system. It seems like there is an Arduino MODBUS library with RTU: www.arduino.cc/en/ArduinoModbus/ArduinoModbus And it seems like Saleae also supports it support.saleae.com/protocol-analyzers/analyzer-user-guides/decode-rs-232-rs-485-and-rs-422, but you might need to also write a custom high level analyzer with Python.
Hopefully, you have access to your school's lab that I used to during my engineering school days. I'm unsure how's that with the pandemic situation now :( Either way, you might be able to buy cheaper non-branded logic analyzers also.
I bought one made in China way cheaper, Did I like it?...no, but a was forced to do it. If you guys bring something in the middle range prices would it be a better business for everyone
Hi Sayanee , I looked into your videos to understand Logic Analyzer and its features. Very informative and well explained. I have query , did you get a chance to use Logic Analyzers with CC111x series of usb dongles from TI. I am trying similar with Saleae , but till not did not able to capture anything .
Nope, I never used those chip series. Maybe check with their documentation for the supported protocols? support.saleae.com/protocol-analyzers/supported-protocols My best bet would be to drop a question on their forum: discuss.saleae.com/ Hope this helps!
@@sayanee Thankyou for your prompt reply. One more query did you get a chance to work on ERT Protocol or similar Actually we need to use CC1111 usb dongle to capture ERT Gas meter data . Which we are still not able to capture so tried to use saleae but still not any progress .en.wikipedia.org/wiki/Encoder_receiver_transmitter Pls suggest any forum if you know. Thanks alot once again!! Appreciate your time and efforts
@@rohitjindal5074 Nope, I did not have the chance to work on them. From my previous experiences in working with industrial meters (E.g. gas meters that you mentioned), it's best to contact the vendor for their proprietary protocols. Sometimes they might help, sometimes no luck, but at least the manufacturer/ vendors are the source of information. All the best in cracking the protocol!