Post Created date
GSM module with atmega32
Those old AVR's also have a few quirks about the baud rate register as well...   Check out this section of the data sheet for proper way to access the UBRRH reg, note:...
Tuesday, 30 November 2021 - 21:35
GSM module with atmega32
MisterDanny wrote:I never programmed a microcontroller.  This seems to be a difficult beginner project for one who has never worked with micro's before!  
Tuesday, 30 November 2021 - 21:19
GSM module with atmega32
Any variable shared between main and ISR() must be volatile! char status_flag = 0; /* for checking any new message */ This shared flag is not!
Tuesday, 30 November 2021 - 21:17
GSM module with atmega32
MisterDanny wrote: I use internal 8MHz. Those old AVRs had 4 osc's to choose from, and each has a calibration value, but only the default 1MHz osc's cal byte(s) were loaded...
Tuesday, 30 November 2021 - 21:13
GSM module with atmega32
Looking at your sim, you using a M32, most likely using the internal 1MHz r/c osc, and I'll bet you are trying to use 9600 baud!  right? What does the datasheet say about...
Tuesday, 30 November 2021 - 20:48
GSM module with atmega32
I have not looked at your code, but if it like most that we see here, your sending AT commands blindly using delays, rather then getting the actual response from the modem and...
Tuesday, 30 November 2021 - 20:42
Use of an EVENT in software?
joeaverage wrote: One possibility is to use an OVERFLOW event from TCA0, which at the current time recurs at 32.25kHz. As TCA0 is an existing and vital part of the project to be...
Tuesday, 30 November 2021 - 19:23
Hacking/Enhancing a driveway sensor alarm
found a description of the tone(s) output, there is a choice of a tone for each zone, not each sensor, but you can have multiple sensors per zone. So, it plays one tone for each...
Tuesday, 30 November 2021 - 17:07
Hacking/Enhancing a driveway sensor alarm
Some thing like this one?  
Tuesday, 30 November 2021 - 16:01
Hacking/Enhancing a driveway sensor alarm
Try slowing down your sweep frequency, perhaps it is using a pwm or pcm mode, and your scope is set to fast to see it....   Edit: can you post a link to the device, just so...
Tuesday, 30 November 2021 - 15:00
How can I #define a constant to a double number ?
gchapman wrote: 35 years ago, 16 bit was more than adequate on an MPU with less compute performance than an AVR. don't I know!  IBM 1130 was my first 16 bit cpu, and then a...
Monday, 29 November 2021 - 20:37
Be careful of those long lines on Tx and Rx. (Informative)
russellsher wrote: I hadn't connected AVcc and the GND next to it, So your AVR is running out of spec! From the DS: It is also the reference power source for the BOD to compare...
Monday, 29 November 2021 - 20:32