The stepper motor will raise and lower and projector screen. Motor is driven by an A4988, just needs two inputs, step and direction. Currently using this code written in basic on a picaxe chip. It moves the motor a certain number of steps in one direction, then writes whether it's up or down to eprom so the next input will still reverse the motor with a power loss.
init:
read b1,b0
Main:
if pinc.3 = 1 then
if b0 = 1 then goto rollup
if b0 = 0 then goto rolldown
endif
pause 10
goto main
rollup:
high c.2 ;direction
for w7 = 1 to 1000 ;steps to make
low c.1
pauseus 3
high c.1
pauseus 30 ;pause between steps
next w7
w7 = 1
b0 = 0
write b1, b0
goto main
rolldown:
low c.2 ;direction
for w7 = 1 to 1000 ;steps to make
low c.1
pauseus 3
high c.1
pauseus 30 ;pause between steps
next w7
w7 = 1
b0 = 1
write b1, b0
goto main
Now, do I want to use NodeMCU or arduino IDE? I have no idea. Do I want to connect the 8266 to thingspeak and control the motor from there, or should the 8266 be an access point that I connect to, to control? Or should it host a webpage on my local network I keep in the favourites on my phone, access it from the browser and control from there? And where does the HTTPD webserver come into play?
I really don't know where to begin or why I'd want to choose one method over the other. Controlling the screen from anywhere in the world isn't necessary, but not a bad thing either.
Thanks for any help you can offer.