Smart Car Robot Shield L298P
กดเพื่อขยายขนาด |
|
Smart Car Robot Shield L298P
ใช้ร่วมกับ Arduino Uno R3
รายละเอียด
- มีช่องต่อ Motor 2 ตัว พร้อม Drive L298P
- มีช่องต่อ Servoo Motor 1 ตัว
- มี Buzzer 1 ตัว
- มีช่องต่อ Bluetooth
- มี ช่องต่อ Sensor ต่างๆ
ข้อมูลทางเทคนิค
1. Input voltage logic portion VD: 5 V
2. The driving part of the input voltage VS: VIN Input 6 5 ~ 1 2 V, PWRIN input 4 8 ~ 2 4 V..
3. The logic part of the work current I ss: ≤3 6 m A
4. The driving part of the work current I o: ≤2 A
5. Maximum Power Dissipation: 2 5 W (T = 7 5 ℃)
6. A control signal input level: High: 2 3 V≤V in≤5 V Low: -... 0 3 V≤V in≤1 5 V
7. Working temperature: - 2 5 ℃ ~ + 1 3 0 ℃
8. Drive: Dual high-power H-bridge driver
ตำแหน่ง Pin ต่างๆ
1. board with L298P motor driver chip, the direct digital IO port with the motherboard (D10 .D11. D12. D13), without cumbersome wiring.
2. Onboard beeper (D4), may be provided reversing alarm ringing.
3. Convenient motor interface, the motor output can be two routes.
4. The two-way Bluetooth interface, can be directly inserted, no wiring.
5 out of the D 2, D 3, D 5, D 6, D 7, D 9, D is not occupied by seven digital interface.
6 a A 0 - A 5 six analog interface.
7. forward and back lights are turned.
ตัวอย่างโค๊ตโปรแกรมในการทดสอบ
int E1 = 10;
int M1 = 12;
int E2 =11;
int M2 = 13;
void setup()
{
pinMode(M1, OUTPUT);
pinMode(M2, OUTPUT);
}
void loop()
{
{ int value;
for(value = 0 ; value <= 255; value+=5)
{
digitalWrite(M1,HIGH);
digitalWrite(M2, HIGH);
analogWrite (E1, value); // PWM
analogWrite (E2, value); // PWM
delay(30);
}
delay(1000);}
{ int value;
for(value = 0 ; value <= 255; value+=5)
{
digitalWrite(M1,LOW);
digitalWrite(M2, LOW);
analogWrite (E1, value); // PWM
analogWrite (E2, value); // PWM
delay(30);
}
delay(1000);}
}
Share
Arduino Nano V3.0 ATMEGA328P Arduino Nano V3.0 140.00 บาท |
Arduino UNO R3 MEGA328P ATMEGA16U2 Arduino UNO R3 290.00 บาท |
Arduino Pro Mini 328 Mini Pro Mini 328 Mini 220.00 บาท |
Arduino Mega 2560 R3 Mega 2560 R3 590.00 บาท |
Arduino Nano V3.0 ATMEGA328P-AU 5V 16MHz arduino uno r3 130.00 บาท |
Arduino UNO R3 ATMEGA328P-AU Board + USB cable Arduino UNO R3 180.00 บาท |
ความคิดเห็น: คำแนะนำ: HTML จะไม่ถูกแปลง!
ความนิยม: แย่ ดี
ป้อนรหัสในกล่องข้างล่างนี้: