User Tools

Site Tools


projects:sand_drawing:work_logs:further_electronics

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
projects:sand_drawing:work_logs:further_electronics [2020/05/26 12:20]
tjhowse
projects:sand_drawing:work_logs:further_electronics [2020/05/26 12:24] (current)
tjhowse
Line 22: Line 22:
 Breakout board vs bare. Breakout board vs bare.
  
-The next decision was around whether I wanted to design the PCB to accept a breakout board or the bare ESP-WROOM-32D package. The breakout board would be simpler, easier to solder, and provides a USB programming interface. The downside is that I couldn'​t find a consistently-available version of the board. Searching for "ESP32 breakout"​ or "ESP32 nodemcu"​ would yield a dozen slightly different boards. The Wimos D2 mini knockoff I was using earlier on in the project was more consistently knocked-off.+The next decision was around whether I wanted to design the PCB to accept a breakout board or the bare ESP-WROOM-32D package. The breakout board would be simpler, easier to solder, and provides a USB programming interface. The downside is that I couldn'​t find a consistently-available version of the board. Searching for "ESP32 breakout"​ or "ESP32 nodemcu"​ would yield a dozen slightly different boards. The Wemos D1 mini knockoff I was using earlier on in the project was more consistently knocked-off.
  
-I'd hate for someone to be ordering the bits to build one of these robots and end up with a breakout board that didn't fit, or had the wrong pinout. The bare module ​is slightly cheaper tooI decided to go with the bare ESP-WROOM-32D module. I had to implement some pull-ups and buttons to put it into a flashing state, but overall it wasn't too difficult.+I'd hate for someone to be ordering the bits to build one of these robots and end up with a breakout board that didn't fit, or had the wrong pinout. The bare version ​is slightly cheaper too, so I decided to go with the bare ESP-WROOM-32D module. I had to implement some pull-ups and buttons to put it into a flashing state, but overall it wasn't too difficult ​and didn't add much to the BoM.
  
 === Stepper drivers === === Stepper drivers ===
Line 39: Line 39:
 I originally tested with the A4988s, then upgraded to the DRV8825s for finer microstepping,​ then finally landed on the TMC2100s for their silent stepping capability. I originally tested with the A4988s, then upgraded to the DRV8825s for finer microstepping,​ then finally landed on the TMC2100s for their silent stepping capability.
  
-A few times during writing the software I wished I had a way of changing the configuration on the stepper without meddling with my breadboard. Typically a row of jumper pins are positioned near the stepper driver footprint so the config pins can be pulled to 0v or 5v depending on what configuration is required. Typically only the degree of microstepping is exposed to the configuration interface.+A few times during writing the software I wished I had a way of changing the configuration on the stepper without meddling with my breadboard. Typically a row of jumper pins are positioned near the stepper driver footprint so the config pins can be pulled to 0v or 5v depending on what configuration is required. Typically only the degree of microstepping is exposed to the configuration interface. The TMC2100 has three tri-state pins, which can be either at 0v, VCC or somewhere in the middle. This gives us 27 possible configurations. 
 + 
 +I routed the CFG pins to some spare outputs on the microcontroller so I can change the configuration at runtime. I had lots of spare pins available.
  
projects/sand_drawing/work_logs/further_electronics.txt · Last modified: 2020/05/26 12:24 by tjhowse