Skip to content

Instantly share code, notes, and snippets.

View Muhammad-Yunus's full-sized avatar
:octocat:
Working from home

Muhammad Yunus Muhammad-Yunus

:octocat:
Working from home
View GitHub Profile
--------------------------------------------------------------------------------
  LATTICE ECP5 / FTDI JTAG DRIVER SWITCHING GUIDE
--------------------------------------------------------------------------------

Target FPGA : Lattice ECP5 (LFE5U-25F) 
Programmer  : FTDI FT2232H / Dual RS232-HS (Interface 0) 
Author      : Yunus 
Description : Quick reference for switching USB drivers based on the toolchain 
 being used (Icestudio, openFPGALoader, or Lattice Diamond).
https://www.youtube.com/shorts/goCs0tH-d78
github - kaiaai/LDS
Your LIDAR uses the Delta-2A / 3irobotics protocol (same as LDS08RR in the kaiaai/LDS repo), NOT the Neato XV11 protocol.
Key issues with the old code:
- Start byte is 0xAA, not 0xFA. The 0xFA bytes you were seeing are just random data/distance values
- Packet size is variable (typically 72 bytes: header says packet_length=70 + 2 for the start/length fields), not a fixed 42 bytes
#include <IRremote.h>
// Pins (XIAO ESP32-S3)
#define IR_PIN D8
#define LED1_PIN D5
#define LED2_PIN D4
#define LED3_PIN D3
#define LED4_PIN D2
// IR Button Codes (HEX values)
@Muhammad-Yunus
Muhammad-Yunus / keras_05_mnist_batch_norm.ipynb
Last active August 27, 2023 05:38
keras_05_mnist_batch_norm.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_04_mnist_convolutional.ipynb
Last active August 27, 2023 05:39
keras_04_mnist_convolutional.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_03_mnist_dense_lrdecay_dropout.ipynb
Last active August 27, 2023 05:39
keras_03_mnist_dense_lrdecay_dropout.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_02_mnist_dense.ipynb
Last active August 27, 2023 05:39
keras_02_mnist_dense.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_06_model_serving.ipynb
Last active August 26, 2023 09:45
keras_06_model_serving.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_01_mnist.ipynb
Last active August 27, 2023 05:40
keras_01_mnist.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.