Browsing Tag

Arduino

Arduino and RGB led examples

In this article we simply show you 4 examples using an RGB LED connected  to an Arduino The RGB led we had was a common anode type, so if you only have common cathode one's available you will have to modify the code examples later on

micro:bit traffic light example

In this example we will create a simple traffic light system with a micro:bit. This is fairly simple and at a basic level involves switching red, amber and green LEDs on and off at certain time intervals.

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…

4 Arduino Android apps

I have to say there are some fairly poor and mediocre Android app related to the Arduino. Generally there is very little content, way too many pop up ads and the content is basically freely available online Here are 4 Android apps Arduino Codes https://www.youtube.com/watch?v=NTK-yibieN8 Arduino handbook 2 https://www.youtube.com/watch?v=JMu7SRMQlio Arduino LED projects https://www.youtube.com/watch?v=jdKABTLnagI Arduino Sensors App https://www.youtube.com/watch?v=WnHum03M-vc

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…

Arduino and force sensor example

A force-sensing resistor is a material whose resistance changes when a force or pressure is applied. Force-sensing resistors consist of a conductive polymer, which changes resistance in a predictable manner following application of force to its surface.They are normally supplied as a polymer sheet or ink that can be applied by screen printing. The sensing film consists of both electrically conducting and non-conducting particles suspended in matrix. The particles are sub-micrometre sizes, and are formulated to reduce the…

Arduino and reed switches

The reed switch is an electrical switch operated by an applied magnetic field. It consists of a pair of contacts on ferrous metal reeds in a hermetically sealed glass envelope. The contacts may be normally open, closing when a magnetic field is present, or normally closed and opening when a magnetic field is applied. The switch may be actuated by a coil, making a reed relay,or by bringing a magnet near to the switch. Once the magnet is pulled away from the switch, the reed switch will go back to its original position. An…

Arduino and a hall effect sensor

A Hall effect sensor is a transducer that varies its output voltage in response to a magnetic field. Hall effect sensors are used for proximity switching, positioning, speed detection, and current sensing applications. In its simplest form, the sensor operates as an analog transducer, directly returning a voltage. With a known magnetic field, its distance from the Hall plate can be determined. Using groups of sensors, the relative position of the magnet can be deduced. Frequently, a Hall sensor is combined with threshold…

Arduino and LDR example

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 high as several megohms (MΩ), while in the light, a…

Arduino MQ-2 gas sensor example

The MQ-2 gas sensor has high sensitivity to LPG, Propane and Hydrogen, also could be used to detect Methane, it is low cost and suitable for several different applications. Characteristics * Good sensitivity to Combustible gas in wide range * High sensitivity to LPG, Propane and Hydrogen * Long life and low cost * Simple drive circuit Application * Domestic gas leakage detector * Industrial Combustible gas detector * Portable gas detector The sensitivity of the sensor can be adjusted by using the potentiometer that is fitted…