Tik internetu
d0439
Nauja prekė
Šis Arduino modulis yra skirtas Arduino implementacijoms, kur reikalinga ne tik valdyti didesnės galios elektroniką, bet ir valdyti srovės kryptį (pvz. variklio sukimosi kryptį). Gali valdyti 2 DC variklius.
Prekių kiekis mūsų sandėlyje: 163  
Dėmesio: Paskutinės prekės!
Pasiekiama:
Suderinama su Arduino™ ir *duino | Taip |
Kanalų skaičius | 2 |
Maksimali valdoma srovė | 1,2A |
Maksimali valdoma įtampa | 15 VDC |
Nominali darbinė įtampa | 5V |
Maitinimo įtampa | 3-5V (DC) |
Maksimali maitinimo įtampa | 5,5V |
Jungties žingsnis | 2,54mm |
Jungties tipas | Male (vyr.) |
Kontaktų kiekis | 16 |
Maksimali srovė | 3,2A |
Naudojami mikrovaldiklio prievadai | iki 7 skaitmeninių I/O |
Pagrindinės funkcijos grandynas | TB6612FNG |
The TB6612FNG motor driver can control up to two DC motors at a constant current of 1.2A (3.2A peak). Two input signals (IN1 and IN2) can be used to control the motor in one of four function modes - CW, CCW, short-brake, and stop. The two motor outputs (A and B) can be separately controlled, the speed of each motor is controlled via a PWM input signal with a frequency up to 100kHz. The STBY pin should be pulled high to take the motor out of standby mode.
Logic supply voltage (VCC) can be in the range of 2.7-5.5VDC, while the motor supply (VM) is limited to a maximum voltage of 15VDC. The output current is rated up to 1.2A per channel (or up to 3.2A for a short, single pulse).
Board comes with all components installed as shown. Decoupling capacitors are included on both supply lines. All pins of the TB6612FNG are broken out to two 0.1" pitch headers; the pins are arranged such that input pins are on one side and output pins are on the other.
Features:
//motor A connected between A01 and A02 //motor B connected between B01 and B02 int STBY = 10; //standby //Motor A int PWMA = 3; //Speed control int AIN1 = 9; //Direction int AIN2 = 8; //Direction //Motor B int PWMB = 5; //Speed control int BIN1 = 11; //Direction int BIN2 = 12; //Direction void setup(){ pinMode(STBY, OUTPUT); pinMode(PWMA, OUTPUT); pinMode(AIN1, OUTPUT); pinMode(AIN2, OUTPUT); pinMode(PWMB, OUTPUT); pinMode(BIN1, OUTPUT); pinMode(BIN2, OUTPUT); } void loop(){ move(1, 255, 1); //motor 1, full speed, left move(2, 255, 1); //motor 2, full speed, left delay(1000); //go for 1 second stop(); //stop delay(250); //hold for 250ms until move again move(1, 128, 0); //motor 1, half speed, right move(2, 128, 0); //motor 2, half speed, right delay(1000); stop(); delay(250); } void move(int motor, int speed, int direction){ //Move specific motor at speed and direction //motor: 0 for B 1 for A //speed: 0 is off, and 255 is full speed //direction: 0 clockwise, 1 counter-clockwise digitalWrite(STBY, HIGH); //disable standby boolean inPin1 = LOW; boolean inPin2 = HIGH; if(direction == 1){ inPin1 = HIGH; inPin2 = LOW; } if(motor == 1){ digitalWrite(AIN1, inPin1); digitalWrite(AIN2, inPin2); analogWrite(PWMA, speed); }else{ digitalWrite(BIN1, inPin1); digitalWrite(BIN2, inPin2); analogWrite(PWMB, speed); } } void stop(){ //enable standby digitalWrite(STBY, LOW); }
Šiuo metu klientų atsiliepimų nėra.
44,17€
2,96€
1,90€
13,92€
47,37€
17,30€
4,84€
9,62€
0,58€
2,42€
1,69€
1,69€
2,54€
2,54€
2,54€
1,51€
8,83€
12,95€
3,00€
4,82€
38,72€
2,54€
7,99€
0,97€
2,42€
1,94€
1,69€
0,97€
7,33€
3,63€