You are on page 1of 2

Experiment:- 1.

AIM: Design LCD interfacing on WOKWI or TinkerCad Simulation Platform.

Objectives :
1. Learn about IoT based simulations.
2. Testing and model in IoT based simulation platform

Software: Tinker-Cad simulation

Theory:
Tinkercad - https://www.tinkercad.com is an excellent tool that allows We have to simulate
Arduino-based systems (and a lot more). We can (perhaps We SHOULD) simulate all exercises
and even our own designs before trying them on real hardware. It also allows us to do
programming using blocks. Can also download / copy-paste the generated code later into
Arduino IDE to program the real Arduino board, rather than having to write it from scratch.

Step-by-step guide for designing an LCD interfacing circuit using the WOKWI or TinkerCad
simulation platforms:
1. Open the WOKWI or TinkerCad simulation platform in the web browser and create a new
project.
2. Select the components needed for LCD interfacing, including an Arduino board, LCD
module, and necessary resistors and wires. These components should be available in the
platform's component library.
3. Place the Arduino board on the workspace and connect it to the power and ground rails.

1. Connect the LCD module to the Arduino board. Typically, the LCD module will have 16 pins.
Connect the appropriate pins of the LCD module to the corresponding pins of the Arduino board.
Refer to the datasheet or documentation of the LCD module for the pinout details.
2. Add the necessary resistors to the circuit. The LCD module usually requires a potentiometer or a
series of resistors to control the contrast of the display. Connect these components according to
the LCD module's datasheet.
3. Use jumper wires to establish the connections between the Arduino board, LCD module, and
resistors. Pay attention to the pin configurations and ensure that the connections are correct.
4. Write a program for the Arduino to control the LCD module. Depending on the requirements,
We can display text, numbers, or custom characters on the LCD.
5. Upload the program to the Arduino board using the simulation platform's interface. This will
allow us to test the LCD interfacing circuit virtually.
6. Run the simulation to see the output on the LCD module.

Course Name: IoT Lab Course Code: 21CSP-344


Name: Darshit Sheth UID: 21BCS7782
Programming and Simulation To program the Arduino

1. Click on Code
2. Choose Blocks or Blocks+Text or Text*.
• This allows us to see the C++ code generated corresponding to the blocks.
• We can copy this code later into Arduino IDE to program the real Arduino, rather than having to
write it from scratch.
• Download the code as an Arduino-compatible .ino file.
3. Or code by selecting the blocks and connecting them appropriately.
4. Start the simulation by clicking Start Simulation.

Course Name: IoT Lab Course Code: 21CSP-344


Name: Darshit Sheth UID: 21BCS7782

You might also like