As mentioned in step 4, please visit https://www.instructables.com/id/ESP8266-as-Arduino/ and https://www.instructables.com/id/ESP8266-Simple-and-Easy-Way-to-Control-AC-Lamp-Usi/ and https://www.instructables.com/id/ESP8266-As-a-Microcontroller/
I checked the file. It is clear.
Yes, you can do it by changing the code. But this is not accurate enough to display distance with 2 decimal points.
Thank you a lot.
USB and Serial Port (UART) are different. If you want the uses USB instead of Serial Port you must rewrite the program and write the code for recognizing all USB devices you want to connect to it. It is really hard work but not impossible. If you want to do this I advise you to use a raspberry pi or any other kind of mini-PCs with USB port and WiFi.
Hi, No, USB and Serial Port (UART) are different. If you want the uses USB instead of Serial Port you must rewrite the program and write the code for recognizing all USB devices you want to connect to it. It is really hard work but not impossible. If you want to do this I advise you to use a raspberry pi or any other kind of mini-PCs with USB port and WiFi.
I have no idea.
As it mentioned on the last step "this device supplies from PC (RTS and DTR), so to power this device you must set (make high) serial port RTS and/or DTR", so if the terminal software you use does not set DTR or RTS there will be no power for this device to work.
Remove the PIC and test your sensors one by one using a voltmeter. Black wire to GND, red wire to sensor pin on the PIC socket, hold sensor over a black area it must shows 0V and hold sensor on a white area it must shows 5V.
move sensors over a black line in a white background (use paint not laser printer to draw the line), move it over a turning, and check the behavior of motors, maybe you must swap the wires of on of your motors. Also don't forget step 8.
Hi, You can use the symbolic circuit diagram and connect the output pins of PIC directly to input pins of motor driver module. But for the IR modules if the output is digital you can connect it directly to PIC inputs, otherwise if the output is analog (I think it is analog) you must use a comparator for each sensor to convert signal to analog. Set the configuration word manually to 0x3FF2.
A very good and clear step by step troubleshooting. Thank you a lot dausmus.
If you apply 5V at motor driver inputs when PIC is not in the socket the problem is related to your motor driver. Send me clear photos of your robot.
3D Printer - Working Area 40x40x40cm
Just add two more sensors ans connect them to the microcontroller using a circuit i used for each sensor, then add them to your program and change the code to use them.
Yes, It's a new project, with new sensor arrangement, new processor, ...
yes, you can use any microcontroller but you must change the PCB and you need a little changes in the program.
Yes, why not?
No, I have not. See the below comment, you can find useful diagrams there.
yes, you can. front led is the state indicator and the 4 back leds are motors indictors. you can omit motors leds.
Angry Birds Paper Toy