Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
tinyidiot [2018/12/19 12:31] – created yair | tinyidiot [2018/12/26 14:55] – yair | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | TinyIdiot | + | ====== |
tinytony for esp8266 | tinytony for esp8266 | ||
- | drv8830 [[http:// | + | |
- | built of work by sparkfun minimoto breakout [[https:// | + | {{: |
+ | |||
+ | ==== drv8833 === | ||
+ | https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== drv8830==== | ||
+ | drv8830 [[http:// | ||
+ | built of work by sparkfun | ||
{{: | {{: | ||
- | | + | |
##wiring | ##wiring | ||
- | ESP | + | ESP DRV 8830 |
- | GPIO 4 | SDA | + | GPIO 4 | SDA |
- | GPIO 5 | SCL | + | GPIO 5 | SCL |
VIN | Vcc | VIN | Vcc | ||
GND | Gnd | GND | Gnd | ||
Line 21: | Line 32: | ||
* **connect to the ESP only with I2C pulled up with 3.3v.** | * **connect to the ESP only with I2C pulled up with 3.3v.** | ||
* Motor (+) and OUT1, motor (-) and OUT2 | * Motor (+) and OUT1, motor (-) and OUT2 | ||
- | * A 1 nF ceramic capacitor between + and - of the motor | + | * A 1 nF (102) ceramic capacitor between + and - of the motor |
* A resistance of 0.2 Ω between ISENSE and GND of the DRV 8830 | * A resistance of 0.2 Ω between ISENSE and GND of the DRV 8830 | ||
- | * 0.1 μF ceramic capacitor between VCC and GND of the DRV 8830 | + | * 0.1 μF (104) ceramic capacitor between VCC and GND of the DRV 8830 |
* A 10 kΩ resistor between SDA and 3.3 v | * A 10 kΩ resistor between SDA and 3.3 v | ||
* A 10 kΩ resistor between SCL and 3.3 v | * A 10 kΩ resistor between SCL and 3.3 v | ||
* 5 V output such as USB serial and VIN of ESP - WROOM - 02 board | * 5 V output such as USB serial and VIN of ESP - WROOM - 02 board | ||
* GND of USB serial etc. and GND of ESP - WROOM - 02 board | * GND of USB serial etc. and GND of ESP - WROOM - 02 board | ||
+ | |||
+ | |||
+ | {{: | ||
+ | "From this table, the write address is 0xC0 and the read address is 0xC1. The device address specified from Arduino will be " | ||
+ | ==== code ==== | ||
+ | https:// | ||
+ | |||
+ | |||
+ | ===i2c issues== | ||
+ | |||
+ | cant get any other address to motors but 0x64 | ||
+ | |||
+ | #define PIN_WIRE_SDA (4) | ||
+ | #define PIN_WIRE_SCL (5) | ||
+ |