Forums Search for: Atmega
ESP8266 based digital wireless system for electric guitar
inHi, Some time ago I have published the wireless system for electric guitar based on ATmega microcontrollers, RFM70 radio modules and CS5343 ADC:...
Hi, Some time ago I have published the wireless system for electric guitar based on ATmega microcontrollers, RFM70 radio modules and CS5343 ADC: http://wzab.cba.pl/STARE/wireless_guitar_system/index.html It seems to me, that ESP8266 may be used instead of ATmega88 and RFM70 in the transmitter, eliminating also the need of dedicated receiver (as the sound and control data will be tr
I2C multiple addresses for slave
inI am trying to implement a slave I2C interface using a PIC16F876 but it can only accept a single address as a slave, I have looked at the Atmega...
I am trying to implement a slave I2C interface using a PIC16F876 but it can only accept a single address as a slave, I have looked at the Atmega 168 and it has an address mask register (TWAM) but I am unsure if this will allow the device to respond to more than one slave address. Anyone with any knowledge on multiple addressing I2C in slave mode? Phil
Intro books covering Atmel ATMega
inHi. I'm teaching an intro class to embedded processor applications. The first part of the class used the Parallax Basic stamp, which is based on...
Hi. I'm teaching an intro class to embedded processor applications. The first part of the class used the Parallax Basic stamp, which is based on the PIC. I'm planning on using one of the Atmel ATMega's (8535, 16, or 32. What I'm looking for is any intro to AVR books that cover the ATMega line. I'm going to have the students use a processor in a breadboard, no pre-made boards, so I'm only look...
Embedded interrupt
inHi, Could anyone know whether it is possible to enable and use embedded interrupt in AVR ATMega using GCC? If yes, how to determine...
Hi, Could anyone know whether it is possible to enable and use embedded interrupt in AVR ATMega using GCC? If yes, how to determine the interrupt priority? Thanks!
Serial Programming, SPI and ATmega
inDear all, I am trying to send commands to a max6952 LED driver via SPI with my microcontroller (ATmega8) which has SPI, however I have never...
Dear all, I am trying to send commands to a max6952 LED driver via SPI with my microcontroller (ATmega8) which has SPI, however I have never writtern programing for serial communication, and I don't know were to start. Would anyne be kind enough to guide me the write direction (documentation, website...). I can't find anything on google. Can I use general pins on the microcontroller? Or ...
AVRISP
inI have the AVRISP and when programming the ATMega 8 chip I have 2 chips out of four that have locked up when been reprogrammed to the point the...
I have the AVRISP and when programming the ATMega 8 chip I have 2 chips out of four that have locked up when been reprogrammed to the point the AVRISP programmer complains it can not enter programming mode. I asked ATMEL about the problem and they just said that I must have the wrong fuse bits set! IMHO why the hell should a product produced by a comercial company have a bug that allows...
AVR Flash EMI Susceptibility?
inI've just had an ATMega 64 come back from EMC RF susceptibility testing (10 V/m) with the first 100 bytes (1 page) of Flash erased (reading...
I've just had an ATMega 64 come back from EMC RF susceptibility testing (10 V/m) with the first 100 bytes (1 page) of Flash erased (reading 0xFF). The application had been running perfectly before testing. Software inspection around the only SPM (store program memory) instruction in the entire program memory indicates that this is unlikely to cause the fault we have seen. Has anyone out ...
ATMEGA / AVR GCC - newbie questions
inI want to re-port an existing ATMEGA project that I did some time back (in asm) to 'C' and would like to use the AVR GCC compiler. Can...
I want to re-port an existing ATMEGA project that I did some time back (in asm) to 'C' and would like to use the AVR GCC compiler. Can anyone give me some basic steps to getting started? Thanks for any help.
multilevel menu
inI'm going to make in C multilevel menu on ATMEGA + LCD 2*16 + Key: UP, DOWN, ENTER, ESC. Any sugestions? Thanks for your time Mist-er
I'm going to make in C multilevel menu on ATMEGA + LCD 2*16 + Key: UP, DOWN, ENTER, ESC. Any sugestions? Thanks for your time Mist-er
Atmega AVRs - C code for self-programming Flash
inHi all, Lately I'm playing with an ATMEGA162 and AVRGCC / WinAVR. Does anyone know where I can find a C code fragment for writing to the...
Hi all, Lately I'm playing with an ATMEGA162 and AVRGCC / WinAVR. Does anyone know where I can find a C code fragment for writing to the Flash ROM? I just thought I'd ask before writing it myself. thanks, Al
ATmega SPI question
inHi all, Supposing AVR is a configured as a Master SPI device. Is it possible to discard AVR master SCK output signal and make SCK as an input...
Hi all, Supposing AVR is a configured as a Master SPI device. Is it possible to discard AVR master SCK output signal and make SCK as an input in order to apply external bitstream clock. My app is connecting a Quad voice A/MU law Codec (MSM7705) to an AVR SPI bus. Many thanks
AVR boot loader
ingood day everybody, I am using boot loader for downloading the firmware through serial port. Now i have the one for Atmega 163...
good day everybody, I am using boot loader for downloading the firmware through serial port. Now i have the one for Atmega 163 microcontroller. But i want to make this one for Atmega 128. I did some changes on the code (the code which i got from Progressive Resources LLC .... Boot16_32) now it is working fine , but if my code exceeded 64K it is not mapping correctly to the particul...
Linear regression on atmega 128L
ini, Having found out that the avr-gcc lib supports floats and handles them quite gracefully, I tried porting my linear regression code...
i, Having found out that the avr-gcc lib supports floats and handles them quite gracefully, I tried porting my linear regression code from desktop on to the atmega 128L, more or less as is. For testing i used the same table of X and Y values as sample inputs to the algorithm. Now I am using microsecond granularity as input to the regression engine and since the values are fairly large - an...
AT43USB380 USB host implementation with ATmega
inI am considering the embedded USB host solution using the Atmel' AT43USB380 and ATmega64. AT43USB380 is capable of interfacing directly t a 8...
I am considering the embedded USB host solution using the Atmel' AT43USB380 and ATmega64. AT43USB380 is capable of interfacing directly t a 8 bit MC, and I think the ATmega64 is suitable. But I cannot find th appropriate AT43USB380 firmware that can be integrated with the ATmega6 MC. In Atmel's website, I can only find the firmware specifically compile for ARM7. Plz help me solve this proble...
Problems with UART
inHI... I am programming with a MAVRIC II that uses the ATMEGA 128 but I connect GP2D12 infrarred sensor to the UART and I use the...
HI... I am programming with a MAVRIC II that uses the ATMEGA 128 but I connect GP2D12 infrarred sensor to the UART and I use the hyperterminal for see th output of the sensor but the only thing that I receive was: ??@}@@wp@}@pNstr@?????xw@????? What can I do??? The same thing happened with the srf04 ultrasoni sensor!!! I appreciate any help Thanks This message was sent us...
SPI with multiple microcontrollers
inHello everyone, I am facing the following situation: I have a microcontroller (e.g. Atmel ATmega 128 or TI MSP430) connected via SPI to a...
Hello everyone, I am facing the following situation: I have a microcontroller (e.g. Atmel ATmega 128 or TI MSP430) connected via SPI to a flash memory chip (e.g. Atmel AT45DB014B or ST M25P80). I'd very much like to enable a second microcontroller to access the flash memory. The central question in this regard is: Can I add this second microcontroller to the bus without changing the soft...
PCMCIA CardBus connect to microcontroller ?
inI'm looking for useful information how to connect PCMCIA CardBus to micrcontroller i.e. Atmega128. Is it necessary to use any CardBus...
I'm looking for useful information how to connect PCMCIA CardBus to micrcontroller i.e. Atmega128. Is it necessary to use any CardBus controller or some FPGA with IPCORE ? I don't need full speed communication so maybe it is possible to connect atmega & card directly ? -- Andrzej
CMOS camera chip + microcontroller = Home made camera
inI am studying digital electronics and I need to build a low-resolution camera unit which can transmit the captured frame over an RS232 comm...
I am studying digital electronics and I need to build a low-resolution camera unit which can transmit the captured frame over an RS232 comm channel. I will use a CMOS camera chip and a low cost microcontroller (ATMega or PIC) because of limited student budget. Can you tell me if you can see any design tricks/pitfall on this project that I need to be aware of? Where can I order a low...
Camera on RS232 =? Micro-USB module + WebCam
inHi, I recently saw a Micro-USB module on Dontronics's web site (http://www.dontronics.com/micro-usb.html). Appearently it convert RS232 to...
Hi, I recently saw a Micro-USB module on Dontronics's web site (http://www.dontronics.com/micro-usb.html). Appearently it convert RS232 to USB and vice versa. Would it possible (how) to use this Micro-USB module con connect and an off-the shelf USB webcam to a micro controller such as ATMega or PIC? (I do not need high speed or high resolution images)
Reading USB camera data from a microcontroller
inCan some USB, microcontroller expert advise me how can a USB webcam be interfaced with a microcontroller (PIC, ATMega, etc) so that we can...
Can some USB, microcontroller expert advise me how can a USB webcam be interfaced with a microcontroller (PIC, ATMega, etc) so that we can capture image frames (low speed, low res) with the microcontroller?