Выпрямитель для ветряного генератора для шагового двигателя.
Архивы автора: admin
L298 + ATMega168P = Motor Driver for Rover Z-1.0
// ATmega 168P (Arduino) L298 и 74hc00 struct MOTOR { int in; // INVERTOR INPUT int enable; // ENABLE }; MOTOR MOTOR1 = { 7, 5 }; // D5-PWM, D7-Direction MOTOR MOTOR2 = { 8, 6 }; // D6-PWM, D8-Direction int FORWARD = HIGH; int BACK = LOW; void setup() { pinMode(MOTOR1.in, OUTPUT); pinMode(MOTOR2.in, OUTPUT); } void loop() { motor1(FORWARD, 50); motor2(FORWARD, 50); delay(3000); motor1(BACK, 100); motor2(BACK, 100); delay(5000); } void motor1(int dir, int pwm) { digitalWrite(MOTOR1.in, dir); analogWrite(MOTOR1.enable, pwm); } void motor2(int dir, int pwm) { digitalWrite(MOTOR2.in, dir); analogWrite(MOTOR2.enable, pwm); }
Arduino-PRO дома в DIP корпусе.
Приёмник и передатчик 433МГц.
Приемник:
Model: MX-05V
Working voltage: 5V DC quiescent current: 4mA
Receiver Frequency: 433.92MHZ
Receiver sensitivity:-105DB
Size: 30 * 14 * 7mm
Передатчик:
Model: MX-FS-03V
Transmission Distance :20-200 m (dependent on supply voltage)
Operating Voltage :3.5-12V
Dimensions: 19 * 19mm
AM transfer rate: 4KB / S
Transmission power: 10mW
Emission frequency: 433M
- Описание:
- Купить:
- Library: (local copy:VirtualWire)