This project makes use of three out of the eight ADCs present in AtMega16 IC to display the corresponding digital data of X, Y and Z outputs of an accelerometer on 16X2 LCD.It’s very easy to deal with such kind of modules as they just need the VCC and GND supply to get started, rest it is its job to provide us the analog data.These modules work on simple concept like that of force acting on an object at inclined plane. It deals with the Mg(sin ?) and Mg(cos ?) part of the force and calculate the angle ? for further calculations. Now it also notices the change in force from which acceleration will be calculated.
Fastest Finger First Circuit using ATMega16
Fastest Finger first circuit is basically used in quiz type games where the reaction speed of a participant is significant. The circuit enables us to identify who responded first to the question by triggering a visual and audio indication. The circuit uses a buzzer to produce the audio signal and a seven segment display for visual indication. The display shows the corresponding team number which pressed the buzzer first. The brain of this circuit is an ATMega16 microcontroller which can run at a maximum speed of 16MHz and so there will be no question of clash between any two contestants until and unless their reaction time was same in order of microseconds which is impossible. Continue reading to find out what the circuit components are and how it is assembled as well as put to work.
Sleeping Security – Smart Keypad Lock using AtMega16
该项目只是任何键盘锁的智能版本。它很聪明的是,它可以检测用户是否需要它,并因此切换自身以睡觉。制作微控制器睡眠会减少功耗,并增加其使用时间。不用担心,当微控制器出门入睡时,它会抓住睡眠前的工作。在我的项目中,我只有在用户完成输入密码的内容并且微控制器完成整个工作时才能入睡。
GSM Based AC Appliance Control
该项目将向您展示如何使用手机从任何地方远程控制AC设备。这种项目在各种应用程序中很有用。例如,农民可以远程打开或关闭电动机泵的电动泵。这样,他就不必一路前往野外来控制它,尤其是在夜间。
GSM Based Intruder Alerting System
您是否知道在家中大部分盗窃案发生时发生?但是,并非每个人都足够富有,可以为自己的房屋雇用保安,同时他们自己不能在家24 BY7。现在,如果有一个系统可以通过短信提醒您有关入侵者的信息?以下教程会教您如何使您自己的入侵者警报系统
4 Wire Touch Screen Based Digital Magic Slate
曾经在您的童年时代玩过魔术板吗?好吧,这个项目将向您展示如何使用PC,触摸屏和其他几个组件制作数字魔术板。基本上,该项目将来自电阻触摸屏的模拟电压转换为两个坐标整数值,并通过微控制器将其发送到PC。处理代码将这些坐标视为输入,并在输出屏幕上为每个坐标绘制一个白点。或曲线。该电路基于ATMEGA 16微控制器,与USB转换器的串行或(串行到RS-232 + RS-232到USB转换器)以及个人计算机或笔记本电脑。
使用AVR微控制器对直流电动机的速度和方向控制 - (第20/46部分)
我们可以计算这类应用程序的数量re is a need to change direction and/or speed of DC motor. The direction of DC motor can be controlled by just reversing the polarity of given supply. And for varying speed, there are various ways to vary speed of DC motor but the best amongst them is PWM – pulse width modulation technique. In this technique we shall vary the width of applied pulse that will vary average voltage applied to motor and its speed will change.
使用AVR微控制器的步进电动机的速度和方向控制 - (第25/46部分)
步进电动机可以称为数字电机,因为它在脉冲上运行。与连续旋转的AC或DC电动机不同,步进电动机以台阶旋转。根据所施加的脉冲数量,它旋转步骤数。公共端子连接到–ve(GND)端子。现在,要改变电动机的速度,我们必须更改脉冲重复频率(PRF),即应用脉冲的频率。如果PRF增加,则脉搏持续时间降低,速度增加,反之亦然。因此,该项目演示了如何使用AVR微控制器ATMEGA32改变速度并改变给定步进电机的方向
Controlling RGB LED colour using Atmega16- (Part 19/46)
This tutorial will give you a brief introduction to the concept of colors and how different colors can be produced using RGB LED. The color would be controlled using an ATMega16 microcontroller.RGB LEDs are basically the combination of the 3 LEDs (Red, Green and Blue) fused into a single package. It consists of four pins totally out of which three of them for the three different colors. The 4th pin is common for all three colors and it’s either Cathode or Anode.
Latitude & Longitude Display System Using GPS & AVR Microcontroller- (Part 44/46)
This project is a reference to budding engineers or a helping hand to those who willing to work and interface a GPS Receiver with microcontroller and making their own channel to communicate with satellite, seeking for some useful information from satellite to make a effective and efficient system. Before we check all the details of this project, here is the final implemented circuit diagram of longitude and latitude display system using GPS and AVR microcontroller.
embRACE: The Embedded Race
Ambrace是在嵌入式平台上开发的游戏,完全以汇编语言进行编码。该游戏已在ATMEGA16微控制器上编程,并与16×2 LCD显示模块连接。LCD显示器使用自定义LCD字符在游戏中显示各种字符,其游戏中游戏中的一代时间由代码完全随机化。在设计和代码阶段,特别是考虑到整个游戏很有趣,并且具有实质性的用户相互作用。
DIY:使用伺服电机的复古风格模拟伏仪表
从长远来看,数字设备已迅速替换了模拟设备。那是因为前者比后者具有很大的优势。但是您是否想念那些复古风格的模拟测量器?那些尖尖的指标和渐变尺度?好吧,我这样做了,所以决定用“现代”部分建造一个。本文将向您展示如何制作复古风格的D.C.电压表,该电压表可以在0-30V范围内测量。
Interfacing 4-wire Resistive Touchscreen with ATMega16 Microcontroller- (Part 46/46)
在本教程中,我们将学习如何与Atmega16微控制器连接4线电阻触摸屏。触摸屏是二维输入设备。如今,大多数电子产品都使用它们。如今,笔记本电脑,智能手机,平板电脑,甚至是一些家用电器(例如洗衣机和微波炉)也使用触摸屏。触摸屏优先于键盘,因为它们几乎不需要或没有压力才能操作,而键盘/按钮需要最小的压力才能操作,并且在连续使用一段时间后,我们的双手开始疼痛。使用触摸屏的一个更大的优势是它使我们能够为屏幕本身腾出更多空间,而不是浪费永久键盘上的空间。这就是我们智能手机屏幕变得足够大以浏览网页并且仍然适合我们的口袋的原因。
Interfacing Serial Bluetooth Modem with Computer using ATmega16- (Part 41/46)
This project would give you a general idea about how to setup and interface any Bluetooth modem with your computer. There are many types of Bluetooth modems available in market, which vary in quality, cost, range, etc. Some of the well known Serial Bluetooth modems are AUBTM, BLUESMIRF, RN-41, HC-05 and HC-04.I would be using the last one i.e. the cheap Chinese Bluetooth module. It has limited functions and it can only work in slave mode. (Remember: Two slave modules cannot directly communicate to each other so be careful when you buy them.) The top range modules have a facility to work in both MASTER and SLAVE modes. It is Class 3 module so it range is very low. (Class 2 has a range of 10 meters and Class 1 has a range of 100 meters.)
AVRATmega16/32 Fuse Bits
简要更新技术时代,新的微控制器带有许多内置外围设备和功能。这些内置的外围设备和功能不仅降低了与控制器一起使用的其他电路的成本,而且还可以直接与微控制器直接接口其他设备(例如调制解调器等)。这…
How to interface GPS with AVR microcontroller (ATmega16)- (Part 43/46)
现代设备,GPS接收的信号satellite and provides information about latitude, longitude, altitude, time etc. The GPS navigator ismore famous in mobiles to track the road maps. The GPS modem has an antenna which receives the satellite signals and transfers them to the modem. The modem in turn converts the data into useful information and sends the output in serial RS232 logic level format. The information about latitude, longitude etc is sent continuously and accompanied by an identifier string.This article shows how to interface the GPS modem with ATmega16 and extract the location (latitude and longitude) from the GPGGA string and display it on LCD. The connection of GPS modem with AVR microcontroller (ATmega 16) is shown in the circuit diagram. The ground pin of max 232 and serial o/p of GPS modem is made common. Pin2 of MAX232 is connected to pin 3 of GPS modem and pin 3 of max 232 is connected to pin 2 of modem. This type of connection is called a serial cross cable.
How to configure Watchdog Timers of AVR Microcontroller (ATmega16)- (Part 15/46)
一些高端应用需要由微控制器进行多个或关键的计算。这可能会导致控制器进入Intowrong或无限循环时。因此,系统要么挂断或崩溃。克服这些情况的解决方案是每当出现这种情况时自动重置系统。看门狗计时器是硬件或软件生成的计时器中断,它在上述情况下重新启动/重置系统。当您故意需要重置系统而无需任何物理干扰的情况下,也使用看门狗计时器。AVR微控制器具有内置的看门狗计时器。本文解释了ATMEGA16中的监管计时器的工作。看门狗计时器是一个特殊的计时器,可以在代码的任何部分中启用,并在启用时确保在预定义的时间范围内执行一定数量的指令。可以使用看门狗计时器的寄存器配置/设置此时间范围或时间延迟。
如何与AVR MicroController(Atmega16)连接串行ADC0831 - (第27/46部分)
ADC是一种电子设备,可将模拟信号转换为与电压大小成正比的数字数字。ADCLIKE ADC0804,ADC0809等,给出8位数字输出。控制器设备需要八个引脚才能接收8位数据(有关ADC的更多详细信息,请参阅使用AVR的Instroult ADC)。一些应用程序需要更高的分辨率ADC(10或更高位数数字数据输出)才能获得数据准确性。使用并行ADC是此类应用程序的一种选择。但是,使用并行ADC将增加硬件的大小,因为10位并行ADC将具有10条输出线。另外,您可能必须使用具有更高数量的引脚的控制器。另一个选择是使用串行ADC,该串行需要较少的引脚。由于数据是串行传输的,因此与平行ADC相比,串行ADC的数据传输速率较低。在数据传输速度不是关键点的应用中,它们可以作为非常好的替代方案。 This article explores interfacing of serial ADC0831 with ATmega16.
How to take input from a particular pin of ATmega16- (Part 5/46)
For understanding the human needs a system must be able to take input from user. The devices which can be used to take input for a system are keypad, touch [[wysiwyg_imageupload::]]screen, etc. In the article LED blinking, the microcontroller drives the LED or in embedded language the microcontroller was set to give o/p, this article gives brief information of getting an input from user at a particular pin of microcontroller. In order to take input from an external source on any of the pins of the AVR microcontroller, the pins need to be configured as input pin. This configuration informs the controller that the corresponding pins are used to take input. Read more to find out how the circuit is constructed and how the IC can be programmed to work in the desired manner.
How to interface Servo Motor with AVR Microcontroller (ATmega16)- (Part 21/46)
Servo motors find huge applications in industries in the field of automation, control & robotics. The servo motors are well known for their precise control and work [[wysiwyg_imageupload::]]on the principle of servo mechanism. The servo motors can be made to run at precise angle using PWM. The PWM (pulse width modulation) is the basic working principle behind a servo motor (For more details about PWM refer Phase correct PWM mode). This article explores the interfacing of servo motor with ATmega16. Also to know more about servo mechanism see Interfacing Servo Motor with 8051. There are different types of servos available in the market. This article bounds its scope to interfacing a commonly available servo, widely used by hobbyist with ATmega16. Such a servo consists of three wires positive supply, ground and a control signal. Unlike other motors, Servo motors don’t require any driver. When a PWM signal is applied to its control pin the, the shaft rotates to a specific angle depending on the duty cycle of the pulse.