Saba Hilal

Saba Hilal

54 Articles Published

Articles by Saba Hilal

Page 6 of 6

Potentiometer and Examples

Saba Hilal
Saba Hilal
Updated on 18-Apr-2023 906 Views

In this article, using two different examples, the use of potentiometers is demonstrated using ESP32. In the first example, the trimmer type of potentiometer is used to vary the voltage between 0 and 3V. In the second example, the slider potentiometer is used on Wokwi Simulator to show the control of a servo motor. Wokwi simulator is software that can be used for running the code and virtually testing the results without buying the components. The actual diagram of the components is often different from those used in Wokwi, so the actual form of the slider potentiometer is given in ...

Read More

Creating a Melody Program

Saba Hilal
Saba Hilal
Updated on 17-Apr-2023 674 Views

A simple buzzer can be connected to the ESP32 controller for producing sound. It can also be used to produce melodies. In this article, using two different examples, the C code is used on Arduino to make the buzzer play the melody. In the first example, “Twinkle Twinkle Little Star”, the poem’s notes are played and in the second example, another famous poem “Jingle Bell” is used for playing the note while making two colored LEDs on and off to create a light show with music. Example 1: Playing the poem notes using buzzer and ESP32 The circuit is made ...

Read More

Getting started - The First Progam in Snack

Saba Hilal
Saba Hilal
Updated on 23-Mar-2023 803 Views

Snack is an open-source Expo platform where React Native programming is done and the results can be seen instantly. It compiles and builds the bundle for execution on different types of devices or for Android , IOS or web. The code can be saved and shared quickly on Snack. As the user types the code, the library installation links are given by this interface to the user. Snack is a nice and quick to use platform which makes learning of React native easy for beginners. The user doesn't need to install anything. Just SignUp and then login to your expo ...

Read More

Java Program to Open the given URL in System Default Browser in Windows

Saba Hilal
Saba Hilal
Updated on 23-Mar-2023 6K+ Views

There are different ways of viewing web pages in a browser using URL. Here, the methods of doing the same are specified using the Java code. The given URL is first entered by using the Java program. Then the related Webpage is opened in the default browser. This article uses three different approaches for opening the webpage as specified by the URL in the browser through the Java code. Multiple Approaches For these programs, the displaying of the given URL is done using two different approaches. By Using desktop.browse(uri) for the object belonging to Desktop class. By Using javafx ...

Read More
Showing 51–54 of 54 articles
« Prev 1 2 3 4 5 6 Next »
Advertisements