tag:blogger.com,1999:blog-5983110881018172452.post3903462646377452803..comments2023-03-25T02:55:49.760-06:00Comments on Bot Thoughts: ATtiny Software SerialMike Shimniokhttp://www.blogger.com/profile/17602015624941667574noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5983110881018172452.post-91423540778657302382018-05-08T17:18:18.446-06:002018-05-08T17:18:18.446-06:00I found timings for 1, 8, and 16mhz here: https://...I found timings for 1, 8, and 16mhz here: https://github.com/sludin/attiny_software_serial/blob/master/SoftwareSerial.cMike Shimniokhttps://www.blogger.com/profile/17602015624941667574noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-26316343000833600932017-05-01T16:40:22.912-06:002017-05-01T16:40:22.912-06:00This worked for me on an ATTiny44 @8 MHz internal:...This worked for me on an ATTiny44 @8 MHz internal:<br />```<br />// 8MHz<br />static const DELAY_TABLE PROGMEM table[] = {<br /> // baud rxcenter rxintra rxstop tx<br /> { 38400, 1, 17, 17, 12, },<br /> { 31250, 10, 37, 37, 33, },<br /> { 28800, 25, 57, 57, 54, },<br /> { 19200, 31, 70, 70, 68, },<br /> { 14400, 34, 77, 77, 74, },<br /> { 9600, 54, 117, 117, 114, },<br /> { 4800, 74, 156, 156, 153, },<br /> { 2400, 114, 236, 236, 233, },<br /> { 1200, 233, 474, 474, 471, },<br /> { 600, 471, 950, 950, 947, },<br /> { 300, 947, 1902, 1902, 1899, }<br />};<br />```<br />(just shifted down everything by 2 lines)Anonymoushttps://www.blogger.com/profile/07489214859579323196noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-80644462937138513092017-05-01T16:39:30.460-06:002017-05-01T16:39:30.460-06:00This worked for me on an ATTiny44 @8 MHz internal:...This worked for me on an ATTiny44 @8 MHz internal:<br />```<br />// 8MHz<br />static const DELAY_TABLE PROGMEM table[] = {<br /> // baud rxcenter rxintra rxstop tx<br /> { 38400, 1, 17, 17, 12, },<br /> { 31250, 10, 37, 37, 33, },<br /> { 28800, 25, 57, 57, 54, },<br /> { 19200, 31, 70, 70, 68, },<br /> { 14400, 34, 77, 77, 74, },<br /> { 9600, 54, 117, 117, 114, },<br /> { 4800, 74, 156, 156, 153, },<br /> { 2400, 114, 236, 236, 233, },<br /> { 1200, 233, 474, 474, 471, },<br /> { 600, 471, 950, 950, 947, },<br /> { 300, 947, 1902, 1902, 1899, }<br />};<br />```Anonymoushttps://www.blogger.com/profile/07489214859579323196noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-46051758812239034842017-03-16T00:23:45.459-06:002017-03-16T00:23:45.459-06:00Hi there.
Assuming that I use an ATtiny84 with 8 M...Hi there.<br />Assuming that I use an ATtiny84 with 8 MHz internal clock, how should I modify the timing param?<br />Thanks a lot.SV1ONWhttps://www.blogger.com/profile/16259756678465410496noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-54731023681885332752013-11-14T22:53:29.798-07:002013-11-14T22:53:29.798-07:00Wow, you could almost use this to build something ...Wow, you could almost use this to build something like Sparkfun's OpenLog. But cheaper, hopefully a lot cheaper. The OpenLog is an SD card with a ATmega328 for serial logging, and sells for $25. I can attach a 328 to a SD card reader for a lot less than that, and I have. But an ATtiny84 makes things even smaller and cheaper. Memory could be a little tight though.Tedhttps://www.blogger.com/profile/17446200010203354724noreply@blogger.com