Nokia 5110 LCD to Arduino Pin Map Pin 1(RST) – D12ĭouble check the connections one last time to be sure everything is as it should be. HC-SR04 to Arduino Pin Map HC-SR04 - Arduino The Ultrasonic, on the other hand, is a very easy component to work with, it has just four pins and all at the same voltage/logic level at which the Arduino operates making it almost plug and play. Connecting the N0kia 5110 LCD to the Arduino is an art that we have perfected over several tutorials, an example of which can be found here, but for the purpose of this tutorial, we will still include the pin map so you can easily connect it if following that schematic is a little bit difficult. To make the schematics easy to follow, as usual, the pin maps showing how each component connects to the other is described below. SchematicsĬonnect the components as shown in the schematics below. The following components are needed for this project Īs usual, the exact components used for this tutorial can be bought by following the link attached to each of them. The goal of this tutorial will be to measure distance using the ultrasonic sensor and display it on both the serial monitor and the Nokia 5110 LCD. Ranging Distance : 2cm – 400 cm/1″ – 13ft.Some other features of the sensor includes The sensor has four pins, VCC, GND, Trig and Echo with trig and echo representing the transmitter and receiver pins respectively. The time elapsed between the transmission of the signal and the reception of the echo is then used to determine the distance between the sensor and an object in its path. If there is an object in its path, the emitted wave is reflected and the reflected signal is received via the receiver. It uses the echo principle for distance measurement by emitting an ultrasonic wave of 40khz. The sensor is made up of a transmitter and receiver with operating frequency of around 40khz. The HC-SR04 ultrasonic sensor is a cheap ranging sensor capable of measuring a distance between 20 – 400cm without contact and at an accuracy of up to 3mm.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |