当前位置:网站首页>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 
边栏推荐
- UE pixel stream, come to a "diet pill"!
- 剑指 Offer 09. 用两个栈实现队列
- [trio basic from introduction to mastery tutorial 20] trio calculates the arc center and radius through three points of spatial arc
- Void* C is a carrier for realizing polymorphism
- Sword finger offer 05 Replace spaces
- MATLAB skills (28) Fuzzy Comprehensive Evaluation
- Live555 push RTSP audio and video stream summary (I) cross compilation
- Five design details of linear regulator
- Slist of linked list
- 实例008:九九乘法表
猜你喜欢

MySQL之MHA高可用集群

99 multiplication table (C language)

Several implementation schemes of anti reverse connection protection of positive and negative poles of power supply!
实例001:数字组合 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?

Take you to understand the working principle of lithium battery protection board

H264 (I) i/p/b frame gop/idr/ and other parameters

Bluebridge cup internet of things basic graphic tutorial - GPIO input key control LD5 on and off

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

Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off

剑指 Offer 06. 从尾到头打印链表
随机推荐
Tailq of linked list
Example 005: three numbers sorting input three integers x, y, Z, please output these three numbers from small to large.
Example 002: the bonus paid by the "individual income tax calculation" enterprise is based on the profit commission. When the profit (I) is less than or equal to 100000 yuan, the bonus can be increase
Esphone retrofits old fans
Infected Tree(树形dp)
【论文阅读】2022年最新迁移学习综述笔注(Transferability in Deep Learning: A Survey)
STM32 outputs 1PPS with adjustable phase
Sword finger offer 05 Replace spaces
STM32 --- GPIO configuration & GPIO related library functions
DCDC circuit - function of bootstrap capacitor
Example 004: for the day of the day, enter a day of a month of a year to judge the day of the year?
Soem EtherCAT source code analysis II (list of known configuration information)
Count the number of inputs (C language)
实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.
Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off
Anonymous structure in C language
QEMU demo makefile analysis
PIP installation
How to copy formatted notepad++ text?
go依赖注入--google开源库wire