Post Created date
How do i fetch data from UDRn on Mega2560?
   You never call initUART1() in main().   #include "I2C.h" #include <stdio.h> #include <util/delay.h> void initOLED(); void initUART1(); void receive...
Monday, 27 April 2020 - 05:18
How do i fetch data from UDRn on Mega2560?
Edited Post:   Write to UBRR1H first, then UBRR1L.   UBRR1H = 0; //upper four bits of baudrate UBRR1L = 51; //Baudrate 19200
Sunday, 26 April 2020 - 23:50
Functional Safety?
valusoft wrote: OK, so the user's blood shall not adversely affect the correct operation of the equipment.   By Jove, I think he's got it!
Saturday, 18 April 2020 - 00:55
Functional Safety?
     From Wikipedia (Link).   IEC 61508 is an international standard published by the International Electrotechnical Commission consisting of methods on...
Friday, 17 April 2020 - 23:30
Connect ATmega32A with magnetic card reader DB9
Looking again at the Sparkfun page linked in Post#1, I see that the DB9 connector on the card reader is female. The RS232 adapter board at Sparkfun is also female which will not...
Monday, 13 April 2020 - 23:57
Connect ATmega32A with magnetic card reader DB9
I didn't mean to be harsh.  If you still have questions, go ahead and ask.
Monday, 13 April 2020 - 23:43
Connect ATmega32A with magnetic card reader DB9
No.  Use the PS/2 for power AND use the DB9 with adapter board for reading the data on the magnetic cards.   If you want to save some money, instead of buying the...
Monday, 13 April 2020 - 23:38
Connect ATmega32A with magnetic card reader DB9
The DB9 connector is RS232 which is NOT +5V logic levels. You use an RS232 adapter board that has the DB9 connector and converts the RS232 to logic levels.   You can also get...
Monday, 13 April 2020 - 23:16
Connect ATmega32A with magnetic card reader DB9
From the Sparkfun page that Post#1 links to:   Note the Documents tab that gives you the DB9 pinout, the PS/2 pinout, and the mbed Example with details on how to use it....
Monday, 13 April 2020 - 22:25
Trouble Writing to Parallel SRAM
MalphasWats wrote: void write_byte(uint8_t addr, uint8_t data) { PORTB = 0b00001101; // WE off, OE off, CS off DDRC = 0xff; // Set data bus for output PORTA =...
Sunday, 12 April 2020 - 20:49
Why to use ATMEGA16U with ATMEGA2560
puneet1984 wrote: If its used just for UART-USB interface, that could have been achieved with many FTDI chips.   Please enlighten me on this.   To save money.  The...
Saturday, 11 April 2020 - 23:12
Start ATOI at a specific part in a string
OK
Friday, 10 April 2020 - 05:39

Pages