A kind of mobile platform based on wireless mouse control
Technical field
The utility model relates to intelligent family moving platform technical fields, more particularly to a kind of controlled based on wireless mouse
Mobile platform.
Background technique
Currently, the mode diversity such as intelligent carriage field, traditional control equipment is lower in intelligent family moving platform, one
As be handle or remote controler, this control method need both hands carry out coordinated manipulation, operate with extremely inconvenient.Compared to mouse
For control, hence it is evident that the mode of the flexible therefore traditional control equipment of the one-handed performance of inadequate mouse needs further to develop.
China Patent No.: CN205405260U, it is open to have invented a kind of mouse track video intelligent trolley, involved in
Mouse control mode is needed by upper computer module as group through-connection station, then is controlled through wireless communication by upper computer module
Trolley, the patented technology need the upper computer module by a similar computer, and the complexity in entire control system is obvious
Increase, corresponding cost also increases, and has certain hysteresis quality in information transfer connection.
Utility model content
The problem of the utility model is inconvenient for operation in order to solve prior art control, and control system is complicated, at high cost,
Provide a kind of mobile platform based on wireless mouse control, convenient, flexible with one-handed performance and at low cost advantage.
To realize above-mentioned the utility model aim, the technical solution adopted is as follows: a kind of shifting based on wireless mouse control
Moving platform, including bottom plate, wheel, the wheel are rotatably provided in the bottom of bottom plate;It further include several DC speed-reducings
Module, motor drive module, control module, USB communication module, nano receiver, wireless mouse;
The DC speed-reducing module is connect with wheel, and DC speed-reducing module electrically connects with motor drive module
It connects;The motor drive module is by control DC speed-reducing module, to realize control vehicle wheel rotation;
The control module and motor drive module are electrically connected, and control module and USB communication module are electrically connected;
The USB communication module and nano receiver are electrically connected;The nano receiver and wireless mouse wirelessly communicate
Connection;
The USB communication module receives the control signal sent from wireless mouse by nano receiver, simultaneously will
Control signal is transferred to control module, and control module handles control signal, and control module passes through motor drive module pair
DC speed-reducing module is controlled, and then controls motor rotation.
Preferably, the mobile platform based on wireless mouse control is equipped with 4 DC speed-reducing modules, constitutes four
Take turns mobile platform.
Preferably, the DC speed-reducing module includes deceleration mechanism, wheel shaft, motor fixture, motor;
The wheel shaft is fixedly connected with wheel, and wheel shaft drives vehicle wheel rotation;
The motor is rotated for drive deceleration mechanism, so that drive deceleration mechanism drives wheel shaft rotation, and then with motor-car
Wheel rotation;
The deceleration mechanism, motor are fixed on the bottom of bottom plate by motor fixture.
Further, the motor drive module uses L298N motor drive module;The motor drive module
The port out1 is electrically connected with wherein one end of two motors on right side respectively;The port out2 of the motor drive module respectively with
The other end of two motors on right side is electrically connected;The port out3 of the motor drive module respectively with two motors in left side
Wherein one end is electrically connected;The port out4 of the motor drive module is electrically connected with the other end of two motors in left side respectively.
Still further, the control module is Arduino UNO controller, the Arduino UNO controller
Including ATmega328 chip;
4 pins of the Arduino UNO controller and the IN1 of motor drive module are electrically connected;
5 pins of the Arduino UNO controller and the IN2 of motor drive module are electrically connected;
6 pins of the Arduino UNO controller and the IN3 of motor drive module are electrically connected;
7 pins of the Arduino UNO controller and the IN4 of motor drive module are electrically connected;
The A0 pin of the Arduino UNO controller and the ENA1 of motor drive module are electrically connected;
The A1 pin of the Arduino UNO controller and the ENA2 of motor drive module are electrically connected;
Wherein, by change IN1 and IN2 between voltage difference come change motor direction of rotation or by change IN3 with
Voltage difference between IN4 changes the direction of rotation of motor, keeps Arduino UNO controller generation different from ENA2 by ENA1
Pulse control motor rotation speed.
Still further, the USB communication module uses USB Host Shield plate;The USB Host Shield plate
The top of Arduino UNO controller is assigned into according to the array of row's needle;
The GND pin of the USB Host Shield plate and the GND pin of Arduino UNO controller are electrically connected;
The SCK pin of the USB Host Shield plate and 13 pins of Arduino UNO controller are electrically connected;
The MISO pin of the USB Host Shield plate and 12 pins of Arduino UNO controller are electrically connected;
The MOSI pin of the USB Host Shield plate and 11 pins of Arduino UNO controller are electrically connected;
The SS pin of the USB Host Shield plate and 10 pins of Arduino UNO controller are electrically connected;
The 5V pin of the USB Host Shield plate and the 5V pin of Arduino UNO controller are electrically connected.
Still further, the nano receiver is electrically connected with USB Host Shield plate by USB interface, it is described
Nano receiver be and the matching used receiver of wireless mouse;The nano receiver is used to receive the letter of wireless mouse
Number, and signal is transferred to Arduino UNO controller by USB Host Shield plate and is handled.
Preferably, one rotatable directive wheel, the directive wheel are respectively installed in the position of the front end left and right corner of bottom plate
Wheel shaft perpendicular to bottom edge, the directive wheel can play certain buffering effect, prevent when mobile platform bumps against barrier
Mobile platform directly bumps against on barrier.
The beneficial effects of the utility model are as follows: the utility model directly controls mobile platform by wireless mouse, uses
The control mode of mouse, one-handed performance is convenient, flexible, is a kind of better man-machine interaction mode;It is directly controlled by wireless mouse
The mode of control equipment, not needing computer reduces the complexity of control as group through-connection station, and practical;Use wireless mouse
Target cost is more than using the cost of bluetooth wireless controller low.
Detailed description of the invention
Fig. 1 is the control system connection structure diagram of the present embodiment.
Fig. 2 is the control system connection circuit diagram of the present embodiment.
Fig. 3 is the mobile platform structure chart of the present embodiment.
In figure, 1- wheel, 2- DC speed-reducing module, 3- motor fixture, 4- bottom plate, 5- motor drive module, 6-
Arduino UNO controller, 7-USB Host Shield plate, 8-nano receiver, 9- wireless mouse, 10- directive wheel.
Specific embodiment
The utility model is described in detail with reference to the accompanying drawings and detailed description.
Embodiment 1
As shown in Figure 1, Figure 2, Figure 3 shows, a kind of mobile platform based on wireless mouse control, including bottom plate, wheel, the vehicle
Wheel is rotatably provided in the bottom of bottom plate;It further include 4 DC speed-reducing modules, motor drive module, control module, USB
Communication module, nano receiver, wireless mouse;4 DC speed-reducings module composition four-wheel mobile platform.
The DC speed-reducing module is connect with wheel, and DC speed-reducing module electrically connects with motor drive module
It connects;The motor drive module is by control DC speed-reducing module, to realize control vehicle wheel rotation;
The control module and motor drive module are electrically connected, and control module and USB communication module are electrically connected;
The USB communication module and nano receiver are electrically connected;The nano receiver and wireless mouse wirelessly communicate
Connection;
The USB communication module receives the control signal sent from wireless mouse by nano receiver, simultaneously will
Control signal is transferred to control module, and control module handles control signal, and control module passes through motor drive module pair
DC speed-reducing module is controlled, and then controls motor rotation.
DC speed-reducing module described in the present embodiment includes deceleration mechanism, wheel shaft, motor fixture, motor;The wheel
Axis is fixedly connected with wheel, and wheel shaft drives vehicle wheel rotation;
The motor is rotated for drive deceleration mechanism, so that drive deceleration mechanism drives wheel shaft rotation, and then with motor-car
Wheel rotation;
The deceleration mechanism, motor are fixed on the bottom of bottom plate by motor fixture;The DC speed-reducing
Module and motor drive module are electrically connected;The motor drive module is by control DC speed-reducing module, thus real
Now control vehicle wheel rotation.
Motor drive module described in the present embodiment uses L298N motor drive module;The motor drive module
The port out1 is electrically connected with wherein one end of two motors on right side respectively;The port out2 of the motor drive module respectively with
The other end of two motors on right side is electrically connected;The port out3 of the motor drive module respectively with two motors in left side
Wherein one end is electrically connected;The port out4 of the motor drive module is electrically connected with the other end of two motors in left side respectively.
Control module described in the present embodiment is Arduino UNO controller, and the Arduino UNO controller includes
ATmega328 chip;
4 pins of the Arduino UNO controller and the IN1 of motor drive module are electrically connected;
5 pins of the Arduino UNO controller and the IN2 of motor drive module are electrically connected;
6 pins of the Arduino UNO controller and the IN3 of motor drive module are electrically connected;
7 pins of the Arduino UNO controller and the IN4 of motor drive module are electrically connected;
The A0 pin of the Arduino UNO controller and the ENA1 of motor drive module are electrically connected;
The A1 pin of the Arduino UNO controller and the ENA2 of motor drive module are electrically connected;
Wherein, by change IN1 and IN2 between voltage difference come change motor direction of rotation or by change IN3 with
Voltage difference between IN4 changes the direction of rotation of motor, keeps Arduino UNO controller generation different from ENA2 by ENA1
Pulse control motor rotation speed.
USB communication module described in the present embodiment uses USB Host Shield plate;The USB Host Shield plate is pressed
The array of phototypesetting needle assigns into the top of Arduino UNO controller;
The GND pin of the USB Host Shield plate and the GND pin of Arduino UNO controller are electrically connected;
The SCK pin of the USB Host Shield plate and 13 pins of Arduino UNO controller are electrically connected;
The MISO pin of the USB Host Shield plate and 12 pins of Arduino UNO controller are electrically connected;
The MOSI pin of the USB Host Shield plate and 11 pins of Arduino UNO controller are electrically connected;
The SS pin of the USB Host Shield plate and 10 pins of Arduino UNO controller are electrically connected;
The 5V pin of the USB Host Shield plate and the 5V pin of Arduino UNO controller are electrically connected.
Wireless mouse described in the present embodiment, which is matched, uses MEtoo C90 wireless mouse;The nano receiver and USB
Host Shield plate is electrically connected by USB interface, and the nano receiver is reception matched with MEtoo C90 wireless mouse
Device;The nano receiver is used to receive the signal of wireless mouse, and signal is transferred to by USB Host Shield plate
Arduino UNO controller is handled.
The working principle of the present embodiment is as follows: will control signal by wireless mouse and is transferred to USB by nano receiver
Control signal is transferred to the main control in Arduino UNO controller again by Host Shield plate, USB Host Shield plate
Chip is handled, and the control signal of processing is transferred to motor drive module, DC speed-reducing module and carries out phase to wheel
The control answered.
The present embodiment controls MEtoo C90 wireless mouse by singlehanded, so as to quickly and easily control mobile platform, this
Kind one-handed performance, it is convenient, flexible, it is a kind of better man-machine interaction mode;In such a way that wireless mouse directly controls equipment,
Not needing computer reduces the complexity of control as group through-connection station, and practical;Cost using wireless mouse is more than making
Cost with bluetooth wireless controller is low.
The present embodiment also respectively installs a rotatable directive wheel, the guiding in the position of the front end left and right corner of bottom plate
For the wheel shaft of wheel perpendicular to bottom edge, the directive wheel can play certain buffering effect when mobile platform bumps against barrier, prevent
Only mobile platform directly bumps against on barrier, while directive wheel also has guiding role.
Obviously, the above embodiments of the present invention is merely examples for clearly illustrating the present invention, and
It is not limitations of the embodiments of the present invention.It is made within the spirit and principle of the present invention any to repair
Change, equivalent replacement and improvement etc., should be included within the utility model scope of the claims.