Post Created date
Forcing a C function to compile in AVR Studio
IMHO preemptive os is ONLY really useful if you want to load and run third party applications that you don't know about at compile time. If you have access to all source code, it'...
Sunday, 21 December 2014 - 22:29
A portable driver framwork
My project differs from linux kernel in that it targets flash based mcus that linux simply is not suitable for (and does not even officially support). And it differs from arduino...
Thursday, 11 December 2014 - 11:48
What methods are there for a software UART for reading?
You need to have the globals that are used by both isr and other code declared volatile to avoid caching. You should always use volatile for any variable that may change between...
Monday, 8 December 2014 - 14:34
What methods are there for a software UART for reading?
You need to have the globals that are used by both isr and other code declared volatile to avoid caching. You should always use volatile for any variable that may change between...
Monday, 8 December 2014 - 14:34
What methods are there for a software UART for reading?
It would generally be the same concept as reading a pwm signal. Set up a pin change interrupt. When pin goes low, take snapshot of current tick count. When it goes high take...
Thursday, 4 December 2014 - 00:21
AES 128 - AVR-Crypto-Lib Wrong output
personally I don't use avr-crypto lib. I think it originally was because it used to much space.   Here is a more light weight implementation: https://github.com/mkschreder/ma...
Thursday, 4 December 2014 - 00:04
What methods are there for a software UART for reading?
It is tricky to do in software because the moment you have some other interrupt besides rx pin change int running which takes longer to run than one bit time, you will start...
Wednesday, 3 December 2014 - 23:57
Interrupt-driven TWI without doing everything in the ISR
Here is slave implemented using interrupts:   https://github.com/mkschreder/ma...   As for master, I have found that it is usually quicker to just use a busy loop when...
Wednesday, 3 December 2014 - 19:51
Converting from hex to ascii to int?
float result; sscanf(string, "%f", &result);   you can also use "%d" to scan in integers. Look up sscanf()  
Wednesday, 3 December 2014 - 19:46
BMP085 Atmega328
I want to make a simple circuit that displays the temperature on a computer program.   You just connect SDA to controller SDA, SCL to controller SCL, vcc and gnd and then...
Wednesday, 3 December 2014 - 19:44
BMP085 Atmega328
Here is a working driver:   https://github.com/mkschreder/ma...   Here is cheap arduino: http://www.ebay.co.uk/itm/New-Pr...   Here is BMP085: http://www.ebay.co.uk...
Wednesday, 3 December 2014 - 19:40
Need info about HC-SR04 Sonar sensor.
Here is a driver:   https://github.com/mkschreder/ma...   (I have currently not completely ported this driver to make it fully compatible with the rest of the codebase,...
Wednesday, 3 December 2014 - 19:32

Pages