Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
tinyidiot [2018/12/19 13:05] – [TinyIdiot] yairtinyidiot [2018/12/26 14:55] yair
Line 7: Line 7:
 tinytony for esp8266 tinytony for esp8266
  
 +
 +{{:nodemcu_pins.png?direct&400|}}
 +
 +==== drv8833 ===
 +https://www.pololu.com/product/2130
 +
 +{{:pasted:20181226-125449.png}}
 +
 +==== drv8830====
 drv8830 [[http://www.ti.com/lit/ds/symlink/drv8830.pdf|datasheet]] \\ drv8830 [[http://www.ti.com/lit/ds/symlink/drv8830.pdf|datasheet]] \\
 built of work by sparkfun [[https://github.com/sparkfun/SparkFun_MiniMoto_Arduino_Library|minimoto]] breakout [[https://jiwashin.blogspot.com/2016/09/drive-dc-motor-by-drv8830-and-esp8266.html|and jiwashin]] and [[https://makers-with-myson.blog.so-net.ne.jp/2014-05-15|here]] built of work by sparkfun [[https://github.com/sparkfun/SparkFun_MiniMoto_Arduino_Library|minimoto]] breakout [[https://jiwashin.blogspot.com/2016/09/drive-dc-motor-by-drv8830-and-esp8266.html|and jiwashin]] and [[https://makers-with-myson.blog.so-net.ne.jp/2014-05-15|here]]
Line 13: Line 22:
 {{:pasted:20181219-102721.png?direct&400}} {{:pasted:20181219-102721.png?direct&400}}
  
-{{:nodemcu_pins.png?direct&400|}} 
  
   ##wiring   ##wiring
Line 31: Line 39:
   * 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
 +
 +
 +{{:pasted:20181220-195530.png}}\\
 +"From this table, the write address is 0xC0 and the read address is 0xC1. The device address specified from Arduino will be "0x60" because it will be a value [[https://www.miniwebtool.com/bitwise-calculator/bit-shift|shifted 1 bit to the right]]." [[https://makers-with-myson.blog.so-net.ne.jp/2014-05-15|src]]
 +==== code ====
 +https://github.com/idiot-io/TinyTony
 +
 +
 +===i2c issues==
 +
 +cant get any other address to motors but 0x64
 +
 +#define PIN_WIRE_SDA (4)
 +#define PIN_WIRE_SCL (5)
 +