KOMPLET tank šasija kovinska DIY Zhiyi

36.99 (DDV vključen)

Arduino KOMPLET – pametna hiša – Lafvin

1 na zalogi

Šifra: ZHIYI-005 Kategorije: , ,
Opis

Opis

STEAM

Opis izdelka:

Kovinska platforma za izdelava vozila z obliko tanka. Vozilo poganjata dva DC motorja z reduktorjem preko tankovskih gosenic. Primerno za osnovo vozila, ki mu dodamo elektroniko in program.

Track Connection and Cut Off

  • Material: plastic
  • Type: Wide and Narrow

There are two types of track as follows. The big difference is that, wide-track has only one hole, and narrow-track has two holes.

Wide Track

track

Important: this track is used for 28mm copper pillar in our metal driving wheel

Narrow Track

sorptrack

Important: this track is used for 17mm copper pillar in our metal driving wheel

How to Cut Off the track

Maybe, when you get the track or tank car chassis, at the beginning, the length of track is not suitable for your requirements. So, you must adjust the length of track. You can do it by the following picture.

trackcut

Notes

  • To pull out the pin, please from the small slot of the track;
  • Please don’t hurt your hand when you you cut off the track;
  • The track can be adjusted the length;
  • The track is connected one by one;
  • there is two types of track: wide track and narrow track, in which, wide track is used for the 28mm copper pillar, and the narrow on is used for 17mm pillar, in our metal driving wheel.
User Manual for 9v DC Motor
from SZDOIT

9V 25GA-370 Motor Parameters

  • Name: 25mm DC carbon brush motor (with Hall sensor code disc)
  • Output rate: 150 ± 10% rpm
  • Load current: 200mA (Max)
  • Stall current: 4500mA (max)
  • Locking torque: 9.5kgNaN
  • Load speed: 100 ± 10% rpm
  • Load torque: 3000gNaN
  • Load current: 1200mA (Max)
  • Load noise: 56dB
  • Working voltage: 9V
  • Shaft extension size: 14.5mm
  • Axial clearance: 0.05-0.50mm
  • Screw size: M3.0
  • Shaft diameter: phi4mm, D3.5
  • Code wheel parameters: 2 pulses / turn
  • Sensor working voltage: 3-5V

9vmotor2

9vmotor3

9vmotor1

Motor Connection

The connection is show in the following picture.

9vmotorconnection

Hall sensor:

This motor has Hall sensor, which can measure the velocity, and give out a feedback. If let the interface (or plug) face to our face, from left to right, the interface meanings are VM (power for motor), GM (grand for motor), V (power for Hall sensor), G (grand for Hall sensor), S1 (the output signal for the 1st Hall sensor), S2 (the output signal for the 2nd Hall sensor)

sensor

Encoder Parameters:

  • working voltage: 5V
  • Type: AB phase incremental hall encoder
  • Line speed: 6 * 70 = 420 (single phase)
  • Features: with pull-up shaping, single chip microcomputer can read directly
  • Interface type: ph2.0 (standard connection line)

How to Test the Motor

There are two methods.

3.1 Use Oscilloscope

When power on the motor, and connect to the Hall sensor of motor, you will see the following wave. This way is very simple.

9vmotor4

3.2 Use Arduino

3.2.1 Connect to UNO

motorcode

3.2.2 Test Code
/*
 * How to test encoder with Arduino
 * url: http://osoyoo.com/?p=30267
 */
 #define outputA 6
 #define outputB 7
 int counter = 0; 
 int aState;
 int aLastState;  
 void setup() { 
   pinMode (outputA,INPUT);
   pinMode (outputB,INPUT);
   
   Serial.begin (9600);
   // Reads the initial state of the outputA
   aLastState = digitalRead(outputA);   
 } 
 void loop() { 
   aState = digitalRead(outputA); // Reads the "current" state of the outputA
   // If the previous and the current state of the outputA are different, that means a Pulse has occured
   if (aState != aLastState){     
     // If the outputB state is different to the outputA state, that means the encoder is rotating clockwise
     if (digitalRead(outputB) != aState) { 
       counter ++;
     } else {
       counter --;
     }
     Serial.print("Position: ");
     Serial.println(counter);
   } 
   aLastState = aState; // Updates the previous state of the outputA with the current state
 }

From the monitor, you can see the output data.

*Very important, when you install the motor to the car chassis, Please choose the M36 screw to fix the motor. By our experience, if you choose the screw is too long, the motor would be stalled, and cannot be run.**

9vmotorconnection1