Skip to main content

Posts

Arduino and Standard Tilt Sensor

HELLO THERE!!!             How are you, guys? I hope everyone is fine and in good condition always. So, as I said from the previous post, I will share with you guys on my experiments on the standard tilt sensor (some would prefer to call it as tilt switch). The sensor/switch that I am going to use is shown in the image below: The Standard tilt sensor/switch    The tilt sensor shown has only two pins. One of the pins will be wired to ground while the other would be connected to input pin and 5V. Working Procedure of the Tilt Sensor:    Similar to the mercury tilt sensor, this tilt sensor has metallic balls in it. The metallic balls functions as a switch where the if tilted the ball will move from "off" to "on" position and vice versa. It can be said that this tilt sensor is a eco-friendly version of the mercury tilt sensor. On The Arduino HARDWARE NEEDED: 1.ARDUINO UNO( You can also use other Arduino Variants) 2.Res...
Recent posts

Arduino and Keyes KY-017 Mercury Tilt Sensor

HELLO THERE!!!     How are you guys? I hope everyone is fine and good as always. I am back in tinkering after a few months of hiatus( busy stuff :) ). So, today i would like to share with you guys on KY-017, which is a Keyes Mercury Tilt Sensor. KY-017 Sensor KY-017      The picture above shows the KY-017 Sensor from Keyes. It has 3 pins, A ground, A vcc, and A signal pin. If you look closely, there is a mercury ball inside the bulb like object. The mercury ball acts like a switch for this sensor. KY-017 Working Procedure: 1. When the sensor is not tilted, the mercury ball will be at the bottom of the bulb. This will complete the circuit and turns on the LED of the sensor. The output that is sent through the signal pin will be LOW. 2.When the sensor is tilted, the mercury ball will be at the top of the bulb(near at the sharper end). This will complete break circuit and turns off the LED of the sensor. The output that is sent through t...

Web Template Numero UNO!!!

HELLO THERE!!!    Hi Guys!! Sorry for the long hiatus, I've been exploring a new hobby for the past weeks and I've made a sample out of it for you guys to see and feedback about it. I've been into designing some web template as a hobby and I had developed my first template. I'd embed a demo video of the design, could you guys give a feedback on it(it will be really appreciated). Once again thank you guys and one more thing, I'LL BE BACK with some more Arduino tutorials (maybe with some rpi also) in the near future. Till then, HAPPY TINKERING!!!

Arduino Beginner Experiment: Arduino And Rotary Encoder

HELLO THERE!!!     How are you guys? I hope everyone is having fun and enjoying their holidays. In this post, I would like to share with you guys on my tinkerings with the rotary encoder. In this experiment, I would read my rotary encoder values by using Arduino. What Is A Rotary Encoder?      A rotary encoder is a device that changes motion into digital or analog values. This device are mostly used in robotic projects as it has precise unlimited rotation motion.There are different types of rotary encoders tailored for different types of uses. In this experiment, I had use one of the common rotary encoders, Keyes 0-40 rotary encoder. HARDWARE: 1. Arduino UNO 2.Rotary Encoder (KYS 0-40) SOFTWARE: 1.Arduino IDE CIRCUIT ASSEMBLY: Referring to image above, the connection of the rotary encoder to Arduino is as follows: Rotary                               ...

Arduino Beginner Experiments: Reading the DHT11 Data in Smartphone

HELLO THERE!!!         How are you guys? I hope everyone is fine and in a good mood always. In this post, I would like to share with you guys an experiment which is the continuation of last post experiment. In this experiment, I would like to read the DHT 11 sensor values in my smartphone. So, I would like to share two ways to do so. HARDWARE: 1.Arduino UNO 2. Bluetooth Module (I used HC-06 ) 3. DHT11 Sensor (If you are using LM35 refer here:    http://halim930112.blogspot.my/2016/04/arduino-experiments-lm35-and-graph.html ) 4. Smartphone SOFTWARE: 1. MIT App Inventor 2 2. Bluetooth Terminal (Downloadable from Play Store) CIRCUIT ASSEMBLY:  Referring to both of the Images above, the connection is as follows: HC-06                                    Arduino --------               ...

Arduino Beginner Experiments: Measuring Temperature and Humidity Using DHT11

HELLO THERE!!!     How are you,guys? I hope everyone is fine always. This week, I would like to share with you guys on how to measure temperature using the DHT11. If you are using the LM35 to measure temperature , please refer here: http://halim930112.blogspot.my/2016/04/arduino-experiments-lm35-and-graph.html   .The DHT 11 is a 2 in 1 where it can both read temperature and humidity. Without further ado let's jumps straight into the experiment. HARDWARE: 1.Arduino UNO 2.DHT 11 Moisture and Temperature Sensor SOFTWARE: 1.Arduino IDE LIBRARY: 1.DHT Library (Download from here :https://github.com/adafruit/DHT-sensor-library) CIRCUIT ASSEMBLY: Referring to the image above, the connection between the DHT and Arduino is shown as below: DHT                   ARDUINO S      -----------> Any Digital Pin Middle Pin -------> 5V -      -------...

Mixing Color with RGB LED!!

HELLO THERE!!!     Hi everybody!! How are you guys? This week, I am going to share with you guys a fun experiment that I did during the weekends. The objective of this experiment is to use the RGB LED to output different colors. Without wasting further time, let's get into the experiment!! HARDWARE: 1.Arduino UNO 2. 3 Potentiometer 3. RGB LED ( I used the Keyes RGB LED) SOFTWARE: 1.Arduino IDE CIRCUIT ASSEMBLY:   By referring to the image below: The RGB LED has 4 pins, 1 GND, 1 pin each for the color red, green and blue. RGB LED                      ----------> ARDUINO  GND(- sign of the pin)                  GND R,G,B                                              Any Digital pin(I used pin 9,10 and 11) T...