.:madworm:.'s photos with the keyword: serial
Just some serial I/O with labview
Testing the soft-uart receiver on an ATtiny24
07 Jul 2011 |
|
It seems to work. Now I only have to make the rest of the code live with it in peace. That doesn't work 100% right now. The LED driver interrupt gets upset sometimes.
The entry points of the pin-change ISR are marked with double-pulses, sampling the data is marked by single pulses. Spikes 2-9: sampling the data byte, spike 1: start bit, spike 10: stop bit, spike 11: hmmmm ?!?
Clean edge
Serial data at 9600bps
18 Apr 2012 |
|
With 104µs the average bit time is pretty much on spec. A nice thing when running with a ceramic resonator. I had to tune the bit-delays to get there. The ATtiny85 unfortunately doesn't have a hardware UART.
Serial data at 9600bps
18 Apr 2012 |
|
The little insert is quite annoying. It simply doesn't want to move out of the way.
Not so clean edge
18 Apr 2012 |
|
The question: is the ringing real? In this case it was caused by sin(x)/x interpolation.
I was instantly suspicious as this effect only showed up at one zoom setting.
Serial-Knob
22 Jan 2013 |
|
Is it useful? Maybe. I have a couple of existing projects that would benefit from a rotary knob, but not enough code-space is left to add encoder handling. Serial comms is already working, so this is the simpler way to make it work.
A little quiz: {1,-1,0,-1,0,0,1,1,0,0,-1,0,-1,1,0}
Serial-Knob
22 Jan 2013 |
|
Is it useful? Maybe. I have a couple of existing projects that would benefit from a rotary knob, but not enough code-space is left to add encoder handling. Serial comms is already working, so this is the simpler way to make it work.
A little quiz: {1,-1,0,-1,0,0,1,1,0,0,-1,0,-1,1,0}
Jump to top
RSS feed- .:madworm:.'s latest photos with "serial" - Photos
- ipernity © 2007-2025
- Help & Contact
|
Club news
|
About ipernity
|
History |
ipernity Club & Prices |
Guide of good conduct
Donate | Group guidelines | Privacy policy | Terms of use | Statutes | In memoria -
Facebook
Twitter