[{"content":"In the last few posts I made a basic remote controlled Robocar using Arduino Uno R3. Even though I call it a Robocar it is just a car which can follow a set of preprogrammed commands. There is nothing \u0026ldquo;Robotic\u0026rdquo; or \u0026ldquo;Intelligent\u0026rdquo; about it. With an ultimate goal of making an autonomous Robocar I have decided to upgrade the project to using a Raspberry Pi 5 as the main central processing unit. There are several reasons to doing this.\nTo run any kind of image processing or using ML for image recognization I need more processing power and RAM (memory). I have realized this while experimenting with Arduino that it really is very small in terms of raw computing power compared to a Raspberry Pi 5. It is not a fair comparison since they are really meant for different purposes. I made this table comparing a microcontroller (Arduino Uno R3) to a general purpose microcomputer (Raspberry Pi family of CPUs) in my other post. I am more comfortable using a full fledged python development environment which is possible with Raspberry Pi. There are ways to make Arduino work with Python but not directly. There are more GPIOs on the Raspberry Pi making it more easy to connect all the different motors and sensors. I can offload the motor and sensor controllers to Arduino with the Pi acting as the main supervisor and also running the compute intensive code like vision processing, etc on the Pi. Setting up Raspberry Pi Setting up Raspberry Pi 5 is easy. I have followed the instructions on their official site Setting Up Your Raspberry Pi. I had to use an imager program to flash the Raspbian OS on to a microSD card. Please pay special attention to \u0026ldquo;OS Customizations\u0026rdquo; in the imager program as this is required to setup the username and password and to enable SSH. If you don\u0026rsquo;t do this you will not be able to login without an external monitor and a keyboard.\nDeveloping using Raspberry Pi is different than with Arduino. Since Raspberry Pi has built-in WiFi you can set it up to connect to your local WiFi on bootup. I also enabled the SSH server while installing the OS which makes it easy to connect to it without any external monitors or keyboards. All I had to do is power up the Pi and login using the IP address which was assigned to it by my home network (in my case it was 192.168.1.10). Use SSH from a terminal app to connect to your Pi as follows\nssh sathvikr@192.168.1.10 Once you are in, you can fire up an editor of your choice (I used vi) and start coding. To simplify my Pi bringup I dropped the IR sensor out of the circuit since we will not be using it in our final finished prototype.\nRaspberry Pi Hardware Connections and Schematic Diagram The connections are pretty much the same as with Arduino, the only difference being the GPIO numbering on the Pi. Also, for some reason the PWM pins on the Raspberry Pi 5 are not labeled as PWM or with a \u0026ldquo;~\u0026rdquo; character as on the Arduino Uno. I had to search it up to find those (GPIO 12, 13, 18 and 19 can be configured to generate PWM signals). But for simplicity I ignored these too. I ended up using the digital signals to control the motor drivers.\nThe diagram below shows a single battery powering both the stepper motors and the the Pi but in reality I had used two batteries. This is because the single battery cannot provide for the current required by both the motors and the Pi.\nPython Code to Test the Setup Here is the python code I used to test my connections. I used this small project as a launching pad for my final goal of creating an autonomous robocar which uses vision (couple of cameras) to go around a pre-marked area.\nWe use the following libraries to help us initialize the motors and work with GPIO pins. The lgpio library is a \u0026ldquo;low-level\u0026rdquo; library using the Linux kernel component to control the GPIO pins. The gpio library is a higher level abstraction which uses lgpio internally along with other libraries.\nimport lgpio from gpiozero import Motor import time Initializing the motors based on the schematic connections shown above is straightforward. The code below does that. Please note that the pin numbers in the code follows the BCM numbering.\n# Motor Pin Definitions (using BCM numbering) # (forward, backward, enable) # --- Driver 1 (Right Side) --- motor_r1 = Motor(forward=27, backward=17, enable=22) motor_r2 = Motor(forward=18, backward=23, enable=24) # --- Driver 2 (Left Side) --- motor_l1 = Motor(forward=6, backward=13, enable=5) motor_l2 = Motor(forward=19, backward=26, enable=21) # Group motors for easier control right_motors = [motor_r1, motor_r2] left_motors = [motor_l1, motor_l2] all_motors = right_motors + left_motors Next, I wrote some functions to handle the different functions the car needs to perform. Capturing small functionality using functions like these makes the program more modular and easier to reason about.\n# --- Movement Functions --- def stop_robot(): \u0026#34;\u0026#34;\u0026#34;Stops all motors.\u0026#34;\u0026#34;\u0026#34; for motor in all_motors: motor.stop() def move_forward(): \u0026#34;\u0026#34;\u0026#34;Moves the robot forward.\u0026#34;\u0026#34;\u0026#34; for motor in right_motors: motor.forward(speed=SPEED) for motor in left_motors: motor.forward(speed=SPEED) time.sleep(MOVE_DURATION) stop_robot() def move_backward(): \u0026#34;\u0026#34;\u0026#34;Moves the robot backward.\u0026#34;\u0026#34;\u0026#34; for motor in right_motors: motor.backward(speed=SPEED) for motor in left_motors: motor.backward(speed=SPEED) time.sleep(MOVE_DURATION) stop_robot() The code above shows how high-level coding can be with Python and the gpio library. Might not be great for understanding the low-level details but once you do that with say Arduino and C, this makes it more practical to use and accomplish a big project working alone. The turn_left and turn_right functions are trivial once you understand that to move right you need to turn the right side wheels forward and the left wheels backward. It is the opposite to turn the care left.\ndef turn_left(): \u0026#34;\u0026#34;\u0026#34;Turns the robot left on the spot.\u0026#34;\u0026#34;\u0026#34; for motor in right_motors: motor.forward(speed=SPEED) # Right wheels forward for motor in left_motors: motor.backward(speed=SPEED) # Left wheels backward time.sleep(TURN_DURATION) stop_robot() def turn_right(): \u0026#34;\u0026#34;\u0026#34;Turns the robot right on the spot.\u0026#34;\u0026#34;\u0026#34; for motor in right_motors: motor.backward(speed=SPEED) # Right wheels backward for motor in left_motors: motor.forward(speed=SPEED) # Left wheels forward time.sleep(TURN_DURATION) stop_robot() Once you have these basic functions, you can test the setup by writing a small test code in the main like below. I am making this simple because this is only for testing the connections and setting up the workflow with Raspberry Pi and Python.\nif __name__ == \u0026#34;__main__\u0026#34;: # A simple test sequence to ensure motors are wired correctly print(\u0026#34;--- Motor Test Sequence ---\u0026#34;) print(\u0026#34;Forward...\u0026#34;) move_forward() time.sleep(0.5) print(\u0026#34;Backward...\u0026#34;) move_backward() time.sleep(0.5) print(\u0026#34;Left...\u0026#34;) turn_left() time.sleep(0.5) print(\u0026#34;Right...\u0026#34;) turn_right() time.sleep(0.5) print(\u0026#34;--- Test Complete ---\u0026#34;) I powered on the motor batteries and the code perfectly moved the car forward, backward, left and then right, testing all the code we have written above. That\u0026rsquo;s it for today, it took me a while to finish this part since I was busy with school.\n","permalink":"https://motumtech.in/part-4-upgrading-to-raspberry-pi/","summary":"\u003cp\u003eIn the last few posts I made a basic remote controlled Robocar using Arduino Uno R3. Even though I call it a Robocar it is just a car which can follow a set of preprogrammed commands. There is nothing \u0026ldquo;Robotic\u0026rdquo; or \u0026ldquo;Intelligent\u0026rdquo; about it. With an ultimate goal of making an autonomous Robocar I have decided to upgrade the project to using a Raspberry Pi 5 as the main central processing unit. There are several reasons to doing this.\u003c/p\u003e","title":"Part 4: Upgrading to Raspberry Pi"},{"content":"What is the use of a robot if it is always tethered to the computer! Today\u0026rsquo;s goal is to wirelessly control the robot. Send commands without the need to connecting it to a laptop. I plan on doing this using an IR module receiver. I chose this because it is easy to setup and there was one already available in my kit. Eventually, I will switch to a bluetooth receiver. Checkout my Day 2: Spinning the Wheels! post where I manage to get the bot moving.\nRequired Components IR receiver module (anyone will do as they all have the same pins and functionality) IR Remote (usually comes with the receiver) Setting Up the Circuit Regardless of which IR module receiver you own, the three essential pins of the IR module receiver—GND, VCC, and SIG (SIG)—are always the same. Make sure to double-check the pinout diagram for your specific IR module receiver before proceeding with the circuit setup.\nOn most 3-pin IR receiver modules, these pins typically represent\nVCC (Voltage Common Collector) or Power: This pin provides the positive power supply to your module. Your \u0026lsquo;R\u0026rsquo; pin is likely this. GND (Ground): This pin is the common ground for the module\u0026rsquo;s circuit, connected to the Arduino\u0026rsquo;s ground. Usually your \u0026lsquo;G\u0026rsquo; pin is this. OUT (Output) or Signal (SIG): This pin transmits the decoded digital signal from the IR receiver to your Arduino\u0026rsquo;s digital input pin. Your \u0026lsquo;Y\u0026rsquo; pin is likely this. To set up the actual circuit, we first connect the GND pin from the receiver to that of the Arduino to ensure common ground for its circuit. Then, we connect the VCC pin from the receiver to the 5V pin on the Arduino. This is because the receiver needs a 3-5V power supply to function properly. Finally, we can connect our SIG pin to any of the digital input pins, which we need to configure in our code later on.\nIR Receiver Code The main change in our code will be the way we accept the commands to the bot. In the previous version, we had a parser which converts the text commands to the relevant C++ functions to call. In this version, we change this part to receive the commands from the remote. Different remotes have different layouts and each button send out a unique hex code. My first job is to figure out the codes for each of these buttons on the remote. For this, we have a small helper sketch which will wait for the button press and prints the hex code received to the screen. The code can be found here remote_codes_finder.ino. This code uses an import which has to be downloaded first. You can do this by clicking on the \u0026ldquo;LIBRARY MANAGER\u0026rdquo; and searching for \u0026ldquo;IRremote\u0026rdquo;. I used the first one by shirriff, z3t0, ArminJo.\nOnce I have all the hex codes noted for all the buttons I intend to use, I had to update the main code to accept these codes and call the appropriate commands. I still have the serial port initialized in this code for debugging purposes. This can be removed in the final version. Also note the use of \u0026ldquo;if \u0026hellip; else\u0026rdquo; statement instead of a \u0026ldquo;switch\u0026rdquo; statement. The hex code we get from the remote is 64 bits but the default integer value used in a \u0026ldquo;switch\u0026rdquo; statement on Arduino platform is 16/32 bits. Hence, the switch statement never gets executed correctly.\nThe rest of the move functions remain the same. You can reuse them from the previous version. The full code is here ir_remote_controlled_car.ino\nIR and Motor Interference To begin with I started testing IR receiver and motors separately. They both worked perfectly. But once I have both on the same board I realized that the IR receiver was behaving very weirdly. I took help of my Dad who told me about IR interference. Turns out IR is very susceptible to electrical interference from things like motors and other electrical circuits. To handle this I ended up adding logic to stop motors completely when IR receiver is ready to receive codes. The updated code is checked into the github repo.\nNotes and Observations What are infrared signals?\nInfrared signals are a form of electromagnetic radiation, just like the visible light we see every day, radio waves, and even x-rays. Its wavelength is much longer than the regular light we see, therefore making it unable to be seen by the naked eye.\nHow does it function**?**\nWhen a button is pressed, an invisible light that includes modulated binary code is released by the infrared LED. Then, when it strikes the receiver core, which is sensitive to infrared light, it produces a little electrical current. To make them much easier to read, the amplifier amplifies the built-in filter, which ensures that it only \u0026ldquo;listens\u0026rdquo; to a particular frequency. Lastly, the demodulator eliminates the frequency and retrieves the original binary pulses. After that, the receiver transmits this information to the Arduino, which may translate it into hash values that we can use to program the bot.\nAdvantages and Disadvantages of IR Signals:\nAvantages Disadvantages Low Cost: Components are very inexpensive. Requires Line of Sight: Must have a clear path between transmitter and receiver. Cannot go through walls or solid objects. Simple to Implement: Easy to integrate into devices. Limited Range: Usually only effective for short distances. No Licensing Required: Operates on unregulated frequencies. Susceptible to Interference: Strong IR sources (like direct sunlight, incandescent bulbs) can disrupt signals. No RF Interference: Does not interfere with Wi-Fi, Bluetooth, or other radio-frequency devices. No Two-Way Communication (Typically): Most common IR applications are one-way (e.g. Remote to TV, and almost never TV to remote) Basic Security : Prevents accidental control of devices in other rooms, as signals are confined. Lack of Robust Security/Authentication: Any compatible remote can potentially control a device if it knows the code. Low Power Consumption: Ideal for battery-operated devices like remote controls. Lower Data Transfer Speeds: Generally slower than modern wireless technologies like Wi-Fi or Bluetooth for data communication. ","permalink":"https://motumtech.in/day-3-controlling-the-robot-wirelessly/","summary":"\u003cp\u003eWhat is the use of a robot if it is always tethered to the computer! Today\u0026rsquo;s goal is to wirelessly control the robot. Send commands without the need to connecting it to a laptop. I plan on doing this using an IR module receiver. I chose this because it is easy to setup and there was one already available in my kit. Eventually, I will switch to a bluetooth receiver. Checkout my \u003ca href=\"/day-2-spinning-the-wheels/\"\u003eDay 2: Spinning the Wheels!\u003c/a\u003e post where I manage to get the bot moving.\u003c/p\u003e","title":"Day 3: Controlling the Robot Wirelessly"},{"content":"This site is a personal blog at https://motumtech.in. It is a set of static pages: there are no user accounts, no advertising, no analytics or tracking, and no cookies set by this site.\nWhat the web server records The site is hosted by Hostinger. Like almost every web host, its servers keep standard access logs — your IP address, the page requested, the time, and your browser\u0026rsquo;s user-agent string — for security and troubleshooting. I don\u0026rsquo;t use these logs to identify or profile visitors.\nComments Comments on posts use giscus, which stores each comment as a public discussion in this site\u0026rsquo;s GitHub repository.\nReading comments doesn\u0026rsquo;t require an account. The comment box is loaded from giscus.app, so giscus and GitHub receive your IP address and browser details when it loads. To post, you sign in with GitHub. Your comment, GitHub username and profile picture are then public on GitHub and on this site, under GitHub\u0026rsquo;s privacy statement. giscus keeps a sign-in token in your browser\u0026rsquo;s local storage until you sign out. You can edit or delete your own comments on GitHub at any time. Stored in your browser If you use the light/dark switch, your choice is saved in your browser\u0026rsquo;s local storage so the site remembers it. It never leaves your device.\nLinks to other sites Posts link to other websites (for example GitHub, Arduino and Raspberry Pi documentation). Those sites have their own privacy policies.\nContact Questions about this policy or a request to remove something: open a discussion on the GitHub repository.\n","permalink":"https://motumtech.in/privacy-policy/","summary":"\u003cp\u003eThis site is a personal blog at \u003cstrong\u003e\u003ca href=\"https://motumtech.in\"\u003ehttps://motumtech.in\u003c/a\u003e\u003c/strong\u003e. It is a set of static pages: there are\nno user accounts, no advertising, no analytics or tracking, and no cookies set by this site.\u003c/p\u003e\n\u003ch2 id=\"what-the-web-server-records\"\u003eWhat the web server records\u003c/h2\u003e\n\u003cp\u003eThe site is hosted by \u003ca href=\"https://www.hostinger.com/legal/privacy-policy\"\u003eHostinger\u003c/a\u003e. Like almost\nevery web host, its servers keep standard access logs — your IP address, the page requested,\nthe time, and your browser\u0026rsquo;s user-agent string — for security and troubleshooting. I don\u0026rsquo;t use\nthese logs to identify or profile visitors.\u003c/p\u003e","title":"Privacy Policy"},{"content":"Today\u0026rsquo;s main goal is to connect Arduino Uno to the motors using the motor driver and if possible code some instructions to move the wheels. If you have been following this series, checkout my first post Day 1: Setting up Arduino and gathering parts.\nVoltages and Currents Before we get started, a little introduction to voltages and currents and power requirements. I highly recommend checking this book out for a great introduction to electricity, voltages and currents.\nThe battery pack holds 4 AA batteries connected in series, providing a total voltage of 6V (1.5V × 4). The TT motors specify an input voltage range of 3V - 6V, so they can be safely powered by the 4 AA battery configuration.\nEach TT motor typically draws 300mA - 500mA of current during normal operation, depending on the mechanical load. Typical alkaline AA batteries have a capacity of 2000mAh - 3000mAh. Since my batteries don\u0026rsquo;t specify their capacity, I\u0026rsquo;ll assume an average of 2500mAh. This means the battery pack can theoretically supply 2500mA for 1 hour, 1250mA for 2 hours, 625mA for 4 hours, and so on.\nWith two TT motors connected in parallel to the same battery pack, and assuming each motor draws an average of 300mA, the total current draw would be approximately 600mA. At this consumption rate, the batteries should last for about 4 hours (2500mAh ÷ 600mA ≈ 4.2 hours).\nAs the calculations above show, the battery pack is already operating near its capacity limits with just the two motors. Therefore, the Arduino requires its own separate power supply to avoid overloading the motor batteries and to ensure reliable operation. During development and testing, the Arduino is powered through the USB connection from the computer. For standalone operation without the USB connection, the Arduino should be powered by a separate 9V battery connected to its power jack, which will be regulated down to 5V by the Arduino\u0026rsquo;s onboard voltage regulator.\nCircuit Diagram A circuit diagram illustrates how the various components of a circuit are interconnected. Creating a diagram is an essential first step before building the actual circuit, as it helps visualize connections, identify potential issues, and serves as a reference during construction. You can create circuit diagrams using specialized software like Fritzing or KiCad, general diagramming tools, or even hand-drawn sketches on paper. The circuit we will be building is shown in the diagram below.\nThe L298N motor driver acts as a power amplifier, providing the high current needed to drive the motors while being controlled by low-current signals from the Arduino. The enable pins (ENA and ENB) control whether each motor output is active. By default, small jumpers connect these pins to VCC (the positive battery terminal), keeping the motors always enabled. To allow Arduino control over motor speed, these jumpers must be removed and the enable pins connected to PWM-capable pins on the Arduino (identifiable by the \u0026ldquo;~\u0026rdquo; symbol next to the pin number).\nThe direction control pins IN1, IN2, IN3, and IN4 determine the rotation direction of each motor. IN1 and IN2 control Motor A, while IN3 and IN4 control Motor B. These are digital inputs that interpret +5V as logic \u0026ldquo;1\u0026rdquo; and 0V (ground) as logic \u0026ldquo;0\u0026rdquo;.\nFor each motor, the direction is determined by the combination of its two control pins:\nDifferent values (IN1=1, IN2=0 or IN1=0, IN2=1) cause the motor to spin in opposite directions Same values (both 0 or both 1) cause the motor to stop or brake The specific direction (forward vs. reverse) for each combination depends on how the motor wires are connected and can be determined through experimentation.\nCoding Arduino Logic The Arduino needs instructions to know how to behave when powered on, including how to configure its pins and control the PWM outputs. To make the code more readable and maintainable, it\u0026rsquo;s good practice to define descriptive names for the pins instead of using pin numbers directly. Based on our circuit connections, here are the pin definitions I\u0026rsquo;ll use. You should modify these to match your actual wiring if you\u0026rsquo;ve connected to different pins.\nI am using the serial port on the Arduino to receive commands. The commands can be simple ones like \u0026ldquo;forward 3000\u0026rdquo; to instruct the motors to spin in forward direction for 3000us or 3s. Next, we have to write code in the loop() function to wait for these commands and execute the necessary code to control the motors based on these commands. My loop() function looks like this.\nThe loose translation of above code reads like this:\nCheck if there is anything available to read on the serial port If yes, read the string until you reach \u0026ldquo;\\n\u0026rdquo; which is a newline character (when you press \u0026ldquo;Enter\u0026rdquo; on the keyboard) Trim or cut any trailing whitespace Call a function to parse the command The parseCommand is a function which parses the input string to determine what action to be taken.\nThe action functions moveForward, moveBackward, turnLeft and turnRight are the final functions which sets the appropriate voltages on the pins. For brevity, I am showing here only the definition of moveForward. The others can be derived using similar logic. The full code is uploaded on my github link.\nBuilding the Circuit and Testing Once you are confident about the workings of the circuit diagram and the code to control it, you start building the circuit. It can be clumsy to begin with, all you care about at this stage is the correctness of the connections. More importantly this is the time you test your connections fully before building the final product. My testing setup looks like this.\n","permalink":"https://motumtech.in/day-2-spinning-the-wheels/","summary":"\u003cp\u003eToday\u0026rsquo;s main goal is to connect Arduino Uno to the motors using the motor driver and if possible code some instructions to move the wheels. If you have been following this series, checkout my first post \u003ca href=\"/day-1-setting-up-arduino-and-gathering-parts/\"\u003eDay 1: Setting up Arduino and gathering parts\u003c/a\u003e.\u003c/p\u003e\n\u003ch3 id=\"voltages-and-currents\"\u003eVoltages and Currents\u003c/h3\u003e\n\u003cp\u003eBefore we get started, a little introduction to voltages and currents and power requirements. I highly recommend checking \u003ca href=\"https://www.allaboutcircuits.com/textbook/direct-current/chpt-1/voltage-current/\"\u003ethis book\u003c/a\u003e out for a great introduction to electricity, voltages and currents.\u003c/p\u003e","title":"Day 2: Spinning the Wheels!"},{"content":"This is my first post in a series of posts describing my journey with the goal of building an autonomous robot which can navigate by itself. The robot will look like a car and I plan to use it as a security guard in my front yard.\nGathering required components Arduino microcontroller (or Raspberry Pi) A chassis for the body of the robot (the one I ordered came with omnidirectional wheels and TT motors) TT motors to drive the wheels (if not included with the chassis) Motor drivers: L298N (each one can drive two motors, for this project I need two) 4-AA battery holder to power the motors A 9V battery cable to power the Arduino Most of these components can be bought on Amazon or other online stores like Adafruit. Here are some pictures of the parts I ordered\nSetting up Arduino IDE The brain of the robot is the Arduino UNO R3 microcontroller board. All the instructions to the robot are executed on this microcontroller. We need a way to develop code for this platform and upload it to the on board memory of the microcontroller. This is where Arduino IDE comes to the rescue.\nGetting started with Arduino IDE is very straightforward. The instructions can be found here. The best way to test your setup is to execute the Blink from the included examples. You can find this under File -\u0026gt; Examples -\u0026gt; Basic -\u0026gt; Blink.\nArduino being a microcontroller has no OS to boot up. On power on there is some initialization done to the board and the code you upload to it is run repeatedly until the power is off. The IDE has two sections to capture this behavior. The first section is a function called setup() where you put your code which is only run one time at the beginning. The second section is a function called loop() where you put your main code which is run repeatedly.\nNotes and observations I try to capture all my observations or questions I had during the build here. Most of these questions are answered either by my father or I use the internet.\nRaspberry Pi or Arduino? Arduino UNO R3 is a microcontroller whereas Raspberry Pi is a general purpose microcomputer. Here are the differences I understood from studying these two. You can find more information about them on the internet.\nFeature Arduino UNO R3 Raspberry Pi Boot up No boot up (very fast) Boot up the OS (Linux) OS None Linux Computing power Limited More powerful Memory Limited Upto 8GB Interface to various sensors Trivial Trivial Power consumption Low High Beginner friendly Yes No Need for motor drivers Recall that in the parts list I mentioned about L298N motor drivers! These are needed to drive the TT motors because the motors draw significantly more current than the Arduino\u0026rsquo;s GPIO pins can safely provide. Attempting to power motors directly from the Arduino\u0026rsquo;s pins could damage the microcontroller.\nThe L298N acts as an interface or power amplifier. It takes the low-power control signals (on/off, direction) from the Arduino\u0026rsquo;s microcontroller and uses them to switch and deliver the much higher current and appropriate voltage from a separate motor power supply to the motors. In essence, the Arduino tells the L298N what to do, and the L298N provides the necessary power.\n","permalink":"https://motumtech.in/day-1-setting-up-arduino-and-gathering-parts/","summary":"\u003cp\u003eThis is my first post in a series of posts describing my journey with the goal of building an autonomous robot which can navigate by itself. The robot will look like a car and I plan to use it as a security guard in my front yard.\u003c/p\u003e\n\u003ch2 id=\"gathering-required-components\"\u003eGathering required components\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eArduino microcontroller (or Raspberry Pi)\u003c/li\u003e\n\u003cli\u003eA chassis for the body of the robot (the one I ordered came with omnidirectional wheels and TT motors)\u003c/li\u003e\n\u003cli\u003eTT motors to drive the wheels (if not included with the chassis)\u003c/li\u003e\n\u003cli\u003eMotor drivers: L298N (each one can drive two motors, for this project I need two)\u003c/li\u003e\n\u003cli\u003e4-AA battery holder to power the motors\u003c/li\u003e\n\u003cli\u003eA 9V battery cable to power the Arduino\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eMost of these components can be bought on Amazon or other online stores like Adafruit. Here are some pictures of the parts I ordered\u003c/p\u003e","title":"Day 1: Setting up Arduino and gathering parts"},{"content":"Hi, I am Sathvik, a high school student in California. I like to blog about my adventures in building small robots for home automation and technology in general.\n","permalink":"https://motumtech.in/about-me/","summary":"\u003cp\u003eHi, I am Sathvik, a high school student in California. I like to blog about my adventures in building small robots for home automation and technology in general.\u003c/p\u003e","title":"About Me"}]