3622 views|7 replies

1412

Posts

3

Resources
The OP
 

[Erha Image Recognition Artificial Intelligence Vision Sensor] 6. Identify motors and control their operation [Copy link]

 

Erha’s object recognition is very powerful, and any object is a piece of cake in front of him.

According to the communication format of [Erha Image Recognition Artificial Intelligence Vision Sensor] 5. Erha Sensor Serial Port Communication Test , the Erha sensor communicates with the motor driver board NUCLEO-F746ZG. After receiving the recognized motor, it controls the motor to run, and stops the motor after running for a period of time.

The motor driver board NUCLEO-F746ZG uses the serial port USART2, the sending port PA2, and the receiving port PA3 to connect to the communication interface of Erha, and the baud rate is 9600.

The control strategy is: the motor driver board NUCLEO-F746ZG sends the parameter reading command at intervals of 1s: 0x55, 0xaa, 0x11, 0x00, 0x23, 0x33. When the identified motor 1 is received, the motor is started and the motor is running. After running for 10 seconds, a command is sent to stop the motor.

If the motor is not identified, the driver board will not control the motor to run:

First use Erha to identify the motor. When Erha identifies motor 1, the motor will start running:

The motor speed is set to 500RPM, and when running normally, it stops on time after 10S.


At this point, the entire project is completed.

Summary: Erha has a very high recognition rate, fast response, and simple communication. I checked the communication data of Erha's color recognition, which is similar to that of object type recognition. This is why Erha can quickly recognize colors in smart cars and run according to the trajectory. Erha also has its imperfections. The camera is not clear enough and the object recognition is wrong. I hope this can be improved. Overall, Erha provides users with a quick start and quick application solution, which I think is very good. Finally, I would like to thank the forum for giving me the opportunity to play with new things.

This post is from Domestic Chip Exchange

Latest reply

Haha, it’s okay. I’ll buy another one when I want to play with it.   Details Published on 2022-1-10 15:55
Personal signature

没有什么不可以,我就是我,不一样的烟火! 

 
 

5213

Posts

239

Resources
2
 

Once recognized, it can be controlled, giving a sense of conscious control

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
 
 

1412

Posts

3

Resources
3
 

That's what I mean...

This post is from Domestic Chip Exchange
 
 
 

6742

Posts

2

Resources
4
 

Haha, seeing you guys having so much fun, I regret not applying for a trial.

This post is from Domestic Chip Exchange

Comments

I can send it to you to play with. Or return it to the administrator and you can apply again  Details Published on 2022-1-10 13:29
 
 
 

1412

Posts

3

Resources
5
 
Haha, seeing you guys having so much fun, I regret not applying for a trial.

I can send it to you to play with. Or return it to the administrator and you can apply again

This post is from Domestic Chip Exchange

Comments

Haha, it’s okay. I’ll buy another one when I want to play with it.  Details Published on 2022-1-10 15:55
 
 
 

7422

Posts

2

Resources
6
 

This is interesting. Does it mean looking at the motor and then giving it a drive?

This post is from Domestic Chip Exchange

Comments

But I'm not advanced enough.  Details Published on 2022-1-13 12:07
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

6742

Posts

2

Resources
7
 
annysky2012 posted on 2022-1-10 13:29 I can send it to you to play with. Or return it to the administrator and you can apply again

Haha, it’s okay. I’ll buy another one when I want to play with it.

This post is from Domestic Chip Exchange
 
 
 

1412

Posts

3

Resources
8
 
freebsder posted on 2022-1-10 15:09 This is interesting. Does it mean looking at the motor and then giving it a drive?

But I'm not advanced enough.

This post is from Domestic Chip Exchange
Personal signature

没有什么不可以,我就是我,不一样的烟火! 

 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
Homemade STEVAL-IPM05F 3Sh board: FOC motor control 400V/8A non-sensing/sensing Hall/sensing encoder and other reference programs...

This post was last edited by music_586 on 2019-4-4 19:06 This content was originally created by EEWORLD forum user musi ...

Based on IPM05F 3Sh board: FOC motor control 400V non-sensing sensory encoder all design data summary (schematic diagram/BOM table...

Based on IPM05F 3Sh board: FOC motor control 400V sensorless and sensory encoder all design data summary (schematic diag ...

"Recommend Chinese chips" + domestic chips

I have used or seen quite a lot of domestic chips. I won't mention Shenwei and Loongson. Basically, anyone who works wit ...

Two highlights of EFM32PG22

I think the M33 core and 16-bit ADC are pretty good.

[HPM-DIY] HPM6750 uses cherryusb to read UVC camera to display VGA resolution

I received the display module from EE last week and finally used it tonight. HPM6750 acts as a host to read the UVC came ...

Is it possible to perform socket communication without IP and port number?

When using socket communication, whether it is internal communication within the local machine or communication betwee ...

全志V853 NPU 转换部署 YOLO V5 模型

# NPU conversion and deployment of YOLO V5 model This article takes the YOLO v5s model as an example to detail the conve ...

What is light load mode?

The technique of improving efficiency when using less output current is called light load mode. It is also called burst ...

[ST NUCLEO-U5A5ZJ-Q development board review] 2. EXTI, PWM and serial port printf

Serial port printf output The serial port 1 of Nucleo-U5A5 is connected to the serial port of STlinkV3 to output the pri ...

What are the functions of the five pins INT, MOSI, MISO, SCK, and NCS of the MPU attitude sensor? Is the waveform correct?

What are the functions of the five pins INT, MOSI, MISO, SCK, and NCS of the MPU attitude sensor? Is the waveform correc ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list