http://www.cqrobot.wiki/api.php?action=feedcontributions&user=Chenqi&feedformat=atomCQRobot-Wiki - User contributions [en]2024-03-29T01:26:58ZUser contributionsMediaWiki 1.30.0http://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR20D&diff=4236DC Gearmotor SKU: CQR20D2024-03-06T06:37:03Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
This is a metal DC geared motor, divided into four specifications series of metal DC geared motors with encoder and without encoder. The gearbox is mainly composed of spur gears. The gearmotor is cylindrical, with a diameter just under 20 mm, and the D-shaped output shaft is 4 mm in diameter and extends 11 mm from the face plate of the gearbox. <br />
----<br />
=='''Specifications'''==<br />
'''Metal DC gear motors are available in four series of specifications:'''<br />
*The first specification: 6V voltage metal DC geared motor;<br />
*The second specification: 12V voltage metal DC geared motor;<br />
*The third specification: 6V voltage metal DC gear motor with encoder;<br />
*The fourth specification: 12V voltage metal DC geared motor with encoder.<br />
<br />
[[image:CQR20D48EN-11.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-12.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
[[image:CQR20D48EN-3.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-5.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-6.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-7.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' Starting from 500 pieces;<br />
*'''Cable Specifications:''' Please provide connector terminal specification documentation;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR20D48EN-78.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQR20D48EN.jpg|thumb|1200px| center]]<br />
<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
AWG26 UL wire, MOLEX50058-8000 51021-0600 terminal, terminal hole spacing is 1.25mm. The motor/encoder has six color-coded, 3.3″ (8.4 cm) leads terminated by a 1×6 female header with a 1.25mm pitch, as shown in the main product picture. This header works with standard 1.25mm male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQR20D48EN-10.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4235DC Gearmotor SKU: CQR37D2024-03-06T06:36:13Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' Starting from 500 pieces;<br />
*'''Cable Specifications:''' Please provide connector terminal specification documentation;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR-8.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR25D&diff=4234DC Gearmotor SKU: CQR25D2024-03-06T06:35:39Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
These cylindrical brushed DC gearmotors are available in a wide range of gear ratios and with five different motors (two power levels of 6V motors and three power levels of 12V motors). The gearmotors all have the same 25 mm diameter body and 4 mm diameter gearbox output shaft, so it is generally easy to swap one version for another if your design requirements change (though the length of the gearbox tends to increase with the gear ratio). All versions are also available with an integrated 48 CPR quadrature encoder on the motor shaft.<br />
----<br />
<br />
=='''LP, MP, HP Specifications'''==<br />
<br />
'''There are ten series of specifications for metal DC gear motors:'''<br />
<br />
*The first specification: low power 6V voltage metal DC gear reducer motor;<br />
*The second specification: high-power 6V voltage metal DC gear reducer motor;<br />
*The third specification: low-power 12V voltage metal DC gear reducer motor;<br />
*The fourth specification: medium power 12V voltage metal DC gear reducer motor;<br />
*The fifth specification: high-power 12V voltage metal DC gear reducer motor;<br />
*The sixth specification: low power 6V voltage metal DC gear reducer motor with encoder;<br />
*The seventh specification: high-power 6V voltage metal DC gear reducer motor with encoder;<br />
*The eighth specification: low power 12V voltage metal DC gear reducer motor with encoder;<br />
*The ninth specification: medium power 12V voltage metal DC gear reducer motor with encoder;<br />
*The tenth specification: high-power 12V voltage metal DC gear reducer motor with encoder.<br />
[[image:CQRGA25Y370-30.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-22.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-23.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-25.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-26.jpg|thumb|1200px| center]]<br />
'''Special Attention: Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. For these gearboxes, the recommended upper limit for instantaneous torque is 30 kg-cm (400 oz-in); we strongly advise keeping applied loads well under this limit. Stalls can also result in rapid (potentially on the order of a second) thermal damage to the motor windings and brushes, especially for the versions that use high-power (HP) motors; a general recommendation for brushed DC motor operation is 25% or less of the stall current.'''<br />
----<br />
<br />
=='''Gearmotors Appearance'''==<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
----<br />
<br />
=='''Size and Display'''==<br />
'''Warning:''' Do not screw too far into the mounting holes as the screws can hit the gears. We recommend screwing no further than 6 mm (0.24″) into the screw hole.<br />
[[image:CQRGA25Y370-36.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-31.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-59.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-58.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' Starting from 500 pieces;<br />
*'''Cable Specifications:''' Please provide connector terminal specification documentation;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQRGA25Y370-78.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQRGA25Y370-27.jpg|thumb|1200px| center]]<br />
<br />
The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQRGA25Y370-50.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR25D&diff=4233DC Gearmotor SKU: CQR25D2024-03-06T06:35:15Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
These cylindrical brushed DC gearmotors are available in a wide range of gear ratios and with five different motors (two power levels of 6V motors and three power levels of 12V motors). The gearmotors all have the same 25 mm diameter body and 4 mm diameter gearbox output shaft, so it is generally easy to swap one version for another if your design requirements change (though the length of the gearbox tends to increase with the gear ratio). All versions are also available with an integrated 48 CPR quadrature encoder on the motor shaft.<br />
----<br />
<br />
=='''LP, MP, HP Specifications'''==<br />
<br />
'''There are ten series of specifications for metal DC gear motors:'''<br />
<br />
*The first specification: low power 6V voltage metal DC gear reducer motor;<br />
*The second specification: high-power 6V voltage metal DC gear reducer motor;<br />
*The third specification: low-power 12V voltage metal DC gear reducer motor;<br />
*The fourth specification: medium power 12V voltage metal DC gear reducer motor;<br />
*The fifth specification: high-power 12V voltage metal DC gear reducer motor;<br />
*The sixth specification: low power 6V voltage metal DC gear reducer motor with encoder;<br />
*The seventh specification: high-power 6V voltage metal DC gear reducer motor with encoder;<br />
*The eighth specification: low power 12V voltage metal DC gear reducer motor with encoder;<br />
*The ninth specification: medium power 12V voltage metal DC gear reducer motor with encoder;<br />
*The tenth specification: high-power 12V voltage metal DC gear reducer motor with encoder.<br />
[[image:CQRGA25Y370-30.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-22.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-23.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-25.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-26.jpg|thumb|1200px| center]]<br />
'''Special Attention: Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. For these gearboxes, the recommended upper limit for instantaneous torque is 30 kg-cm (400 oz-in); we strongly advise keeping applied loads well under this limit. Stalls can also result in rapid (potentially on the order of a second) thermal damage to the motor windings and brushes, especially for the versions that use high-power (HP) motors; a general recommendation for brushed DC motor operation is 25% or less of the stall current.'''<br />
----<br />
<br />
=='''Gearmotors Appearance'''==<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
----<br />
<br />
=='''Size and Display'''==<br />
'''Warning:''' Do not screw too far into the mounting holes as the screws can hit the gears. We recommend screwing no further than 6 mm (0.24″) into the screw hole.<br />
[[image:CQRGA25Y370-36.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-31.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-59.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-58.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Cable Specifications:''' Please provide connector terminal specification documentation;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQRGA25Y370-78.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQRGA25Y370-27.jpg|thumb|1200px| center]]<br />
<br />
The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQRGA25Y370-50.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4232DC Gearmotor SKU: CQR37D2024-03-06T06:34:35Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Cable Specifications:''' Please provide connector terminal specification documentation;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR-8.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR20D&diff=4231DC Gearmotor SKU: CQR20D2024-03-06T06:33:49Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
This is a metal DC geared motor, divided into four specifications series of metal DC geared motors with encoder and without encoder. The gearbox is mainly composed of spur gears. The gearmotor is cylindrical, with a diameter just under 20 mm, and the D-shaped output shaft is 4 mm in diameter and extends 11 mm from the face plate of the gearbox. <br />
----<br />
=='''Specifications'''==<br />
'''Metal DC gear motors are available in four series of specifications:'''<br />
*The first specification: 6V voltage metal DC geared motor;<br />
*The second specification: 12V voltage metal DC geared motor;<br />
*The third specification: 6V voltage metal DC gear motor with encoder;<br />
*The fourth specification: 12V voltage metal DC geared motor with encoder.<br />
<br />
[[image:CQR20D48EN-11.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-12.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
[[image:CQR20D48EN-3.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-5.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-6.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-7.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Cable Specifications:''' Please provide connector terminal specification documentation;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR20D48EN-78.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQR20D48EN.jpg|thumb|1200px| center]]<br />
<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
AWG26 UL wire, MOLEX50058-8000 51021-0600 terminal, terminal hole spacing is 1.25mm. The motor/encoder has six color-coded, 3.3″ (8.4 cm) leads terminated by a 1×6 female header with a 1.25mm pitch, as shown in the main product picture. This header works with standard 1.25mm male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQR20D48EN-10.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQR20D48EN-78.jpg&diff=4230File:CQR20D48EN-78.jpg2024-03-06T06:27:16Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR20D&diff=4229DC Gearmotor SKU: CQR20D2024-03-06T06:26:56Z<p>Chenqi: /* Size and Display */</p>
<hr />
<div>=='''Description'''==<br />
This is a metal DC geared motor, divided into four specifications series of metal DC geared motors with encoder and without encoder. The gearbox is mainly composed of spur gears. The gearmotor is cylindrical, with a diameter just under 20 mm, and the D-shaped output shaft is 4 mm in diameter and extends 11 mm from the face plate of the gearbox. <br />
----<br />
=='''Specifications'''==<br />
'''Metal DC gear motors are available in four series of specifications:'''<br />
*The first specification: 6V voltage metal DC geared motor;<br />
*The second specification: 12V voltage metal DC geared motor;<br />
*The third specification: 6V voltage metal DC gear motor with encoder;<br />
*The fourth specification: 12V voltage metal DC geared motor with encoder.<br />
<br />
[[image:CQR20D48EN-11.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-12.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
[[image:CQR20D48EN-3.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-5.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-6.jpg|thumb|1200px| center]]<br />
[[image:CQR20D48EN-7.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR20D48EN-78.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQR20D48EN.jpg|thumb|1200px| center]]<br />
<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
AWG26 UL wire, MOLEX50058-8000 51021-0600 terminal, terminal hole spacing is 1.25mm. The motor/encoder has six color-coded, 3.3″ (8.4 cm) leads terminated by a 1×6 female header with a 1.25mm pitch, as shown in the main product picture. This header works with standard 1.25mm male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQR20D48EN-10.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQRGA25Y370-78.jpg&diff=4228File:CQRGA25Y370-78.jpg2024-03-06T06:23:29Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR25D&diff=4227DC Gearmotor SKU: CQR25D2024-03-06T06:22:57Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
These cylindrical brushed DC gearmotors are available in a wide range of gear ratios and with five different motors (two power levels of 6V motors and three power levels of 12V motors). The gearmotors all have the same 25 mm diameter body and 4 mm diameter gearbox output shaft, so it is generally easy to swap one version for another if your design requirements change (though the length of the gearbox tends to increase with the gear ratio). All versions are also available with an integrated 48 CPR quadrature encoder on the motor shaft.<br />
----<br />
<br />
=='''LP, MP, HP Specifications'''==<br />
<br />
'''There are ten series of specifications for metal DC gear motors:'''<br />
<br />
*The first specification: low power 6V voltage metal DC gear reducer motor;<br />
*The second specification: high-power 6V voltage metal DC gear reducer motor;<br />
*The third specification: low-power 12V voltage metal DC gear reducer motor;<br />
*The fourth specification: medium power 12V voltage metal DC gear reducer motor;<br />
*The fifth specification: high-power 12V voltage metal DC gear reducer motor;<br />
*The sixth specification: low power 6V voltage metal DC gear reducer motor with encoder;<br />
*The seventh specification: high-power 6V voltage metal DC gear reducer motor with encoder;<br />
*The eighth specification: low power 12V voltage metal DC gear reducer motor with encoder;<br />
*The ninth specification: medium power 12V voltage metal DC gear reducer motor with encoder;<br />
*The tenth specification: high-power 12V voltage metal DC gear reducer motor with encoder.<br />
[[image:CQRGA25Y370-30.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-22.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-23.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-25.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-26.jpg|thumb|1200px| center]]<br />
'''Special Attention: Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. For these gearboxes, the recommended upper limit for instantaneous torque is 30 kg-cm (400 oz-in); we strongly advise keeping applied loads well under this limit. Stalls can also result in rapid (potentially on the order of a second) thermal damage to the motor windings and brushes, especially for the versions that use high-power (HP) motors; a general recommendation for brushed DC motor operation is 25% or less of the stall current.'''<br />
----<br />
<br />
=='''Gearmotors Appearance'''==<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
----<br />
<br />
=='''Size and Display'''==<br />
'''Warning:''' Do not screw too far into the mounting holes as the screws can hit the gears. We recommend screwing no further than 6 mm (0.24″) into the screw hole.<br />
[[image:CQRGA25Y370-36.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-31.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-59.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-58.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQRGA25Y370-78.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQRGA25Y370-27.jpg|thumb|1200px| center]]<br />
<br />
The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQRGA25Y370-50.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR25D&diff=4226DC Gearmotor SKU: CQR25D2024-03-06T06:22:17Z<p>Chenqi: /* Size and Display */</p>
<hr />
<div>=='''Description'''==<br />
These cylindrical brushed DC gearmotors are available in a wide range of gear ratios and with five different motors (two power levels of 6V motors and three power levels of 12V motors). The gearmotors all have the same 25 mm diameter body and 4 mm diameter gearbox output shaft, so it is generally easy to swap one version for another if your design requirements change (though the length of the gearbox tends to increase with the gear ratio). All versions are also available with an integrated 48 CPR quadrature encoder on the motor shaft.<br />
----<br />
<br />
=='''LP, MP, HP Specifications'''==<br />
<br />
'''There are ten series of specifications for metal DC gear motors:'''<br />
<br />
*The first specification: low power 6V voltage metal DC gear reducer motor;<br />
*The second specification: high-power 6V voltage metal DC gear reducer motor;<br />
*The third specification: low-power 12V voltage metal DC gear reducer motor;<br />
*The fourth specification: medium power 12V voltage metal DC gear reducer motor;<br />
*The fifth specification: high-power 12V voltage metal DC gear reducer motor;<br />
*The sixth specification: low power 6V voltage metal DC gear reducer motor with encoder;<br />
*The seventh specification: high-power 6V voltage metal DC gear reducer motor with encoder;<br />
*The eighth specification: low power 12V voltage metal DC gear reducer motor with encoder;<br />
*The ninth specification: medium power 12V voltage metal DC gear reducer motor with encoder;<br />
*The tenth specification: high-power 12V voltage metal DC gear reducer motor with encoder.<br />
[[image:CQRGA25Y370-30.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-22.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-23.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-25.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-26.jpg|thumb|1200px| center]]<br />
'''Special Attention: Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. For these gearboxes, the recommended upper limit for instantaneous torque is 30 kg-cm (400 oz-in); we strongly advise keeping applied loads well under this limit. Stalls can also result in rapid (potentially on the order of a second) thermal damage to the motor windings and brushes, especially for the versions that use high-power (HP) motors; a general recommendation for brushed DC motor operation is 25% or less of the stall current.'''<br />
----<br />
<br />
=='''Gearmotors Appearance'''==<br />
In general, these kinds of motors can run at voltages above and below their nominal voltages (they can begin rotating at voltages as low as 1 V); lower voltages might not be practical, and higher voltages could start negatively affecting the life of the motor.<br />
<br />
----<br />
<br />
=='''Size and Display'''==<br />
'''Warning:''' Do not screw too far into the mounting holes as the screws can hit the gears. We recommend screwing no further than 6 mm (0.24″) into the screw hole.<br />
[[image:CQRGA25Y370-36.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-31.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-59.jpg|thumb|1200px| center]]<br />
[[image:CQRGA25Y370-58.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRGA25Y370-39.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQRGA25Y370-53.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Using the Encoder'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 48 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 48. <br />
<br />
[[image:CQRGA25Y370-27.jpg|thumb|1200px| center]]<br />
<br />
The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
<br />
[[image:CQRGA25Y370-50.jpg|thumb|500px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a motor voltage of 6 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQRGA25Y370-51.jpg|thumb|500px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 48 counts per revolution of the motor shaft. Using just a single edge of one channel results in 12 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 12 times the motor rotation frequency.<br />
<br />
[[image:CQRGA25Y370-52.jpg|thumb|800px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4225DC Gearmotor SKU: CQR37D2024-03-06T06:15:20Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR-8.jpg|thumb|1200px|center]]<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQR-8.jpg&diff=4224File:CQR-8.jpg2024-03-06T06:14:31Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4223DC Gearmotor SKU: CQR37D2024-03-06T06:14:03Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
[[image:CQR-8.jpg|thumb|600px|center]]<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4222DC Gearmotor SKU: CQR37D2024-03-06T06:12:59Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*'''Quantity:''' starting from 500 pieces;<br />
*'''Motor Output Shaft (SHAFT):''' within 100 mm.<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4221DC Gearmotor SKU: CQR37D2024-03-06T06:12:07Z<p>Chenqi: /* Custom Made */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
*Quantity: starting from 500 pieces;<br />
*Motor Output Shaft (SHAFT): within 100 mm.<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=DC_Gearmotor_SKU:_CQR37D&diff=4220DC Gearmotor SKU: CQR37D2024-03-06T06:08:03Z<p>Chenqi: /* Size and Display */</p>
<hr />
<div>=='''Description'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Specifications'''==<br />
<br />
*The first specification: 12V voltage metal DC geared motor, this series of motors are compatible with 6V voltage at the same time;<br />
*The second specification: 24V voltage metal DC geared motor;<br />
*The third specification: 12V voltage metal DC gear motor with encoder, this series of motors are compatible with 6V voltage at the same time;<br />
*The fourth specification: 24V voltage metal DC geared motor with encoder.<br />
<br />
'''Note:''' The listed stall torques and currents are theoretical extrapolations; units will typically stall well before these points as the motors heat up. Stalling or overloading gearmotors can greatly decrease their lifetimes and even result in immediate damage. The recommended upper limit for continuously applied loads is 10 kg-cm (150 oz-in), and the recommended upper limit for instantaneous torque is 25 kg-cm (350 oz-in). Stalls can also result in rapid (potentially on the order of seconds) thermal damage to the motor windings and brushes; a general recommendation for brushed DC motor operation is 25% or less of the stall current.<br />
<br />
[[image:CQR37D-D.jpg|thumb|1200px| center]]<br />
[[image:CQR37D-E.jpg|thumb|1200px| center]]<br />
----<br />
=='''Size and Display'''==<br />
<br />
'''Note:''' Do not screw too far into the mounting holes as the screws can hit the gears. CQRobot Manufacturer recommends screwing no further than 3mm (1/8 inch) into the screw hole.<br />
<br />
[[image:CQR37D12V64EN CQROBOT-72.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-73.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-75.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-76.jpg|thumb|1200px| center]]<br />
[[image:CQR37D12V64EN CQROBOT-51.jpg|thumb|1200px| center]]<br />
----<br />
=='''Custom Made'''==<br />
Measuring 37 mm (1.46″) in diameter, these brushed DC gearmotors are the largest and most powerful we carry. They are available in a range of gear ratios from 6.25:1 to 810:1 and with 6 V or 12 V or 24 V motors, and all versions are available with integrated 64 CPR quadrature encoders on the motor shafts. The gearbox is mainly composed of spur gears, these units have a 16 mm-long, 6 mm-diameter D-shaped output shaft.<br />
----<br />
<br />
=='''Encoder Diagram'''==<br />
A two-channel Hall effect encoder is used to sense the rotation of a magnetic disk on a rear protrusion of the motor shaft. The quadrature encoder provides a resolution of 64 counts per revolution of the motor shaft when counting both edges of both channels. To compute the counts per revolution of the gearbox output, multiply the gear ratio by 64. The motor/encoder has six color-coded, 8″ (20 cm) leads terminated by a 1×6 female header with a 0.1″ pitch, as shown in the main product picture. This header works with standard 0.1″ male headers and our male jumper and precrimped wires. If this header is not convenient for your application, you can pull the crimped wires out of the header or cut the header off. The following table describes the wire functions:<br />
[[image:CQR37D-C.jpg|thumb|1200px| center]]<br />
Diagram for Arduino UNO<br />
[[image:CQR37D12V64EN CQROBOT-58.jpg|thumb|1200px| center]]<br />
<br />
The Hall sensor requires an input voltage, Vcc, between 3.3 and 24 V and draws a maximum of 10 mA. The A and B outputs are square waves from 0 V to Vcc approximately 90° out of phase. The frequency of the transitions tells you the speed of the motor, and the order of the transitions tells you the direction. The following oscilloscope capture shows the A and B (yellow and white) encoder outputs using a 12 V motor at 12 V and a Hall sensor Vcc of 5 V:<br />
<br />
[[image:CQR37D12V64EN CQROBOT-52.jpg|thumb|1200px| center]]<br />
<br />
By counting both the rising and falling edges of both the A and B outputs, it is possible to get 64 counts per revolution of the motor shaft. Using just a single edge of one channel results in 16 counts per revolution of the motor shaft, so the frequency of the A output in the above oscilloscope capture is 16 times the motor rotation frequency.<br />
----<br />
'''''Interrupt Port with Different Board'''''<br />
<br />
'''''Notcie:''''' attachInterrupt()<br />
[[image:CQR-7.jpg|thumb|600px|center]]<br />
For example,with arduino UNO board, you want to use interrupt port 0(int.0). You should connect digital pin 2 with the board. So, the<br />
following code is only used in UNO and Mega2560. If you want to use arduino Leonardo or Romeo, you should change digital pin 3<br />
instead of digital pin 2.<br />
<br />
'''See the link for detail''' http://arduino.cc/en/Reference/AttachInterrupt<br />
<br />
'''Encoder Sample Code'''<br />
<br />
//The sample code for driving one way motor encoder<br />
const byte encoder0pinA = 2;//A pin -> the interrupt pin 0<br />
const byte encoder0pinB = 4;//B pin -> the digital pin 4<br />
byte encoder0PinALast;<br />
int duration;//the number of the pulses<br />
boolean Direction;//the rotation direction <br />
<br />
<br />
void setup()<br />
{ <br />
Serial.begin(57600);//Initialize the serial port<br />
EncoderInit();//Initialize the module<br />
}<br />
<br />
void loop()<br />
{<br />
Serial.print("Pulse:");<br />
Serial.println(duration);<br />
duration = 0;<br />
delay(100);<br />
}<br />
<br />
void EncoderInit()<br />
{<br />
Direction = true;//default -> Forward <br />
pinMode(encoder0pinB,INPUT); <br />
attachInterrupt(0, wheelSpeed, CHANGE);<br />
}<br />
<br />
void wheelSpeed()<br />
{<br />
int Lstate = digitalRead(encoder0pinA);<br />
if((encoder0PinALast == LOW) && Lstate==HIGH)<br />
{<br />
int val = digitalRead(encoder0pinB);<br />
if(val == LOW && Direction)<br />
{<br />
Direction = false; //Reverse<br />
}<br />
else if(val == HIGH && !Direction)<br />
{<br />
Direction = true; //Forward<br />
}<br />
}<br />
encoder0PinALast = Lstate;<br />
<br />
if(!Direction) duration++;<br />
else duration--;<br />
}<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS232_Serial_Port_Adapter_Cable_SKU:_PZSRS232-A&diff=4219USB to RS232 Serial Port Adapter Cable SKU: PZSRS232-A2024-02-23T06:45:38Z<p>Chenqi: /* DataSheet */</p>
<hr />
<div>=='''Description'''==<br />
With the continuous development of PC industry, USB interface is gradually replacing the old industrial low-speed PC interface, which makes DB9 serial connection more difficult to access the new computer system. But in the actual industrial environment, there are still many important devices that need to use RS232 interface.<br />
<br />
The USB2.0 to RS232 serial port product is an enhanced universal asynchronous transceiver transmission standard product. The USB interface fully conforms to the full speed USB 2.0 specification, supports full speed data transmission rate, and the serial port conforms to the RS232 standard interface. It provides us with an external plug and play RS-232 serial port, which is connected to the computer by connecting the USB interface to the DB9 serial port, thus allowing you to release the existing serial port, And easily use the adapter with the serial port. It can be used for RS232 serial port devices such as cash register, LED display screen, CNC machine tools, industrial machines, industrial instruments, bar code printers, etc., to realize the connection between computers and various serial port devices.<br />
----<br />
=='''Features'''==<br />
*Adopt industrial grade conductor structure, aluminum foil and 80B tinned copper braid double shielding, gold-plated interface anti-oxidation and corrosion resistance, environmental protection PVC outer cover is easy to curl, anti-winding and tensile;<br />
*Built-in PL2303GT chip ensures stable signal transmission and normal use in complex electromagnetic environment without interference;<br />
*The converter is equipped with zero-delay automatic transceiver conversion, which supports super large data transceiver buffer function to ensure high-speed data transmission without delay and provide reliable connection for communication;<br />
*Automatic control of data flow direction through I/O circuit can easily realize mode conversion, with circuit integrated ESD protection, support handshaking protocol control, and can automatically detect the baud rate of serial port signal;<br />
*This product has USB bus self-power supply, no power supply, plug and play, to achieve better docking.<br />
----<br />
=='''DataSheet '''==<br />
[[Media: PL2303GT.pdf]]<br />
<br />
'''Product String Illustrate'''<br />
<br />
USB-Serial Controller<br />
This field when entered will be the device string displayed by Windows and other OS when device is first detected and before driver is loaded or driver not installed. After driver is loaded, Windows will show the product string written inside the driver INF file.Product String Illustrate<br />
<br />
USB-Serial Controller<br />
This field when entered will be the device string displayed by Windows and other OS when device is first detected and before driver is loaded or driver not installed. After driver is loaded, Windows will show the product string written inside the driver INF file.<br />
<br />
'''Serial Number'''<br />
<br />
Enable Unique Serial Number ID<br />
*Disable Serial Number - this option will disable the Serial Number. Operating System will assign a random serial number for the device.<br />
*Enable Unique Serial Number ID - this default option enables the unique serial number pre-programmed inside the chip.<br />
*Custom Serial Number - this option allows the customer to set own product serial numbering:<br />
*Auto SN: allows to add prefix while the numbers auto increment after each write.<br />
*Fixed SN: this will write the same number.<br />
Device with serial number enabled allows the device to be assigned with the same COM port number even when plug to other USB ports of the same PC.<br />
<br />
'''NOTE:''' The total string length for the manufacturer + product + serial number string is up to 90 characters.<br />
<br />
'''For more details, please download the (PL2303GT) specification sheet.'''<br />
----<br />
<br />
=='''DataSheet '''==<br />
[[Media:PZSRS232-A_Windows_New.rar]]<br />
<br />
[[Media:PZSRS232-A_Mac.rar]]<br />
<br />
[[Media:PZSRS232-A_Linux.rar]]<br />
<br />
[[Media:PZSRS232-A_Android SDK.rar]]<br />
----<br />
=='''Interface and Signal'''==<br />
[[image:PZSRS232-A-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specificationn'''==<br />
*Operating temperature: - 40 celsius degree to 85 celsius degree<br />
*Working Voltage: 5V<br />
*Working Current: 200mA<br />
*Chipset: PL2303GT<br />
*Baud Rate: 300bps to 1000000bps<br />
*Circuit Integrated ESD Protection: ± 15KV IEC1000-4-2 air gap discharge; ± 8KV IEC1000-4-2 contact discharge<br />
*Tensile Test: 20 KG<br />
*Material: epoxy glass fiber double-sided board<br />
*Wire Material: aluminum foil and 80B tinned copper<br />
*Color: transparent green<br />
*Cable Length: 1.8m<br />
*Supported Systems: Android SDK, Linux, Mac, Windows<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS232_Serial_Port_Adapter_Cable_SKU:_PZSRS232-A&diff=4218USB to RS232 Serial Port Adapter Cable SKU: PZSRS232-A2024-02-23T06:45:03Z<p>Chenqi: /* DataSheet */</p>
<hr />
<div>=='''Description'''==<br />
With the continuous development of PC industry, USB interface is gradually replacing the old industrial low-speed PC interface, which makes DB9 serial connection more difficult to access the new computer system. But in the actual industrial environment, there are still many important devices that need to use RS232 interface.<br />
<br />
The USB2.0 to RS232 serial port product is an enhanced universal asynchronous transceiver transmission standard product. The USB interface fully conforms to the full speed USB 2.0 specification, supports full speed data transmission rate, and the serial port conforms to the RS232 standard interface. It provides us with an external plug and play RS-232 serial port, which is connected to the computer by connecting the USB interface to the DB9 serial port, thus allowing you to release the existing serial port, And easily use the adapter with the serial port. It can be used for RS232 serial port devices such as cash register, LED display screen, CNC machine tools, industrial machines, industrial instruments, bar code printers, etc., to realize the connection between computers and various serial port devices.<br />
----<br />
=='''Features'''==<br />
*Adopt industrial grade conductor structure, aluminum foil and 80B tinned copper braid double shielding, gold-plated interface anti-oxidation and corrosion resistance, environmental protection PVC outer cover is easy to curl, anti-winding and tensile;<br />
*Built-in PL2303GT chip ensures stable signal transmission and normal use in complex electromagnetic environment without interference;<br />
*The converter is equipped with zero-delay automatic transceiver conversion, which supports super large data transceiver buffer function to ensure high-speed data transmission without delay and provide reliable connection for communication;<br />
*Automatic control of data flow direction through I/O circuit can easily realize mode conversion, with circuit integrated ESD protection, support handshaking protocol control, and can automatically detect the baud rate of serial port signal;<br />
*This product has USB bus self-power supply, no power supply, plug and play, to achieve better docking.<br />
----<br />
=='''DataSheet '''==<br />
[[Media: PL2303GT.pdf]]<br />
<br />
'''Product String Illustrate'''<br />
<br />
USB-Serial Controller<br />
This field when entered will be the device string displayed by Windows and other OS when device is first detected and before driver is loaded or driver not installed. After driver is loaded, Windows will show the product string written inside the driver INF file.Product String Illustrate<br />
<br />
USB-Serial Controller<br />
This field when entered will be the device string displayed by Windows and other OS when device is first detected and before driver is loaded or driver not installed. After driver is loaded, Windows will show the product string written inside the driver INF file.<br />
<br />
'''Serial Number'''<br />
<br />
Enable Unique Serial Number ID<br />
*Disable Serial Number - this option will disable the Serial Number. Operating System will assign a random serial number for the device.<br />
*Enable Unique Serial Number ID - this default option enables the unique serial number pre-programmed inside the chip.<br />
*Custom Serial Number - this option allows the customer to set own product serial numbering:<br />
*Auto SN: allows to add prefix while the numbers auto increment after each write.<br />
*Fixed SN: this will write the same number.<br />
Device with serial number enabled allows the device to be assigned with the same COM port number even when plug to other USB ports of the same PC.<br />
<br />
'''NOTE:''' The total string length for the manufacturer + product + serial number string is up to 90 characters.<br />
<br />
For more details, please download the (PL2303GT) specification sheet.<br />
----<br />
<br />
=='''DataSheet '''==<br />
[[Media:PZSRS232-A_Windows_New.rar]]<br />
<br />
[[Media:PZSRS232-A_Mac.rar]]<br />
<br />
[[Media:PZSRS232-A_Linux.rar]]<br />
<br />
[[Media:PZSRS232-A_Android SDK.rar]]<br />
----<br />
=='''Interface and Signal'''==<br />
[[image:PZSRS232-A-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specificationn'''==<br />
*Operating temperature: - 40 celsius degree to 85 celsius degree<br />
*Working Voltage: 5V<br />
*Working Current: 200mA<br />
*Chipset: PL2303GT<br />
*Baud Rate: 300bps to 1000000bps<br />
*Circuit Integrated ESD Protection: ± 15KV IEC1000-4-2 air gap discharge; ± 8KV IEC1000-4-2 contact discharge<br />
*Tensile Test: 20 KG<br />
*Material: epoxy glass fiber double-sided board<br />
*Wire Material: aluminum foil and 80B tinned copper<br />
*Color: transparent green<br />
*Cable Length: 1.8m<br />
*Supported Systems: Android SDK, Linux, Mac, Windows<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS232_Serial_Port_Adapter_Cable_SKU:_PZSRS232-A&diff=4217USB to RS232 Serial Port Adapter Cable SKU: PZSRS232-A2024-02-23T06:42:32Z<p>Chenqi: /* DataSheet */</p>
<hr />
<div>=='''Description'''==<br />
With the continuous development of PC industry, USB interface is gradually replacing the old industrial low-speed PC interface, which makes DB9 serial connection more difficult to access the new computer system. But in the actual industrial environment, there are still many important devices that need to use RS232 interface.<br />
<br />
The USB2.0 to RS232 serial port product is an enhanced universal asynchronous transceiver transmission standard product. The USB interface fully conforms to the full speed USB 2.0 specification, supports full speed data transmission rate, and the serial port conforms to the RS232 standard interface. It provides us with an external plug and play RS-232 serial port, which is connected to the computer by connecting the USB interface to the DB9 serial port, thus allowing you to release the existing serial port, And easily use the adapter with the serial port. It can be used for RS232 serial port devices such as cash register, LED display screen, CNC machine tools, industrial machines, industrial instruments, bar code printers, etc., to realize the connection between computers and various serial port devices.<br />
----<br />
=='''Features'''==<br />
*Adopt industrial grade conductor structure, aluminum foil and 80B tinned copper braid double shielding, gold-plated interface anti-oxidation and corrosion resistance, environmental protection PVC outer cover is easy to curl, anti-winding and tensile;<br />
*Built-in PL2303GT chip ensures stable signal transmission and normal use in complex electromagnetic environment without interference;<br />
*The converter is equipped with zero-delay automatic transceiver conversion, which supports super large data transceiver buffer function to ensure high-speed data transmission without delay and provide reliable connection for communication;<br />
*Automatic control of data flow direction through I/O circuit can easily realize mode conversion, with circuit integrated ESD protection, support handshaking protocol control, and can automatically detect the baud rate of serial port signal;<br />
*This product has USB bus self-power supply, no power supply, plug and play, to achieve better docking.<br />
----<br />
=='''DataSheet '''==<br />
[[Media: PL2303GT.pdf]]<br />
<br />
'''Product String Illustrate'''<br />
<br />
USB-Serial Controller<br />
This field when entered will be the device string displayed by Windows and other OS when device is first detected and before driver is loaded or driver not installed. After driver is loaded, Windows will show the product string written inside the driver INF file.Product String Illustrate<br />
<br />
USB-Serial Controller<br />
This field when entered will be the device string displayed by Windows and other OS when device is first detected and before driver is loaded or driver not installed. After driver is loaded, Windows will show the product string written inside the driver INF file.<br />
----<br />
<br />
=='''DataSheet '''==<br />
[[Media:PZSRS232-A_Windows_New.rar]]<br />
<br />
[[Media:PZSRS232-A_Mac.rar]]<br />
<br />
[[Media:PZSRS232-A_Linux.rar]]<br />
<br />
[[Media:PZSRS232-A_Android SDK.rar]]<br />
----<br />
=='''Interface and Signal'''==<br />
[[image:PZSRS232-A-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specificationn'''==<br />
*Operating temperature: - 40 celsius degree to 85 celsius degree<br />
*Working Voltage: 5V<br />
*Working Current: 200mA<br />
*Chipset: PL2303GT<br />
*Baud Rate: 300bps to 1000000bps<br />
*Circuit Integrated ESD Protection: ± 15KV IEC1000-4-2 air gap discharge; ± 8KV IEC1000-4-2 contact discharge<br />
*Tensile Test: 20 KG<br />
*Material: epoxy glass fiber double-sided board<br />
*Wire Material: aluminum foil and 80B tinned copper<br />
*Color: transparent green<br />
*Cable Length: 1.8m<br />
*Supported Systems: Android SDK, Linux, Mac, Windows<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS232_Serial_Port_Adapter_Cable_SKU:_PZSRS232-A&diff=4216USB to RS232 Serial Port Adapter Cable SKU: PZSRS232-A2024-02-20T03:31:35Z<p>Chenqi: </p>
<hr />
<div>=='''Description'''==<br />
With the continuous development of PC industry, USB interface is gradually replacing the old industrial low-speed PC interface, which makes DB9 serial connection more difficult to access the new computer system. But in the actual industrial environment, there are still many important devices that need to use RS232 interface.<br />
<br />
The USB2.0 to RS232 serial port product is an enhanced universal asynchronous transceiver transmission standard product. The USB interface fully conforms to the full speed USB 2.0 specification, supports full speed data transmission rate, and the serial port conforms to the RS232 standard interface. It provides us with an external plug and play RS-232 serial port, which is connected to the computer by connecting the USB interface to the DB9 serial port, thus allowing you to release the existing serial port, And easily use the adapter with the serial port. It can be used for RS232 serial port devices such as cash register, LED display screen, CNC machine tools, industrial machines, industrial instruments, bar code printers, etc., to realize the connection between computers and various serial port devices.<br />
----<br />
=='''Features'''==<br />
*Adopt industrial grade conductor structure, aluminum foil and 80B tinned copper braid double shielding, gold-plated interface anti-oxidation and corrosion resistance, environmental protection PVC outer cover is easy to curl, anti-winding and tensile;<br />
*Built-in PL2303GT chip ensures stable signal transmission and normal use in complex electromagnetic environment without interference;<br />
*The converter is equipped with zero-delay automatic transceiver conversion, which supports super large data transceiver buffer function to ensure high-speed data transmission without delay and provide reliable connection for communication;<br />
*Automatic control of data flow direction through I/O circuit can easily realize mode conversion, with circuit integrated ESD protection, support handshaking protocol control, and can automatically detect the baud rate of serial port signal;<br />
*This product has USB bus self-power supply, no power supply, plug and play, to achieve better docking.<br />
----<br />
=='''DataSheet '''==<br />
[[Media: PL2303GT.pdf]]<br />
----<br />
=='''DataSheet '''==<br />
[[Media:PZSRS232-A_Windows_New.rar]]<br />
<br />
[[Media:PZSRS232-A_Mac.rar]]<br />
<br />
[[Media:PZSRS232-A_Linux.rar]]<br />
<br />
[[Media:PZSRS232-A_Android SDK.rar]]<br />
----<br />
=='''Interface and Signal'''==<br />
[[image:PZSRS232-A-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specificationn'''==<br />
*Operating temperature: - 40 celsius degree to 85 celsius degree<br />
*Working Voltage: 5V<br />
*Working Current: 200mA<br />
*Chipset: PL2303GT<br />
*Baud Rate: 300bps to 1000000bps<br />
*Circuit Integrated ESD Protection: ± 15KV IEC1000-4-2 air gap discharge; ± 8KV IEC1000-4-2 contact discharge<br />
*Tensile Test: 20 KG<br />
*Material: epoxy glass fiber double-sided board<br />
*Wire Material: aluminum foil and 80B tinned copper<br />
*Color: transparent green<br />
*Cable Length: 1.8m<br />
*Supported Systems: Android SDK, Linux, Mac, Windows<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:PZSRS232-A_Windows_New.rar&diff=4215File:PZSRS232-A Windows New.rar2024-02-20T03:30:24Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=Micro_SD_(_TF_)_Storage_Board_SKU:_PZSSD001&diff=4213Micro SD ( TF ) Storage Board SKU: PZSSD0012023-11-23T06:20:14Z<p>Chenqi: Created page with "TF Card Read-Write Module =='''Introduction'''== TF card is the most commonly used storage element of interactive media equipment..."</p>
<hr />
<div>[[File:TF-Card_Slot-1.jpg|thumb|300px|right|TF Card Read-Write Module]]<br />
=='''Introduction'''==<br />
TF card is the most commonly used storage element of interactive media equipment. CQRobot Micro SD(TF) Storage Board card read-write module adopts SPI communication method and can be used to read or write data to TF card. When we use it, we only need to insert the TF card on the module, connect the module to the single chip, and we can read and write the TF card through the single chip code.<br />
<br />
At the same time, in order to facilitate fixing the module on other equipment, the module comes with two positioning holes with a diameter of 3mm.<br />
=='''Features'''==<br />
*Micro SD card slot<br />
*Supports SDIO and SPI interfaces<br />
*2.54mm pitch pinheaders<br />
<br />
----<br />
=='''Product Size'''==<br />
{|-<br />
|[[File:TF-Card_Slot-2.jpg |left|400px]]<br />
|}<br />
----<br />
=='''Interface Definition'''==<br />
{|-<br />
|[[File:TF-Card_Slot-3.jpg |left|600px]]<br />
|}<br />
----<br />
=='''Connection Diagram'''==<br />
{|-<br />
|[[File:TF-Card_Slot-4.jpg |left|850px]]<br />
|}<br />
----<br />
<br />
=='''Specifications'''==<br />
*Working Voltage : DC 3.3V<br />
*Working Current : about 10mA<br />
*Maximum Power : 0.1W<br />
*Operating Temperature Range : -25 to 70 Degrees Celsius<br />
*Pin Header Type : 2.54mm pitch 9Pin single row pin header<br />
*Product Size : 23 mm * 34 mm * 8 mm<br />
*Card Slot Type : Self-ejection TF (Micro-SD) card Slot socket<br />
----<br />
<br />
=='''Demo for Arduino'''==<br />
'''Note: Before uploading the code, the corresponding library file must be placed in the library file folder where the Arduino IDE is installed.'''<br />
<pre><br />
#include <SPI.h><br />
#include <SD.h><br />
File myFile;<br />
<br />
void setup()<br />
{<br />
// Open serial communications and wait for port to open:<br />
Serial.begin(9600);<br />
while (!Serial) {<br />
; // wait for serial port to connect. Needed for Leonardo only<br />
}<br />
Serial.print("Initializing SD card...");<br />
// On the Ethernet Shield, CS is pin 4. It's set as an output by default.<br />
// Note that even if it's not used as the CS pin, the hardware SS pin<br />
// (10 on most Arduino boards, 53 on the Mega) must be left as an output<br />
// or the SD library functions will not work.<br />
pinMode(10, OUTPUT);<br />
if (!SD.begin(4)) {<br />
Serial.println("initialization failed!");<br />
return;<br />
}<br />
Serial.println("initialization done.");<br />
// open the file. note that only one file can be open at a time,<br />
// so you have to close this one before opening another.<br />
myFile = SD.open("test.txt", FILE_WRITE);<br />
// if the file opened okay, write to it:<br />
if (myFile) {<br />
Serial.print("Writing to test.txt...");<br />
myFile.println("Hello,world!");<br />
// close the file:<br />
myFile.close();<br />
Serial.println("done.");<br />
} else {<br />
// if the file didn't open, print an error:<br />
Serial.println("error opening test.txt");<br />
}<br />
// re-open the file for reading:<br />
myFile = SD.open("test.txt");<br />
if (myFile) {<br />
Serial.println("test.txt:");<br />
// read from the file until there's nothing else in it:<br />
while (myFile.available()) {<br />
Serial.write(myFile.read());<br />
}<br />
// close the file:<br />
myFile.close();<br />
} else {<br />
// if the file didn't open, print an error:<br />
Serial.println("error opening test.txt");<br />
}<br />
}<br />
<br />
void loop()<br />
{<br />
// nothing happens after setup<br />
}<br />
</pre><br />
<br />
'''Test Methods and Results'''<br />
<br />
Connect according to the wiring diagram, upload the code, and after power on, open the serial monitor and set the baud rate to 9600, as shown in the figure below.<br />
{|-<br />
|[[File:TF-Card_Slot-5.jpg |left|850px]]<br />
|}<br />
Set in the code, we create a TEST.txt file in the TF (Micro-SD) card, and write "Hello, world!" in the file, then read the content in the TEST.txt file and display it on the monitor.</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:A2308094-C03-E02_UKCA_Certificate.pdf&diff=4212File:A2308094-C03-E02 UKCA Certificate.pdf2023-09-07T05:57:14Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:A2308094-C03-E01_RED_Certificate.pdf&diff=4211File:A2308094-C03-E01 RED Certificate.pdf2023-09-07T05:56:38Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=10.525GHz_Doppler_Effect_Microwave_Motion_Sensor_SKU:_CQRSENWB01&diff=421010.525GHz Doppler Effect Microwave Motion Sensor SKU: CQRSENWB012023-09-07T05:53:32Z<p>Chenqi: /* Features */</p>
<hr />
<div>[[File:10.525GHz Doppler Microwave Sensor-11.jpg| right |thumb|200px|Doppler Microwave Sensor]]<br />
=='''Description'''==<br />
The microwave motion sensor is a microwave moving object detector which is designed according to the principle of Doppler Radar. This differs from the method used by a regular infrared (IR) sensor as microwave is sensitive to a variety of objects that are microwave-reflective, and its sensor readings are not affected by the ambient temperature.<br />
<br />
'''Comparison with IR Sensor:'''<br />
<br />
[[image:10.525GHz Doppler Microwave Sensor-2.jpg|thumb|1000px| center]]<br />
<br />
It is widely used not only in the detection of human body, but also many other objects. With the character of long detection distance and high sensitivity, it works without the limitation of ambient temperature and has come widely used in industrial, transportation and civil applications liquid levels, automatic door motion detection, automatic washing, production line material detection and car reversing sensors etc.<br />
<br />
The detection objects of the microwave sensor are universal. When it comes to the actual use in life, we will usually match it with another sensor for targeted detection. For example, a combination of microwave sensor and infrared pyroelectric sensor. It can accurately judge whether someone is passing by without being disturbed by sunlight and clothing color, and will not react to other objects.<br />
<br />
'''Attention'''<br />
<br />
There is an ultra-high frequency MOS device inside the microwave motion sensor. When you are testing, please use battery power as much as possible to avoid breakdown that is caused by the static voltage difference between the power supply and the test equipment, such as an oscilloscope.<br />
<br />
In addition, we suggest that you use battery power to ensure the best detection effect when you are operating the product.<br />
----<br />
<br />
=='''Features'''==<br />
*Non-contact detection.<br />
*Suitable for harsh environments because : will not be influenced by temperature, humidity, noise, airflow, dust, and the lights.<br />
*Strong resistance to radio frequency interference.<br />
*Low output power, no harm to human bodies.<br />
*Long range of detection.<br />
*Allow detection for non-living objects.<br />
*Microwave has perfect directivity, the speed is same as the speed of light.<br />
*Comes with development resources and manual (examples for Raspberry Pi/Arduino)<br />
----<br />
=='''Certification Documents'''==<br />
*[[Media:A2308094-C03-E01 RED Certificate.pdf]]<br />
<br />
*[[Media:A2308094-C03-E02 UKCA Certificate.pdf]]<br />
<br />
----<br />
<br />
=='''Pin Description and Size'''==<br />
[[image:10.525GHz Doppler Microwave Sensor-91.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Connection Diagram'''==<br />
'''NOTE''': Align the antenna surface towards the area you need to detect.<br />
<br />
'''NOTE''': The sensor can be adjusted continuously within the range of 2 meters to 16 meters. Turn the potentiometer "MIN" clockwise to the minimum, and measure the distance from 0.1 meters to 2 meters. Potentiometer is adjusted in the direction of "MIN" counterclockwise, and the detection distance increases.<br />
[[image:10.525GHz Doppler Microwave Sensor-31.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Working Pressure : 3.3V/5V Plus/Minus 0.25V<br />
*Working Current (CW): 60mA max., 37mA typical<br />
*Dimension: 63mm * 48mm<br />
*Mounting hole size: 3.0mm<br />
'''Emission Parameter'''<br />
*Detection Range: 2 meters to 16 meters continuously adjustable (min: 2 meters, max: 16 meters)<br />
*Emission Frequency: 10.525 GHz<br />
*Frequency Accuracy: 3MHz<br />
*Output Rate (Min): 13dBm EIRP<br />
*Harmonic Emission: Less Than -10dBm<br />
*Average Current (5% DC): 2mA typ.<br />
*Pulse Width (Min): 5uSec<br />
*Load Cycle (Min): 1%<br />
'''Receiver Parameter'''<br />
*Sensitivity(10dB S/N ratio) 3Hz-80Hz Broadband: -86dBm; 3Hz-80Hz Bandwidth Clutter: 10uV.<br />
*Antenna Gain: 8dBi<br />
*Vertical Level: 3dB Beam-width: 36 degrees<br />
*Horizontal Level: 3dB Beam-width: 72 degrees<br />
'''Ocean Wire Specifications'''<br />
*Cable Specifications: 22AWG<br />
*Material: Silicone<br />
*Withstand Voltage: Less Than 50V<br />
*Withstand Current: Less Than 1000MA<br />
*Length: 21cm<br />
*Line Sequence: Red-Power Supply Positive, Black-Power Supply Negative, Green-Control Board Signal Terminal.<br />
----<br />
<br />
=='''Working Principle'''==<br />
The following diagram demonstrates the working principle of the sensor module. It works by amplifying a tiny signal which is received by the microwave sensor, and then through the comparison circuit it converts the signal into a square signal with a digital output of 0 or 1 which an Arduino or other micro controller can easily handle.<br />
[[image:10.525GHz Doppler Microwave Sensor-10.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Signal Detection Range'''==<br />
Detection Angle: The angle of detection is 72 degrees with the antenna in a parallel direction (azimuth) The vertical (pitch) direction of the antenna is 36 degrees.<br />
[[image:10.525GHz Doppler Microwave Sensor-6.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Install'''==<br />
Microwaves can penetrate through walls. So sometimes it has inaccuracies when microwaves penetrate through outside walls and detect moving objects in non-target areas. Be sure to choose an installation location to avoid this!<br />
[[image:10.525GHz Doppler Microwave Sensor-7.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Demo Code for Arduino'''==<br />
<br />
{|-<br />
|[[File:10.525GHz Doppler Microwave Sensor-66.jpg | left | 500px]]<br />
|}<br />
<br />
(1) Experiment Information: we have use the Arduino Uno Development Board and Microwave Motion Sensor in the experiment to detect the moving range of people.<br />
<br />
(2) Experiment Supply List:<br />
<br />
① Arduino Uno Development Board --1<br />
<br />
② Microwave Motion Sensor Model -- 1<br />
<br />
③ 3PIN Digital Signal Line -- 1<br />
<br />
(3) Wiring Diagram<br />
<br />
'''ATTENTION: Put MsTimer2 File in \Arduino\libraries in compiler install content BEFORE BURNPROCESS.'''<br />
<br />
Example:C:\Program Files\Arduino\libraries<br />
<pre><br />
#include <MsTimer2.h> //Timer interrupt function<br />
int pbIn = 0; // Define the interrupt PIN is 0, that is, digital pins 2<br />
int ledOut = 13; <br />
int count=0; <br />
volatile int state = LOW; //Define ledOut, default is off<br />
<br />
void setup()<br />
{ <br />
Serial.begin(9600); <br />
pinMode(ledOut, OUTPUT);<br />
attachInterrupt(pbIn, stateChange, FALLING); <br />
// Sets the interrupt function, falling edge triggered interrupts.<br />
MsTimer2::set(1000,process); // Set the timer interrupt time 1000ms<br />
MsTimer2::start();//Timer interrupt start<br />
}<br />
<br />
void loop() <br />
{<br />
Serial.println(count); // Printing times of 1000ms suspension<br />
delay(1); <br />
if(state == HIGH) <br />
//When moving objects are detected later, 2s shut down automatically after //the ledout light is convenient.<br />
{<br />
delay(2000);<br />
state = LOW;<br />
digitalWrite(ledOut, state); //Turn off led<br />
}<br />
<br />
}<br />
<br />
void stateChange() //Interrupt function<br />
{ <br />
count++; <br />
<br />
}<br />
<br />
void process() //Timer handler<br />
{<br />
if(count>1) <br />
//1000ms interrupt number greater than 1 is considered detected a moving object //(this value can be adjusted according to the actual situation, equivalent to //adjust the detection threshold of the speed of a moving object)<br />
{<br />
state = HIGH; <br />
digitalWrite(ledOut, state); //Lighting led<br />
count=0; //Count zero<br />
}<br />
else<br />
count=0; <br />
//In 1000ms, interrupts does not reach set threshold value is considered not detect //moving objects, interrupt the count number is cleared to zero. <br />
} <br />
</pre><br />
<br />
----<br />
<br />
On Arduino Board, upload the testing code with Arduino IDE software, connecting the wires and power up. First turn the 3V/5V switch to position 5V, after connecting to the UNO board, PWR(red) Led will be on. When detecting any human activity, the orange LED light will blink, D13 on UNO board will be blinking as well. At this time turn the switch to 3V, it will be as the same voltage as 5V. Lastly, adjust the potentiometer on the back, clockwise to decrease the sensitivity, otherwise enlarge the sensitivity.<br />
<br />
=='''Demo code for Raspberry Pi'''==<br />
<br />
{|-<br />
|[[File:10.525GHz Doppler Microwave Sensor-77.jpg | left | 500px]]<br />
|}<br />
<br />
(1) Experiment Information: we use Raspberry Pi development board and Microwave Motion Sensor to detect human activities in certain ranges. The input function from Raspberry Pi’s GPIO is necessary for this experiment (please see http://wiringpi.com/download-and-install/ for instruction).<br />
<br />
(2) Experiment Supply List:<br />
<br />
① Raspberry Pi Development Board --1<br />
<br />
② Microwave Motion Sensor Model -- 1<br />
<br />
③ 3PIN Digital Signal Line -- 1<br />
<br />
(3) Wiring Diagram<br />
<br />
'''Attention: please make the wire facing toward the area that needed to be detected.<br />
Notice: The sensor is adjustable from range 2m-16m, the detecting ranging decrease as turning the potentiometer clockwise, the detecting range extend as potentiometer turning counterclockwise.'''<br />
<br />
(4) Experiment Code:<br />
<pre><br />
#include <wiringPi.h><br />
#include <stdio.h><br />
int main()<br />
{<br />
wiringPiSetup();<br />
char val;<br />
{<br />
pinMode(28,INPUT);//microwave motion sensor connecting to PIN28 on raspberry pi<br />
}<br />
<br />
while(1)//if someone passes by<br />
{ <br />
val=digitalRead(28);<br />
if(val==0)<br />
{<br />
printf("Somebody is in this area!\n");<br />
delay(10);//delay10MS<br />
<br />
}<br />
Else//nobody passes by<br />
{<br />
printf("No one!\n");<br />
delay(10); //delay 10MS<br />
}}}<br />
</pre><br />
<br />
----<br />
<br />
The programming part is implemented by C language ON. Raspberry Pi makes Microwave Motion Sensor work easier. PIR will make an output of data pin to a low level voltage if it detects a moving objects (Somebody is in this area); if no body was there, it is an output ( no one).</div>Chenqihttp://www.cqrobot.wiki/index.php?title=10.525GHz_Doppler_Effect_Microwave_Motion_Sensor_SKU:_CQRSENWB01&diff=420910.525GHz Doppler Effect Microwave Motion Sensor SKU: CQRSENWB012023-09-07T05:48:09Z<p>Chenqi: /* Features */</p>
<hr />
<div>[[File:10.525GHz Doppler Microwave Sensor-11.jpg| right |thumb|200px|Doppler Microwave Sensor]]<br />
=='''Description'''==<br />
The microwave motion sensor is a microwave moving object detector which is designed according to the principle of Doppler Radar. This differs from the method used by a regular infrared (IR) sensor as microwave is sensitive to a variety of objects that are microwave-reflective, and its sensor readings are not affected by the ambient temperature.<br />
<br />
'''Comparison with IR Sensor:'''<br />
<br />
[[image:10.525GHz Doppler Microwave Sensor-2.jpg|thumb|1000px| center]]<br />
<br />
It is widely used not only in the detection of human body, but also many other objects. With the character of long detection distance and high sensitivity, it works without the limitation of ambient temperature and has come widely used in industrial, transportation and civil applications liquid levels, automatic door motion detection, automatic washing, production line material detection and car reversing sensors etc.<br />
<br />
The detection objects of the microwave sensor are universal. When it comes to the actual use in life, we will usually match it with another sensor for targeted detection. For example, a combination of microwave sensor and infrared pyroelectric sensor. It can accurately judge whether someone is passing by without being disturbed by sunlight and clothing color, and will not react to other objects.<br />
<br />
'''Attention'''<br />
<br />
There is an ultra-high frequency MOS device inside the microwave motion sensor. When you are testing, please use battery power as much as possible to avoid breakdown that is caused by the static voltage difference between the power supply and the test equipment, such as an oscilloscope.<br />
<br />
In addition, we suggest that you use battery power to ensure the best detection effect when you are operating the product.<br />
----<br />
<br />
=='''Features'''==<br />
*Non-contact detection.<br />
*Suitable for harsh environments because : will not be influenced by temperature, humidity, noise, airflow, dust, and the lights.<br />
*Strong resistance to radio frequency interference.<br />
*Low output power, no harm to human bodies.<br />
*Long range of detection.<br />
*Allow detection for non-living objects.<br />
*Microwave has perfect directivity, the speed is same as the speed of light.<br />
*Comes with development resources and manual (examples for Raspberry Pi/Arduino)<br />
----<br />
<br />
=='''Pin Description and Size'''==<br />
[[image:10.525GHz Doppler Microwave Sensor-91.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Connection Diagram'''==<br />
'''NOTE''': Align the antenna surface towards the area you need to detect.<br />
<br />
'''NOTE''': The sensor can be adjusted continuously within the range of 2 meters to 16 meters. Turn the potentiometer "MIN" clockwise to the minimum, and measure the distance from 0.1 meters to 2 meters. Potentiometer is adjusted in the direction of "MIN" counterclockwise, and the detection distance increases.<br />
[[image:10.525GHz Doppler Microwave Sensor-31.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Working Pressure : 3.3V/5V Plus/Minus 0.25V<br />
*Working Current (CW): 60mA max., 37mA typical<br />
*Dimension: 63mm * 48mm<br />
*Mounting hole size: 3.0mm<br />
'''Emission Parameter'''<br />
*Detection Range: 2 meters to 16 meters continuously adjustable (min: 2 meters, max: 16 meters)<br />
*Emission Frequency: 10.525 GHz<br />
*Frequency Accuracy: 3MHz<br />
*Output Rate (Min): 13dBm EIRP<br />
*Harmonic Emission: Less Than -10dBm<br />
*Average Current (5% DC): 2mA typ.<br />
*Pulse Width (Min): 5uSec<br />
*Load Cycle (Min): 1%<br />
'''Receiver Parameter'''<br />
*Sensitivity(10dB S/N ratio) 3Hz-80Hz Broadband: -86dBm; 3Hz-80Hz Bandwidth Clutter: 10uV.<br />
*Antenna Gain: 8dBi<br />
*Vertical Level: 3dB Beam-width: 36 degrees<br />
*Horizontal Level: 3dB Beam-width: 72 degrees<br />
'''Ocean Wire Specifications'''<br />
*Cable Specifications: 22AWG<br />
*Material: Silicone<br />
*Withstand Voltage: Less Than 50V<br />
*Withstand Current: Less Than 1000MA<br />
*Length: 21cm<br />
*Line Sequence: Red-Power Supply Positive, Black-Power Supply Negative, Green-Control Board Signal Terminal.<br />
----<br />
<br />
=='''Working Principle'''==<br />
The following diagram demonstrates the working principle of the sensor module. It works by amplifying a tiny signal which is received by the microwave sensor, and then through the comparison circuit it converts the signal into a square signal with a digital output of 0 or 1 which an Arduino or other micro controller can easily handle.<br />
[[image:10.525GHz Doppler Microwave Sensor-10.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Signal Detection Range'''==<br />
Detection Angle: The angle of detection is 72 degrees with the antenna in a parallel direction (azimuth) The vertical (pitch) direction of the antenna is 36 degrees.<br />
[[image:10.525GHz Doppler Microwave Sensor-6.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Install'''==<br />
Microwaves can penetrate through walls. So sometimes it has inaccuracies when microwaves penetrate through outside walls and detect moving objects in non-target areas. Be sure to choose an installation location to avoid this!<br />
[[image:10.525GHz Doppler Microwave Sensor-7.jpg|thumb|1000px| center]]<br />
----<br />
<br />
=='''Demo Code for Arduino'''==<br />
<br />
{|-<br />
|[[File:10.525GHz Doppler Microwave Sensor-66.jpg | left | 500px]]<br />
|}<br />
<br />
(1) Experiment Information: we have use the Arduino Uno Development Board and Microwave Motion Sensor in the experiment to detect the moving range of people.<br />
<br />
(2) Experiment Supply List:<br />
<br />
① Arduino Uno Development Board --1<br />
<br />
② Microwave Motion Sensor Model -- 1<br />
<br />
③ 3PIN Digital Signal Line -- 1<br />
<br />
(3) Wiring Diagram<br />
<br />
'''ATTENTION: Put MsTimer2 File in \Arduino\libraries in compiler install content BEFORE BURNPROCESS.'''<br />
<br />
Example:C:\Program Files\Arduino\libraries<br />
<pre><br />
#include <MsTimer2.h> //Timer interrupt function<br />
int pbIn = 0; // Define the interrupt PIN is 0, that is, digital pins 2<br />
int ledOut = 13; <br />
int count=0; <br />
volatile int state = LOW; //Define ledOut, default is off<br />
<br />
void setup()<br />
{ <br />
Serial.begin(9600); <br />
pinMode(ledOut, OUTPUT);<br />
attachInterrupt(pbIn, stateChange, FALLING); <br />
// Sets the interrupt function, falling edge triggered interrupts.<br />
MsTimer2::set(1000,process); // Set the timer interrupt time 1000ms<br />
MsTimer2::start();//Timer interrupt start<br />
}<br />
<br />
void loop() <br />
{<br />
Serial.println(count); // Printing times of 1000ms suspension<br />
delay(1); <br />
if(state == HIGH) <br />
//When moving objects are detected later, 2s shut down automatically after //the ledout light is convenient.<br />
{<br />
delay(2000);<br />
state = LOW;<br />
digitalWrite(ledOut, state); //Turn off led<br />
}<br />
<br />
}<br />
<br />
void stateChange() //Interrupt function<br />
{ <br />
count++; <br />
<br />
}<br />
<br />
void process() //Timer handler<br />
{<br />
if(count>1) <br />
//1000ms interrupt number greater than 1 is considered detected a moving object //(this value can be adjusted according to the actual situation, equivalent to //adjust the detection threshold of the speed of a moving object)<br />
{<br />
state = HIGH; <br />
digitalWrite(ledOut, state); //Lighting led<br />
count=0; //Count zero<br />
}<br />
else<br />
count=0; <br />
//In 1000ms, interrupts does not reach set threshold value is considered not detect //moving objects, interrupt the count number is cleared to zero. <br />
} <br />
</pre><br />
<br />
----<br />
<br />
On Arduino Board, upload the testing code with Arduino IDE software, connecting the wires and power up. First turn the 3V/5V switch to position 5V, after connecting to the UNO board, PWR(red) Led will be on. When detecting any human activity, the orange LED light will blink, D13 on UNO board will be blinking as well. At this time turn the switch to 3V, it will be as the same voltage as 5V. Lastly, adjust the potentiometer on the back, clockwise to decrease the sensitivity, otherwise enlarge the sensitivity.<br />
<br />
=='''Demo code for Raspberry Pi'''==<br />
<br />
{|-<br />
|[[File:10.525GHz Doppler Microwave Sensor-77.jpg | left | 500px]]<br />
|}<br />
<br />
(1) Experiment Information: we use Raspberry Pi development board and Microwave Motion Sensor to detect human activities in certain ranges. The input function from Raspberry Pi’s GPIO is necessary for this experiment (please see http://wiringpi.com/download-and-install/ for instruction).<br />
<br />
(2) Experiment Supply List:<br />
<br />
① Raspberry Pi Development Board --1<br />
<br />
② Microwave Motion Sensor Model -- 1<br />
<br />
③ 3PIN Digital Signal Line -- 1<br />
<br />
(3) Wiring Diagram<br />
<br />
'''Attention: please make the wire facing toward the area that needed to be detected.<br />
Notice: The sensor is adjustable from range 2m-16m, the detecting ranging decrease as turning the potentiometer clockwise, the detecting range extend as potentiometer turning counterclockwise.'''<br />
<br />
(4) Experiment Code:<br />
<pre><br />
#include <wiringPi.h><br />
#include <stdio.h><br />
int main()<br />
{<br />
wiringPiSetup();<br />
char val;<br />
{<br />
pinMode(28,INPUT);//microwave motion sensor connecting to PIN28 on raspberry pi<br />
}<br />
<br />
while(1)//if someone passes by<br />
{ <br />
val=digitalRead(28);<br />
if(val==0)<br />
{<br />
printf("Somebody is in this area!\n");<br />
delay(10);//delay10MS<br />
<br />
}<br />
Else//nobody passes by<br />
{<br />
printf("No one!\n");<br />
delay(10); //delay 10MS<br />
}}}<br />
</pre><br />
<br />
----<br />
<br />
The programming part is implemented by C language ON. Raspberry Pi makes Microwave Motion Sensor work easier. PIR will make an output of data pin to a low level voltage if it detects a moving objects (Somebody is in this area); if no body was there, it is an output ( no one).</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS422_or_RS485_Adapters_Cable_SKU:_CQRCK701_CQRCK702_CQRCK703&diff=4208USB to RS422 or RS485 Adapters Cable SKU: CQRCK701 CQRCK702 CQRCK7032023-05-05T06:32:45Z<p>Chenqi: /* Driver File Download */</p>
<hr />
<div>[[File:USB to RS422 or RS485.jpg| right |thumb|200px USB to RS422 or RS485]]<br />
=='''Description'''==<br />
With the continuous development of the PC industry, USB interface is substituting the old industrial and low speed PC interface, but there are so much important equipment still use the RS422 or RS485 interface in the industrial environment. So many users have to use the USB to RS422 or RS485 converter to realize the data transfer between PC and RS422 or RS485 equipment.<br />
<br />
USB to RS422 or RS485 is auniversal converter of USB to RS422 or RS485 which is without addition power supply, compatible with USB, RS422, RS485 standards, It can convert USB signals to a balanced differential RS422 or RS485 signals. Each line has surge protection, and various surge voltage protections. The tiny capacitance distance RS422 or RS485 interface of high-speed transmission. RS422, RS485 connect by RJ45 and DB9 interface. Converter with zero delay automatic transceiver inside, unique I/O circuit automatically control data flow direction, without any handshake signals (such as RTS, DTR, etc.) and jumpers set realize full-duplex, half-duplex mode conversion, plug and play. Ensure the product fix for all existing communication software and hardware interface.<br />
<br />
USB to RS422 or RS485 converters for point-to-point, point-to-mujlti point reliable communlcations. Provides the point to more each converter allows connecting 32 RS422 or RS485 devices, data rate of 300 to 921600bps. The power and data flow indicator light will show fault if any breakdown. Support of com-munication has USB to RS422 USB to RS485.<br />
----<br />
=='''Funcition'''==<br />
Interface converter can provide point-to-point, point-to-multipoint communication and provide reliable connections. Point-to-multipoint each converter can be connected to 32 RS422 or RS485 interface devices, transfer rates: 921600bps to 300M, 38400bps to 600M, 9600bps to 1.2KM, with power indicator light and quantity indicator can indicate the fault condition. Supported communication methods are USB to RS422, USB to RS485 conversion;<br />
<br />
'''USB to RS422 or RS485 converter supports about four kinds of communication:'''<br />
*point to point - four full-duplex<br />
*point to multi-point - four full-duplex<br />
*point to point - two half-duple<br />
*point to multi-point - two half-duplex<br />
'''When the converter is working at full-duplex, need to add a matched resustance to avoid reflects and disturbance of signal.(120Ω, 1/4W)'''<br />
----<br />
=='''Installtion and Utilization'''==<br />
<br />
*Support Windows98 / Windows2000 / XP / Vista / Win7 / Win8 / Win10 / ME, Linux, MAC, Android, Arduino. Support two-way transmission, support 32/64 bit systems.<br />
*Pro grade USB to RS422 or RS485 converter. It easily lets you connect any RS485 or RS422 device directly to your computer's USB port.<br />
*Ideal for industrial environments, the serial port converter provides 15KV ESD protection on all signal pins to protect costly and often sensitive control equipment against electrical damage.<br />
*It is designed with a high performance quality processor chip (FTDI Chipset) and conversion circuitry which makes this USB to RS485 converter one of the most reliable adapters on the market.<br />
<br />
Please read carefully product manual before install CQRCK701 converter, the insert USB cable which attached to USB port. This product USB/DB9, general connectros for input/output interface without jumpers, automatically identify RS422 or RS485 communication mode. Fit for twisted-pair cable or shielding wire connection , very convenient to disassemble. Point-to-point, and RXD+, RXD-, point-to-point to more, half-duplex communic-ation that connect two lines T/R+, T/R-.<br />
<br />
'''Application'''<br />
<br />
*Camera / Label Printer / Scanner<br />
*Laptop PC / POS Machine / SCM<br />
*Fingerprint Attendance / Machine Scanning Machine<br />
*CNC Machine / Instrumentation<br />
<br />
DIY Electronic Equipment, Shopping Malls, Office Space, Security Systems, Factory Automation System, Distributed Control System, Other 485/422 Serial Device Wireless Network, LED INFO Display Equipments, PLC Control and Management, SCADA, Measuring Instruments and Monitoring system, CNC Management, Medical Treatment/Medication Automation, Building Automation, Check on work Attendance/Human Resource Management etc.<br />
----<br />
=='''Specification'''==<br />
*Standards: Compliant with USB 2.0, downward compatibility, and standard RS422, RS485.<br />
*USB signal: VCC, DATA+, DATA-, GND<br />
*RS422 signal: T/R+, T/R-, RXD+, RXD, GND<br />
*RS485 signal: T/R+, T/R, GND<br />
*Working mode: asynchronous working, point-to-point or point-to-more, full duplex 4-line, half duplex 2-line.<br />
*Directional control: Using data flow automatic control technology, automatic control and data transmission criterion.<br />
*Band Rate: 300-921600bps, automatically detects serial signal rate.<br />
*Load capacity: support to more each converter allows connecting 32 RS422 interface RS485 or equipment.<br />
*Transmission range: 1200meter of RS422/485, 5m of USB cable.<br />
*Interface Protection: 600W surge protection, Plus/Minus 15KV Esd protection.<br />
*Interface: USB A Male, DB9 Male.<br />
*Signal indication: red for power, green for data sending, yellow for data receiving.<br />
*Transmission media: twisted-pair or shielded wire.<br />
*Transmission rate: 921600bps at 300M, 38400bps at 600M, 9600bps at 1.2KM.<br />
*Size: 1.2M length.<br />
*Operating environment: -25 Degree Celsius to 70 Degree Celsius, relative humidity at 5% to 95%.<br />
----<br />
=='''Certification Documents'''==<br />
[[Media:CQRCK701-FCC.rar]]<br />
<br />
[[Media:CQRCK701-ROHS.rar]]<br />
<br />
[[Media:CQRCK701-CE-EMC.rar]]<br />
----<br />
<br />
=='''Driver File Download'''==<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows7, 8, 10, 11_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Mac_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Linux_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows CE_Driver_20230505.rar]]<br />
----<br />
<br />
=='''Regulare Failure and Failure Elimination'''==<br />
<br />
'''1. Communication failure:'''<br />
<br />
*A. Check the USB port with connecting righe;<br />
*B. Check RS422/RS485 Output with connecting right;<br />
*C. Check the power of device;<br />
*D. Check the Terminal blocks work;<br />
*E. Check the indicator flicker when receiving;<br />
*F. Check the indicator flicker when sending;<br />
<br />
'''2. Data loss or date fault:'''<br />
<br />
*A. Check the data transmission utilization ratio with same format.<br />
<br />
----<br />
<br />
=='''Interface and Signal'''==<br />
[[image:CQRCK701-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Connection Instruction'''==<br />
[[image:CQRCK701-6.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRCK701-7.jpg|thumb|1200px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQRCK701_CQRCK702_CQRCK703_Windows_CE_Driver_20230505.rar&diff=4207File:CQRCK701 CQRCK702 CQRCK703 Windows CE Driver 20230505.rar2023-05-05T06:27:10Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQRCK701_CQRCK702_CQRCK703_Linux_Driver_20230505.rar&diff=4206File:CQRCK701 CQRCK702 CQRCK703 Linux Driver 20230505.rar2023-05-05T06:25:32Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQRCK701_CQRCK702_CQRCK703_Mac_Driver_20230505.rar&diff=4205File:CQRCK701 CQRCK702 CQRCK703 Mac Driver 20230505.rar2023-05-05T06:22:13Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQRCK701_CQRCK702_CQRCK703_Windows7,_8,_10,_11_Driver_20230505.rar&diff=4204File:CQRCK701 CQRCK702 CQRCK703 Windows7, 8, 10, 11 Driver 20230505.rar2023-05-05T06:21:09Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS422_or_RS485_Adapters_Cable_SKU:_CQRCK701_CQRCK702_CQRCK703&diff=4203USB to RS422 or RS485 Adapters Cable SKU: CQRCK701 CQRCK702 CQRCK7032023-05-05T06:20:31Z<p>Chenqi: /* Driver File Download */</p>
<hr />
<div>[[File:USB to RS422 or RS485.jpg| right |thumb|200px USB to RS422 or RS485]]<br />
=='''Description'''==<br />
With the continuous development of the PC industry, USB interface is substituting the old industrial and low speed PC interface, but there are so much important equipment still use the RS422 or RS485 interface in the industrial environment. So many users have to use the USB to RS422 or RS485 converter to realize the data transfer between PC and RS422 or RS485 equipment.<br />
<br />
USB to RS422 or RS485 is auniversal converter of USB to RS422 or RS485 which is without addition power supply, compatible with USB, RS422, RS485 standards, It can convert USB signals to a balanced differential RS422 or RS485 signals. Each line has surge protection, and various surge voltage protections. The tiny capacitance distance RS422 or RS485 interface of high-speed transmission. RS422, RS485 connect by RJ45 and DB9 interface. Converter with zero delay automatic transceiver inside, unique I/O circuit automatically control data flow direction, without any handshake signals (such as RTS, DTR, etc.) and jumpers set realize full-duplex, half-duplex mode conversion, plug and play. Ensure the product fix for all existing communication software and hardware interface.<br />
<br />
USB to RS422 or RS485 converters for point-to-point, point-to-mujlti point reliable communlcations. Provides the point to more each converter allows connecting 32 RS422 or RS485 devices, data rate of 300 to 921600bps. The power and data flow indicator light will show fault if any breakdown. Support of com-munication has USB to RS422 USB to RS485.<br />
----<br />
=='''Funcition'''==<br />
Interface converter can provide point-to-point, point-to-multipoint communication and provide reliable connections. Point-to-multipoint each converter can be connected to 32 RS422 or RS485 interface devices, transfer rates: 921600bps to 300M, 38400bps to 600M, 9600bps to 1.2KM, with power indicator light and quantity indicator can indicate the fault condition. Supported communication methods are USB to RS422, USB to RS485 conversion;<br />
<br />
'''USB to RS422 or RS485 converter supports about four kinds of communication:'''<br />
*point to point - four full-duplex<br />
*point to multi-point - four full-duplex<br />
*point to point - two half-duple<br />
*point to multi-point - two half-duplex<br />
'''When the converter is working at full-duplex, need to add a matched resustance to avoid reflects and disturbance of signal.(120Ω, 1/4W)'''<br />
----<br />
=='''Installtion and Utilization'''==<br />
<br />
*Support Windows98 / Windows2000 / XP / Vista / Win7 / Win8 / Win10 / ME, Linux, MAC, Android, Arduino. Support two-way transmission, support 32/64 bit systems.<br />
*Pro grade USB to RS422 or RS485 converter. It easily lets you connect any RS485 or RS422 device directly to your computer's USB port.<br />
*Ideal for industrial environments, the serial port converter provides 15KV ESD protection on all signal pins to protect costly and often sensitive control equipment against electrical damage.<br />
*It is designed with a high performance quality processor chip (FTDI Chipset) and conversion circuitry which makes this USB to RS485 converter one of the most reliable adapters on the market.<br />
<br />
Please read carefully product manual before install CQRCK701 converter, the insert USB cable which attached to USB port. This product USB/DB9, general connectros for input/output interface without jumpers, automatically identify RS422 or RS485 communication mode. Fit for twisted-pair cable or shielding wire connection , very convenient to disassemble. Point-to-point, and RXD+, RXD-, point-to-point to more, half-duplex communic-ation that connect two lines T/R+, T/R-.<br />
<br />
'''Application'''<br />
<br />
*Camera / Label Printer / Scanner<br />
*Laptop PC / POS Machine / SCM<br />
*Fingerprint Attendance / Machine Scanning Machine<br />
*CNC Machine / Instrumentation<br />
<br />
DIY Electronic Equipment, Shopping Malls, Office Space, Security Systems, Factory Automation System, Distributed Control System, Other 485/422 Serial Device Wireless Network, LED INFO Display Equipments, PLC Control and Management, SCADA, Measuring Instruments and Monitoring system, CNC Management, Medical Treatment/Medication Automation, Building Automation, Check on work Attendance/Human Resource Management etc.<br />
----<br />
=='''Specification'''==<br />
*Standards: Compliant with USB 2.0, downward compatibility, and standard RS422, RS485.<br />
*USB signal: VCC, DATA+, DATA-, GND<br />
*RS422 signal: T/R+, T/R-, RXD+, RXD, GND<br />
*RS485 signal: T/R+, T/R, GND<br />
*Working mode: asynchronous working, point-to-point or point-to-more, full duplex 4-line, half duplex 2-line.<br />
*Directional control: Using data flow automatic control technology, automatic control and data transmission criterion.<br />
*Band Rate: 300-921600bps, automatically detects serial signal rate.<br />
*Load capacity: support to more each converter allows connecting 32 RS422 interface RS485 or equipment.<br />
*Transmission range: 1200meter of RS422/485, 5m of USB cable.<br />
*Interface Protection: 600W surge protection, Plus/Minus 15KV Esd protection.<br />
*Interface: USB A Male, DB9 Male.<br />
*Signal indication: red for power, green for data sending, yellow for data receiving.<br />
*Transmission media: twisted-pair or shielded wire.<br />
*Transmission rate: 921600bps at 300M, 38400bps at 600M, 9600bps at 1.2KM.<br />
*Size: 1.2M length.<br />
*Operating environment: -25 Degree Celsius to 70 Degree Celsius, relative humidity at 5% to 95%.<br />
----<br />
=='''Certification Documents'''==<br />
[[Media:CQRCK701-FCC.rar]]<br />
<br />
[[Media:CQRCK701-ROHS.rar]]<br />
<br />
[[Media:CQRCK701-CE-EMC.rar]]<br />
----<br />
<br />
=='''Driver File Download'''==<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows7, 8, 10, 11_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Mac_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Linux_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows CE_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_Windows98ME.rar]]<br />
<br />
[[Media:CQRCK701_WIN7,8,10_v2.12.26_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows2000_2.06.00_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows_XP_Vista_Server2003_Server2008_2.08.24_WHQL_Certified.rar]]<br />
----<br />
<br />
=='''Regulare Failure and Failure Elimination'''==<br />
<br />
'''1. Communication failure:'''<br />
<br />
*A. Check the USB port with connecting righe;<br />
*B. Check RS422/RS485 Output with connecting right;<br />
*C. Check the power of device;<br />
*D. Check the Terminal blocks work;<br />
*E. Check the indicator flicker when receiving;<br />
*F. Check the indicator flicker when sending;<br />
<br />
'''2. Data loss or date fault:'''<br />
<br />
*A. Check the data transmission utilization ratio with same format.<br />
<br />
----<br />
<br />
=='''Interface and Signal'''==<br />
[[image:CQRCK701-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Connection Instruction'''==<br />
[[image:CQRCK701-6.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRCK701-7.jpg|thumb|1200px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS422_or_RS485_Adapters_Cable_SKU:_CQRCK701_CQRCK702_CQRCK703&diff=4202USB to RS422 or RS485 Adapters Cable SKU: CQRCK701 CQRCK702 CQRCK7032023-05-05T06:19:00Z<p>Chenqi: /* Driver File Download */</p>
<hr />
<div>[[File:USB to RS422 or RS485.jpg| right |thumb|200px USB to RS422 or RS485]]<br />
=='''Description'''==<br />
With the continuous development of the PC industry, USB interface is substituting the old industrial and low speed PC interface, but there are so much important equipment still use the RS422 or RS485 interface in the industrial environment. So many users have to use the USB to RS422 or RS485 converter to realize the data transfer between PC and RS422 or RS485 equipment.<br />
<br />
USB to RS422 or RS485 is auniversal converter of USB to RS422 or RS485 which is without addition power supply, compatible with USB, RS422, RS485 standards, It can convert USB signals to a balanced differential RS422 or RS485 signals. Each line has surge protection, and various surge voltage protections. The tiny capacitance distance RS422 or RS485 interface of high-speed transmission. RS422, RS485 connect by RJ45 and DB9 interface. Converter with zero delay automatic transceiver inside, unique I/O circuit automatically control data flow direction, without any handshake signals (such as RTS, DTR, etc.) and jumpers set realize full-duplex, half-duplex mode conversion, plug and play. Ensure the product fix for all existing communication software and hardware interface.<br />
<br />
USB to RS422 or RS485 converters for point-to-point, point-to-mujlti point reliable communlcations. Provides the point to more each converter allows connecting 32 RS422 or RS485 devices, data rate of 300 to 921600bps. The power and data flow indicator light will show fault if any breakdown. Support of com-munication has USB to RS422 USB to RS485.<br />
----<br />
=='''Funcition'''==<br />
Interface converter can provide point-to-point, point-to-multipoint communication and provide reliable connections. Point-to-multipoint each converter can be connected to 32 RS422 or RS485 interface devices, transfer rates: 921600bps to 300M, 38400bps to 600M, 9600bps to 1.2KM, with power indicator light and quantity indicator can indicate the fault condition. Supported communication methods are USB to RS422, USB to RS485 conversion;<br />
<br />
'''USB to RS422 or RS485 converter supports about four kinds of communication:'''<br />
*point to point - four full-duplex<br />
*point to multi-point - four full-duplex<br />
*point to point - two half-duple<br />
*point to multi-point - two half-duplex<br />
'''When the converter is working at full-duplex, need to add a matched resustance to avoid reflects and disturbance of signal.(120Ω, 1/4W)'''<br />
----<br />
=='''Installtion and Utilization'''==<br />
<br />
*Support Windows98 / Windows2000 / XP / Vista / Win7 / Win8 / Win10 / ME, Linux, MAC, Android, Arduino. Support two-way transmission, support 32/64 bit systems.<br />
*Pro grade USB to RS422 or RS485 converter. It easily lets you connect any RS485 or RS422 device directly to your computer's USB port.<br />
*Ideal for industrial environments, the serial port converter provides 15KV ESD protection on all signal pins to protect costly and often sensitive control equipment against electrical damage.<br />
*It is designed with a high performance quality processor chip (FTDI Chipset) and conversion circuitry which makes this USB to RS485 converter one of the most reliable adapters on the market.<br />
<br />
Please read carefully product manual before install CQRCK701 converter, the insert USB cable which attached to USB port. This product USB/DB9, general connectros for input/output interface without jumpers, automatically identify RS422 or RS485 communication mode. Fit for twisted-pair cable or shielding wire connection , very convenient to disassemble. Point-to-point, and RXD+, RXD-, point-to-point to more, half-duplex communic-ation that connect two lines T/R+, T/R-.<br />
<br />
'''Application'''<br />
<br />
*Camera / Label Printer / Scanner<br />
*Laptop PC / POS Machine / SCM<br />
*Fingerprint Attendance / Machine Scanning Machine<br />
*CNC Machine / Instrumentation<br />
<br />
DIY Electronic Equipment, Shopping Malls, Office Space, Security Systems, Factory Automation System, Distributed Control System, Other 485/422 Serial Device Wireless Network, LED INFO Display Equipments, PLC Control and Management, SCADA, Measuring Instruments and Monitoring system, CNC Management, Medical Treatment/Medication Automation, Building Automation, Check on work Attendance/Human Resource Management etc.<br />
----<br />
=='''Specification'''==<br />
*Standards: Compliant with USB 2.0, downward compatibility, and standard RS422, RS485.<br />
*USB signal: VCC, DATA+, DATA-, GND<br />
*RS422 signal: T/R+, T/R-, RXD+, RXD, GND<br />
*RS485 signal: T/R+, T/R, GND<br />
*Working mode: asynchronous working, point-to-point or point-to-more, full duplex 4-line, half duplex 2-line.<br />
*Directional control: Using data flow automatic control technology, automatic control and data transmission criterion.<br />
*Band Rate: 300-921600bps, automatically detects serial signal rate.<br />
*Load capacity: support to more each converter allows connecting 32 RS422 interface RS485 or equipment.<br />
*Transmission range: 1200meter of RS422/485, 5m of USB cable.<br />
*Interface Protection: 600W surge protection, Plus/Minus 15KV Esd protection.<br />
*Interface: USB A Male, DB9 Male.<br />
*Signal indication: red for power, green for data sending, yellow for data receiving.<br />
*Transmission media: twisted-pair or shielded wire.<br />
*Transmission rate: 921600bps at 300M, 38400bps at 600M, 9600bps at 1.2KM.<br />
*Size: 1.2M length.<br />
*Operating environment: -25 Degree Celsius to 70 Degree Celsius, relative humidity at 5% to 95%.<br />
----<br />
=='''Certification Documents'''==<br />
[[Media:CQRCK701-FCC.rar]]<br />
<br />
[[Media:CQRCK701-ROHS.rar]]<br />
<br />
[[Media:CQRCK701-CE-EMC.rar]]<br />
----<br />
<br />
=='''Driver File Download'''==<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Linux_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Mac_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows CE_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows7, 8, 10, 11_Driver_20230505.rar]]<br />
<br />
[[Media:CQRCK701_Windows98ME.rar]]<br />
<br />
[[Media:CQRCK701_WIN7,8,10_v2.12.26_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows2000_2.06.00_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows_XP_Vista_Server2003_Server2008_2.08.24_WHQL_Certified.rar]]<br />
----<br />
<br />
=='''Regulare Failure and Failure Elimination'''==<br />
<br />
'''1. Communication failure:'''<br />
<br />
*A. Check the USB port with connecting righe;<br />
*B. Check RS422/RS485 Output with connecting right;<br />
*C. Check the power of device;<br />
*D. Check the Terminal blocks work;<br />
*E. Check the indicator flicker when receiving;<br />
*F. Check the indicator flicker when sending;<br />
<br />
'''2. Data loss or date fault:'''<br />
<br />
*A. Check the data transmission utilization ratio with same format.<br />
<br />
----<br />
<br />
=='''Interface and Signal'''==<br />
[[image:CQRCK701-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Connection Instruction'''==<br />
[[image:CQRCK701-6.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRCK701-7.jpg|thumb|1200px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS422_or_RS485_Adapters_Cable_SKU:_CQRCK701_CQRCK702_CQRCK703&diff=4201USB to RS422 or RS485 Adapters Cable SKU: CQRCK701 CQRCK702 CQRCK7032023-05-05T06:18:07Z<p>Chenqi: /* Driver File Download */</p>
<hr />
<div>[[File:USB to RS422 or RS485.jpg| right |thumb|200px USB to RS422 or RS485]]<br />
=='''Description'''==<br />
With the continuous development of the PC industry, USB interface is substituting the old industrial and low speed PC interface, but there are so much important equipment still use the RS422 or RS485 interface in the industrial environment. So many users have to use the USB to RS422 or RS485 converter to realize the data transfer between PC and RS422 or RS485 equipment.<br />
<br />
USB to RS422 or RS485 is auniversal converter of USB to RS422 or RS485 which is without addition power supply, compatible with USB, RS422, RS485 standards, It can convert USB signals to a balanced differential RS422 or RS485 signals. Each line has surge protection, and various surge voltage protections. The tiny capacitance distance RS422 or RS485 interface of high-speed transmission. RS422, RS485 connect by RJ45 and DB9 interface. Converter with zero delay automatic transceiver inside, unique I/O circuit automatically control data flow direction, without any handshake signals (such as RTS, DTR, etc.) and jumpers set realize full-duplex, half-duplex mode conversion, plug and play. Ensure the product fix for all existing communication software and hardware interface.<br />
<br />
USB to RS422 or RS485 converters for point-to-point, point-to-mujlti point reliable communlcations. Provides the point to more each converter allows connecting 32 RS422 or RS485 devices, data rate of 300 to 921600bps. The power and data flow indicator light will show fault if any breakdown. Support of com-munication has USB to RS422 USB to RS485.<br />
----<br />
=='''Funcition'''==<br />
Interface converter can provide point-to-point, point-to-multipoint communication and provide reliable connections. Point-to-multipoint each converter can be connected to 32 RS422 or RS485 interface devices, transfer rates: 921600bps to 300M, 38400bps to 600M, 9600bps to 1.2KM, with power indicator light and quantity indicator can indicate the fault condition. Supported communication methods are USB to RS422, USB to RS485 conversion;<br />
<br />
'''USB to RS422 or RS485 converter supports about four kinds of communication:'''<br />
*point to point - four full-duplex<br />
*point to multi-point - four full-duplex<br />
*point to point - two half-duple<br />
*point to multi-point - two half-duplex<br />
'''When the converter is working at full-duplex, need to add a matched resustance to avoid reflects and disturbance of signal.(120Ω, 1/4W)'''<br />
----<br />
=='''Installtion and Utilization'''==<br />
<br />
*Support Windows98 / Windows2000 / XP / Vista / Win7 / Win8 / Win10 / ME, Linux, MAC, Android, Arduino. Support two-way transmission, support 32/64 bit systems.<br />
*Pro grade USB to RS422 or RS485 converter. It easily lets you connect any RS485 or RS422 device directly to your computer's USB port.<br />
*Ideal for industrial environments, the serial port converter provides 15KV ESD protection on all signal pins to protect costly and often sensitive control equipment against electrical damage.<br />
*It is designed with a high performance quality processor chip (FTDI Chipset) and conversion circuitry which makes this USB to RS485 converter one of the most reliable adapters on the market.<br />
<br />
Please read carefully product manual before install CQRCK701 converter, the insert USB cable which attached to USB port. This product USB/DB9, general connectros for input/output interface without jumpers, automatically identify RS422 or RS485 communication mode. Fit for twisted-pair cable or shielding wire connection , very convenient to disassemble. Point-to-point, and RXD+, RXD-, point-to-point to more, half-duplex communic-ation that connect two lines T/R+, T/R-.<br />
<br />
'''Application'''<br />
<br />
*Camera / Label Printer / Scanner<br />
*Laptop PC / POS Machine / SCM<br />
*Fingerprint Attendance / Machine Scanning Machine<br />
*CNC Machine / Instrumentation<br />
<br />
DIY Electronic Equipment, Shopping Malls, Office Space, Security Systems, Factory Automation System, Distributed Control System, Other 485/422 Serial Device Wireless Network, LED INFO Display Equipments, PLC Control and Management, SCADA, Measuring Instruments and Monitoring system, CNC Management, Medical Treatment/Medication Automation, Building Automation, Check on work Attendance/Human Resource Management etc.<br />
----<br />
=='''Specification'''==<br />
*Standards: Compliant with USB 2.0, downward compatibility, and standard RS422, RS485.<br />
*USB signal: VCC, DATA+, DATA-, GND<br />
*RS422 signal: T/R+, T/R-, RXD+, RXD, GND<br />
*RS485 signal: T/R+, T/R, GND<br />
*Working mode: asynchronous working, point-to-point or point-to-more, full duplex 4-line, half duplex 2-line.<br />
*Directional control: Using data flow automatic control technology, automatic control and data transmission criterion.<br />
*Band Rate: 300-921600bps, automatically detects serial signal rate.<br />
*Load capacity: support to more each converter allows connecting 32 RS422 interface RS485 or equipment.<br />
*Transmission range: 1200meter of RS422/485, 5m of USB cable.<br />
*Interface Protection: 600W surge protection, Plus/Minus 15KV Esd protection.<br />
*Interface: USB A Male, DB9 Male.<br />
*Signal indication: red for power, green for data sending, yellow for data receiving.<br />
*Transmission media: twisted-pair or shielded wire.<br />
*Transmission rate: 921600bps at 300M, 38400bps at 600M, 9600bps at 1.2KM.<br />
*Size: 1.2M length.<br />
*Operating environment: -25 Degree Celsius to 70 Degree Celsius, relative humidity at 5% to 95%.<br />
----<br />
=='''Certification Documents'''==<br />
[[Media:CQRCK701-FCC.rar]]<br />
<br />
[[Media:CQRCK701-ROHS.rar]]<br />
<br />
[[Media:CQRCK701-CE-EMC.rar]]<br />
----<br />
<br />
=='''Driver File Download'''==<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Linux_Driver.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Mac_Driver.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows CE_Driver.rar]]<br />
<br />
[[Media:CQRCK701_CQRCK702_CQRCK703_Windows7, 8, 10, 11_Driver.rar]]<br />
<br />
[[Media:CQRCK701_Windows98ME.rar]]<br />
<br />
[[Media:CQRCK701_WIN7,8,10_v2.12.26_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows2000_2.06.00_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows_XP_Vista_Server2003_Server2008_2.08.24_WHQL_Certified.rar]]<br />
----<br />
<br />
=='''Regulare Failure and Failure Elimination'''==<br />
<br />
'''1. Communication failure:'''<br />
<br />
*A. Check the USB port with connecting righe;<br />
*B. Check RS422/RS485 Output with connecting right;<br />
*C. Check the power of device;<br />
*D. Check the Terminal blocks work;<br />
*E. Check the indicator flicker when receiving;<br />
*F. Check the indicator flicker when sending;<br />
<br />
'''2. Data loss or date fault:'''<br />
<br />
*A. Check the data transmission utilization ratio with same format.<br />
<br />
----<br />
<br />
=='''Interface and Signal'''==<br />
[[image:CQRCK701-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Connection Instruction'''==<br />
[[image:CQRCK701-6.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRCK701-7.jpg|thumb|1200px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:CQRCK701_WIN11_Driver.rar&diff=4200File:CQRCK701 WIN11 Driver.rar2023-05-05T05:55:33Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS422_or_RS485_Adapters_Cable_SKU:_CQRCK701_CQRCK702_CQRCK703&diff=4199USB to RS422 or RS485 Adapters Cable SKU: CQRCK701 CQRCK702 CQRCK7032023-05-05T05:54:52Z<p>Chenqi: /* Driver File Download */</p>
<hr />
<div>[[File:USB to RS422 or RS485.jpg| right |thumb|200px USB to RS422 or RS485]]<br />
=='''Description'''==<br />
With the continuous development of the PC industry, USB interface is substituting the old industrial and low speed PC interface, but there are so much important equipment still use the RS422 or RS485 interface in the industrial environment. So many users have to use the USB to RS422 or RS485 converter to realize the data transfer between PC and RS422 or RS485 equipment.<br />
<br />
USB to RS422 or RS485 is auniversal converter of USB to RS422 or RS485 which is without addition power supply, compatible with USB, RS422, RS485 standards, It can convert USB signals to a balanced differential RS422 or RS485 signals. Each line has surge protection, and various surge voltage protections. The tiny capacitance distance RS422 or RS485 interface of high-speed transmission. RS422, RS485 connect by RJ45 and DB9 interface. Converter with zero delay automatic transceiver inside, unique I/O circuit automatically control data flow direction, without any handshake signals (such as RTS, DTR, etc.) and jumpers set realize full-duplex, half-duplex mode conversion, plug and play. Ensure the product fix for all existing communication software and hardware interface.<br />
<br />
USB to RS422 or RS485 converters for point-to-point, point-to-mujlti point reliable communlcations. Provides the point to more each converter allows connecting 32 RS422 or RS485 devices, data rate of 300 to 921600bps. The power and data flow indicator light will show fault if any breakdown. Support of com-munication has USB to RS422 USB to RS485.<br />
----<br />
=='''Funcition'''==<br />
Interface converter can provide point-to-point, point-to-multipoint communication and provide reliable connections. Point-to-multipoint each converter can be connected to 32 RS422 or RS485 interface devices, transfer rates: 921600bps to 300M, 38400bps to 600M, 9600bps to 1.2KM, with power indicator light and quantity indicator can indicate the fault condition. Supported communication methods are USB to RS422, USB to RS485 conversion;<br />
<br />
'''USB to RS422 or RS485 converter supports about four kinds of communication:'''<br />
*point to point - four full-duplex<br />
*point to multi-point - four full-duplex<br />
*point to point - two half-duple<br />
*point to multi-point - two half-duplex<br />
'''When the converter is working at full-duplex, need to add a matched resustance to avoid reflects and disturbance of signal.(120Ω, 1/4W)'''<br />
----<br />
=='''Installtion and Utilization'''==<br />
<br />
*Support Windows98 / Windows2000 / XP / Vista / Win7 / Win8 / Win10 / ME, Linux, MAC, Android, Arduino. Support two-way transmission, support 32/64 bit systems.<br />
*Pro grade USB to RS422 or RS485 converter. It easily lets you connect any RS485 or RS422 device directly to your computer's USB port.<br />
*Ideal for industrial environments, the serial port converter provides 15KV ESD protection on all signal pins to protect costly and often sensitive control equipment against electrical damage.<br />
*It is designed with a high performance quality processor chip (FTDI Chipset) and conversion circuitry which makes this USB to RS485 converter one of the most reliable adapters on the market.<br />
<br />
Please read carefully product manual before install CQRCK701 converter, the insert USB cable which attached to USB port. This product USB/DB9, general connectros for input/output interface without jumpers, automatically identify RS422 or RS485 communication mode. Fit for twisted-pair cable or shielding wire connection , very convenient to disassemble. Point-to-point, and RXD+, RXD-, point-to-point to more, half-duplex communic-ation that connect two lines T/R+, T/R-.<br />
<br />
'''Application'''<br />
<br />
*Camera / Label Printer / Scanner<br />
*Laptop PC / POS Machine / SCM<br />
*Fingerprint Attendance / Machine Scanning Machine<br />
*CNC Machine / Instrumentation<br />
<br />
DIY Electronic Equipment, Shopping Malls, Office Space, Security Systems, Factory Automation System, Distributed Control System, Other 485/422 Serial Device Wireless Network, LED INFO Display Equipments, PLC Control and Management, SCADA, Measuring Instruments and Monitoring system, CNC Management, Medical Treatment/Medication Automation, Building Automation, Check on work Attendance/Human Resource Management etc.<br />
----<br />
=='''Specification'''==<br />
*Standards: Compliant with USB 2.0, downward compatibility, and standard RS422, RS485.<br />
*USB signal: VCC, DATA+, DATA-, GND<br />
*RS422 signal: T/R+, T/R-, RXD+, RXD, GND<br />
*RS485 signal: T/R+, T/R, GND<br />
*Working mode: asynchronous working, point-to-point or point-to-more, full duplex 4-line, half duplex 2-line.<br />
*Directional control: Using data flow automatic control technology, automatic control and data transmission criterion.<br />
*Band Rate: 300-921600bps, automatically detects serial signal rate.<br />
*Load capacity: support to more each converter allows connecting 32 RS422 interface RS485 or equipment.<br />
*Transmission range: 1200meter of RS422/485, 5m of USB cable.<br />
*Interface Protection: 600W surge protection, Plus/Minus 15KV Esd protection.<br />
*Interface: USB A Male, DB9 Male.<br />
*Signal indication: red for power, green for data sending, yellow for data receiving.<br />
*Transmission media: twisted-pair or shielded wire.<br />
*Transmission rate: 921600bps at 300M, 38400bps at 600M, 9600bps at 1.2KM.<br />
*Size: 1.2M length.<br />
*Operating environment: -25 Degree Celsius to 70 Degree Celsius, relative humidity at 5% to 95%.<br />
----<br />
=='''Certification Documents'''==<br />
[[Media:CQRCK701-FCC.rar]]<br />
<br />
[[Media:CQRCK701-ROHS.rar]]<br />
<br />
[[Media:CQRCK701-CE-EMC.rar]]<br />
----<br />
<br />
=='''Driver File Download'''==<br />
[[Media:CQRCK701_Linux.rar]]<br />
<br />
[[Media:CQRCK701_WinCE_Driver.rar]]<br />
<br />
[[Media:CQRCK701_Windows98ME.rar]]<br />
<br />
[[Media:CQRCK701_MACOS_Driver.rar]]<br />
<br />
[[Media:CQRCK701_WIN11_Driver.rar]]<br />
<br />
[[Media:CQRCK701_WIN7,8,10_v2.12.26_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows2000_2.06.00_WHQL_Certified.rar]]<br />
<br />
[[Media:CQRCK701_Windows_XP_Vista_Server2003_Server2008_2.08.24_WHQL_Certified.rar]]<br />
----<br />
<br />
=='''Regulare Failure and Failure Elimination'''==<br />
<br />
'''1. Communication failure:'''<br />
<br />
*A. Check the USB port with connecting righe;<br />
*B. Check RS422/RS485 Output with connecting right;<br />
*C. Check the power of device;<br />
*D. Check the Terminal blocks work;<br />
*E. Check the indicator flicker when receiving;<br />
*F. Check the indicator flicker when sending;<br />
<br />
'''2. Data loss or date fault:'''<br />
<br />
*A. Check the data transmission utilization ratio with same format.<br />
<br />
----<br />
<br />
=='''Interface and Signal'''==<br />
[[image:CQRCK701-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Connection Instruction'''==<br />
[[image:CQRCK701-6.jpg|thumb|1200px| center]]<br />
----<br />
[[image:CQRCK701-7.jpg|thumb|1200px| center]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:PZSRS232-A-8.jpg&diff=4198File:PZSRS232-A-8.jpg2023-02-15T05:28:58Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=USB_to_RS232_Serial_Port_Adapter_Cable_SKU:_PZSRS232-A&diff=4197USB to RS232 Serial Port Adapter Cable SKU: PZSRS232-A2023-02-15T05:28:34Z<p>Chenqi: /* DataSheet */</p>
<hr />
<div>=='''Description'''==<br />
With the continuous development of PC industry, USB interface is gradually replacing the old industrial low-speed PC interface, which makes DB9 serial connection more difficult to access the new computer system. But in the actual industrial environment, there are still many important devices that need to use RS232 interface.<br />
<br />
The USB2.0 to RS232 serial port product is an enhanced universal asynchronous transceiver transmission standard product. The USB interface fully conforms to the full speed USB 2.0 specification, supports full speed data transmission rate, and the serial port conforms to the RS232 standard interface. It provides us with an external plug and play RS-232 serial port, which is connected to the computer by connecting the USB interface to the DB9 serial port, thus allowing you to release the existing serial port, And easily use the adapter with the serial port. It can be used for RS232 serial port devices such as cash register, LED display screen, CNC machine tools, industrial machines, industrial instruments, bar code printers, etc., to realize the connection between computers and various serial port devices.<br />
----<br />
=='''Features'''==<br />
*Adopt industrial grade conductor structure, aluminum foil and 80B tinned copper braid double shielding, gold-plated interface anti-oxidation and corrosion resistance, environmental protection PVC outer cover is easy to curl, anti-winding and tensile;<br />
*Built-in PL2303GT chip ensures stable signal transmission and normal use in complex electromagnetic environment without interference;<br />
*The converter is equipped with zero-delay automatic transceiver conversion, which supports super large data transceiver buffer function to ensure high-speed data transmission without delay and provide reliable connection for communication;<br />
*Automatic control of data flow direction through I/O circuit can easily realize mode conversion, with circuit integrated ESD protection, support handshaking protocol control, and can automatically detect the baud rate of serial port signal;<br />
*This product has USB bus self-power supply, no power supply, plug and play, to achieve better docking.<br />
----<br />
=='''DataSheet '''==<br />
[[Media: PL2303GT.pdf]]<br />
----<br />
=='''DataSheet '''==<br />
[[Media:PZSRS232-A_Windows_A.rar]]<br />
<br />
[[Media:PZSRS232-A_Mac.rar]]<br />
<br />
[[Media:PZSRS232-A_Linux.rar]]<br />
<br />
[[Media:PZSRS232-A_Android SDK.rar]]<br />
----<br />
=='''Interface and Signal'''==<br />
[[image:PZSRS232-A-8.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specificationn'''==<br />
*Operating temperature: - 40 celsius degree to 85 celsius degree<br />
*Working Voltage: 5V<br />
*Working Current: 200mA<br />
*Chipset: PL2303GT<br />
*Baud Rate: 300bps to 1000000bps<br />
*Circuit Integrated ESD Protection: ± 15KV IEC1000-4-2 air gap discharge; ± 8KV IEC1000-4-2 contact discharge<br />
*Tensile Test: 20 KG<br />
*Material: epoxy glass fiber double-sided board<br />
*Wire Material: aluminum foil and 80B tinned copper<br />
*Color: transparent green<br />
*Cable Length: 1.8m<br />
*Supported Systems: Android SDK, Linux, Mac, Windows<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:PZSSD002-1-2.jpg&diff=4196File:PZSSD002-1-2.jpg2023-01-15T15:29:12Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4195Serial Data Logger SKU: PZSSD0022023-01-15T15:28:57Z<p>Chenqi: /* Product Display */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-2.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
<br />
'''2. Raspberry Pi Connection Method'''<br />
<br />
[[File:PZSSD002-5.jpg|600px]]<br />
<br />
'''2.1 Initialize the UART first, and enter the command sudo raspi-config----->3 Interface Options---->I6 serial Port--->No---->Yes---->Finish in the terminal'''<br />
<br />
[[File:PZSSD003-3.jpg|600px]]<br />
<br />
[[File:PZSSD003-4.jpg|600px]]<br />
<br />
'''2.2 Serial port to send data'''<br />
<br />
Enter the Raspberry Pi terminal, execute the following command to open the serial port software<br />
<br />
<pre><br />
sudo apt-get install minicom<br />
sudo minicom -D /dev/ttyS0<br />
</pre><br />
<br />
[[File:PZSSD003-5.jpg|600px]]<br />
<br />
Press Ctrl+A--->Z--->E key<br />
<br />
[[File:PZSSD003-6.jpg|600px]]<br />
<br />
Connect the Pzsmocn serial port data recording module as above, when we send data to the serial port, the SLED light on the module will flicker, and the data will be saved in the SD card of the module, insert the SD card into the computer and open the text under the FILE file to see saved data.<br />
<br />
[[File:PZSSD003-7.jpg|600px]]<br />
<br />
[[File:PZSSD003-8.jpg|600px]]<br />
<br />
<br />
'''3. Frequently Asked Questions'''<br />
<br />
<br />
*The CONFIG.TXT file cannot be automatically generated when the module is powered on. Confirm whether the USB host is used to supply power to the module.<br />
*The SD light does not light up when writing data to the module quickly. A: The SD card has a lifespan of 100,000 times of erasing and writing. To ensure the life of the SD card, the module writes data to the SD card about 50ms or 512 bytes once.<br />
*When does the module enter the USB disk mode? When to enter data storage mode? A: When using a USB host to connect the module, the module enters the U disk mode, and at this time, data cannot be stored in it, and the CONFIG.TXT file and new blank files will not be automatically generated when the power is turned on. In other cases, the module enters the data storage mode. If the module does not have a CONFIG.TXT file, it will automatically generate a CONFIG.TXT file and a new blank file.<br />
*How to solve the garbled characters of recorded data? A: Check if the format you open is UTF-8. This module can only record character data, if you write raw data or hex data, it will form garbled characters.<br />
<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4194Serial Data Logger SKU: PZSSD0022023-01-15T12:18:58Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
<br />
'''2. Raspberry Pi Connection Method'''<br />
<br />
[[File:PZSSD002-5.jpg|600px]]<br />
<br />
'''2.1 Initialize the UART first, and enter the command sudo raspi-config----->3 Interface Options---->I6 serial Port--->No---->Yes---->Finish in the terminal'''<br />
<br />
[[File:PZSSD003-3.jpg|600px]]<br />
<br />
[[File:PZSSD003-4.jpg|600px]]<br />
<br />
'''2.2 Serial port to send data'''<br />
<br />
Enter the Raspberry Pi terminal, execute the following command to open the serial port software<br />
<br />
<pre><br />
sudo apt-get install minicom<br />
sudo minicom -D /dev/ttyS0<br />
</pre><br />
<br />
[[File:PZSSD003-5.jpg|600px]]<br />
<br />
Press Ctrl+A--->Z--->E key<br />
<br />
[[File:PZSSD003-6.jpg|600px]]<br />
<br />
Connect the Pzsmocn serial port data recording module as above, when we send data to the serial port, the SLED light on the module will flicker, and the data will be saved in the SD card of the module, insert the SD card into the computer and open the text under the FILE file to see saved data.<br />
<br />
[[File:PZSSD003-7.jpg|600px]]<br />
<br />
[[File:PZSSD003-8.jpg|600px]]<br />
<br />
<br />
'''3. Frequently Asked Questions'''<br />
<br />
<br />
*The CONFIG.TXT file cannot be automatically generated when the module is powered on. Confirm whether the USB host is used to supply power to the module.<br />
*The SD light does not light up when writing data to the module quickly. A: The SD card has a lifespan of 100,000 times of erasing and writing. To ensure the life of the SD card, the module writes data to the SD card about 50ms or 512 bytes once.<br />
*When does the module enter the USB disk mode? When to enter data storage mode? A: When using a USB host to connect the module, the module enters the U disk mode, and at this time, data cannot be stored in it, and the CONFIG.TXT file and new blank files will not be automatically generated when the power is turned on. In other cases, the module enters the data storage mode. If the module does not have a CONFIG.TXT file, it will automatically generate a CONFIG.TXT file and a new blank file.<br />
*How to solve the garbled characters of recorded data? A: Check if the format you open is UTF-8. This module can only record character data, if you write raw data or hex data, it will form garbled characters.<br />
<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4193Serial Data Logger SKU: PZSSD0022023-01-15T12:17:36Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
<br />
'''2. Raspberry Pi Connection Method'''<br />
<br />
[[File:PZSSD002-5.jpg|600px]]<br />
<br />
'''2.1 Initialize the UART first, and enter the command sudo raspi-config----->3 Interface Options---->I6 serial Port--->No---->Yes---->Finish in the terminal'''<br />
<br />
[[File:PZSSD003-3.jpg|600px]]<br />
<br />
[[File:PZSSD003-4.jpg|600px]]<br />
<br />
'''2.2 Serial port to send data'''<br />
<br />
Enter the Raspberry Pi terminal, execute the following command to open the serial port software<br />
<br />
<pre><br />
sudo apt-get install minicom<br />
sudo minicom -D /dev/ttyS0<br />
</pre><br />
<br />
[[File:PZSSD003-5.jpg|600px]]<br />
<br />
Press Ctrl+A--->Z--->E key<br />
<br />
[[File:PZSSD003-6.jpg|600px]]<br />
<br />
Connect the Pzsmocn serial port data recording module as above, when we send data to the serial port, the SLED light on the module will flicker, and the data will be saved in the SD card of the module, insert the SD card into the computer and open the text under the FILE file to see saved data.<br />
<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4192Serial Data Logger SKU: PZSSD0022023-01-15T12:16:46Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
<br />
'''2. Raspberry Pi Connection Method'''<br />
<br />
[[File:PZSSD002-5.jpg|600px]]<br />
<br />
'''2.1 Initialize the UART first, and enter the command sudo raspi-config----->3 Interface Options---->I6 serial Port--->No---->Yes---->Finish in the terminal'''<br />
<br />
[[File:PZSSD003-3.jpg|600px]]<br />
<br />
[[File:PZSSD003-4.jpg|600px]]<br />
<br />
'''2.2 Serial port to send data'''<br />
<br />
Enter the Raspberry Pi terminal, execute the following command to open the serial port software<br />
<br />
<pre><br />
sudo apt-get install minicom<br />
sudo minicom -D /dev/ttyS0<br />
</pre><br />
<br />
[[File:PZSSD003-5.jpg|600px]]<br />
<br />
Press Ctrl+A--->Z--->E key<br />
<br />
[[File:PZSSD003-6.jpg|600px]]<br />
<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4191Serial Data Logger SKU: PZSSD0022023-01-15T12:14:54Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
<br />
'''2. Raspberry Pi Connection Method'''<br />
<br />
[[File:PZSSD002-5.jpg|600px]]<br />
<br />
'''2.1 Initialize the UART first, and enter the command sudo raspi-config----->3 Interface Options---->I6 serial Port--->No---->Yes---->Finish in the terminal'''<br />
<br />
[[File:PZSSD003-3.jpg|600px]]<br />
<br />
[[File:PZSSD003-4.jpg|600px]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=File:PZSSD002-5.jpg&diff=4190File:PZSSD002-5.jpg2023-01-15T12:10:20Z<p>Chenqi: </p>
<hr />
<div></div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4189Serial Data Logger SKU: PZSSD0022023-01-15T12:10:07Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
<br />
'''2. Raspberry Pi Connection Method'''<br />
<br />
[[File:PZSSD002-5.jpg|600px]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4188Serial Data Logger SKU: PZSSD0022023-01-15T12:09:03Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
<br />
[[File:PZSSD003-2.jpg|800px]]<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4187Serial Data Logger SKU: PZSSD0022023-01-15T12:08:07Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results'''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
----</div>Chenqihttp://www.cqrobot.wiki/index.php?title=Serial_Data_Logger_SKU:_PZSSD002&diff=4186Serial Data Logger SKU: PZSSD0022023-01-15T12:07:35Z<p>Chenqi: /* Example and Test Code */</p>
<hr />
<div>[[File: PZSSD002.jpg| right |thumb|200px|Serial Data Logger V1]]<br />
=='''Introduction'''==<br />
Compared to the previous MicroSD Card Module, this Pzsmocn serial data logger V1 can store data more conveniently, and supports direct data printing through serial port without additional codes.<br />
<br />
The Pzsmocn serial data logger V1 supports 32GB TF card, Onboard high-performance AC6925B chip, making it suitable for long-time data storage. It comes with a USB function, which means you can directly connect it to a PC to read the stored files without using a card reader. Meanwhile, with the onboard LED indicator, data writing status can be viewed visually. And the onboard SAVE pin makes it easier to store data into separate files.<br />
<br />
'''AC6925B Chip Specification Download'''<br />
<br />
[[Media: AC6925B Datasheet V1.0.pdf]]<br />
----<br />
=='''Application'''==<br />
*Offline Data Collection<br />
*Capture Product Debug Logs<br />
*Robots and Drones Debug<br />
----<br />
=='''Product Display'''==<br />
<br />
[[image:PZSSD002-1-1.jpg|thumb|1200px| center]]<br />
----<br />
<br />
=='''Specifications'''==<br />
*Model: PZSSD002<br />
*Main Chip: AC6925B<br />
*Supply Voltage: 3.3V to 5V<br />
*Operating Current: 23mA<br />
*USB Protocol: USB2.0<br />
*Operating Temperature Range: -30 Degree Celsius to +85 Degree Celsius<br />
*Operating Humidity Range: 5%RH to 85%RH<br />
*Support: 32GB TF card<br />
*Dimension: 23.5mm * 25mm<br />
*Mounting Hole Size: 3.0mm<br />
----<br />
=='''Pin Description'''==<br />
'''Note: The SD LED indicator is an indicator for data interaction between the module and the storage, and the light flashes when data is written or a new file is created.'''<br />
<br />
<br />
[[image:PZSSD002-2.jpg|thumb|1200px| center]]<br />
<br />
----<br />
=='''First Time Using'''==<br />
*If the storage is not formatted, please format the storage first, the file system is FAT32.<br />
*Power on the module for more than 2S (non-USB host), so that the module will automatically generate the CONFIG.TXT file, and the SD light will flash once.<br />
*Check whether the CONFIG.TXT file is generated normally. You can modify the communication baud rate and file storage name of the module by modifying CONFIG.TXT.<br />
<br />
[[File:PZSSD003-1.jpg|400px]]<br />
<br />
*Baud: Serial communication baud rate selection (00 corresponds to 2400 baud rate, 01 corresponds to 4800 baud rate), the module baud rate matches the main control serial port printing baud rate to store data normally.<br />
*FIleNum: The file serial number of the next new file (FileNum=0099, the next generated file name is FILE0099.txt), if the file already exists, it will skip this file and continue to search.<br />
<br />
'''Notice'''<br />
<br />
*Do not send data to the serial port of the module before the CONFIG.TXT file is generated.<br />
*Do not connect USB and serial port at the same time.<br />
*Connect to the computer via USB, it is recommended to eject the U disk and then pull out the module.<br />
----<br />
=='''Example and Test Code'''==<br />
'''1. Arduino Connection Method'''<br />
<br />
Note: The DuPont wire female single-head wiring we distribute cannot be directly connected to the UNO R3 control board. When wiring, it is necessary to stack the sensor expansion board on the UNO R3 control board, or connect the male-to-male Dupont wire (bread wire) on the Dupont wire female single-head wiring.<br />
<br />
In the experiment, we connected the interface of the sensor to the UNO R3 control board.<br />
<br />
[[File:PZSSD002-4.jpg|600px]]<br />
<br />
'''1.1 Download and Run the Test Examples'''<br />
<br />
[[Media: PZSSD002_Arduino_Code_A.rar]]<br />
<br />
<br />
'''1.2 Arduino test code'''<br />
<br />
<pre><br />
#define SPIN 6 //Connect the S pin of the module, and the low level triggers to save the file.<br />
uint16_t i = 0;<br />
void setup(void){<br />
Serial.begin(9600);<br />
delay(2000); //To prevent data loss, delay for a period of time and wait for the module to start.<br />
pinMode(SPIN, OUTPUT);<br />
digitalWrite(SPIN, HIGH);}<br />
void loop(void){<br />
Serial.println(String(i));<br />
i++;<br />
if((i % 10) == 0){<br />
digitalWrite(SPIN, LOW);<br />
delay(500);<br />
digitalWrite(SPIN, HIGH);<br />
}<br />
delay(300);<br />
}<br />
</pre><br />
<br />
'''1.3 Test methods and results''<br />
<br />
Upload the program to the Arduino control board, first connect VCC and GND, then the S LED light of the module will flash once; Save the data once; insert the SD into the computer and open the text under the FILE file to see the saved data.<br />
----</div>Chenqi