当前位置:网站首页>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 
边栏推荐
- Let's briefly talk about the chips commonly used in mobile phones - OVP chips
- Explain task scheduling based on Cortex-M3 in detail (Part 2)
- Soem EtherCAT source code analysis I (data type definition)
- Meizu Bluetooth remote control temperature and humidity access homeassistant
- [tutorial 19 of trio basic from introduction to proficiency] detailed introduction of trio as a slave station connecting to the third-party bus (anybus PROFIBUS DP...)
- [three tier architecture and JDBC summary]
- MATLAB小技巧(28)模糊综合评价
- MATLAB skills (28) Fuzzy Comprehensive Evaluation
- My-basic application 1: introduction to my-basic parser
- DokuWiki deployment notes
猜你喜欢

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

99 multiplication table (C language)

Keil use details -- magic wand

leetcode - 445. 两数相加 II

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

Example 006: Fibonacci series

QEMU STM32 vscode debugging environment configuration

My-basic application 2: my-basic installation and operation

Example 004: for the day of the day, enter a day of a month of a year to judge the day of the year?
![[noi simulation] juice tree (tree DP)](/img/19/bc71e8dc3958e4cb87b31423a74617.png)
[noi simulation] juice tree (tree DP)
随机推荐
Working principle and type selection of common mode inductor
Go dependency injection -- Google open source library wire
Soem EtherCAT source code analysis attachment 1 (establishment of communication operation environment)
Semiconductor devices (III) FET
L298N module use
[paper reading] the latest transfer ability in deep learning: a survey in 2022
Charge pump boost principle - this article will give you a simple understanding
leetcode - 445. Add two numbers II
MATLAB skills (28) Fuzzy Comprehensive Evaluation
剑指 Offer 09. 用两个栈实现队列
STM32 --- configuration of external interrupt
Basic information commands and functions of kernel development
Negative pressure generation of buck-boost circuit
Google sitemap files for rails Projects - Google sitemap files for rails projects
实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
Example 010: time to show
Simple design description of MIC circuit of ECM mobile phone
Sizeof (function name) =?
STM32 summary (HAL Library) - DHT11 temperature sensor (intelligent safety assisted driving system)
关于线性稳压器的五个设计细节