In my recent project I am trying to use 2 servo motors,dc motor,colour sensor with the help of nodemcu but my motors are not working.what to do?

In my recent project I am trying to use 2 servo motors,dc motor,colour sensor with the help of nodemcu but my motors are not working.what to do?

Start over with a single device and get it working, then add the next device and get it working. Never try try to mash all the devices and code together and then begin testing.

1 Like

Welcome! You have an interesting project, but first please read the advice in the topic "How to get the best from this forum". There is a proper way to post code, this allows us to help you. Taking what you posted and putting into a readable form takes a lot of time many do not want to spend. It will only take you another 10 seconds after your figure it out. l have no clue as to what each hardware device is or how it interacts with your code, post an annotated schematic, the language of electronics, showing how you have wired it, not pictures such as frizzy (wiring) drawings they are useless for troubleshooting. Do include links to "Technical information" on the hardware parts, links to sales outlets like azon are next to useless. Doing this will have a big positive effect on your answers and will improve the accuracy of the answer a lot.

I would sure like to help you but since you did not take the time to read the forum guidelines I will not burn the time trying to figure out how to make the motors run.

Please read the advice in the topic "How to get the best from this forum". How to get the best out of this forum

Your power supply is insufficient or incorrect. You must show your wiring diagram if you want help with making it work.