Post Created date
The 10 or 20 year electronics project
He can place a small locker box next to the mcu (with the message inside in a paper form) which will open with a signal from the mcu when the time comes, then there can be a small...
Tuesday, 12 February 2013 - 16:37
Problems with enums
I think there is something wrong with the line before the enum, maybe a missing semicolon? Alex
Monday, 11 February 2013 - 23:55
DS1307 with hardware TWI interface ATmega8A
Have you connected a battery to the Vbat pin? If not the pin should be grounded. Alex
Monday, 11 February 2013 - 20:15
regarding to adc
post your code, compiler, avr model Alex
Monday, 11 February 2013 - 11:44
Easy way to set and read one pin in WinAvr ?
JohanEkdahl wrote:Because it actually took him 8 years to type in those 22 lines with just numbers before the copies of solutions already posted here at AVRfreaks several times (i...
Sunday, 10 February 2013 - 17:19
Set PWM Period
tecpenguin wrote: (This is how I am used to setting up PWMs on other micros >:)) Time to change :D Maybe these can help In fast PWM top=ICR1, the output PWM frequency=timer...
Sunday, 10 February 2013 - 00:42
Chip speed change from 5v to 3.3v ATMega128
acelink1 wrote: I didn't think that changing the voltage would change the internal 8Mhz clock speed too. The datasheet disagrees Alex
Sunday, 10 February 2013 - 00:33
Analog Help
MC1458 output can not go anywhere near the power supply, it is intended to be used with symmetric supply. The datasheet specifies that with a supply of -15v +15v the common mode...
Sunday, 10 February 2013 - 00:05
problem of spi interfacing
david.prentice wrote: SPI_DDR = _BV(SPI_MOSI)|_BV(SPI_SCK)|_BV(SPI_SS)|_BV(SPI_MISO); Read your data sheet. Hint. MISO pin. cooluser wrote:Make MISO input... But...
Saturday, 9 February 2013 - 19:10
Parse or trim ascii data read from usart rfid
Untested but I think will work. uint8_t get_id(void) { char code[12]; uint8_t index_id = 0; uint8_t checksum = 0; while(getchar() != 2) // wait until the...
Saturday, 9 February 2013 - 17:10
Parse or trim ascii data read from usart rfid
That ensures that only alphanumeric characters will be printed but doesn't ensure that you are reading the identity from the start, maybe you are starting from the middle. Alex
Saturday, 9 February 2013 - 16:19
Parse or trim ascii data read from usart rfid
clawson wrote:Why not just: for(i=0; i
Saturday, 9 February 2013 - 14:34