Tell us about yourself!

Complete Your Profile
  • DanielP561 commented on ehsmaes's instructable Motorized WiFi IKEA Roller Blind14 hours ago
    Motorized WiFi IKEA Roller Blind

    No! I modified the code for the motor shield using PWM and DIRECTION. The shield is used directly but you need to change the wiring since A= and A- is one coil pair and the B+/B- is the other pair.The color is in the code. Also I included an ESP8266 and an UNO version with C. This version could be modified to include a percent holding if your blind moves when power is off.

    View Instructable »
  • DanielP561 commented on ehsmaes's instructable Motorized WiFi IKEA Roller Blind4 weeks ago
    Motorized WiFi IKEA Roller Blind

    Ok I clone your code and made the modification to fix for my esp-12-e motor shield. I also fix some bugs like the missing module.step_ms in config.lua . the state==2 or 0 which force the system not to operate if your not fully close or open. Lua has a big problem with the speed of the stepper. I don't want my blind to take 15 mins to go down so I made a 'C' version. N.B. The wiring is different and check the .ino file to find the correct stepper wire color. B.T.W. the original source code has no licenses so I put M.I.T. on mine https://github.com/danjperron/ESP12EMotorShieldRol...

    View Instructable »
  • DanielP561 commented on ehsmaes's instructable Motorized WiFi IKEA Roller Blind4 weeks ago
    Motorized WiFi IKEA Roller Blind

    I did have a lot of modifications but the biggest problem is the connection to shield. Do you know that there is a sot-26 I.C. next to the L293DD at least on my motor shield which I believe is the same than yours. The inverter I.C. changes the behavior of the L293. So D1 is connected to ENABLE1, D2 is connected to ENABLE2, D3 is connected to IN1 and inverted to IN2 and finally D4 is connected to D3 and inverted to IN4. I did figure it out When I connect my scope on the signal. Now I change your stepper.lua and I did have to swap two coils wire. Now I do have more torque and it is working way better. All the documentation I found point to the same thing https://legacy.gitbook.com/book/smartarduino/user-mannual-for-esp-12e-motor-shield/details

    View Instructable »
  • Control Raspberry Pi GPIO With Amazon Echo and Python

    I play a lot to get them working and the only which was ok is to forward port 443 to 5000. I thinks is because of the key encryption.https://stackoverflow.com/questions/34369780/does-alexa-skill-kit-listen-on-other-port-of-ssl-besides-443

    View Instructable »
  • Control Raspberry Pi GPIO with Amazon Echo and Python

    The router forward the port 5000 to the Pi but outside it is the https port which is 443.InternetIP port 443 to intranet IP port 5000

    View Instructable »
  • Control Raspberry Pi GPIO with Amazon Echo and Python

    There is way to create your own certificate if you have a dns forward IP. I do have a dyndns,org account and it is working great. Just follow the method display by amazon. Learn how to create a self signed certificate.Add the ssl_context into your python script et voila! no need to ngrok.if __name__ == '__main__':app.run(host='192.168.1.22',port=5000,debug=True,ssl_context=('certificate.pem','private-key.pem'))My router forward the port 5000 to my raspberry Pi IP which is 192.168.1.22

    View Instructable »