Yet another Volume controlers and source selections - Page 78 - diyAudio
Go Back   Home > Forums > Source & Line > Analog Line Level

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 10th December 2012, 06:26 PM   #771
diyAudio Member
 
FarmTech's Avatar
 
Join Date: Mar 2010
Location: Hjørring Denmark
Send a message via MSN to FarmTech Send a message via Skype™ to FarmTech
I tested the code (,wait = 2000) and it works here on a M32 and M8

are you sure you have setup fusebit as internal 8Mhz ?
Low = E4 High = D9
try addon hex compiled with latest Bascom-avr
Attached Files
File Type: zip adrian_2077.zip (10.3 KB, 47 views)
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site

Last edited by FarmTech; 10th December 2012 at 06:32 PM.
  Reply With Quote
Old 10th December 2012, 06:39 PM   #772
atupi is offline atupi  Romania
diyAudio Member
 
Join Date: Oct 2010
Location: Bucharest
I've flashed your sw and the things are much better. I mean when i keep pressed the Vol+ or - the behaviour is normal but when i'm playing prssing alternatively + and - i need to press twice the desired key to obtain the effect. The same with Channel up/down in order to switch between signal sources.
Things are better now
  Reply With Quote
Old 10th December 2012, 07:09 PM   #773
diyAudio Member
 
FarmTech's Avatar
 
Join Date: Mar 2010
Location: Hjørring Denmark
Send a message via MSN to FarmTech Send a message via Skype™ to FarmTech
Hi, I just programed a ATMEGA8515 wirh the code
and it works OK 1 push on remote step volume up/down and input input up down

this must be your remote that have problem
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site
  Reply With Quote
Old 10th December 2012, 07:18 PM   #774
atupi is offline atupi  Romania
diyAudio Member
 
Join Date: Oct 2010
Location: Bucharest
Well, i'm using an universal controller and i have a list of Philips codes to choose. I will try to program some other codes from Philips list.
Farmech, can i ask some more help or customization?
Normally i push a swich to enter to Souce Select routine and i would like after certain seconds (5-10) to get out automatically from this souce select mode and to stay in volume level mode.

Also the Source Select to be kind of circular menu cd>dac>phono>aux>cd>dac.......

It's hard to do something to memorize the settings after power off completely ?

A big THANK YOU,
Adrian
  Reply With Quote
Old 10th December 2012, 07:36 PM   #775
diyAudio Member
 
FarmTech's Avatar
 
Join Date: Mar 2010
Location: Hjørring Denmark
Send a message via MSN to FarmTech Send a message via Skype™ to FarmTech
Adrian,

try this for input
Code:
'---------shift input Left----------
Sub Shiftlf:
Call Bklght
If Inp_sel = 8 Then
   Inp_sel = 1
Else
   If Inp_sel >= 1 And Inp_sel < 8 Then
      Rotate Inp_sel , Left
   End If
End If
Porta = Inp_sel
Call Af_sel
Waitms 200
 W = 0
 Timer1 = W
End Sub
'--------shift input right----------
Sub Shiftrt:
Call Bklght
If Inp_sel = 1 Then
   Inp_sel = 8
Else
   If Inp_sel >= 2 And Inp_sel < 9 Then
      Rotate Inp_sel , Right
   End If
End If
Porta = Inp_sel
Call Af_sel
Waitms 200
 W = 0
 Timer1 = W
End Sub
about the return to volume

you can use the backlight time

addon file with the update
Attached Files
File Type: zip adrian encoder 4 intrari_2077_update.zip (10.7 KB, 34 views)
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site

Last edited by FarmTech; 10th December 2012 at 07:50 PM.
  Reply With Quote
Old 10th December 2012, 07:53 PM   #776
atupi is offline atupi  Romania
diyAudio Member
 
Join Date: Oct 2010
Location: Bucharest
Circular meniu for souceselections works fine.
Regarding getting out from Source select following thing is happening: i select source> goes automatically out to Adjust Volume and the backlight is on every 1-2 sec after few seconds. Also It shows Select input again without any external influention.
For sure it's a bug

PS. Yours are working better than mine Bugs are on mine software
Attached Files
File Type: zip adrian encoder 4 intrari_2077_circular volume.zip (2.9 KB, 39 views)

Last edited by atupi; 10th December 2012 at 07:57 PM.
  Reply With Quote
Old 10th December 2012, 08:00 PM   #777
diyAudio Member
 
FarmTech's Avatar
 
Join Date: Mar 2010
Location: Hjørring Denmark
Send a message via MSN to FarmTech Send a message via Skype™ to FarmTech
Quote:
Originally Posted by atupi View Post
PS. Yours are working better than mine Bugs are on mine software
I dont have the bug !! update to latest bascom-avr

see video HERE

download latest file again (adrian encoder 4 intrari_2077_update.zip)
your code its not same code as what I used see diffrens in bas

timer1 start stop
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site

Last edited by FarmTech; 10th December 2012 at 08:21 PM.
  Reply With Quote
Old 10th December 2012, 08:20 PM   #778
atupi is offline atupi  Romania
diyAudio Member
 
Join Date: Oct 2010
Location: Bucharest
Last question for tonight: wich are the parameters to play in order to have bigger steps for volume up/down (now is 0.5dB) ?

Thank you again for your help!
  Reply With Quote
Old 10th December 2012, 08:24 PM   #779
diyAudio Member
 
FarmTech's Avatar
 
Join Date: Mar 2010
Location: Hjørring Denmark
Send a message via MSN to FarmTech Send a message via Skype™ to FarmTech
Quote:
Originally Posted by atupi View Post
Last question for tonight: wich are the parameters to play in order to have bigger steps for volume up/down (now is 0.5dB) ?

Thank you again for your help!
In sub vol up/down you have +1 and +5 this is the steps in volume

Code:
If L <= 86 Then
        L = L - 5  '<<<<<<<<<
        R = R - 5  '<<<<<<<<
        Gain = L / 2
        Gain1 = -96 + Gain
        Call Spio
Else
        L = L - 1' <<<<<<<<<
        R = R - 1'<<<<<<<<<
        Gain = L / 2
        Gain1 = -96 + Gain
        Call Spio
End If
so from this setup volume
-53db to -95.5 it step 2.5db (+-5)
-53db to +10.5db it steps 0.5db (-+1)
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site

Last edited by FarmTech; 10th December 2012 at 08:43 PM. Reason: added info
  Reply With Quote
Old 26th December 2012, 07:37 AM   #780
krojo is offline krojo  Poland
diyAudio Member
 
Join Date: Jan 2012
it is possible to use the second encoder only to change the inputs and use to encoder button to mute for atmega8515 and pga2311?
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
source selector / volume hum in Aikido cbutterworth Tubes / Valves 1 28th March 2007 07:34 AM
Source for volume knobs? Alois Pass Labs 4 3rd July 2005 05:12 PM
IC Controlers for Class D Power stage frozenpod1 Class D 14 17th May 2005 03:25 PM
Swichable source and volume pot. Whats the best way? sounder Chip Amps 2 22nd September 2003 06:29 PM
detented volume pots... source? Mach_Y Parts 2 1st June 2003 05:23 PM


New To Site? Need Help?

All times are GMT. The time now is 01:08 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2