(SKU:RB-01C001)Robotboard v1.2 51 Controller
- Single-chip microcomputer control device based on macro crystal science and technology
STC89C series single chip microcomputer as the core controller, compatible STC89C all series, On the basis of retain the advantages of V1.1 version, still only USES the lamination design, PCB Turmeric processing technology, the advantage is that all the I/O will STC89C series single chip microcomputer All interface extension, and AD hoc communication interface, APC220 bluetooth module Radio frequency communication interface module, RB URF v1.1 ultrasonic sensor interfaces, 1602 LCD interface, independence is more convenient and easy to use. Early for single chip microcomputer Scholars, do not have to have a headache for the complex circuit connection, the real meaning To simplify the circuit of righteousness.
- DC power supply plug for electricity：
- Terminal sub 5 v terminal, input is 5 v.
- Terminal sub OUT terminal, the input of 7 v to 12 v.
- Communications input：TTL level
- Baud rate is adjustable, can be in crystals socket design
Single chip microcomputer controller using method
Single chip microcomputer controller interface functions
- 51 microcontroller P3.0, P3.1, P3.3, P3.4, P3.7 extension
For S, +, -, commonly used sensor interfaces, corresponding J12, J13, J14, J15 and J16 P1.0, P1.1, P1.2, P1.3, P1.4, P1.5 expansion Exhibition for +, S, commonly used sensor interfaces, corresponding J1, J2, J3 and J4, J5, J6, convenient user directly connect the sensor.
- AD hoc RBURFv1.1 J11 ultrasonic sensor interface, the interface in order to +, the input signal (P3.2), the output signal (P2.0), -.
- LCD1602 LCD interface with 51 single chip microcomputer interface corresponding respectively (from left
To right) : GND, backlight, contrast adjustment, P3.6, GND, P3.5, P0.0, P0.1, P0.2, P0.3, P0.4, P0.5, P0.6, P0.7, VCC, GND.
LCD backlight choose interface
- When using jumper cap sub can choose when the interface is the default setting is
Whether have a backlight
LCD contrast adjustment interface
By adjusting the contrast adjusting potentiometer can adjust the contrast of the characters
bluetooth communication module interface
AD hoc bluetooth module communication interface, plug and play
Radio frequency communication module interface
- AD hoc APC220 radio frequency communication module interface, plug and play
Level communication interface
- In order to +, RX and TX, wiring -
- To note here, as mentioned earlier, on STC microcontroller should first click next
After loaded electrical switches on electricity, when use USB to TTL download a program module Should be hung up, + 5 v, USB to TTL module can take electricity board, such as connected to + 5 v With Robotboard v1.2 + 51 single chip microcomputer controller, from USB to TTL Take electricity without the switch board, the program will not be able to download. Should be paid attention to when the download SCM model and the choice of the COM.
Steering gear interface (J7) and steering gear power supply interface (J8)
- The AD hoc a steering gear directly plug interface (P0.6), because of the 51 single chip
Machine drive servo need external electricity, so here to set aside (J8) for the steering gear Power supply interface, input 4 v to 6 v power supply is needed here.
Buzzer and speaker selection interface
- Here is 5 root terminal, the first three root for buzzer and loudspeaker selection
Mouth, defaults to choose buzzer, when short circuit short jumper cap after another side to choose Choose the external loudspeakers, behind two terminal interface for external horn.
Interface and power to set aside the interface
- This controller humanized design will complete the I/O interface J9 derivation, the J10,
Around both ends are respectively P0, P1, P2, P3 interface, below and quote separately The P2.1, P2.2, the P2.4, P2.5, P2.6, P2.7 six interface.
- in the controller at the bottom right also set aside VCC &gnd two rows of interface, users
Install the USB to TTL communication module driver
Install theUSB-TTL Communication module driver USB-TTL
Install USB to TTL module driver installation。
Click INSTALL button, INSTALL the driver. Once installed, turn the USB to TTL module connected to the computer, the computer can identify the module and virtual serial port. Right-click my computer and select properties
Click the hardware TAB, and then click on the device manager.
- In port (COM and LPT of USB - SERIALCH340 (COMxx), the serial number is 14, in the graph of different computer USB virtual serial port is different, please choose according to actual situation.
Download the software operation method
- Download to electricity means: first click download again to microcontroller to electricity,
Such ability to download program.