Post Created date
Data transfer protocol
Better solution is replace with , with and with , where ~ meaning negation. This guarantees that ETX SCX and ESC has single meaning in frame. In that case decoding of escape...
Thursday, 20 May 2010 - 12:43
Compilation Process
I'm writing programs for Linux from about 20 and for AVRs from seven years and I never need of knowledge of internal elf format. IMHO it is not very wise question.
Friday, 7 May 2010 - 11:12
Unlocking Atmega8
santacruzbob wrote:I would never work under those circumstances. At most send him some crippled proof of concept .hex and require partial payment in increments as your work...
Monday, 12 April 2010 - 21:07
Unlocking Atmega8
Some times ago I have a similar experience. One of my clients want a working prototype with full electrical documentation (schematic and PCB) and source code of program to decide...
Sunday, 11 April 2010 - 21:20
Bit check problem, [The value computed is not used]
If you want store in define stament information about register, you may use #define INPUT (PORTB, 0) This produce result expected by you although look very strange.
Wednesday, 3 March 2010 - 11:21
crc-ccitt madness
botnico wrote:3 ways, 3 solutions This means that different crc types or different polynomials are used. I often use crc calculation in my projects. In AVR program I always use...
Wednesday, 24 February 2010 - 12:24
mega8L 16mhz ?
Stypie wrote: A friend told me they test it this way: If one works well at 2.7V @ 8MHz they mark it mega8L, and if doesn't then it gets the mark mega8. That would mean that all...
Monday, 22 February 2010 - 17:05
RS485 auto config!
Almost one other method exist. If all devices are connected in ring, transmitter of one device to receiver of second, master can send specific command to first slave assigning its...
Monday, 11 January 2010 - 17:57
Optical encoder nightmare!
If the wires to encoder are long, you may use differential buses (as in rs485) for signal tramsmission. Or, what is simpler, current loops. In this case additionally optocouplers...
Saturday, 9 January 2010 - 19:36
controlling the location of data within AVR EEPROM?
IMHO good solution is use one big structure with contain all data which may be stored in EEPROM. Compiler don't change order of structure members and for AVR 1 byte aligment is...
Thursday, 13 August 2009 - 22:56
PWM dead time
Alternatively half-bridge gate driver with dead time generator can be used, for example NCP5104 from ON Semiconductor.
Monday, 22 June 2009 - 15:49
Use of TRIAC in Temperature control
Use PWM to control room temperature by TRIAC switched heater isn't a good idea. Temperature in room change that slowly and room has that big heat capacity, that two state...
Wednesday, 6 May 2009 - 09:52