0

March 31, 2016 AT 10:34 am

Control #3DPrinter Stepper Drivers Directly from ESP8266 Module

This GitHub project by Lucas Hartmann has some interesting potential.

Counter - Word_clock and 3LSBs

I believe I found a way to use just an ESP8266 module to control a set of 3D printer stepper drivers directly. This code demonstrates how.

Background:

      Other projects show how to use ESP01 as a wifi-serial bridge to the arduinos, but serial is still a bottleneck and wifi uploads are impractical.

      Altough ESP8266 does 160MHz at 32bits processing (versus 16MHZ 8-bit from most Arduinos) it has insufficient realtime GPIO for controlling printers.

      Raspberry pi shared the realtime gpio limitation, but wallacoloo still did reprap control using DMA. Nice! https://www.youtube.com/watch?v=g4UD5MRas3E

      CNLohr did a really cool WS2812 led driver (weird one-wire serial protocol) using ESP8266 I2S audio output and DMA. https://www.youtube.com/watch?v=6zqGwxqJQnw

      I2S and SPI look very much alike, and SPI can control shift registers. Hey! Opportunity!

    Read more.


    Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

    Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

    Join us every Wednesday night at 8pm ET for Ask an Engineer!

    Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


    Maker Business — TechShop is closed, files bankruptcy

    Wearables — Get concrete solutions

    Electronics — Are you grounded?

    Biohacking — Learning to See with Sound

    Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



    No Comments

    No comments yet.

    Sorry, the comment form is closed at this time.