Hasan Unlu

  • Home
  • Contact
  • Trying to understand irrational numbers in a rational way

    Trying to understand irrational numbers in a rational way

    Most of us like playing Jenga. For a moment, imagine that you are in a room with infinitely many identical Jenga blocks. At some point, you started wondering a Jenga block’s length-to-width ratio. Let’s forget about depth. But you have no access to any measurement tool. However, you easily figure out how to find it…

    Hasan Unlu

    March 17, 2023
    Uncategorized
  • Running LeNet-5 convolutional neural network on RISC-V micro-controller with 16 KBytes memory

    Running LeNet-5 convolutional neural network on RISC-V micro-controller with 16 KBytes memory

    https://arxiv.org/pdf/2007.01348.pdf

    Hasan Unlu

    June 10, 2020
    Uncategorized
  • Simple CPU in Xilinx Spartan 3E FPGA based Digilent Basys2 board

    Simple CPU in Xilinx Spartan 3E FPGA based Digilent Basys2 board

    This simple CPU is running on Digilent Basys2 with basic instructions. It is Von Neumann architecture. Each instruction is 32 bit. ALU(Arithmetic Logic Unit) is capable of 32 bit if operands are loaded from memory. Otherwise direct operations only support 14 bit. GitHub (https://github.com/hasanunlu/simple_cpu) has all necessary files (Design files, binary download, memory dump and example bubble…

    Hasan Unlu

    August 27, 2018
    Uncategorized
  • Full Speed Bit-Bang I2C demo for Risc-V architecture HiFive-1 board

    Full Speed Bit-Bang I2C demo for Risc-V architecture HiFive-1 board

    HiFive-1 is first Arduino compatible Risc-V board. Unfortunately HiFive-1 only has PMW, UART and SPI hardware. Over the weekend, I implemented bit-bang I2C clocking up to 400KHz for my HiFive-1 board. Demo uses MPU6050 sensor read all axises and prints g in axis Z. The code is here: https://github.com/hasanunlu/i2c_demo_for_HiFive1 Next step, I will migrate my…

    Hasan Unlu

    August 27, 2018
    Uncategorized
  • Basic 3D Engine in Arduino

    Basic 3D Engine in Arduino

    This example is basic 3D computer graphics rotation and showing them after 2D projected in graphic LCD. Frame performance is 45fps but display refresh rate way slower than actual data throughput. Arduino codes: https://github.com/hasanunlu/3D_engine

    Hasan Unlu

    May 7, 2018
    Uncategorized
  • Speed of Light Measurement using Texas Instrument TDC7201 (Basic LIDAR concept)

    Speed of Light Measurement using Texas Instrument TDC7201 (Basic LIDAR concept)

    In this experiment, we measure light delay in 15 meters fiber cable using TDC7201 Time to digital converter. I used common parts you can find any where easily. All fiber cables in here are Toslink optical cable and very cheap. My measurement is 99.2[ns] in 15 meters cable. If it is in vacuum environment, light…

    Hasan Unlu

    October 25, 2017
    Uncategorized
  • Intermediate Axis Theorem

    Intermediate Axis Theorem

    One of the interesting physics phenomena is intermediate axis theorem, if a rigid object has increasing moment of inertia for each orthogonal axis and you spin it axis of intermediate moment of inertia, it oscillates back and forth in that axis. Here is the video: The analysis of system using rigid body equations: In that…

    Hasan Unlu

    October 24, 2017
    Uncategorized

Blog at WordPress.com.

 

Loading Comments...
 

    • Follow Following
      • Hasan Unlu
      • Already have a WordPress.com account? Log in now.
      • Hasan Unlu
      • Edit Site
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar