Type in the full discussion title or a part of it.
Discussion Title Created date
GCC / C What is the correct way of "union-ing" two already declared structures?
GCC/C guru's i've been going round in circles trying to work out how i should properly be doing the following:   AIM: To UNION two structures of data in a header file(C),...
Sunday, 1 February 2015 - 19:15
AVR ATmega ADC hardware - quite conservatively rated?
Ok, i'm not sure if this is a general electronics section post, or should be in the ATmega section, but i thought it might get more views here, and is quite interesting from a...
Tuesday, 20 January 2015 - 22:10
Read ADC channel, send result to Spi DAC - How fast?
I'm wondering about doing a simple device that uses some DSP, rather than doing it all in analogue (like in the old days ;-)   Now, for a moment, assume the "DSP" bit is...
Wednesday, 7 January 2015 - 15:02
How does one protect inputs when using "pull up" resistors?
Ok, so i have some analogue inputs to a device, and these inputs are routed out, externally, to the application.  That application contains nasty things like 32V DC power...
Sunday, 9 November 2014 - 19:01
2 dimensional (or more) nested Switch statements?
I have a serial communications protocol that delivers it's "commands" to my slave device, and those commands are constructed from a series of bytes. Each byte reflects "type" of...
Tuesday, 12 August 2014 - 20:48
Capacitive ground "isolation" for serial output?
I have a device with a Mega32 on board, that also has a FT232 usart->usb bridge IC on it. At the moment, the "grounds" between these devices are common. This means the USB pwr/...
Friday, 8 August 2014 - 14:38
AVR as Critical Process Supervisor?
Hi all. I have an embedded device that takes it's inputs from 4 remote encoders. The action of the device is entirely based upon those encoder signals, and so it is critical that...
Sunday, 3 August 2014 - 10:39
Checking for matching values in two arrays?
Say i have an array of values, which are "grouped" in to blocks of 5 values such as: { 1,2,3,4,5, 6,7,8,9,10, 11,12,13,14,15, 16,17,18,19,20 } Then i have a second array,...
Wednesday, 30 July 2014 - 21:42
Global interupt disable shortens execution time?
In my code, i call a function. With interupts enabled it takes ~115uS With interupts disabled it takes ~10uS Most of the difference seems to be in the time it takes to enter and...
Monday, 14 July 2014 - 21:35
Arrays as Look Up Tables - mixed data types?
Using arrays of constants as Look Up Tables is fairly easy. I use pointers to the appropriate array, and that returns the value at the index requested. So far, so good. But until...
Wednesday, 9 July 2014 - 19:56
"Simulate" resistive sensors?
If i had a device, that takes it's input from a number of resistive sensors, what is an easy way to simulate those sensors by using an AVR? Effectively, the host device has pull...
Tuesday, 8 April 2014 - 20:16
Protecting (external) ISP data lines
Hi all, I'm looking at an application where the device is full "potted" and generally speaking, code update/modification is done via a bootloader using CAN as the physical coms...
Saturday, 22 March 2014 - 20:37

Pages