라벨이 arduino인 게시물 표시

Arduino - PinMapping168

이미지
Arduino - PinMapping168 : ATmega168 /328-Arduino Pin Mapping Note that this chart is for the DIP-package chip. The Arduino Mini is based upon a smaller physical IC package that includes two extra ADC pins, which are not available in the DIP-package Arduino implementations.

Arduino - PinMapping

이미지
Arduino - PinMapping : ATmega8 -Arduino Pin Mapping Below is the pin mapping for the Atmega8, the original chip used in early Arduinos. The pin mapping for the Atmega168 and the 328 is roughly the same.

Arduino Thermometer using LM35 sensor :: 네이버 블로그

이미지
Arduino Thermometer using LM35 sensor :: 네이버 블로그 : Arduino Thermometer using LM35 sensor Arduino 2010/08/12 01:40 http://blog.naver.com/lgiclee/40112342040 LM35를 이용한 초초간단 온도계 입니다. 아무것도 필요없고 LM35 와 아두이노만 있으면 됩니다. 분해능을 높이기 위해 내부기준전압 1.1V를 이용합니다. 참고로 mega168,328 은 내부기준전압이 1.1V이고 mega8은 2.56V 입니다. LM35 는 1도당 10mV 가 증가하는 사용하기 아주 쉬운 온도 센서 입니다. 100도면 1V 인것이죠. 1번핀 VCC(5V) 2번핀 아날로그 0번핀 3번핀 GND 소스를 간단히 설명하자면 내부기준전압 1.1V 를 사용했기 때문에 opamp 없이도 0.107(110/1024)도라는 높은 분해능을 만들 수 있습니다. map() 가 쓰였는데.. http://arduino.cc/en/Reference/Map 간단히 설명하면 어떤 범위의 값을 내가 원하는 범위로 만들어 주는 함수 입니다. 예를 들어 val 이라는 변수가 있는데.. map(val,0,1023,0,110); 이렇게 하면.. 0~1023 을 0~ 110으로 만들어 주는 것이죠. 단점은 정수형만 된다는 것입니다. 소수점이하의 값은 버려집니다. 그래서 소스에서는 0~1023 의 ADC 값을 110도 아닌 1100 으로 만든후에 10으로 나누어 소수점 첫번째 자리까지 표현합니다. ############################################################################### // 초간단 온도계 // LM35dz 이용 // mega168/328 내부 기준전압 1.1V 2~110도 까지 측정 ...

My Projects: Arduino LM35 Sensor

이미지
My Projects: Arduino LM35 Sensor : Arduino LM35 Sensor My son Paul and I recently finished a project using the Arduino Diecimila microcontroller in conjunction with the Processing open source programming environment to monitor temperature. The project contains 3 parts: 1. The Arduino board with sensor circuit. 2. The Arduino program. 3. The Processing program. The Arduino Board with Sensor Circuit The Arduino circuit board is connected to the LM35 Celsius Temperature sensor. Here is a picture of the project circuit with illustrated wires connected to the temperature sensor. We used the on board power source (5v and Gnd) to power the LM35 and analog pin 0 (zero) to read the analog output from the sensor. Here's a picture of the circuit wired on a breadboard . The LM35 temperature sensor's pin-out and package information is as follows: The Arduino Program The open-source Arduino environment allows us to write code and load it onto the Arduino board's memory. The ...

SB-Projects: IR Remote Control

이미지
SB-Projects: IR Remote Control : IR Remote Control Theory The cheapest way to remotely control a device within a visible range is via Infra-Red light. Almost all audio and video equipment can be controlled this way nowadays. Due to this wide spread use the required components are quite cheap, thus making it ideal for us hobbyists to use IR control for our own projects. This part of my knowledge base will explain the theory of operation of IR remote control, and some of the protocols that are in use in consumer electronics. Infra-Red Light Infra-Red actually is normal light with a particular colour. We humans can't see this colour because its wave length of 950nm is below the visible spectrum. That's one of the reasons why IR is chosen for remote control purposes, we want to use it but we're not interested in seeing it. Another reason is because IR LEDs are quite easy to make, and therefore can be very cheap. Although we humans can't see the Infra-Red light e...

tutorials:learn:sensors:ir.html [AdaWiki]

이미지
tutorials:learn:sensors:ir.html [AdaWiki] : What is an IR detection sensor? IR detectors are little microchips with a photocell that are tuned to listen to infrared light. They are almost always used for remote control detection - every TV and DVD player has one of these in the front to listen for the IR signal from the clicker. Inside the remote control is a matching IR LED, which emits IR pulses to tell the TV to turn on, off or change channels. IR light is not visible to the human eye, which means it takes a little more work to test a setup. There are a few difference between these and say a CdS Photocells : IR detectors are specially filtered for Infrared light, they are not good at detecting visible light. On the other hand, photocells are good at detecting yellow/green visible light, not good at IR light IR detectors have a demodulator inside that looks for modulated IR at 38 KHz. Just shining an IR LED wont be detected, it has to be PWM blinking at 38KHz. Pho...