About connecting Arduino Uno board to Wemos d1 r1 board

I don't see how adding the complexity of another processor will help.

Post the code that you tried. Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

Post a schematic of the Wemos with the DHT11 and motor driver so that we can see how it should be wired.