3645 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

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

 
 

5217

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
 
 
 

6773

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
 
 
 

7452

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

 
 
 

6773

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

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