Madhav Gulati https://madhavgulati.com Sun, 08 Sep 2024 21:24:43 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 Building a DIY Distortion Guitar Pedal https://madhavgulati.com/guitar-pedal/ Mon, 02 Sep 2024 03:54:28 +0000 https://madhavgulati.com/?p=177 I’ve been playing guitar for about 7 years, and absolutely love the instrument! I initially started learning by using YouTube to learn some of my favorite songs I heard on the radio – Despacito by Luis Fonsi was the first song I learned, followed by There’s Nothing Holdin’ Me Back by Shawn Mendes. Eventually, I started exploring more jazz songs, and even started my own band with some friends. We gigged at local restaurants and had a lot of fun improvising solos on the spot!

Here’s a video of our rendition of Just the Two of Us, by Bill Withers and Grover Washington, Jr. You can see me on the guitar second from the right.

Now, I’m studying electrical engineering at Georgia Tech, and stumbled upon a project making a guitar pedal from scratch. Realizing I could combine my two favorite interests, I decided to try learning how to build guitar pedals.

Breadboard Implementation

For this project, I will be using a design created by Tone Charm Audio, and studying how it works. Here is the schematic:

Figure 1. Schematic of distortion guitar pedal circuit.

Following the schematic, I was able to create a breadboard that looks like this:

Figure 3. Breadboard implementation of guitar distortion pedal circuit.

I chose to use a breadboard for the first prototype because of how easy it is to move around components in case of errors. After visually checking all my wiring and tracing connections with a multimeter, I decided to take my new pedal for a test drive. Here’s the before/after of how it sounds:

Protoboard Implementation

After building a successful breadboard prototype, I decided to create a more permanent prototype using a soldered protoboard.

“Manufactured” Prototype

Obviously, when you buy a guitar pedal, it doesn’t look like this. It is encased in a nice project box that hides all the electronics. My goal for this project is to build a device that looks like an off-the-shelf guitar pedal.

In progress… Please check back later

]]>
ID Card Scanner for Dorm Door https://madhavgulati.com/id-card-scanner-for-dorm-door/ Thu, 28 Mar 2024 21:16:10 +0000 https://madhavgulati.com/?p=31

Overview

I created an ID scanner that unlocks an auto-locking dormitory door for my freshman-year dorm at Georgia Tech! To use it, simply scan a pre-programmed NFC card to the scanner, and the device uses a motor to turn the door latch, unlocking the door.

Every NFC card has a unique identifier, or UID, to uniquely identify the card. This UID can be used to identify the specific NFC card or tag being scanned. For this project, I obtained the UID of my Buzzcard (Georgia Tech ID card) and programmed it in the Arduino IDE to grant access to my room whenever detected.

Technologies Used

  • Arduino Uno
  • 1 Breadboard
  • Servo Motor
  • RFID/NFC Scanner (RC522 module)
  • Jumper wires
  • 3D printed materials

Difficulties

  • I had to design a way to unlock the door using a mechanical assembly. The doors in my dorm are auto-locking, and can only be unlocked by turning the key from the outside or turning the door handle from the inside. The most practical way to unlock the door with this project was to turn the door handle. This meant that I had to use some kind of motor to turn the door handle, and I began researching ways to do this.
  • Out of the many ways to create a motorized arm using a motor, I decided to go with a rack and pinion, as I could connect the servo motor directly to the gear, and turn the arm a specific amount based on the rotation of the gear. It was very rigid and produced high torque.
  • The hardware assembly for this project is a custom model I designed in TinkerCad and 3D printed at an on-campus makerspace. It was difficult to create the assembly so that it was the correct distance away from the door handle.
  • This overall project took several iterations and fixes to finally get a working prototype.

Next Steps

  • For this project, I will consider using a more powerful motor in the next iteration. I realized that servo motors have limited turning range and torque, which sometimes was not enough to turn the door latch fully unlocked. I am looking into using a DC motor for this project as it as much higher torque, but this means I will need a new way to attach the rack and pinion to the motor.
  • I would also like to try to make the wiring for this project more clean and compact by making a custom PCB for this build. Currently, all the wiring for the motors and NFC scanner goes through a breadboard. I will consider either soldering all the wires directly between the microcontroller, motor, and scanner, or creating a PCB.
  • I would also like to create a 3D-printed module to house all the wiring and electronics from plain view, which will result in a more presentable prototype.
  • I found Arduinos to be very useful for hardware projects, and will continue to use them in the future.

]]>