Post Created date
How to connect 4...20mA pressure transmitter to ATMEGA
jsiei97 wrote:How come you did not go with the 510ohm (or 499ohm) that icarus1 suggested and just added a op follower (gain 1:1). [...] Or did I just miss something here? You miss...
Sunday, 3 May 2009 - 14:27
How to connect 4...20mA pressure transmitter to ATMEGA
Use small resistance (100 or less ohm) and OpAmp to amplify signal given from it to ADC range. If signal change slowly, additional low pass filter (e.q. RC) can be used.
Thursday, 30 April 2009 - 09:02
How to convert 8 bit binary to BCD?
Example of simple procedure: bin2led(uint8_t val) { uint8_t h = 0, t = 0; while (val > 99) { val -= 100; h++; } h =...
Sunday, 26 April 2009 - 14:31
rs-485 tutorial, anywhere?
My code is similar as Kartman's, but I use UDRE interrupt to send chars. When last char is sent this interrupt disable itself and enable TX isr. The TX interrupt disable itself,...
Friday, 24 April 2009 - 09:57
rs-485 tutorial, anywhere?
And, when high clock and slow baud rates are used, insert small delay between finish of receiving data and turning transmitter on. Hint: receiving of byte is completed around half...
Thursday, 23 April 2009 - 20:24
rs-485 tutorial, anywhere?
netmana wrote:awit, I have a custom protocol written out for communicating with several keypads. The format of each packet is as follow: STX | Target Address | Source Address |...
Thursday, 23 April 2009 - 18:22
rs-485 tutorial, anywhere?
RS-485 is only specification of signals in transmission line and requirements for line, line driver and receiver. This standard say nothing about form of transmitted data or...
Thursday, 23 April 2009 - 16:45
Multiple return
void foo(int16_t * a, int16_t * b) isn't a valid construction in C, it's C++ construction. In C multiple values can be returned by returning struct or, as wrote clawson, by...
Thursday, 23 April 2009 - 11:32
how to show variable on lcd using atmel atmega 16 ?
Compiler told you what is wrong. You must write the lcd_puts function. Or if it's already written, add a file with it to project.
Sunday, 19 April 2009 - 00:34
.5µS Resolution Timer
Why not use external counter build on fast chips? Results of conversion can be read by even slow microcontroller with easy.
Friday, 10 April 2009 - 21:49
There is a software for linux like avrstudio4 ?
If this may be in system debugger, then under Linux almost all debuggers works as front-end to gdb, which is a standard debugger in this system. Thus they can work with avr-gdb...
Friday, 10 April 2009 - 21:17
crwper wrote:You are likely overlooking the fact that your PC won't understand what's on the card unless it's written using the FAT data structures. That's where the overhead...
Friday, 10 April 2009 - 07:24