| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
- Arduino UNO
- potentiometer
- i2c lcd1602
- BreadBoard
- arduino led blink
- Communication
- embedded system
- Arduino
- led
- Digital
- mh-sensor series
- analog to digital conversion
- embedded systems
- sensor reading
- leds control
- Analog
- arduino idl
- Electronics
- DIY
- flying-fish ir sensor
- Open source
- ADC
- Today
- Total
목록분류 전체보기 (8)
eng-life 님의 블로그
Lets' a different type of sensor that will detect motion and use our 4 LEDs to tell us how close an object is to our sensor.This is an Infrared Obstacle Avoidance Sensor Module (MH-Sensor Series, Flying-Fish)Emits and detects IR similar to a RADAR MH-Sensor Series, Flying-FishEffective distance range: 2-30 cmDetection distance knob potentiometer3.3V - 5V working voltage35º detection angleWiring ..
I2C LCD1602 is composed of an LCD1602 and an I2C module, LCD1602 can be used to display characters, numbers, etc., but need to take up a lot of pins of the main control, after configuring an I2C module, only 2 I/0 pins are needed to drive this LCD1602. The I2C module has a built-in PCF8574 I2C chip that converts I2C serial data to parallel data for the LCD display. I2C LCD1602GND: GroundVCC: Vol..
Arduino Uno with a Potentiometer or Variable resistor. Potentiometer can sweep its output between two voltages it is supplied.Build circuitConnect 5V on the Arduino to PWR Rail on the breadboardConnect GND Rail to J29Connect 5V on PWR Rail to J28Connect the Red wire from POT to H28Connect Black wire from POT to I29Connect the Blue wire from POT to A0 on the Arduino.Modify your sketch to ass the ..
A program that uses Arduino to convert analog input to digital output (ADC).Analog: continuous, real-world. ex) voltage, temperature, pressure, humidity... Digital: Bits and Bytes, On/Off, 1 or 0, high or low, non-continuous.Arduino: Analog Vs. DigitalArduino takes care of tith through the ADCLow resolution conversion (1 bit or 2 states)Higher resolution A state is one unique combination of bits..
Duplicate the LED Circuit three more times.1. Construct the circuit using a breadboard as shown in the diagram below.2. Note negative leads and connect to GND Rail.3. Keep color order.4. Tie all resistors (1 kΩ) together. 5. GND should still be connected to Arduino GND6. Red wire should still be connected to Arduino Pin 9. 7. Upload the code and verify all LEDs blink 8. Tinker until all are this..
An example of a simple Arduino program to blink an LED connected to a digital pin (e.g., pin 13) 1. Connect a LED (+lead) to pin 13 and (-lead) to GND. Negative lead is usually the shorter lead. 2. Add the following to the definitions area of your sketch: above void setup ( ) ※ Remember, the comments help you and otehrs understand the code.“int” : we are defining a data type.We are telling the A..
Arduino uses serial communication to communicate with your laptop or desktop. Serial communication is a widely used protocol for transmitting (Tx) and receiving (Rx) binary data and requires a few easy functions to get it started with Arduino. 1. Upload code to Arduino If successfully uploaded, you will know that your PC/MAC can communicate with your Arduino.What is code?Something you want the..
Arduino OverviewGeneral Purpose computerUsually has a human in the loop.Can be reconfigured to do any number of tasks (excel, email, music)Arduino is a embedded systemEmbedded Systems: Human input not required all the time. - Takes specific inputs and computes outputs for a very specific application. - Meets real-time goals: Heated monitor, Automatic braking System (ABS).Board suppo..