Ashutosh Bhatt, Author at Engineers Garage Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News Tue, 10 Jun 2025 21:47:54 +0000 en-US hourly 1 https://www.engineersgarage.com/wp-content/uploads/2019/08/cropped-eg-favicon-32x32.png Ashutosh Bhatt, Author at Engineers Garage 32 32 Verilog Tutorial 15: How to design a clocked SR latch in Verilog https://www.engineersgarage.com/verilog-tutorial-15-how-to-design-a-clocked-sr-latch-in-verilog/ https://www.engineersgarage.com/verilog-tutorial-15-how-to-design-a-clocked-sr-latch-in-verilog/#respond Wed, 11 Jun 2025 03:50:15 +0000 https://www.engineersgarage.com/?p=83141 Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. Follow the full series here. In the previous Verilog Tutorial – 14, we learned how to design circuits for a 1×8 demultiplexer and an 8×1 multiplexer in Verilog. In this tutorial, we’ll: Write a Verilog program to build a clocked SR latch…

The post Verilog Tutorial 15: How to design a clocked SR latch in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/verilog-tutorial-15-how-to-design-a-clocked-sr-latch-in-verilog/feed/ 0
Verilog Tutorial 14: How to design a 1×8 demultiplexer and an 8×1 multiplexer in Verilog https://www.engineersgarage.com/verilog-tutorial-14-how-to-design-a-1x8-demultiplexer-and-an-8x1-multiplexer-in-verilog/ https://www.engineersgarage.com/verilog-tutorial-14-how-to-design-a-1x8-demultiplexer-and-an-8x1-multiplexer-in-verilog/#respond Mon, 09 Jun 2025 03:50:16 +0000 https://www.engineersgarage.com/?p=83126 Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. Follow the full series here. In the previous Verilog Tutorial – 13, we learned how to design a 3×8 decoder and an 8×3 encoder in VHDL. In this tutorial, we’ll: Write a Verilog program to build circuits for a 1×8 demultiplexer and an…

The post Verilog Tutorial 14: How to design a 1×8 demultiplexer and an 8×1 multiplexer in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/verilog-tutorial-14-how-to-design-a-1x8-demultiplexer-and-an-8x1-multiplexer-in-verilog/feed/ 0
Verilog Tutorial 13: How to design a 3×8 decoder and an 8×3 encoder in VHDL https://www.engineersgarage.com/verilog-tutorial-13-how-to-design-a-3x8-decoder-and-an-8x3-encoder-in-vhdl/ https://www.engineersgarage.com/verilog-tutorial-13-how-to-design-a-3x8-decoder-and-an-8x3-encoder-in-vhdl/#respond Fri, 06 Jun 2025 03:50:04 +0000 https://www.engineersgarage.com/?p=83117 Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. Follow the full series here. In the previous Verilog Tutorial – 12, we learned how to design half and full-subtractor circuits in Verilog. In this tutorial, we’ll: Write a Verilog program for building circuits for a 3×8 decoder and an 8×3 encoder…

The post Verilog Tutorial 13: How to design a 3×8 decoder and an 8×3 encoder in VHDL appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/verilog-tutorial-13-how-to-design-a-3x8-decoder-and-an-8x3-encoder-in-vhdl/feed/ 0
Verilog Tutorial 12: How to design 8-bit parity generator and checker circuits in Verilog https://www.engineersgarage.com/verilog-tutorial-12-how-to-design-8-bit-parity-generator-and-checker-circuits-in-verilog/ https://www.engineersgarage.com/verilog-tutorial-12-how-to-design-8-bit-parity-generator-and-checker-circuits-in-verilog/#respond Tue, 03 Jun 2025 03:50:12 +0000 https://www.engineersgarage.com/?p=83094 Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. Follow the full series here. In the previous Verilog Tutorial – 11, we learned how to design half and full-subtractor circuits in Verilog. In this tutorial, we’ll: Write a Verilog program to build an 8-bit parity generator and checker circuits Verify the…

The post Verilog Tutorial 12: How to design 8-bit parity generator and checker circuits in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/verilog-tutorial-12-how-to-design-8-bit-parity-generator-and-checker-circuits-in-verilog/feed/ 0
Verilog Tutorial 11: How to design half and full-subtractor circuits in Verilog https://www.engineersgarage.com/verilog-tutorial-11-how-to-design-half-and-full-subtractor-circuits-in-verilog/ https://www.engineersgarage.com/verilog-tutorial-11-how-to-design-half-and-full-subtractor-circuits-in-verilog/#respond Mon, 05 May 2025 03:50:31 +0000 https://www.engineersgarage.com/?p=82972 Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. Follow the full series here. In the previous Verilog Tutorial – 10, we designed half and full-adder circuits in Verilog. In this tutorial, we’ll: Write a Verilog program that builds half and full-subtractor circuits Verify the output waveform of the program…

The post Verilog Tutorial 11: How to design half and full-subtractor circuits in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/verilog-tutorial-11-how-to-design-half-and-full-subtractor-circuits-in-verilog/feed/ 0
Verilog Tutorial 10: How to design half and full-adder circuits in Verilog https://www.engineersgarage.com/verilog-tutorial-10-how-to-design-half-and-full-adder-circuits-in-verilog/ https://www.engineersgarage.com/verilog-tutorial-10-how-to-design-half-and-full-adder-circuits-in-verilog/#respond Mon, 28 Apr 2025 13:09:09 +0000 https://www.engineersgarage.com/?p=82941 Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. Follow the full series here. In the previous tutorial, VHDL Tutorial – 9, we learned how to build digital circuits using Boolean equations. In this tutorial, we’ll: Write a Verilog program that builds half and full-adder circuits Verify the output…

The post Verilog Tutorial 10: How to design half and full-adder circuits in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/verilog-tutorial-10-how-to-design-half-and-full-adder-circuits-in-verilog/feed/ 0
Forest fire detection system using IoT sensor network https://www.engineersgarage.com/forest-fire-detection-system-using-iot-sensor-network/ Sun, 30 Mar 2025 22:16:46 +0000 https://www.engineersgarage.com/?p=65239 In this article, we will be detecting a forest fire using an IoT sensor network and making a portable device with battery operation. Getting information about a fire hazard in a forest in time can prevent the forest fire from spreading. The sensor network can give the particular location of the fire as we already…

The post Forest fire detection system using IoT sensor network appeared first on Engineers Garage.

]]>
WhatsApp-based home automation: Protocol bridging with MQTT https://www.engineersgarage.com/whatsapp-based-home-automation-protocol-bridging-with-mqtt/ https://www.engineersgarage.com/whatsapp-based-home-automation-protocol-bridging-with-mqtt/#respond Sun, 30 Mar 2025 22:14:28 +0000 https://www.engineersgarage.com/?p=76277 In this article, we will be controlling devices that do not support WhatsApp but support other communication protocols like MQTT, TCP, IMAP, etc. If a house is installed with home automation devices that do not support Whatsapp, we will communicate with these devices (controllers) using protocols supported by these devices. Thus, we will be able…

The post WhatsApp-based home automation: Protocol bridging with MQTT appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/whatsapp-based-home-automation-protocol-bridging-with-mqtt/feed/ 0
WhatsApp-based home automation https://www.engineersgarage.com/whatsapp-based-home-automation/ https://www.engineersgarage.com/whatsapp-based-home-automation/#respond Sun, 30 Mar 2025 22:12:24 +0000 https://www.engineersgarage.com/?p=71352 In this article, we will learn how to control our IoT home appliances using the messaging app WhatsApp to easily and effectively communicatie with those devices. So we will be sending WhatsApp messages to a number of “lights on,” and lights at our house will turn ON. Components required  Tools Required/ libraries required: WhatsApp API…

The post WhatsApp-based home automation appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/whatsapp-based-home-automation/feed/ 0
Verilog Tutorial 9: How to design a digital circuit for a Boolean equation using Verilog https://www.engineersgarage.com/how-to-design-a-digital-circuit-for-a-boolean-equation-using-verilog/ https://www.engineersgarage.com/how-to-design-a-digital-circuit-for-a-boolean-equation-using-verilog/#respond Mon, 24 Mar 2025 03:50:32 +0000 https://www.engineersgarage.com/?p=82787 In the previous Verilog tutorial, we learned how to build various logic gates — such as AND, OR, NOR, and NOT — using only the NOR gates in Verilog. As such, we demonstrated that NOR is a universal gate. (If you haven’t been following this Verilog tutorial series in order, we recommend reviewing the previous…

The post Verilog Tutorial 9: How to design a digital circuit for a Boolean equation using Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-design-a-digital-circuit-for-a-boolean-equation-using-verilog/feed/ 0
How to use NOR as the universal gate in Verilog https://www.engineersgarage.com/how-to-use-nor-as-the-universal-gate-in-verilog/ https://www.engineersgarage.com/how-to-use-nor-as-the-universal-gate-in-verilog/#respond Wed, 19 Mar 2025 03:50:53 +0000 https://www.engineersgarage.com/?p=82775 In the previous Verilog tutorial, we learned how to implement various logic gates, including AND, OR, NOR, and NOT, using only NAND gates in Verilog, demonstrating that NAND is a universal gate. (If you haven’t been following this Verilog tutorial series in order, we recommend reviewing the previous tutorials before proceeding with this one. View…

The post How to use NOR as the universal gate in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-use-nor-as-the-universal-gate-in-verilog/feed/ 0
How to design, simulate, and verify all digital gates in Verilog-Part 4 https://www.engineersgarage.com/how-to-design-simulate-and-verify-all-digital-gates-in-verilog/ https://www.engineersgarage.com/how-to-design-simulate-and-verify-all-digital-gates-in-verilog/#respond Mon, 17 Mar 2025 23:05:42 +0000 https://www.engineersgarage.com/?p=82030 In previous Verilog tutorials (especially Tutorial 3), we learned how to design, simulate, and verify digital circuits using Altera’s MAX+II VHDL/Verilog simulator software. (If you haven’t been following this series sequentially, be sure to review the previous tutorials before proceeding.) In this tutorial, we’ll: Write a Verilog program to build various digital logic gates. Simulate…

The post How to design, simulate, and verify all digital gates in Verilog-Part 4 appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-design-simulate-and-verify-all-digital-gates-in-verilog/feed/ 0
How to compile, simulate, and verify a Verilog program using MAX+II-Part 3 https://www.engineersgarage.com/how-to-compile-simulate-and-verify-a-verilog-program-using-maxii/ https://www.engineersgarage.com/how-to-compile-simulate-and-verify-a-verilog-program-using-maxii/#respond Mon, 17 Mar 2025 23:03:51 +0000 https://www.engineersgarage.com/?p=82009 In the previous two tutorials, we covered the basics of Verilog and explored several example programs using different modeling styles. In this tutorial, we will focus on how to simulate and verify Verilog programs. To edit, compile, execute (simulate), or verify a Verilog program, you will need a software tool like Xilinx’s ISE, Mentor Graphics’…

The post How to compile, simulate, and verify a Verilog program using MAX+II-Part 3 appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-compile-simulate-and-verify-a-verilog-program-using-maxii/feed/ 0
What is Verilog, its features, and design flow?- Part 2 https://www.engineersgarage.com/what-is-verilog-its-features-and-design-flow/ https://www.engineersgarage.com/what-is-verilog-its-features-and-design-flow/#respond Mon, 17 Mar 2025 23:02:33 +0000 https://www.engineersgarage.com/?p=81666 Verilog is a hardware description language (HDL) first standardized by the Institute of Electrical and Electronics Engineers (IEEE) in 1995. It plays an essential role in electronic design automation (EDA) tools for designing and documenting digital systems. Verilog is extensively used in the design and verification of digital circuits at various abstraction levels, from the…

The post What is Verilog, its features, and design flow?- Part 2 appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/what-is-verilog-its-features-and-design-flow/feed/ 0
What are the fundamentals of Verilog programs?-Part 1 https://www.engineersgarage.com/what-are-the-fundamentals-of-verilog-programs/ https://www.engineersgarage.com/what-are-the-fundamentals-of-verilog-programs/#respond Mon, 17 Mar 2025 23:00:37 +0000 https://www.engineersgarage.com/?p=81831 In the previous tutorial, we covered the fundamentals of Verilog, VLSI design flow, and various Verilog modeling styles, including modules and data types. Now, it’s time to dive into the Verilog programming. In this tutorial, we’ll present basic Verilog programs for popular digital circuits. Before we begin, it’s worth reviewing the prerequisites for Verilog programming,…

The post What are the fundamentals of Verilog programs?-Part 1 appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/what-are-the-fundamentals-of-verilog-programs/feed/ 0
How to use NAND as a universal gate in Verilog https://www.engineersgarage.com/how-to-use-nand-as-a-universal-gate-in-verilog/ https://www.engineersgarage.com/how-to-use-nand-as-a-universal-gate-in-verilog/#respond Fri, 31 Jan 2025 04:50:34 +0000 https://www.engineersgarage.com/?p=82496 In tutorial 6 of this series, we built a circuit for D Morgan’s Theorems in Verilog, verifying its output to prove the theorems. (If you haven’t been following along, we highly recommend reviewing the previous tutorials before proceeding with this one. The first tutorial starts here.) In this tutorial, we’ll: Write a Verilog program to…

The post How to use NAND as a universal gate in Verilog appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-use-nand-as-a-universal-gate-in-verilog/feed/ 0
Arduino based Ultrasonic Radar https://www.engineersgarage.com/arduino-based-ultrasonic-radar/ https://www.engineersgarage.com/arduino-based-ultrasonic-radar/#respond Tue, 05 Nov 2024 16:38:19 +0000 http://engineersgarag-main/arduino-based-ultrasonic-radar/ Arduino can control the servo motor very accurately because of it has built in 8 bit PWM generator and servo motor library functions. It can rotate servo motor to desire angle very accurately as well as by reading servo motor feed back, it can read exactly the current angle of servo motor. Similarly it is very easy to interface UltraSonic Distance measurement (UDM) sensor with arduino. By connecting UDM with arduino, we can easily detect any object and get its distance.This radar uses UDM sensor that is continuously rotated from 0o to 180 o and 180 o to 0 o using servo motor. 

The post Arduino based Ultrasonic Radar appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/arduino-based-ultrasonic-radar/feed/ 0
Automatic Missile Launcher with UDM RADAR https://www.engineersgarage.com/automatic-missile-launcher-with-udm-radar/ https://www.engineersgarage.com/automatic-missile-launcher-with-udm-radar/#respond Tue, 05 Nov 2024 16:34:39 +0000 http://engineersgarag-main/automatic-missile-launcher-with-udm-radar/ As the name suggests, this is a demonstration of one military application in which the system automatically launches missile when any object is detected and it comes within the range. In actual system there is micro wave RADAR that detects any object and immediately fires missile to shoot the target.  Here in given system it uses ultrasonic sensor to detect any object. The sensor scans complete 360o circle by rotating continuously and when it detects any object that is within 2 feet (60 cm) range, it launches the missile. It is build using AT89C51 micro controller. It also uses LCD to display a different message as well as the distance of an object.

The post Automatic Missile Launcher with UDM RADAR appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/automatic-missile-launcher-with-udm-radar/feed/ 0
How to design a lab power supply at home https://www.engineersgarage.com/how-to-design-a-lab-power-supply-at-home/ https://www.engineersgarage.com/how-to-design-a-lab-power-supply-at-home/#respond Mon, 23 Sep 2024 03:55:43 +0000 https://www.engineersgarage.com/?p=79802 The voltage requirements for different circuits vary much like microcontroller-based circuits require 5 V, motor controller or relay driver circuit requires 12 V, and other digital circuits require 3.3 V.  If a circuit fails to receive its rated voltage and current, it will not work properly. So, it often makes sense to use a variable…

The post How to design a lab power supply at home appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-design-a-lab-power-supply-at-home/feed/ 0
How to use a wireless joystick to remotely control two servo motors https://www.engineersgarage.com/how-to-use-a-wireless-joystick-to-remotely-control-two-servo-motors/ https://www.engineersgarage.com/how-to-use-a-wireless-joystick-to-remotely-control-two-servo-motors/#respond Wed, 10 Jul 2024 03:50:04 +0000 https://www.engineersgarage.com/?p=81450 A dc servo motor provides precise motion control, enabling accurate positioning and speed regulation in various applications. It consists of a rotary or linear actuator, which allows for such precise control of angular or linear position, velocity, and acceleration. It’s used in several sectors, including: Robotics Industrial automation Angular load positioning Avionics Automobiles A few…

The post How to use a wireless joystick to remotely control two servo motors appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/how-to-use-a-wireless-joystick-to-remotely-control-two-servo-motors/feed/ 0