03 - Logic 2

# How to Install and Use Logic 2 with Lonely Binary Logic Analyzer: A Beginner’s Guide The Lonely Binary Logic Analyzer is a fantastic tool for beginners to explore digital signals in electronics projects. It works with Logic 2 and PulseView software, both compatible with Windows, Linux, and macOS. For beginners, we recommend starting with Logic 2 because of its user-friendly interface. This guide will walk you through installing and using Logic 2 with your Lonely Binary Logic Analyzer. ## Why Logic 2? Logic 2, developed by Saleae, is an intuitive software for analyzing digital signals. It automatically installs the necessary USB drivers, making setup easy, and its clean interface helps beginners visualize and debug signals like I2C, SPI, or TTY. ## Step-by-Step Guide ### 1. Download Logic 2 - Visit the [Saleae website](https://www.saleae.com/downloads/). - Choose the Logic 2 version for your operating system (Windows, Linux, or macOS). - Download the installer (it’s free for basic use). > https://www.saleae.com/pages/downloads ### 2. Install Logic 2 - **Windows**: Run the downloaded `.exe` file and follow the prompts. The USB driver for your Lonely Binary Logic Analyzer will install automatically. - **macOS**: Open the downloaded `.dmg` file, drag Logic 2 to your Applications folder, and launch it. - **Linux**: Extract the `.AppImage` or install the `.deb`/`.rpm` package, then run Logic 2. The USB driver is included. ### 3. Connect Your Logic Analyzer - Plug your Lonely Binary Logic Analyzer into your computer using the provided USB-A or USB Type-C cable. - Attach the test clips or alligator clips to the circuit pins you want to analyze (e.g., on your microcontroller or IoT device). - Ensure the Logic Level Expansion Board or Breadboard Adapter is connected if needed. ### 4. Launch Logic 2 - Open Logic 2 on your computer. - The software should automatically detect your Lonely Binary Logic Analyzer. - If prompted, select your device from the list. ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250921154124.png?v=1758435326) ### 5. Capture and Analyze Signals - **Set Up Channels**: In Logic 2, choose the channels (up to 8) you’re using based on your test clips’ connections. - **Adjust Sample Rate**: For most beginner projects, select a sample rate of 4MHz or 8MHz (the Lonely Binary supports up to 24MHz). - **Start Capture**: Click the green “Start” button to record signals. You’ll see waveforms appear on the screen. - **Decode Protocols**: Use the “Analyzers” menu to add protocol decoders (e.g., I2C, SPI, TTY). This shows you what data your circuit is sending or receiving. - **Zoom and Inspect**: Click and drag to zoom into the waveform. Logic 2 labels decoded data clearly, making it easy to spot issues. ### 6. Save and Share - Save your captured data by clicking “File > Save” to review later. - Export results as a CSV file or screenshot to share with others or include in project reports. ## Tips for Beginners - **Start Simple**: Test with a single channel and a basic circuit (e.g., an Arduino blinking an LED) to get comfortable. - **Watch Tutorials**: Saleae’s website and YouTube have great beginner videos for Logic 2. - **Experiment**: Try decoding protocols like I2C on a sensor to see how devices communicate. ## Troubleshooting - **Device Not Detected?** Ensure the USB cable is securely connected and Logic 2 is updated. - **No Signals?** Double-check your test clip connections and ensure your circuit is powered. - **Need Help?** Visit the Saleae support page or community forums like Reddit for quick answers. ## Get Started! With Logic 2 and your Lonely Binary Logic Analyzer, you’re ready to dive into the exciting world of digital signal analysis. Connect your device, capture some signals, and start debugging like a pro!