Hello to everyone,
I want to make a wifi remote controlled motor that it will fixed on a standar location connected to wifi. Is it possible to control it from any other location using a laptop or even beter a smartphon? Using google home or something like that??
I am going to use it to control an audio conlole from difrent locations
I think you are going to have to give more information about what you are trying to do exactly, but yes, there are ways to control motors via wifi. Are they dc/ac/gasoline motors? What size? Are you just turning them on and off? If you are just turning them on and off, it could be as simple as a motor of some type plugged in to a "smart" outlet. Power on the smart outlet via phone app, cpu, alex, etc., motor comes on, power off, motor off. I am guessing you are wanting something a little more complicated than that though.....
a simple dc motor or steper motor will do just fine. I want to control the faders using a simple left and right motion. I cant understand how to controll it using diffrent wifii. The arduino and the motor will be connected to the studio wifi and i want to controll it from a difrent wifi (for example home wifi or phone data).
The whole device will be on top of the console
I have used wemos devices to control dc motors over wifi. I have never controlled multiple motors or stepper motors over wifi though. I have one connected to a dehumidifier. Another one that I did was a chicken coop door which I programed to be able to open/close over wifi or the use of alexa. The code uploaded to the wemos d1 mini in my case, connects to the wifi at the chicken coop (your studio). It then is able to connect to the alexa server which you can also connect to anywhere to be able to control it. Mine was fairly simple, I clicked open door. The command was relayed through the server to the wemos device. It set a pin on the wemos device high/low. This triggered a relay which turned the dc motor on forward/reverse. It would stay on until a limit switch was tripped and then cut off. Then updated its new position.
Another option, that may be simpler if you need finer control of the motors than just on/off. I have a cnc router (basically 3 axis of stepper motors) It is connected to a computer that I can remote in to (google remote desktop) and I can control the router..... The problem with this is, There is no feedback other than I can set a camera up to watch the movement. How do you plan to monitor this over the internet?
There are probably much better ways than these, but I thought I'd throw them out there.
i think your solution by conecting the arduino to a pc and using a program like teamviewr or anydesk or google remote is excelent for a first try!!! thank you so much for this simple but briliant solution
Hi pkthebest.
Also read up on Node-RED if you have not heard of it. It is easy to use with Wemos devices. It runs on PC's, Raspberry Pi's and other low power hardware. (I use a Siemens iot2000) and check out FRED the front end for Node-RED. there is a free account option.
The short answer is yes it technically satisfies your brief to control a device remotely from anywhere provided you are connected to the internet.
BUT you are going to need to provide way more info for us to help you further.
There is a learning curve to all of this which does not happen overnight. You need to break your project into little bits and engineer a solution for each bit and tie the bits together to get a project solution. We call this a functional specification. Before you spend a cent on hardware or write a single line of code you need to know (have written down) exactly what is to be achieved and what bits are going to be required and how they are going to work together.
So...
need to move sliders- how many and what I/O digital or analogue?
What voltage, how will they work mechanically?
Do you need feedback?
and so on.
From here you can define your I/O requirements then how many data points need to be moved to and fro. Then you can determine if a Wemos has the capabilities or need to go a bit bigger.
Noed-RED has enormous capability but it comes with it's own, not as steep given it's capabilities, but none the less still a learning curve. I would recommend spending the couple of bucks a Wemos esp32 costs actually, setting up Node-RED and getting your hands dirty.
There is plenty of boiler plate examples out there to have you turning a relay on an off from your smart phone pretty quickly.
Then it is just a matter of scaling it up.
In my experience successful projects spend 80% on design and 20% on implementation. Unsuccessful ones spend not enough on design and 200% on implementation before everyone walks away and it still doesn't work.
@clintux , this sounds interesting. I am curious as to what you are running with your setup using the Siemens iot2000. Does the Siemens iot2000 basically serve as the cpu?
The iot2000 was a gateway designed to integrate plant floor industrial devices to the cloud. Unfortunately I think is is discontinued because intel stopped making the board it was based on. It also has Arduino headers on it so can carry a shield and run sketches in parallel to Node-RED.
There would be other newer devices that can do the same or you could use a Pi . I work in industrial automation and was doing feasibility R&D but had it running with various things talking to it. (from cheap esp32,s to very expensive PLC's and RTU's)