{"product_id":"tiny-drive-v1-sbus-ppm-1-5a-dual-motor-controller","title":"TinyDrive v1 - SBUS\/PPM 1.5A Dual Motor ESC \/ Controller","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eTinyDrive is the first all in one dual-motor controller for small robotic platforms.\u003cbr\u003eThe board is supporting SBUS and PPM RC receivers, 1.5A motor outputs, Headlight Output, Protected battery input and motor outputs. \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch1\u003e\n\u003cspan style=\"text-decoration: underline;\" data-mce-style=\"text-decoration: underline;\"\u003eConnections\u003c\/span\u003e\u003cbr\u003e\n\u003c\/h1\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/tinydrive_schematic_480x480.png?v=1610797860\" alt=\"TinyDrive Schematic\" data-mce-src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/tinydrive_schematic_480x480.png?v=1610797860\"\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eBattery Connection:\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eTinyDrive battery input is reverse protected and compatible with 3.3-11 volts batteries. The default firmware is expecting 1S or 2S Lithium batteries and the controller will stop working and double blink continuously under 3.2v per cell (6.4v for 2S LiPo) to avoid battery failures.  You can also use 3xAA or 4xAA battery packs until 3.2volts. \u003cbr\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMotor Connection:\u003c\/strong\u003e\u003cbr\u003eYou can connect any brushed motors to the motor pads including the hacked RC servos, N20 and yellow plastic geared robotic motors. The motor pads are marked as A \u0026amp; B instead of + \u0026amp; - use to the bidirectional usage.  The maximum output is 1.5A per motor and onboard DRV8835 IC has internal current and reverses supply protection.\u003cbr\u003eThe motor outputs are connected to CH1 and CH2. These outputs are mixed in default and Tiny Drive will calculate the correct output for tank-like platforms. You can switch to non-mixed mode if you want to mix on your transmitter or want to use with a toy car. (motor 1 for the throttle, motor 2 for the steering) \u003cspan data-mce-fragment=\"1\"\u003e(see mixer mode selection section)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cbr\u003e\u003cstrong\u003eRC Receiver Connection:\u003cbr\u003e\u003c\/strong\u003eTinyDrive is pin to pin compatible with FrSky XM+ SBUS receivers for a compact installation into small places.  You can also use any SBUS or PPM receiver. TinyDrive will detect the signal type automatically. The receiver supply pin is 3.3v regulated, you can supply your receiver over the battery(+) pin if your receiver is not supporting 3.3v and requesting higher voltage to operate. Please check your receiver's manual for the details.  \u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHeadlight\/Buzzer Connection:\u003cbr\u003e\u003c\/strong\u003eThe headlight output is a \u003cspan data-mce-fragment=\"1\"\u003eproportional(CH3) PWM output to drive small loads. It's connected to the battery voltage over 10 Ohm resistor by a transistor. The resistor will limit the output current for maximum 1\/10 of the supply voltage.  It's ideal to control headlights or locator buzzer\/horn etc. \u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSmall Pads\u003cbr\u003e\u003c\/strong\u003eThe pads are connected to D13, D12, D11, D10 pins of the Atmega328P microcontroller. They don't have any feature in the default firmware.\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eI2C Pads (on the backside)\u003cbr\u003e\u003c\/strong\u003eThis is the expansion port for the customised firmware. \u003cbr\u003eThe default firmware is using SDA \u0026amp; SCL pads for the mixer mode selection\u003cspan data-mce-fragment=\"1\"\u003e(see mixer mode selection section) and PWM output. \u003cbr\u003eYou can connect two servos\/ESC\/RC device to SDA and SCL pins to control over CH4 and CH5. \u003cbr\u003e\u003cspan style=\"color: #ff2a00;\"\u003eWarning: Don't connect any servo or similar high current device to the onboard 3.3v power supply. You must supply them separately. \u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan data-mce-fragment=\"1\"\u003e\u003cspan style=\"color: #ff2a00;\"\u003eWarning 2: Some servos may activate the mixer mode selection on startup. Prefer SDA instead of SLC pin if only one servo required. \u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e   \u003c\/p\u003e\n\u003ch2\u003e\u003cspan style=\"text-decoration: underline;\" data-mce-style=\"text-decoration: underline;\"\u003eMixer Modes\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003eThere are 2 different mixer modes on TinyDrive.\u003cbr\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cstrong\u003eThe mixed-mode(Default)\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cp\u003eThe mixed-mode will use simple math to drive motors by CH1 and CH2  stick commands. You can use standard RC transmitter settings and the controller will calculate the PWM values for a dual motor tank like platforms. \u003c\/p\u003e\n\u003cp\u003e\u003cimg alt=\"TinyDrive Mixed Dual Motor\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/IMG_20210115_193053_480x480.png?v=1610834218\" data-mce-src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/IMG_20210115_193053_480x480.png?v=1610834218\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe mixer math:\u003cbr\u003emotor1_output = m_throttle + m_direction; \u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003emotor1_\u003c\/span\u003e\u003cspan data-mce-fragment=\"1\"\u003eoutput\u003c\/span\u003e = m_throttle - m_direction; \u003cbr\u003e\u003c\/p\u003e\n\u003ch3\u003e\n\u003cbr\u003e\u003cstrong\u003eThe direct-mode\u003c\/strong\u003e\n\u003c\/h3\u003e\n\u003cp\u003eThe direct-mode will calculate motor PWM values without mixing.  You can mix CH1 and CH2 on your transmitter for dual motor platforms or use it directly to hack toy cars\u003cspan data-mce-fragment=\"1\"\u003e(motor 1 for the throttle, motor 2 for the steering)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan data-mce-fragment=\"1\"\u003e\u003cimg alt=\"TinyDrive Toy Car Setup\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/IMG_20210116_193102_480x480.png?v=1610834278\" data-mce-src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/IMG_20210116_193102_480x480.png?v=1610834278\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003ch3\u003eMixer Mode Selection\u003cbr\u003e\n\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eConnect the battery when holding SDA and SCL connected by a tweezer\/cable.\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003eThe mixer mode will toggle between two modes above and recorder to the internal EEPROM\u003c\/li\u003e\n\u003cli\u003eThe green onboard led will start blinking continuously to tell you the process has done. \u003c\/li\u003e\n\u003cli\u003eYou can remove the tweezer now. \u003c\/li\u003e\n\u003cli\u003eUnplug the battery and plug again to continue.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003e\u003cspan style=\"text-decoration: underline;\" data-mce-style=\"text-decoration: underline;\"\u003eArduino Programming\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003eThe board is based on Atmega328P microcontroller and running Arduino Pro Mini 5v\/16mhz Bootloader for custom firmware development.\u003c\/p\u003e\n\u003cp\u003eThe reset pad is not accessible by the pin headers, so you must shortcut to the ground and release by hand(tweezer or cable)  when you see \"Uploading\" message on Arduino IDE. Alternatively, follow the process below.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eArduino Firmware Upload Process:\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSelect \"\u003cspan data-mce-fragment=\"1\"\u003eArduino Pro Mini 5v\/16mhz\" from Tools\u0026gt;Board\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan data-mce-fragment=\"1\"\u003eConnect \u003c\/span\u003eTx, Rx and GND pin the FTDI adapter\u003c\/li\u003e\n\u003cli\u003eUnplug the battery\u003c\/li\u003e\n\u003cli\u003ePress the Upload button and wait for compiling\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003ePlug the battery immediately when you see \"Uploading...\" message\u003c\/li\u003e\n\u003cli\u003eFTDI LEDs will start blinking and you will see \"Done Uploading\" message in a few seconds.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cbr\u003eRX pin connected to the microcontroller over an XOR gate and the second pin of the gate connected to A3 pin of the microcontroller. The RX input will be inverted for SBUS protocol when A3 is High. \u003cbr\u003e\u003cbr\u003eTX and D2 pins are connected. Serial TX must be disabled by the command below to use the port as D2 IO or External Interrupt(0). \u003c\/p\u003e\n\u003cp\u003eUCSR0B \u0026amp;= ~(1\u0026lt;\u0026lt;TXEN0);  \u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/files\/tiny_drive_arduino_pinouts_480x480.png?v=1610796702\" alt=\"Tiny Drive Arduino Pinouts\"\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAutomatic SBUS \/ PPM receiver detection.\u003c\/li\u003e\n\u003cli\u003eSupporting Ch1,Ch2 (motors) and Ch3(LED\/Buzzer output.\u003c\/li\u003e\n\u003cli\u003eSelectable Mixed \/ Direct motor outputs. (see mixer mode selection section)\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan\u003eDimmable LED Headlight \/ Buzzer output: max. 300mA @ 3.7v \u003c\/span\u003e\u003cspan\u003e(10 Ohm resistor limited.) \u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eDual-H-bridge motor driver: can drive two DC motors.\u003c\/li\u003e\n\u003cli\u003eBattery supply voltage: 3.3 V to 11 V\u003c\/li\u003e\n\u003cli\u003eOutput current: 1.2 A continuous (1.5 A peak) per motor\u003c\/li\u003e\n\u003cli\u003eMotor Shortcut, Battery Reverse and LiPo cell drain protections.\u003c\/li\u003e\n\u003cli\u003eATMEGA328P microcontroller. Arduino Pro Mini Bootloader installed.\u003c\/li\u003e\n\u003cli\u003eDRV8835 motor driver. \u003c\/li\u003e\n\u003cli\u003eI2C \/ Analog Input pads for sensor extension (you need a supporting firmware)\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003eSPI\/ 4x IO pads for extension\u003c\/li\u003e\n\u003cli\u003eOnboard 1\/11 voltage divider to measure the battery voltage.\u003c\/li\u003e\n\u003cli\u003e200mA 3.3V LDO voltage regulator.\u003c\/li\u003e\n\u003cli\u003eDimensions: \u003cspan data-mce-fragment=\"1\"\u003e24 x 17 x 2.5mm\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eWeight: 2 grams\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"Flytron","offers":[{"title":"Default Title","offer_id":37915492155581,"sku":"TinyDv1","price":19.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0333\/9219\/7763\/products\/IMG_20210116_202321.png?v=1610833976","url":"https:\/\/flytron.com\/products\/tiny-drive-v1-sbus-ppm-1-5a-dual-motor-controller","provider":"Flytron","version":"1.0","type":"link"}