I have AVR that needs to drive 12V 1A motor.
I always used NPN BJTs (2N2222), but reading the datasheet says the MAX is 1A (which means I cannot use it here).
Instead, I willing to use MOSFET. I have ...

After reading a lot of posts (here and on the web), I am a bit confused.
All I want to do is to get the best practice of push button connection to AVR.
I have 2 "sections" to my question. the first ...

I am trying to interface GSM SIM900 with AVR Controller. Till now I have
done programming which transmit the command ATD and it makes a
call to my cell. GSM response to this command by sending OK. I ...

I am trying to design a USB joystick with many different buttons. The board I am using right now has an ATmega32U4, USB port, and 16 I/O pins. I am using LUFA for a USB stack.
I know that I can get ...

I'm very new to the concept of I2C and I've been having some problems interfacing I2C between 2 Atmega32(s).
I have one Atmega32 as a Master to which an LCD screen is connected
and another I2C as a ...

I have a HEX file with a firmware for Attiny45. What I want to do is to extract some kind of formula that is coded inside it. I have done some research (mostly to find out that "it is not possible", ...

I am trying to learn how to use interrupts for a project using an Attiny85. I have written a simple program from what I have learned from tutorials. However when I try to build the program in Atmel ...

I'm trying to implement a global timer, so that I can call time_us() anywhere in program and the function will return microseconds since program start. I've done this using TIMER2 (8-bit clock) and ...

I have connected four WS2812B modules I got from eBay to my AtMega8 and tried to use the light_ws2812 libray to controll them.
I connected the wire used for communication to the PC5 Pin on my ATMega ...

I'm working on a basic mod chip, but not exactly for gaming; more for robotics. I'm using the new common ground (CG\CG2) controllers. I'd like to make my chip as much like the XMOD chip as possible ...

I want to design a bootloader in AVR ATMEGA16 that when we reset the AVR, it receive hex file from some PC by serial port without run a program on PC
for example when we reset the AVR, it load .hex ...

I made an oscilloscope with AT90USB series(activated ADC in micro and send data to my own program in PC via USB).I dont need more than 0-5v but you can never tell.I know I can mislead higher voltages ...

I am facing an issue where my AVR is not resetting properly upon power up.This is the first time I am facing such issue.
I have a Nokia LCD connected to AVR and upon startup (and after some delay and ...

I'm using Atmega8 with CVAVR 2.05.0 and trying to slightly modify the way ds18b20 library works. I want to store temperatures from sensors in global array and start conversion for all sensors at one ...

I have an RLM100 UHF RFID module. I searched a lot, but I didn't found anything useful that explain how I can use this module. I mean the only thing that I understand so far it that this module use ...

I am building a small command interpreter to be run on a microcontroller. To queue each command and its accompanying arguments, I am using a queue implemented as a singly linked list. All of the queue ...

I'm trying to obtain the input frequency of a square wave using the input capture register of an Atmega328p. So far, it works sporadically -- which is to say, when I input a 75 kHz square wave, the ...

The datasheet says that an External Reset is generated by a low level on the RESET pin. And after reset all my conditions and values will be set to initial values.
I have connected the Reset(bar) pin ...

So far, I was able to get two outputs at the correct resolution (35kHz-75kHz at a resolution no worse than 0.7 kHz) using the code below. I'm wondering, now, how I can get a phase shift between the ...