Save
...
ict 8
3rd quarter
Float Switch
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
sophia
Visit profile
Cards (22)
What is the main objective of designing a float switch?
To
design
and
implement
a
basic float switch
View source
How do float switches function?
They detect fluid levels using
buoyancy
View source
What relationship does pressure have with float switch operation?
Pressure affects the
float's
buoyancy
and function
View source
What should be evaluated for improvements in float switches?
Improvements in
float
switches and
circuitry
View source
What is required for the float switch experiment write-up?
To present
findings
and analysis of the experiment
View source
What does buoyancy refer to?
The upward force exerted by a
fluid
View source
What does it mean to float?
To rest on the surface of a
liquid
View source
What principle explains the buoyant force?
Archimedes' Principle
View source
What happens when the switch button is pressed?
A
signal
goes to the
negative
side of the
circuit
View source
What is the purpose of connecting the GND of the Arduino board to the float switch?
To
complete
the circuit for
operation
View source
What does `int` represent in coding?
It represents a fundamental
data type
for whole numbers
View source
What does `void setup()` do in a program?
It prepares and initializes
variables
and conditions
View source
What is the function of `void loop()`?
It runs continuously after `
setup()
` has executed
View source
What does `digitalRead()` do?
It checks the state of the
float switch
View source
What is the purpose of `Serial.print()`?
To send data to the
serial monitor
View source
What does `digitalWrite()` do?
It sets the state of a digital
pin
View source
What is the purpose of the tone() function?
To generate a square wave of specified
frequency
View source
What does noTone() do?
Stops the tone on the specified
pin
View source
What are the steps to configure a float switch with an Arduino?
Connect
GND
of Arduino to float switch GND.
Connect float switch pin to
digital pin
on Arduino.
View source
What are the coding steps for a float switch program?
Variable Declaration
Initialization with `void
setup()
`
Execution with `void
loop()
`
Use `
digitalRead()
` and `
digitalWrite()
`
View source
What are the coding steps for a float switch with an LED?
Variable Declaration
Initialization with `
void setup()
`
Execution with `
void loop()
`
Use `
digitalWrite()
` to control LED
View source
What are the coding steps for a float switch with a piezo buzzer?
Variable Declaration
Initialization with `
void setup()
`
Execution with `
void loop()
`
Use `
tone()
` and `
noTone()
` for sound
View source