Creative DIY: The production process of "Xiaoqiang No. 1" robot (with program)
Starting with the interest in robots , I bought a bunch of books and read a lot of information. I decided to start with the simplest wheel robots. Although ordinary computers are powerful, they cannot directly collect physical data of the external environment, nor can they directly control the motor. Looked down, although you can directly use the USB interface data collector on the computer to collect the sensor data, you can also use the PCI motor control card to drive a variety of motors, but the cost is somewhat high, temporarily not considered. Looking for a circle, I found that the MCU solution is cheap, by the way, I can learn the MCU control and do some circuit experiments. So I finally decided that the experimental program was done using a single-chip microcomputer. Components Below are the purchased parts: 8-bit microcontroller Atmega168 development board. Circuit breadboard and wiring Two geared motors for driving the wheels. No suitable gear was found, and there is no processing equipment. The figure is simple, so it is replaced by the motor with integrated reduction gear. The distance sensor, which is the main sensor of the robot, is used to detect the distance of obstacles. A commonly used infrared distance sensor is used as the eye of the robot. The steering gear is used to control the direction of the robot "eyes". A bunch of parts: Fiber Optic Field Connector,Fiber Optic Accessory,Optical Fiber Accessories,Optical Fiber Accessory Huizhou Fibercan Industrial Co.Ltd , https://www.fibercannetworks.com