Jump to content
Arduino.lk Community Sri Lanka

Team Arduino.lk

Members
  • Content count

    30
  • Joined

  • Last visited

Everything posted by Team Arduino.lk

  1. KY-022 INFRARED RECEIVER MODULE

    Description Arduino IR receiver module KY-022, reacts to 38kHz infrared light. KY-022 Specifications This module consists of a 1838 IR receiver, a 1kΩ resistor and a LED. It works together with the KY-005 IR transmitter module. Compatible with popular electronic platforms like Arduino, Raspberry Pi and ESP8266. Operating Voltage 2.7 to 5.5V Operating Current 0.4 to 1.5mA Reception Distance 18m Reception Angle ±45º Carrier Frequency 38KHz Low Level Voltage 0.4V High Level Voltage 4.5V Ambient Light Filter up to 500LUX KY-022 Connection Diagram Connect the Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 11 on the Arduino. Line un IR receiver and transmitter. KY-012 Arduino S Pin 11 middle +5V – GND KY-022 Arduino Code The following Arduino sketch uses the IRremote library to receive and process infra-red signals. Use the KY-005 IR transmitter module to serially send data to this module. Links to the required libraries for KY-022 Arduino example sketch can be found in the Downloads section below. #include <IRremote.h> int RECV_PIN = 11; // define input pin on Arduino IRrecv irrecv(RECV_PIN); decode_results results; // decode_results class is defined in IRremote.h void setup() { Serial.begin(9600); irrecv.enableIRIn(); // Start the receiver } void loop() { if (irrecv.decode(&results)) { Serial.println(results.value, HEX); irrecv.resume(); // Receive the next value } delay (100); // small delay to prevent reading errors } View the full article
  2. KY-022 INFRARED RECEIVER MODULE

    Description Arduino IR receiver module KY-022, reacts to 38kHz infrared light. KY-022 Specifications This module consists of a 1838 IR receiver, a 1kΩ resistor and a LED. It works together with the KY-005 IR transmitter module. Compatible with popular electronic platforms like Arduino, Raspberry Pi and ESP8266. Operating Voltage 2.7 to 5.5V Operating Current 0.4 to 1.5mA Reception Distance 18m Reception Angle ±45º Carrier Frequency 38KHz Low Level Voltage 0.4V High Level Voltage 4.5V Ambient Light Filter up to 500LUX KY-022 Connection Diagram Connect the Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 11 on the Arduino. Line un IR receiver and transmitter. KY-012 Arduino S Pin 11 middle +5V – GND KY-022 Arduino Code The following Arduino sketch uses the IRremote library to receive and process infra-red signals. Use the KY-005 IR transmitter module to serially send data to this module. Links to the required libraries for KY-022 Arduino example sketch can be found in the Downloads section below. #include <IRremote.h> int RECV_PIN = 11; // define input pin on Arduino IRrecv irrecv(RECV_PIN); decode_results results; // decode_results class is defined in IRremote.h void setup() { Serial.begin(9600); irrecv.enableIRIn(); // Start the receiver } void loop() { if (irrecv.decode(&results)) { Serial.println(results.value, HEX); irrecv.resume(); // Receive the next value } delay (100); // small delay to prevent reading errors } View the full article
  3. KY-016 RGB FULL COLOR LED MODULE

    Description KY-016 Arduino full color 5mm RGB LED, different colors can be obtained by mixing the three primary colors Specifications This module consists of a 5mm RGB LED and three 150Ω limiting resistors to prevent burnout. Adjusting the PWM signal on each color pin will result on different colors. Operating Voltage 5V LED drive mode Common cathode driver LED diameter 5 mm KY-016 Connection Diagram Connect the red pin (R) on the KY-016 to pin 11 on the Arduino. Blue (B) to pin 10, green (G) to pin 9 and ground (-) to GND. Notice that you do not need to use limiting resistors since they are already included on the board. KY-016 Arduino R Pin 11 B Pin 10 G Pin 9 – GND KY-016 Example Code The following Arduino sketch will gradually increase/decrease the PWM values on the red, green and blue pins causing the LED to cycle through various colors. int redpin = 11; // select the pin for the red LED int bluepin =10; // select the pin for the blue LED int greenpin =9; // select the pin for the green LED int val; void setup() { pinMode(redpin, OUTPUT); pinMode(bluepin, OUTPUT); pinMode(greenpin, OUTPUT); Serial.begin(9600); } void loop() { for(val = 255; val > 0; val--) { analogWrite(11, val); analogWrite(10, 255 - val); analogWrite(9, 128 - val); Serial.println(val, DEC); delay(5); } for(val = 0; val < 255; val++) { analogWrite(11, val); analogWrite(10, 255 - val); analogWrite(9, 128 - val); Serial.println(val, DEC); delay(5); } } View the full article
  4. KY-016 RGB FULL COLOR LED MODULE

    Description KY-016 Arduino full color 5mm RGB LED, different colors can be obtained by mixing the three primary colors Specifications This module consists of a 5mm RGB LED and three 150Ω limiting resistors to prevent burnout. Adjusting the PWM signal on each color pin will result on different colors. Operating Voltage 5V LED drive mode Common cathode driver LED diameter 5 mm KY-016 Connection Diagram Connect the red pin (R) on the KY-016 to pin 11 on the Arduino. Blue (B) to pin 10, green (G) to pin 9 and ground (-) to GND. Notice that you do not need to use limiting resistors since they are already included on the board. KY-016 Arduino R Pin 11 B Pin 10 G Pin 9 – GND KY-016 Example Code The following Arduino sketch will gradually increase/decrease the PWM values on the red, green and blue pins causing the LED to cycle through various colors. int redpin = 11; // select the pin for the red LED int bluepin =10; // select the pin for the blue LED int greenpin =9; // select the pin for the green LED int val; void setup() { pinMode(redpin, OUTPUT); pinMode(bluepin, OUTPUT); pinMode(greenpin, OUTPUT); Serial.begin(9600); } void loop() { for(val = 255; val > 0; val--) { analogWrite(11, val); analogWrite(10, 255 - val); analogWrite(9, 128 - val); Serial.println(val, DEC); delay(5); } for(val = 0; val < 255; val++) { analogWrite(11, val); analogWrite(10, 255 - val); analogWrite(9, 128 - val); Serial.println(val, DEC); delay(5); } } View the full article
  5. MP3 with arduino

    https://diyhacking.com/arduino-audio-player/
  6. NodeMCU ගැන සිංහලෙන්

    Board eke image ekak post karanna
  7. @Ishara Peiris go through this project https://github.com/aron-bordin/Android-with-Arduino-Bluetooth https://github.com/coconauts/Arduino-Android-Bluetooth
  8. are you connect with app via wifi or Bluetooth
  9. IMG_4379.JPG

  10. IMG_4382.JPG

  11. IMG_4380.JPG

  12. relay Connect with 5v Relay Module

    What is a relay A Relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate the switch and provide electrical isolation between two circuits. In this project there is no real need to isolate one circuit from the other, but we will use an Arduino UNO to control the relay. We will develop a simple circuit to demonstrate and distinguish between the NO (Normally open) and NC (Normally closed) terminals of the relay. We will then use the information gained in this tutorial to make a much more exciting circuit. But we have to start somewhere. So let's get on with it. Parts Required: Arduino UNO compatible board 4 Channel Relay Module 2x LEDs 2x 330 ohm resistors Jumper Wires (male to male) Jumper Wires (female to male) Fritzing Sketch Table of Connections Arduino Sketch /* Connect 5V on Arduino to VCC on Relay Module Connect GND on Arduino to GND on Relay Module Connect GND on Arduino to the Common Terminal (middle terminal) on Relay Module. */ #define CH1 8 // Connect Digital Pin 8 on Arduino to CH1 on Relay Module #define CH3 7 // Connect Digital Pin 7 on Arduino to CH3 on Relay Module #define LEDgreen 4 //Connect Digital Pin 4 on Arduino to Green LED (+ 330 ohm resistor) and then to "NO" terminal on relay module #define LEDyellow 12 //Connect Digital Pin 12 on Arduino to Yellow LED (+ 330 ohm resistor) and then to "NC" terminal on relay module void setup(){ //Setup all the Arduino Pins pinMode(CH1, OUTPUT); pinMode(CH3, OUTPUT); pinMode(LEDgreen, OUTPUT); pinMode(LEDyellow, OUTPUT); //Provide power to both LEDs digitalWrite(LEDgreen, HIGH); digitalWrite(LEDyellow, HIGH); //Turn OFF any power to the Relay channels digitalWrite(CH1,LOW); digitalWrite(CH3,LOW); delay(2000); //Wait 2 seconds before starting sequence } void loop(){ digitalWrite(CH1, HIGH); //Green LED on, Yellow LED off delay(1000); digitalWrite(CH1, LOW); //Yellow LED on, Green LED off delay(1000); digitalWrite(CH3, HIGH); //Relay 3 switches to NO delay(1000); digitalWrite(CH3,LOW); //Relay 3 switches to NC delay(1000); } The Red light on the Relay board turns on when power is applied (via the VCC pin). When power is applied to one of the Channel pins, the respective green light goes on, plus the relevant relay will switch from NC to NO. When power is removed from the channel pin, the relay will switch back to NC from NO. In this sketch we see that power is applied to both LEDs in the setup() method. When there is no power applied to the CH1 pin, the yellow LED will be on, and the Green LED will be off. This is because there is a break in the circuit for the green LED. When power is applied to CH1, the relay switches from NC to NO, thus closing the circuit for the green LED and opening the circuit for the yellow LED. The green LED turns on, and the yellow LED turns off. I also show what happens when you apply power to a channel (eg. CH3) when there is nothing connected to the relay terminals. The respective onboard LED illuminates. This is useful for troubleshooting the relays, and knowing what state the relay is in (NC or NO). NC stands for Normally closed (or normally connected) NO stands for Normally open (or normally disconnected)
  13. tutorials Fundrino Tutorials for Arduino

    Version

    9 downloads

    ඔයාලට මෙම පොතෙන් Arduino electronic ගැන මෙන්න මේ දේවල් ගැන ගෝඩක් දේවල් ඉගන ගන්න පුළුවන් Blinking LED Alternately blinking LED. Fading LED Light and sound Push button and LED RGB LED. more This version of our tutorials in english language is a new one (april 2016).
  14. H-Bridge කියන්නේ මොකක්‌ද?

    https://shop.arduino.lk/Modules/Motor-Drivers
  15. problem connect with wifi or Bluetooth with robot car

    you can create it first buildup this car >> Refer this >> https://www.arduino.lk/kb/make-obstacle-avoiding-arduino-robot/ after you can connect Bluetooth or wifi module if you have any problem please write comment
  16. Version 1.7

    6 downloads

    HC-SR04 Ultrasonic Distance Sensor module Library
  17. L293d Motor Shield Library

    Version 1.0.0

    7 downloads

  18. robotics Robotics Kit With Motor Shield

    Version 3.0

    32 downloads

    ඔයාලට මෙම පොතෙන් Arduino Uno r3 සහ L293d Motor Slield එක භාවිතා කරලා ස්මාර්ට් කාර් එකක් හදන්න ඉගන ගන්න පුළුවන් අවශ්‍ය දේවල් Chassis kit including two DC motors and hardware Arduino Uno R3 HC-SR04 Ultrasonic Distance Sensor module Servo Motor Shield USB cable 400 Tie Point Breadboard 40 pin header and connecting cables 6V battery case with 2.1mm plug for Arduino
  19. Arduino Course for Beginners

    • Arduino programming මුල සිට ඉතා සරලව පැහැදිලි කෙරේ.• ප්‍රායෝගික ක්‍රියාකාරකම් සදහා අවශ්‍ය සියලු උපකරණ නොමිලේ සපයනු ලැබේ.• දිවා ආහාර සහ refreshments සපයනු ලැබේ.• සියලු දෙනාට පෞද්ගලික අවදානය යොමු කෙරේ.• වැඩසටහන අවසානයේ සහතික පත්‍රයක් නිකුත් කෙරේ.In Arduino.lk’s Introduction to Arduino Programming training, students learn the basics of electronics, sensor input, LEDs, and basic electro-mechanical control using the incredibly popular Arduino microprocessor platform.In this course, we will introduce you to the basics of programmable electronics using Arduino. We will start off with simple concepts around designing and creating light sculptures with LEDs that blink to create a variety of patterns and sequences. The course will expand this project to show you how to dim and fade LEDs using a technique called Pulse Width Modulation (PWM). This same technique will be used to mix colors of a tri-color LED to re-create any color in the rainbow and produce your very own disco light show!Throughout this course, we will introduce the basics of programming in Arduino, introducing a handful of useful constructs in C \ C++ programming.All students will:>> Learn the basics of electronics, including reading schematics (electronics diagrams)>> Learn how to prototype circuits with a breadboard>> Learn the Arduino programming language and IDEProgram basic Arduino examples>> Prototype circuits and connect them to the Arduino>> Program the Arduino microcontroller to make the circuits work>> Connect the Arduino microcontroller to a serial terminal to understand communication and stand-alone use>> Explore the provided example code and online resources for extending knowledge about the capabilities of the Arduino microcontrollerContents IntroductionFundamentals of basic electronicsOhm’s lawVoltage, current and resistanceElectronic components and symbolsResistors, capacitors, transistors, diodes and moreBasic circuits and their functionsHooking things upReading schematicsBreadboardingConnecting to the ArduinoArduino setupConnecting to the computer and IDEBuilt-in code and examplesDownloading programs to the ArduinoWriting your first test programConnecting the Arduino to the outside worldSerial troubleshootingBreadboard to Arduino connectionsBasic test codeSensory inputSurvey of types of input sensorsConfiguring and using digital and analog inputsSimple switch circuitsAnalog inputs (sensors)Selecting sensorsAnalog input fundamental circuits and optimizationDigital and analog input codeOutput: LEDs and electro-mechanics (robotics)Survey of types of output devicesConfiguring and driving digital and analog outputsSimple on/off output circuitsAnalog output circuits (brightness, position and speed controlSelecting output devices (motors, solenoids, etc.)Digital and analog output codeConnecting input to outputProgramming sensor-to-output device controlArduino language understandingWriting stand-alone reactive programsExtending the Arduino capabilitiesSurvey of Arduino “Shields” (Ethernet/WIFI, Bluetooth, specialty function boards, etc.)Connecting Arduino and external systemsArduino as embedded controllerAdditional web project and code examplesResources for going furtherConclusionMedium : SinhalaCourse fee : 7,500 LKRAwards : Certificate for all participantsVenue : Nugegoda/HomagamaDuration: 8 hoursRequired materials : Laptop and Stater KitConfirmation fee for confirm your Participation : 2500 LKR | Free Arduino Stater KIT 2Contact : 0722015270Apply Now : https://goo.gl/forms/fSznE3ULez51MRZv2
  20. Arduino and Robotics Workshop for Beginners

    followed by beginners’ guideline to Arduino and Robotics. This one-day workshop will include the essentials of Arduino and its real life applications along with a complimentary session on how to build a Arduino Robot Car from scratch.Equipment: Participants must bring their own laptops. and Arduino Stater KIT you can buy it this URL : Stater KIT 1 - https://goo.gl/GzGpX3 Stater KIT 2 - https://goo.gl/sZLbcrStater KIT Available in NSBM MINI MARTWorkshop Content:1. Intro to Arduino2. Arduino IDE set up3. I/O interfacing4. Digital and Analog Read and Write5. 10 Basic Projects | Sensor and Module 6. Make a RobotToolkit:1. Arduino UNO2. Breadboard3. Jumper4. LED5. Resistor6. Car Chasis Kit with Compnenet Register Now : https://goo.gl/forms/IfrVTMFDn9RviiDj2Free: (For Workshop Only) (NSBM Student Only) 50 Seat Avilable Contacts : 072-9106770 | [email protected] (Medini)
  21. can you explain "software with spreadsheet and Android "?
  22. Arduino Board

    Arduino Board is a circuit board, which integrates micro controller, input, output interface and etc. Arduino Board can use the sensor to sense the environment and receive user’s operation to control LED, motor rotation, etc. We just need to assembly circuit and write the code Currently, Arduino Board has several models, and the code between boards of different types is universal (some boards may not be completely compatible because of the differences in hardware). Popular boards include: Diagram of Arduino UNO board is shown below: Digital I/O ports is used to connect to other components or modules, to receive an input signal, or to send a control signal. Usually, we name it by adding a “D” in front of the number, such as D13. USB interface is used to provide power, upload code or communicate with PC. LED L is connected to digital I/O port 13 (D13). LED TX, RX is used to indicate the state of the serial communication. DC interface is connected DC power to provide power for the board. Power ports can provide power for electronic components and modules. Analog I/O ports can be used to measure analog signals. LED ON is used to indicate the power state. View the full article
×