BotronikS - Final code for all types of Arduino and PC users: -- HOME -- email: botronik@gmail.com

USS1: Ultrasonic Sensor HC-SR04 Measuring Distance Sensor LED Display Module and PcApp,,,

connections...

sensor + LED disply

USB to UART TTL cable...

Used accessories:

Termite...

PcApp...

SR04 sensor...
CP2102 USB to UART TTL...
 
 
 
 
 
All offered codes here are FREE to use! Source codes and Your special requests are available via email!
 
Not necessary any code for Arduino
 
Based on the offered AT commands, you can develop your own PC, PLC ... communication code and applications...
Avaliable AT commands (Baud 9600,8 Data bits, None Parity,1 Stop Bit): You can test the uploaded code using some free serial software such as Termite (select: Append CR):
No AT commands - Everything is clear when it connects to a PC USB according to the connections scheme
 
PC Application(s) (for WINDOWS):
In order for the offered PC applications to work, it is necessary to download and install (one time only) VB6RunTimePlus2.2
Download the PC application, unpack, and start (allow download and windows to start applications) enter the COM port number where the Arduino is connected and test it...
Download PcApp: PcApp1
Setting the upper and lower alarm limits and activating sound wav files when the alarm is active...
The wav files (a1, a2) must be in the same folder as exe. You can make and add your own vaw files but must be the same names.