当前位置:网站首页>Lori remote control LEGO motor
Lori remote control LEGO motor
2022-07-05 08:29:00 【Sharing master】
Background :
I bought a toy car made of building blocks some time ago , He was assembled in a few days during the Spring Festival , It has the function of remote control steering and forward and backward . But the battery and remote control are not easy to use , Especially batteries , Charge for two hours , Run for five minutes . It's not durable
Bring your own remote control :
The receiver :

The interfaces of building blocks are unified , The advantage of this is that it is easy to match , Complete different functions ,
The interface sequence is as follows :
1→ C1
2→ Positive pole
3→ Negative pole
4→ C2
Original motor control analysis
- Steering control motor



Four lines control , The left and right sides are vdd c1 c2 gnd, adopt 7.4v Battery powered ,c1 ,c2 Input the control signal to control the steering function .
Use arduino Control as follows :
digitalWrite(c1, HIGH);
digitalWrite(c2, LOW); // turn left
Serial.println ("H L");
delay(1000);
digitalWrite(c1, LOW);
digitalWrite(c2, LOW); // Back to normal
Serial.println ("L L");
delay(2000);
digitalWrite(c1, LOW);
digitalWrite(c2, HIGH); // turn right
Serial.println ("H L");
delay(1000);
digitalWrite(c1, LOW);
digitalWrite(c2, LOW); // t Back to normal
Serial.println ("L L");
delay(2000);
Motion motor
The four lines can be separated in the middle , It can be connected to the left and right controls ,
lolita 8 Channel receiving control end

Corresponding wiring sequence 
边栏推荐
- How to write cover letter?
- [trio basic tutorial 18 from introduction to proficiency] trio motion controller UDP fast exchange data communication
- Weidongshan Internet of things learning lesson 1
- STM32 virtualization environment of QEMU
- One question per day - replace spaces
- Circleq of linked list
- Ble encryption details
- Design a clock frequency division circuit that can be switched arbitrarily
- STM32 outputs 1PPS with adjustable phase
- Example 006: Fibonacci series
猜你喜欢

FIO测试硬盘性能参数和实例详细总结(附源码)

Why is 1900 not a leap year

实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.

STM32 single chip microcomputer -- debug in keil5 cannot enter the main function

Bluebridge cup internet of things competition basic graphic tutorial - clock selection

Briefly talk about the identification protocol of mobile port -bc1.2

【云原生 | 从零开始学Kubernetes】三、Kubernetes集群管理工具kubectl

How to write cover letter?

STM32 single chip microcomputer -- volatile keyword

Soem EtherCAT source code analysis attachment 1 (establishment of communication operation environment)
随机推荐
Infected Tree(树形dp)
剑指 Offer 06. 从尾到头打印链表
Slist of linked list
Anonymous structure in C language
Semiconductor devices (III) FET
Example 004: for the day of the day, enter a day of a month of a year to judge the day of the year?
Example 007: copy data from one list to another list.
關於線性穩壓器的五個設計細節
剑指 Offer 05. 替换空格
Classic application of MOS transistor circuit design (2) - switch circuit design
实例001:数字组合 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?
WiFi wpa_ Detailed description of supplicant hostpad interface
Ble encryption details
How to write cover letter?
Tailq of linked list
MySQL之MHA高可用集群
实例010:给人看的时间
STM32 summary (HAL Library) - DHT11 temperature sensor (intelligent safety assisted driving system)
Esphone retrofits old fans
Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off