EmbeddedRelated.com
The 2024 Embedded Online Conference

Flicker algorithm help

Started by John B in comp.arch.embedded18 years ago 10 replies

I am just starting a small design for amateur theatre group. They want me to build a camp-fire simulator. I already have a home-built control...

I am just starting a small design for amateur theatre group. They want me to build a camp-fire simulator. I already have a home-built control box and slave units for switching practicals. The control box contains a ATmega32 and each of the slaves contains an Atmega8 with an opto-isolated solid state relay. They use a multi-drop RS 485 comms network so that any number of slaves can be connect...


AVR-GCC ADC example source

Started by Andrew Tweddle in comp.arch.embedded18 years ago 7 replies

I have been looking on the web for AVR-GCC example sources on using the ADC converter in the ATmega32 or a related processor, to my...

I have been looking on the web for AVR-GCC example sources on using the ADC converter in the ATmega32 or a related processor, to my disappointment, I have only found the Atmel AVR465: Energy meter example, are there any other examples both simple and complex on setting up and using this peripheral? Andrew


How to define placement address of functions?

Started by in comp.arch.embedded18 years ago 4 replies

Hi all, I want to place a function in the bootload sector of my ATmega32, where I will do some writings to a flash table. How will I get...

Hi all, I want to place a function in the bootload sector of my ATmega32, where I will do some writings to a flash table. How will I get the compiler to place the function and just this one function at 0x7000 ? I have tried //Declaration void (*table_write) (float flash *table_ptr, float value2 )=0x7000; //Defenition void table_write(float flash *table_ptr, fl...


Watchdog timer promblem in ATmega32

Started by John B in comp.arch.embedded18 years ago 2 replies

I am trying to change the watchdog prescalar in an ATmega32 application. The data sheet implies that the watchdog timer registers can be written...

I am trying to change the watchdog prescalar in an ATmega32 application. The data sheet implies that the watchdog timer registers can be written at time with no special requirements. Is this the case? I am finding that the following code works in AVR Studio but not in the hardware. void WatchdogInit(void) { WDR(); WDTCSR = 8; // Set prescalar to ~1/4 second timeout. } Compiler i...


Problem with programming atmega32 using ISP

Started by Rakesh in comp.arch.embedded17 years ago 2 replies

Hello Everyone! I have this problem programming atmega32. I am new to this platform. I have tried using AVRDUDE and PonyProg both are not able...

Hello Everyone! I have this problem programming atmega32. I am new to this platform. I have tried using AVRDUDE and PonyProg both are not able to program the device. I have followed the ISP interface (MISO/MISO thing) and followed the schematics available on internet carefully. PonyProg gives a -24 error saying it cannot recognize the attached device. While AVRDUDE simply freezes and doe...


efficient software n language to program ATMega32 microcontroller

Started by Archana in comp.arch.embedded17 years ago 3 replies

Hi, Though I'm not new to programming microcontrollers, I have never worked on ATMega32 microcontrollers. Please, let me know which software...

Hi, Though I'm not new to programming microcontrollers, I have never worked on ATMega32 microcontrollers. Please, let me know which software n language would be the best to program ATMega32 microcontroller. Please let me know as soon as possible. Thanks. Archana.


Bluetooth connection to AVR

Started by Anonymous in comp.arch.embedded16 years ago 1 reply

Hi everybody, I am a newbie to the microcontrollers world. So, I need every help that i could get. I want to use bluetooth communication with...

Hi everybody, I am a newbie to the microcontrollers world. So, I need every help that i could get. I want to use bluetooth communication with an ATmega32 mcu, but i don't know which bluetooth module is good and at the same time cheap. Could anybody recommend a module and tell me why does he recommend it? I mean what's its pros and cons? Thanks in advance.


Microcontroller USB interface chip

Started by mach7 in comp.arch.embedded16 years ago 16 replies

I know very little about USB, so excuse the naive question. I'm looking for an IC that I can interface with a microcontroller (in my case, the...

I know very little about USB, so excuse the naive question. I'm looking for an IC that I can interface with a microcontroller (in my case, the ATMega32) that will let me communicate with a computer over USB. My project involves large data transfers (for logging purposes) and serial / UART is too slow. Any direction would be helpful. Thanks, -J


[EE] GPS logger with voice recording - Wear balancing for SD/MMC card needed?

Started by wzab in comp.arch.embedded16 years ago

Hi All, I'm just working on the open source GPS logger with voice recording (to facilitate recording tracks for the...

Hi All, I'm just working on the open source GPS logger with voice recording (to facilitate recording tracks for the http://www.openstreetmap.org project). The current architecture includes: GPS module - http://www.f-tech.com.tw/datasheet/GPS/FGPMMOPA2.pdf - first tests show, that it performs very well even at low level of GPS signal. CPU - Atmega32 or PIC18F4550 - not decided yet (the s...


TCP packets : end of thre-way handshake and start of data-transmission - how to detect ?

Started by R.Wieser in comp.arch.embedded15 years ago 28 replies

Hello All, I'm (still) busy trying to write TCP/IP for an rtl8019as NIC connected to an ATMega32 controller, and seem to have hit a snag : I...

Hello All, I'm (still) busy trying to write TCP/IP for an rtl8019as NIC connected to an ATMega32 controller, and seem to have hit a snag : I cannot seem to find any information that tells me *with authority* when the three-way handshake ends and the first data-packet starts. Most info that I found describe the handshake, and than follow that up with tearing-down the connection (sending t...


Program Atmega32

Started by jemsheedth in comp.arch.embedded15 years ago 2 replies

I am very new to microcontroller programing. I have compiled my program in C. And got the HEX file and Makefile. Then which file should I use to...

I am very new to microcontroller programing. I have compiled my program in C. And got the HEX file and Makefile. Then which file should I use to burn into atmega32 microcontroller using ponyprog software? I have compiled it using Codevision AVR. What is the use of Makefile. I tried burning the HEX file into microconroller. But it is not working.


FreeRTOS and ATMega8

Started by sap in comp.arch.embedded20 years ago 4 replies

Hi, Did anyone succeede using FreeRTOS on ATMega8? I changed main.c from the ATMega323 demo expecting to get a LED on PORTB.2 blinking but...

Hi, Did anyone succeede using FreeRTOS on ATMega8? I changed main.c from the ATMega323 demo expecting to get a LED on PORTB.2 blinking but this most don't work. Idle and Flashing threads start (at least code is entered) but I do not get the LED blinking whatever my routine is. I have not much debug tools... I tried to tweak parameters in portmacro.h (portMAX_PRIORITIES to 1, portMINIM...


Problems with self-programming AVR flash

Started by Tilmann Reh in comp.arch.embedded13 years ago

Hello, I am using an ATmega324PA in a new application and want to provide IAP capability, i.e. there is a loader that can update the...

Hello, I am using an ATmega324PA in a new application and want to provide IAP capability, i.e. there is a loader that can update the application by serial communication. The IAP loader is located at the top of the flash memory (in the RWW section), and exactly follows the description given in the data sheet and some application notes to erase and write the flash. However, the SPM comm...


Stupid sizes for AVR datasheets

Started by Simon Clubley in comp.arch.embedded10 years ago 19 replies

Has anyone else noticed the AVR datasheets increasing to stupid sizes over the years ? Just bought some ATMega328P MCUs, went to download the...

Has anyone else noticed the AVR datasheets increasing to stupid sizes over the years ? Just bought some ATMega328P MCUs, went to download the datasheet and noticed it was ~35 Mbytes in size. Checked one or two others at random and noticed the ATmega6450A is 59.6Mbytes! Absolutely nuts. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing yo...


which MCU to pick

Started by Calvin Chan in comp.arch.embedded20 years ago 7 replies

Hi Folk After a quick scan to look for a MCU for a particular task, I have two specific MCUs in mind, they are: Atmel ATMega32L and...

Hi Folk After a quick scan to look for a MCU for a particular task, I have two specific MCUs in mind, they are: Atmel ATMega32L and Motorola MC68HC908AP32. Between the two, is there anyone out there who has experience in those? Which one is better in terms of debugging, and development environment and support? Also, speedwise, which is more code efficient? Any compiler to recommend?...


Atmega32u2 anywhere?

Started by linnix in comp.arch.embedded13 years ago 2 replies

All main distributors are out of it. Digikey has a few hundreds last week, and out again this week. Just got a hundred and need a few hundred...

All main distributors are out of it. Digikey has a few hundreds last week, and out again this week. Just got a hundred and need a few hundred more. Does anyone have spare AU or MU? Any secondary sources? Might have to redesign with another chip. Atmega32u2 is too hard to get.


Spontaneous erasure of AVR working as SPI slave

Started by wzab in comp.arch.embedded13 years ago

Hi, I'm using an ATmega32U2 uC as an SPI slave. Namely it receives the I2S data stream sent to the DA1134F DAC in the AUREL's audio link (...

Hi, I'm using an ATmega32U2 uC as an SPI slave. Namely it receives the I2S data stream sent to the DA1134F DAC in the AUREL's audio link ( http://aurelwireless.com/rf-wireless-modules/product-info.asp?id=303 , http://aurelwireless.com/rf-wireless-modules/product-info.asp?id=302 ) However once, when I pressed RESET button to enter the DFU bootloader and update the firmware, I've stated, t...


AVR & RFM70 based wireless guitar system - two RFM70 in parallel to increase the bandwidth?

Started by wzab in comp.arch.embedded13 years ago 5 replies

Hi, I've just finished my RFM70 based wireless guitar system (I hope to publish it soon, but code and documentation needs some polishing ...

Hi, I've just finished my RFM70 based wireless guitar system (I hope to publish it soon, but code and documentation needs some polishing - the system is designed to be very cheap - just CS5343/4 as ADC, ATmega88 and RFM70 in the transmitter, and RFM70 with ATmega32u4 in the receiver. The system is visible as USB MIDI/audio device so you can connect it thorough "alsa_in" to "jakcd...


RFL (Attn:Ulf): Atmega32u6

Started by linnix in comp.arch.embedded15 years ago 2 replies

Ulf: This is a Request For Leaks for the little brother of At90usb646. We have been waiting for years for a smaller and cheaper 646. Can we...

Ulf: This is a Request For Leaks for the little brother of At90usb646. We have been waiting for years for a smaller and cheaper 646. Can we assume that the Atmega32u6 (QFN64) is fully compatible with At89usb646 except for the flash size. We need 30 I/Os, so can't use the u4 (QFN44). Can we expect 1K pricing in mid-$3 and delivery in 6 months? Thanks.


USART microcontroller communication

Started by ahme...@gmail.com in comp.arch.embedded18 years ago 3 replies

Hello all, Consider the atmega48 microcontroller by Atmel corp. I want to connects its USART to my PC. Basically i want the microcontroller to...

Hello all, Consider the atmega48 microcontroller by Atmel corp. I want to connects its USART to my PC. Basically i want the microcontroller to talk to to computer. How can i do this? 1. Using a serial port? 2. Can a build my own PCI/ISA card for the pc so that it can read from the uC and send the data to the computer where other devices can use the information? 3. Other options?...



The 2024 Embedded Online Conference