![]() ![]() You may be selecting the wrong COM port.There may be a problem with the PC try RESTARTING it.Ensure you turn off any additional security / antivirus just to test.Close any other serial programs before opening the IDE.Remove any items connected to pins 0 and 1.There may be a problem with the board check or remove your wiring first.CH340/341 or CP2102 or FT232 VCP Drivers - FTDI You may not have the correct driver installed.( Thanks Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB to rule out USB 3.0 issues. Check you have a COMMON GROUND where required.Ensure you have FULLY inserted the USB cables.Remember that the people trying to help cannot see your problem so give as much information as you can.Add working links to any specific hardware as needed ( NOT links to similar items). ![]() Add a SCHEMATIC were needed even if it is hand drawn.Add your sketch where applicable but please use CODE TAGS ( ).How to insert an image into your post.Use quote or add error messages as an attachment NOT a picture.Always list the version of the IDE you are using and the board version if applicable.Your OS and version can be valuable information, please include it along with extra security you are using.It will help you get the best out of the forum in the future. The people who try to help with your pro… If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is frustrating for you and frustrating for us. Being new here you might think this is having rules for the sake of rules, but that is not the case. Please read and follow the instructions below. This guide explains how to get the best out of this forum. Your topic was moved to its current location as it is more suitable.Ĭould you also take a few moments to Learn How To Use The Forum. Spacing btwn sensor and max height = 43mm Use 343 metres per second as speed of sound ![]() Measure the width of the incoming pulse Set the trigger pin HIGH for 20us to send pulse Your help will be crucial so I can complete my project.``` // Set the trigger pin LOW for 2uS When I get fuel volume, I get some negative answer, which does not match my manual calculation. I'm using an HC-SR04 ultrasonic sensor to detect level and use that to calculate fuel volume in a rectangular tank. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |