Type in the full discussion title or a part of it.
Discussion Title Created date
I'm working with the ATTiny85 and need to generate a 8 bit serial string into a serial to parallel IC.   I have done this on the 8031 platform in the past but cannot figure...
Wednesday, 1 June 2016 - 04:59
ATTiny85 assembly code noobe problem
Please help, this code doesn't work. Using the ADC to give me a 8 bit value, left justified so the result is in ADCH This value is placed into a delay subroutine. I send out a 2...
Thursday, 5 July 2012 - 08:21
ATTiny85 PWM sweep question
So far my code works to set a DC voltage on the ADC input, obtain a 8 bit value from the ADC result and produce a PWM output on pin 6 of the MCU by plugging the ADC value into the...
Monday, 25 June 2012 - 01:21
ATTiny85 PWM Motor speed control newbie
Assembly. The attempt is to produce a phase correct PWM signal on PB0 that will drive a MOSFET that will drive a motor using the ADC input and a pot to control the speed. Here is...
Sunday, 10 June 2012 - 03:12
newbie ATTiny assembly setting MCUCR
I am hoping someone has done this before and can give me the code necessary. I need to turn off all other clocks except the ADC clock while the ADC is running then turn all of the...
Wednesday, 8 February 2012 - 07:09
ATTiny 85 BRLO question
If I am comparing Rd to Rr the data sheet says "Interchange Rd and Rr in the operation before the test, i.e., CP Rd,Rr → CP Rr,Rd" (seen on page 10) but the page that describes...
Wednesday, 8 February 2012 - 00:05
ATTiny 85 ADC read timing
I am using the following subroutine to read the ADC input. Just enabling the ADC function then looping through this subroutine over and over shows me, on my scope, that NU2, pin 3...
Saturday, 4 February 2012 - 09:33
ATTiny85 why won't adiw instruction work?
I am setting a midpoint of a ADC read and watching the ADC to see if it goes above that midpoint. If so a 16 bit counter is incremented once. (Then I wait for a zero and exit blah...
Tuesday, 31 January 2012 - 08:12
ATTiny 85 divide a 16 bit number by two
Code written in assembly, no C. LSR is a 8 bit function, is there any code available that shows how to use the LSR function to shift an entire 16 bit word to the right by two?
Friday, 27 January 2012 - 09:39
ATTiny85 a port for ADC and a port for the same signal
The ADC software I previously wrote works fine for the project but now I need to be able to count the pulses of the same signal going into the ADC. I need to count the positive...
Monday, 23 January 2012 - 08:35
ATTiny85 assembly - timing a event at 1ms.
Using a 16 bit counter. PB0 goes low via a push button and the 16 bit counter starts counting up from 00 00 at 1ms intervals. (I don't know how to do the 16 bit count up but have...
Monday, 14 November 2011 - 01:28
newbie AVR interface to Bluetooth
I have this new project and lots of questions. The customer wants to use a Bluetooth link to control some lights. He wants a 8 button remote that allows him to select different...
Friday, 7 October 2011 - 02:45