Font Size: a A A

The Deisgn Of Logo Language Compiler And Executable System

Posted on:2017-02-03Degree:MasterType:Thesis
Country:ChinaCandidate:H Z ZhaoFull Text:PDF
GTID:2348330518972261Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
With the popularization of computers in people's lives, computer related education is more and more important. Therefore, the age of computer enlightenment gradually becomes younger both at home and abroad in recent years. The early stage of children need to learn the computer, but the hardware and software tools on the markets of computers for children are lack, and there are some shortcomings that speed and scalability of the system is weaker, less functional, and high cost.This paper designed a learning system of good expansibility, strong function, high stability, and ingenious ideas using modern programming theory and the typical micro controller combined with the rules of Logo language. Front part is turtle graphical interface of the system compiler and programming language, users can drag and drop graphical interface;the back end is accurate and stable operation of the Bluetooth intelligent vehicle.Writing process of compiler with graphical drag and drop functionality is described in order to solve the front end host computer functions. The scheme of low-power Bluetooth communicates with CC2541 chip of the system on chip is proposed to achieve wireless communication problems about computer graphics and cars imitate graphics track. The circuit and communication protocol is studied, and a stable and reliable communication link between computer and Microcontrollers which control car body is established. A set of information identification, analysis and implementation of intelligent electronic equipment and mechanical devices is designed to make the smart car which executes the Logo command complete computer information accurately. The control chip selects STC89C55RD, and the circuit it controls includes: circuit of location and obstacle avoidance, circuit of control the vehicle accurately forward, circuit of control body precise steering and display circuit of real time display of vehicle operation information. In the design of specific circuits, the problems that the Bluetooth communication circuit and microcontroller control signal electrical level does not match, Microcontrollers limited resources and multi-location and obstacle avoidance circuit required more control signal occupation of IO port, and the control pulse signal and the stepper motor driver required pulse frequency compatibility are solved. Finally, the corresponding control program is compiled with the C language, so that the body can accurately complete the route. This paper designed a new type of vehicle body which is controlled by program in lifting and arbitrary rotation, and its trajectory can be arbitrary angle line, corresponding to the Logo drawing commands one by one.After testing,the whole system operation result is good. It is a fun product contains education, and it has market feasibility by improving.
Keywords/Search Tags:Logo language, compiler, Bluetooth communications, STC89C55RD Microcontrollers, stepper motor, smart car
PDF Full Text Request
Related items