12/30/2023 0 Comments Wemos cc d1 wifiTimer0_write(ESP. Int RUN=LOW //if set t0 HIGH the motor will run for everĭigitalWrite(ENABLE_PIN, DISABLE) // disable motor driver_2 Int m_step_count_down = 0 //!!! count down timer to disable motor driver but if I connect my pi to the wifi of my home which has internet access. it didn’t work what is weird and I m not able to understand is that: my wemos are connected to a routerboard same wifi. ![]() Int Next_Step = Periode // !!! count down timer current step my wemos and the pi are connected to the same wifi. Int Periode = 2000 // !!! period time to next step Int steps = 0 // # of steps to be performed #define m_step_count_down_time 4 // m_step_count_down_time*int_period count down timer to disable motor driver minimum time the stepper needs to perform one step keep it low to save current #define int_period 500L // time to next interrupt Go to the Project Settings (nut icon). You should get Auth Token in the Blynk App. #define BLYNK_PRINT Serial // Comment this out to disable prints and save space Please be sure to select the right ESP8266 moduleĬhange WiFi ssid, pass, and Blynk auth token to run :) Note: This requires ESP8266 support package: WEMOS D1 mini pro + DRV8834 Low-Voltage Stepper Motor Driver Carrier This example runs directly on ESP8266 chip. Projects by simply dragging and dropping widgets.īlynk library is licensed under MIT license ![]() You can easily build graphic interfaces for all your May be it some one find this helpful for his project. ![]() I have done my first stepper motor controller using WEMOS D1 mini pro + DRV8834 Low-Voltage Stepper Motor Driver Carrierīecause it is not possible to user the timer interrupt library I need to find a other solution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |