Hi there 👋

Welcome to my blog. This is a place where I write random ideas that I think are useful for a CS major.

  • Although my writings are mostly about computer science, don’t be afraid to check them out!
  • You can find all sorts of things, ranging from how to make a digital circuit to how to pick a good dinner!
  • Don’t forget to check out my GitHub for my personal projects.

Generating Background Images with ImageMagick

Generating Background Images with ImageMagick Requirements ImageMagick Image Pattern You can draw it yourself or download one from a website like Subtle Patterns Generating image For this purpose imagemagick’s tile option fits our needs. Use the following command: magick -size {RESOLUTION} tile:{YOUR PATTERN} {OUTPUT FILE} Resolution should be width x height (for example 1920x1080) and pattern should be a valid image file. It is that simple.

December 17, 2024 · 1 min · 66 words · Eren Eroğlu

Using Barebones ESP-ID with Microros

Using Barebones ESP-ID with Microros Requirements ROS2 Docker (for running micro ROS on host) Setting Up IDF In order to setup IDF you first have to install its prerequisets. Use following command for Ubuntu and Debian (taken from official IDF documentation): sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 Next create a directory to install IDF (prefeberably accessible by you unpriviledged user) and clone the ESP-IDF repository:...

December 4, 2024 · 2 min · 364 words · Eren Eroğlu

Using ROS2 and Platform IO on ESP32

Introduction Requirements ROS2 Platform IO Core Docker (for running micro ROS on host) Setting up a platformio project Firstly create a platform io project for your board with pio project init -b esp32dev -d (PROJECT DIRECTORY) if you have a different board, you can check available boards with pio boards. Adding microROS Firstly specifly your ROS distribution by adding following lines to platformio.ini located at the root of your project:...

November 20, 2024 · 2 min · 389 words · Eren Eroğlu

Going from Zero to Hero with Yosys and Verilator

Introduction Yosys and Verilator are two powerful free and open source tools that will help us automate verification, testing, simulation, and synthesis in our circuit designs. In this post, we will be implementing a half adder. Half Adder Truth table for a half adders is as follows: A B Sum Carry 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 Observe that...

March 28, 2024 · 2 min · 347 words · Eren Eroğlu