A kind of Moped Scooter phonetic prompt method
Technical field
The invention belongs to Moped Scooter production fields, more particularly, to a kind of Moped Scooter phonetic prompt method.
Background technology
The difference of Moped Scooter and traditional electric car is that traditional electric car is generally equipped with handle speed-regulating function, does not need
Bicyclist has trample action, as long as rotation handle, electric vehicle motor are just started to work, exports power.Mainly as walking-replacing tool
It uses.
And Moped Scooter does not have handle speed-regulating function generally, it needs the foot-operated action by detecting bicyclist,
One forward power could be provided, bicyclist is helped to save muscle power, reduce physical consumption.And the output power of motor can root
Ride according to difference and environment and need to be adjusted by gear, be finally reached purpose of easily riding, collection body-building, lie fallow, ride instead of walk for
One.It is widely used in European and American areas at present.In general, such Moped Scooter electric control system is mainly by four most of groups
At being instrument (display), electric machine controller, motor and battery respectively.Instrument major function is and rides in whole system
Person interacts, and shows the operating status of vehicle, such as speed, mileage, power information.Simultaneously by bicyclist to input unit
Operation, regulate and control the operating status of whole system, such as gear, pattern.The drawbacks of this mode is brought is that bicyclist passes through behaviour
Wish realization function switch as input unit or need to look at straight the information that instrument is shown while obtaining riding condition, transfer regards
Line is taken sb's mind off sth, and potential security risk is brought to riding.
Invention content
In view of this, the present invention is directed to propose a kind of Moped Scooter phonetic prompt method, logical to solve present bicyclist
The display screen for crossing Moped Scooter display instrument obtains the shortcomings that riding information.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
A kind of Moped Scooter phonetic prompt method, includes the following steps:
1) Moped Scooter instrument is wirelessly connected external device by respectively, the external device include sound broadcasting device,
Display device and input unit, the input unit are mounted on bicyclist position easy to operate, instrument wireless module in instrument and
The electric machine controller MCU electrical connections of instrument MCU electrical connections, instrument MCU and Moped Scooter;
2) collected input unit value is sent instrument by the wireless module in input units in a manner of BLE low-consumption wireless
Table wireless module transmits signals to instrument MCU after the instrument wireless module receives successfully;
3) on the one hand. instrument MCU sends the signal received to electric machine controller MCU, is carried out in electric machine controller MCU
Data interaction;On the other hand, instrument MCU sends to instrument wireless module according to the key value information and interaction data received and orders,
The instrument wireless module sends the order to external device, which makes according to its wireless module received signal
Reaction.
Further, the sound broadcasting device is wireless headset, and the display device is smart mobile phone, the input dress
It is set to wireless push device.
Further, the wireless connection between the instrument and external device is bluetooth connection.
Further, the instrument is without screen instrument, and instrument MCU becomes one with instrument wireless module, the instrument
Table is embedded in the electric machine controller MCU mount type intracavitary of Moped Scooter.
Further, between the electric machine controller MCU and instrument MCU, instrument MCU and instrument wireless module pass through respectively
The wired serial communications of UART.
In a kind of Moped Scooter phonetic prompt method of the present invention, instrument and sound broadcasting device, display device
And input unit is wirelessly connected respectively, wireless control instrument is realized by input unit, in addition, the present invention ensures that bicyclist passes through
Voice broadcast equipment knows riding condition, solves the method that conventional bicyclist obtains riding condition by instrument display screen, protects
The safety of bicyclist is demonstrate,proved.
A kind of Moped Scooter voice prompt structure, including the instrument that is arranged on Moped Scooter and distinguish with the instrument
The external device of wireless connection, the instrument include its internal instrument wireless module being arranged and instrument MCU, the external device
Including sound broadcasting device, display device and input unit, the instrument wireless module and instrument MCU electrical connections, the instrument
MCU and electric machine controller MCU electrical connections.
Further, the sound broadcasting device is wireless headset, and the display device is smart mobile phone, the input dress
It is set to wireless push device.
Further, the wireless connection between the instrument and external device is bluetooth connection.
Further, the instrument is without screen instrument, and instrument MCU becomes one with instrument wireless module, the instrument
Table is embedded in the electric machine controller MCU mount type intracavitary of Moped Scooter.
Further, between the electric machine controller MCU and instrument MCU, instrument MCU and instrument wireless module pass through respectively
The wired serial communications of UART.
In a kind of Moped Scooter voice prompt structure of the present invention, filled by instrument wireless module and voice broadcast
It sets, display device and input unit are by being wirelessly connected, the form biography that the real-time status of Moped Scooter is passed through voice broadcast
It sending to the bluetooth headset of user, the riding condition of Moped Scooter is shown by original display screen is changed into voice prompt, therefore,
Information of riding is obtained in time convenient for bicyclist, ensure that the safety of bicyclist.
Description of the drawings
The attached drawing for constituting the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 patrols for gauge internal unit module in a kind of Moped Scooter phonetic prompt method described in the embodiment of the present invention
Collect schematic diagram;
Fig. 2 illustrates for system realization scheme in a kind of Moped Scooter phonetic prompt method described in the embodiment of the present invention
Figure.
Specific implementation mode
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
In the description of the present invention, it is to be understood that, term "center", " longitudinal direction ", " transverse direction ", "upper", "lower",
The orientation or positional relationship of the instructions such as "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside" is
It is based on the orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than instruction or dark
Show that signified device or element must have a particular orientation, with specific azimuth configuration and operation, therefore should not be understood as pair
The limitation of the present invention.In addition, term " first ", " second " etc. are used for description purposes only, it is not understood to indicate or imply phase
To importance or implicitly indicate the quantity of indicated technical characteristic.The feature for defining " first ", " second " etc. as a result, can
To express or implicitly include one or more this feature.In the description of the present invention, unless otherwise indicated, " multiple "
It is meant that two or more.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
Can also be electrical connection to be mechanical connection;It can be directly connected, can also indirectly connected through an intermediary, Ke Yishi
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood by concrete condition
Concrete meaning in the present invention.
The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
As shown in Figure 1 and Figure 2, a kind of Moped Scooter phonetic prompt method and structure, including be arranged on Moped Scooter
Instrument, the instrument is no screen display instrument, and the instrument includes its internal instrument bluetooth module being arranged and instrument
MCU, the instrument MCU and instrument bluetooth module become one, the instrument bluetooth module respectively with earphone bluetooth module, intelligence
Energy mobile phone bluetooth module and input unit bluetooth module are wirelessly connected, and the instrument bluetooth module and instrument MCU are by having
Line UART electrical connections, the instrument MCU and electric machine controller MCU are electrically connected by wired UART, and the instrument is embedded in electricity
The electric machine controller MCU mount type intracavitary of dynamic vehicle using motor.
In the present embodiment, the input unit of instrument is detached from instrument setting, should by input unit setting in positions such as handlebars
Input unit is Bluetooth input device, and instrument MCU becomes one with instrument bluetooth module, is embedded in the motor control of Moped Scooter
Device MCU mount type intracavitary processed is sent after input unit acquires user input apparatus operation with BLE low-power consumption bluetooth wireless modes
After giving instrument bluetooth module, instrument bluetooth module to receive successfully, with instrument MCU by the wired serial communications of UART, it will receive
Input unit value be sent to instrument MCU;Subsequent instrument is communicated with the wired serial ports of UART and electric machine controller MCU,
Realize the data interaction of conventional instrument MCU and electric machine controller MCU, meanwhile, instrument MCU is according to the key value information and friendship received
Mutual data are sent to instrument wireless module orders, and the instrument wireless module sends the order to external device, the outer tipping
It sets and is made a response according to its wireless module received signal;For example, such as bicyclist presses riding speed input button, this
Shi Yibiao bluetooth modules receive the information, on the one hand pass it to instrument MCU, and instrument MCU further passes the information
It passs electric machine controller MCU and carries out data exchange, on the other hand, due in the present invention, instrument external is set with three or more simultaneously
Standby connection, the function of being achieved in while operating, instrument MCU will obtain new one after the information analysis from instrument wireless module
Group data, and data are delivered separately to earphone bluetooth module and Bluetooth of mobile phone module, earphone is to electric boosted car state as a result,
And riding condition carries out voice broadcast, the hypervelocity or other that bicyclist reports according to instrument MCU active control voice broadcast modules
Status information to input unit shift up or the gear of downshift selects, and new order is wirelessly transmitted to instrument by input unit again
Table bluetooth module, and signal is finally passed to electric machine controller MCU, is achieved in needs of riding, in addition, bicyclist can be with
Information of riding is obtained by smart mobile phone.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.