Writing code in sketch
Qus. 1 : The default method(s) in Arduino program is/are
- Only loop()
- only setup()
- setup() and loop()
- can be either loop() or setup()
- Top to bottom
- Bottom to top
- Any order
- None of these
- It is a name that Arduino uses for a program
- Its the unit of code that is uploaded to run on an Arduino board
- Both (A) and (B)
- None of these
- #
- $
- %
- !
- digitalRead()
- for()
- pinMode()
- delay()
- Call & Jump
- Getchar & putchar
- Call & Return
- Return & Jump
- Volt
- Faraday
- Ampere
- Ohm
- Analog
- Digital
- Both A & B
- None of the above
- Serial
- Serial.type
- Serial.println
- Serial.printing
- sketches
- drawings
- links
- notes
- delay(100);
- delay(1000);
- delay(10000);
- delay(1);
- 0-255
- 0-511
- 0-1023
- 0-4095
- loop()
- setup()
- selay()
- digitalWrite()
- Code
- Source code
- Sketch
- Paint
- setup () and loop () function
- Only setup () function
- Only loop () function
- None of these
- PWM pins
- Hybrid pins
- Digital pins
- None of these
- pinMode()
- digitalWrite()
- analogWrite()
- setPin()
- Only one
- Two
- Three
- Any number of values
- Ohm
- Farad
- Henry
- Coulomb
- Capacitance
- Resistance
- Inductance
- None of these
- Runs continuously in a loop
- Initializes variables and sets up configurations
- Executes only when an error occurs
- Used to include libraries
- A0 to A5
- D0 to D13
- GND
- 3.3V
- Pauses the program for a specific amount of time
- Stops the program permanently
- Restarts the program
- Initializes the board
- Analog pin
- Digital pin with ~ symbol
- GND pin
- Vin pin
- To read analog signals
- To output digital signals
- To output PWM signals
- To write digital HIGH/LOW values
- MQ-135 gas sensor
- PIR sensor
- DHT22
- BMP280
- 10mA
- 20mA
- 40mA
- 100mA
- BMP180
- LDR
- MPU6050
- DS18B20
- To start the Serial Monitor
- To set up serial communication and baud rate
- To write data to the Serial Monitor
- To end the serial communication
- Measure light intensity
- Detect motion
- Measure temperature and humidity
- Monitor air pressure
- delay(1);
- delay(100);
- delay(1000);
- delay(60);
- A0
- GND
- RST
- Vin
- 14
- 16
- 20
- 32
- The frequency of data transmission in kilobytes
- The number of bits transmitted per second
- The power consumption of the device
- The range of the communication
- MQ-135
- BMP280
- DS18B20
- PIR sensor
- To generate a PWM signal
- To produce a sound on a buzzer with a specific frequency
- To control the brightness of an LED
- To read analog values
- tone(pin, frequency, duration)
- tone(pin, duration, frequency)
- tone(frequency, pin, duration)
- tone(pin)
- 1 Hz to 1 kHz
- 31 Hz to 65535 Hz
- 100 Hz to 10 kHz
- 500 Hz to 1 MHz
- Servo.h
- Motor.h
- Wire.h
- LCD.h
- 0 to 90 degrees
- 0 to 180 degrees
- 0 to 360 degrees
- -90 to 90 degrees
- servo.attach()
- servo.write()
- servo.move()
- servo.setPosition()
- LiquidCrystal.h
- LCDDriver.h
- Wire.h
- Display.h
- It initializes the LCD with the number of columns and rows.
- It prints a message to the LCD.
- It clears the LCD display.
- It changes the LCD backlight.
- Use lcd.setCursor(0, 0) and lcd.print("Text").
- Use lcd.begin(0, 0) and lcd.display("Text").
- Use lcd.print(0, "Text")
- Use lcd.text("Text", 0)
Programs
Arduino Program to take input from serial and on the led based on input.
Arduino program to fade the led bulb using for loop
Arduino program to connect a led through push button
Arduino program to change the blinking speed of led using the potentiometer
Arduino program to print all integer number from 0 to 99 using for loop
Arduino program to print odd numbers from 1 to 99
Arduino program to print odd numbers from 99 to 1
arduino program to interface buzzer with Arduino board to buzz on off with the delay of 1sec
Arduino program to Blink a Light Emitting Diode LED
Arduino program to print Hello word in LCD
Arduino program to run a counter and display in LCD
Arduino program to interface the sensor and led
Arduino program to sound the buzzer on press on push button for 1 second
Arduino program to interface buzzer with LDR and LED
Arduino program to create automatic street light control by using LDR sensor
Arduino program to read a integer number and print its table
Arduino program to print the square root of a given number
Design a night lamp using a LDR and a LED using Arduino Uno and find out the time delays associated in keeping ON the lamp
Design a counter using an atmega microcontroller (like ATMEGA328P) using Arduino to display the number of entries per day in an office.
Write a program to interface a temperature sensor (LM35) and water Nozzle with the Arduino.
Arduino program to interface led buzzer with Arduino or raspberry pi and turn ON LED for 2 second after every 3 second
Arduino program to connect RGB Led Bulb
Arduino program to turns on LED when the button is pressed once and remains on until the button is pressed again to turn it off
Arduino program to interface security password with Arduino board to show green light for correct password and red light for incorrect password.
Arduino program to input any integer number and print its table
Arduino program to connect with Servo Motor
Arduino program to interface LCD with Arduino board and print some text
Arduino application where pressing a button increases a counter value, which is then displayed on an LCD
Arduino program to interface DHT 22 sensor and find the Humidity Temperature and Heat index
Arduino program to interface soil moisture sensor
Arduino program to interface a temperature monitoring system in a public environment which will display information
Arduino program to interface a PIR (Passive Infrared) sensor
Arduino program to interface gas sensor to detect the gas
Arduino program to Design a night lamp using a photodiode and a LED and find out the time delay associated with turning the lamp on and off.
Arduino program to implement Two way traffic signal system.
Arduino program to interface LEDs at pins 10,11,12,13 and button at pins 7. The press of button changes the pattern of LED glow. (considering four patterns of LED glow)
Arduino program to Increment and Decrement led light using 2 push button
Arduino program representing smart street light concept
Arduino program to interface DC Motor with potentiometer
Arduino program to interface a servo motor and a button at pin 7
Write a program to interface a gas sensor (MQ-2) and a buzzer.
Write a program to interface a PIR motion sensor and an LED with the Arduino. The LED should turn on for 5 seconds whenever motion is detected.
Write a program to implement a while loop that counts from 0 to 10 and displays each count on the Serial Monitor.
Write a program to interface a button and an RGB LED with the Arduino. On each button press, the RGB LED should change its color in the sequence: Red, Green, Blue.
Arduino program to read data from sensor and send it to a requesting client.
Arduino program using any one development board (E.g., Arduino or Raspberry Pi) to read data from a sensor
Write a program to print “Hello World!” to the LCD (Liquid Crystal Display) and shows the time in seconds since the Arduino was reset.
Write a program to display button press count on an LCD.
Write a program for detection of the light using photo resistor with output as light detected and LED state.