Browsing Category

Arduino

Easy Module Shield for Arduino : 7 examples

The Easy Module Shield in my opinion is one of the best shields you can buy for your Arduino Uno, the shield consists of the following features Two pushbutton switches Two LEDs One RGB LED Infrared receiving module Light dependent resistor Buzzer Potentiometer DHT11 temperature and humidity sensor module LM35 temperature sensor Here is a picture of the shield, you can clearly see the various parts mentioned above. Due to the large amount of features listed above, you can create many examples and therefore this is ideal for…

Arduino uno or nano : what to choose

A common question which crops up is should I choose an Arduino uno or nano for my projects First of all lets look at the classic Arduino Uno The Arduino Uno The Arduino UNO is the most famous of all of the Arduino boards.The Arduino UNO has 6 analog inputs and 14 digital I/O where 6 of them are PWM outputs. It uses a ATmega328 processor with 32kB flash memory. The clock speed of the Arduino UNO is 16Mhz and its size is 68.6mm x 53.3mm. One of the big positives with the Arduino Uno is that there are masses of shields that…

Barebones arduino with no PSU example

This is a basic 'barebones arduino', this is an Atmega328 based design. In this example we are externally powering the Atmega from a 5v source, this removes the need for a 5v on board regulator. In theory you can also remove the crystal and capacitors and use the internal clock but I kept these parts in Here is a parts list, you can easily build this circuit on veroboard, stripboard or make your own PCB Assembly List Label Part Type Properties C1 Ceramic Capacitor package 200 mil ; capacitance 22pF; voltage 6.3V C2 Ceramic…

Program an attiny2313 with an Arduino

This is the second part of setting up an Arduino to program an Attiny microcontroller, in the previous parts we added support for the variety of microcontrollers. For reference purposes this is what the Attiny2313 will be like when you do this, the pins and the corresponding Arduino pins are shown below, as you can see you still get 16 I/O pins, I2C capabilities, 3 PWM pins and a serial interface for communications. You will need to add support for the ATtiny2313 as per Programming ATtiny85 with Arduino Uno but you need to…

Programming ATtiny85 with Arduino Uno

The Attiny85 is a nice little 8 pin chip which is ideal for simple projects, they are low cost and if you have an Arduino you can actually burn the bootloader and upload your sketches to the microcontroller, this is perfect for beginners. I recommend buying one of the cheap Arduino Uno clones for this task and using it for this purpose. To program the ATtiny85 we need to first set Arduino Uno as an ISP. Connect your Arduino Uno to the PC. Open the Arduino IDE and open the ArduinoISP example file (File -> Examples ->…

KY-019 5V relay module

The KY-019 5V relay module Songle SRD-05VDC-SL-C Relay Relay UL/CUL Rating: 10A @ 125V AC, 28V DC Relay CCC/TUV Raiting: 10A @ 250V AC, 30V DC Control high-power devices up to 10A with a simple high/low signal Provides isolation between the microcontroller and the device being controlled Screw terminals for relay connections 3-pin servo-style header for power/signal interface LED indicator provides visual feedback Voltage requirements: 5V DC (Relay Power), 3.3V to 5V DC (Input Signal) Current requirements: ~85…

KY-018 Photo resistor module

The KY-018 Photo resistor module consists of an LDR A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity. A photoresistor can be applied in light-sensitive detector circuits, and light- and dark-activated switching circuits. A photoresistor is made of a high resistance semiconductor. In the dark, a photoresistor can have a resistance as…

KY-017 Mercury switch module

The KY-017 Mercury switch module is a switch when tilted the mercury in the switch will touch metal contacts and the output will go high Connection KY-017 Arduino S Pin 3 Middle 5v - GND Code //KY017 Mercury open optical module int Led = 13 ;// define LED Interface int buttonpin = 3; // define the mercury tilt switch sensor interface int val ;// define numeric variables val void setup () { pinMode (Led, OUTPUT) ;// define LED as output interface pinMode (buttonpin, INPUT) ;// define the mercury tilt switch…

KY-016 3-color LED module

The KY-016 3-color LED module. The KY-016 RGB LED module consists of a tri color LED, you can adjust the intensity of the three primary colors (red / blue / green) by altering the PWM voltage inputs of the R, G and B pins to achieve full color mixing. Connection KY-016 Arduino R Pin 11 B Pin 10 G Pin 9 - GND Code //KY016 3-color LED module 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…

KY-015 Temperature and Humidity Sensor Module

The KY-015 Temperature and Humidity Sensor Module is based on the DHT11 DHT11 digital temperature and humidity sensor is a composite Sensor contains a calibrated digital signal output of the temperature and humidity. Application of a dedicated digital modules collection technology and the temperature and humidity sensing technology, to ensure that the product has high reliability and excellent long-term stability. The sensor includes a resistive sense of wet components and an NTC temperature measurement devices, and…