Post Created date
ADC Conditional Loop
I done some more tests and reviewed all my coding. Also found I hadn't adjusted the c file holding the adc functions to work with the attiny13. I have adjusted ADMUX to use the...
Sunday, 16 July 2017 - 10:41
ADC Conditional Loop
Hey guys how do I quote the previous posts as you have done above.   And yes JohanEkdahl I have ADC.   Just a note on the bit manipulation, is there a better way to...
Saturday, 15 July 2017 - 00:03
ADC Conditional Loop
Apologies I don't know how to quote the previous posts in here. and apologies for the problems establishing what I should have done in the first place. I will try to ensure each...
Friday, 14 July 2017 - 23:07
ADC Conditional Loop
There is no issues with LEDs or indicators. its program flow.   ADC is initialized via a separate c file from this forum, here is the code from the adc file. #include avr/io...
Friday, 14 July 2017 - 22:28
ADC Conditional Loop
it shouldn't be '$' it should be '&', that's just an error here when I typed its not like that in my code
Friday, 14 July 2017 - 21:54
ADC Conditional Loop
If I use this approach would the "0.0293 need to be adjusted to reflect my 22 and 27v tests. Also this approach will do the reading in the actual test wouldn't it. would I have...
Friday, 14 July 2017 - 21:53
ADC Conditional Loop
Here is the functional part of the code,   I am reading from ADC 3, DDRB is set in initialization to 0x17; so pins 0,1,2,4 as OP and Pin 3 input. these are the avr pins not...
Friday, 14 July 2017 - 21:22
ADC Conditional Loop
I was wandering in the interests of optimization would it be easier to just put the direct digital value in instead of converting to voltage
Friday, 14 July 2017 - 20:27
ADC Conditional Loop
Thanks yes you raise valid points I will always try to use the code function in future. I really should put my whole code up for review. In terms of hysteresis. I would usually...
Friday, 14 July 2017 - 19:59
ADC Conditional Loop
So these are a very specialist battery for Telco applications hence the 22. My biggest concern is the loop does it look right
Friday, 14 July 2017 - 19:28
Loops error
Cheers guys, Had a read through this and the suggestions have all been a huge help,
Friday, 14 July 2017 - 04:27
ADC Conditional Loop
If I removed the conversion to voltage and replaced it with a fixed digital value that relates to the Voltage I need that should eliminate variable type issues, correct?  ...
Friday, 14 July 2017 - 02:44

Pages