Arduino is a great tool when it comes to ease of use and applications. Creators, hobbyists, and students from all over the world use Arduino to make all kinds of projects. Arduino-based projects can be as simple as breadboard prototyping. But sometimes you need a permanent fix! like a PCB board. So that you can easily plug in the Arduino without worrying about the wires connections and all.
And in this blog post, we have covered the 3 Best Arduino-based projects using custom-made PCBs. So, let’s jump right into it with our first project.
Wheel-E The self-balancing Robot
In this Arduino based project, a self-balancing robot having two wheels and the PCBs (manufactured through PCBWay) as its body has been developed. The project is based on Arduino Nano and inspired by Sean HodginsPiddyBOT. This project is a great way to learn about Proportional Integral Derivative (PID) controllers as it is capable of incorporating complex codes with a closed-loop system using encoders or the IR sensor slots. In further sections, the pre-requisites to make the project, its specifications, features, the software required, and further improvements are discussed.
- Wheel-E PCB
- N20 micro metal motors
- Arduino Nano
- L293d motor driver
- TP4056 Battery charging Module
- Tactile Switch
- XL6009 Boost Converter Module
- 5050 RGB led
- 10Kohm Preset
- Other miscellaneous resistors
- Passive components used for user interface
- MPU6050/9250 is used for angle measurement
- L293D motor driver is used to control the N20 micro metal gear motors in Open loop connections
- Two IR sensors and two servos are also added for the self-stand-up of the robot.
- Peripherals for Bluetooth and OLED are also provided.
- TP4056 based battery charger module
- Generic Boost module to boost 3.7V of the battery to operable 5V.
- Buzzer for the user interface.
- Buttons to set Zero and Reset the system
Specifications of the PCB:
- The size of the PCB is 77 x 94 mm
- 2 layer FR4
- 1.6 mm
The PCBs have been designed in Altium Software and contain potentiometers in order to tune PID controller parameters in real-time so that we don’t have to change the code every single time. After designing them and developing Gerber files, centroid files, and BOM, the manufactured PCB was ordered from PCBWay and it turned out to be as perfect as it could be as shown in the picture above and helped in making this project successful.
**For PCB Instant Quote and PCBWay assembly service details, go to PCBWay Instant PCB Quote
To have more information about how you can order through PCBWay and their process, you can read – High quality and low-cost PCBs at your doorstep through PCBWay!
5 in 1 Arduino Robot
In this Arduino-based project, a control board is developed which can be programmed into five different scenarios i.e. follow me, line-following, sumo, drawing, and obstacle avoiding as explained in the later sections. It uses an ATmega328P microcontroller and an L293D motor driver so that there is no need for another shield to drive the motor.
The scenarios included in this project are-
SUMO mode: In this sport two opponent robots push or attempt to push the other robot out of a specified circle just like it is done in the sport of sumo.
Follow Me Mode: It senses the presence of an object which is to be followed. This is achieved by using the HC-SR04 sensor.
Tracking Mode: A line follower is a robotic vehicle that follows a particular drawn line, either a black line or a white line.
Avoiding Mode: This robot, also known as an obstacle avoiding robot is an intelligent device that automatically senses the obstacle or disturbance in front of it or in its way and avoids them by turning itself in some other direction.
Drawing Mode: This robot has a servo motor and a pen. This is used to draw movements on the surface provided.
The following components are required for the above project:
- ATmega328P with Bootloader
- L293D Motor Driver IC
- Type B USB Socket
- Ultrasonic Module HC-SR04
- 12/16 MHz Crystal
- 100uF Capacitor
- DIP Socket 28/16 Pins
- L7805 TO-220
- 470nF Capacitor
- Male Pin Header
- 6V 200RPM Mini Metal Gear Motor
- 4V 1000mAh 2S Lipo Battery
- 10nF / 22pF Ceramic
- 9V 800mAh Battery
- 9V Battery Connector
- Resistor 10K/ 1K
- IR Infrared Sensor
- Power Jack Socket
- CH340G USB to TTL IC
- 2 Pin Terminal Block
LED stair light (without fade) by SmartHome yourself
In this Arduino-based project, an LED stair light is developed which is motion-controlled. Whenever the sensor detects motion, the staircase lights up and goes off once the motion signals are no longer received. This particular PCB, ordered from PCBWay is designed for a flight of 16 steps and the detection of motion is achieved through PIR sensors. An optional animation in walking direction can also be obtained through this project.
- 1000 uf capacitors ( one per stage)
- 1 uf capacitor
- 470 uf capacitor
- 100nf SMD capacitor
- 7.5KOhm resistor (one per level) (instead of the 7k)
- 1 KOhm resistor (one per level)
- 10K resistor 4x
- Shift register (one every 8 levels)
- Reset button
- Arduino Nano
- Pin header bar (44 pins are required for 16 levels)
- Terminal block for 12V connection
The PCB for this project manufactured from PCBWay has the following specifications
- 2 Layers PCB 99.4 x 100 mm FR-4
- 1.6 mm, 1, HASL with lead, Blue Solder Mask, White silkscreen
The project software can be configured according to the needs of the user. Some examples of configurations available at the customer end are –
- set on/off the light level-sensor to light up only at night (when the room is dark)
- analog or digital sensors for activate/deactivate lights
- animation on/off
- speed of animation
- speed of light on and off
- timing of delays