Yet another Volume controlers and source selections - Page 88 - 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 25th March 2013, 08:17 AM   #871
tvicol is offline tvicol  Romania
vicol-audio.ro
diyAudio Member
 
tvicol's Avatar
 
Join Date: Jan 2005
Location: Bucharest
Send a message via Yahoo to tvicol Send a message via Skype™ to tvicol
Yet another firmware update, ver 3.10, who address a very short display flickering who appear from time to time.

As usual available at vicol audio : r-2r volume controller

Regards,
Tibi
__________________
Shiga 2013 GB SHIGA MKII
Vicol-Audio
  Reply With Quote
Old 22nd April 2013, 07:21 AM   #872
tvicol is offline tvicol  Romania
vicol-audio.ro
diyAudio Member
 
tvicol's Avatar
 
Join Date: Jan 2005
Location: Bucharest
Send a message via Yahoo to tvicol Send a message via Skype™ to tvicol
12 channel volume-controller.

Tibi
Attached Images
File Type: jpg 2013-04-21-185.jpg (948.2 KB, 743 views)
__________________
Shiga 2013 GB SHIGA MKII
Vicol-Audio
  Reply With Quote
Old 1st June 2013, 09:13 AM   #873
tvicol is offline tvicol  Romania
vicol-audio.ro
diyAudio Member
 
tvicol's Avatar
 
Join Date: Jan 2005
Location: Bucharest
Send a message via Yahoo to tvicol Send a message via Skype™ to tvicol
Another firmware update who implement gorgeous custom characters for attenuation display.
Scroll the page for latest version 3.11

vicol audio : r-2r volume controller


Click the image to open in full size.

Regards,
Tibi
Attached Images
File Type: jpg Quasar.jpg (35.6 KB, 431 views)
File Type: jpg 2013-05-31-019.jpg (19.7 KB, 430 views)
__________________
Shiga 2013 GB SHIGA MKII
Vicol-Audio

Last edited by tvicol; 1st June 2013 at 09:21 AM.
  Reply With Quote
Old 3rd June 2013, 12:13 PM   #874
tvicol is offline tvicol  Romania
vicol-audio.ro
diyAudio Member
 
tvicol's Avatar
 
Join Date: Jan 2005
Location: Bucharest
Send a message via Yahoo to tvicol Send a message via Skype™ to tvicol
A short and dirty movie showing big digits operation.

Vicol-Audio R-2R volume controller short movie - YouTube

Regards,
Tibi
__________________
Shiga 2013 GB SHIGA MKII
Vicol-Audio
  Reply With Quote
Old 3rd June 2013, 12:51 PM   #875
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
hey,
looks nice Tibi

Only 1 error i found
the MUTE is located 1 place wrong in menu
if you look at video around 3.44 min
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site
  Reply With Quote
Old 3rd June 2013, 12:56 PM   #876
tvicol is offline tvicol  Romania
vicol-audio.ro
diyAudio Member
 
tvicol's Avatar
 
Join Date: Jan 2005
Location: Bucharest
Send a message via Yahoo to tvicol Send a message via Skype™ to tvicol
Thanks FarmTech !

Mute was added in main menu due a custom version made for a client.
Normally this should be available only from remote, but ... I'm not decided to keep or remove him.

Thanks for observation.

Regards,
Tibi
__________________
Shiga 2013 GB SHIGA MKII
Vicol-Audio
  Reply With Quote
Old 3rd June 2013, 01:02 PM   #877
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 tvicol View Post
Thanks FarmTech !

Mute was added in main menu due a custom version made for a client.
Normally this should be available only from remote, but ... I'm not decided to keep or remove him.

Thanks for observation.

Regards,
Tibi
Quote:
MUTE is located 1 place wrong in menu
it was located 1 place wrong on LCD
it jump 1 place right on lcd , when it exit (menu) to main and show mute

if i did not explain it right
__________________
/Kim - Bascom-AVR user >> My WebChat
My Web Site
  Reply With Quote
Old 3rd June 2013, 01:18 PM   #878
tvicol is offline tvicol  Romania
vicol-audio.ro
diyAudio Member
 
tvicol's Avatar
 
Join Date: Jan 2005
Location: Bucharest
Send a message via Yahoo to tvicol Send a message via Skype™ to tvicol
Ok, got it.
I'll move him 1 place right, so will no more "jump".
Thanks !

Regards,
Tibi
__________________
Shiga 2013 GB SHIGA MKII
Vicol-Audio
  Reply With Quote
Old 3rd June 2013, 02:10 PM   #879
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
Hello,

I have made big digits for a 4-line (4x40) character display, Newhaven NHD-0440WH-ATFH-JT or NHD-0440AZ-FL-YBW. I used the following code. I did not include the variable definitions but it is fairly obvious what they would be. It reqiures the xmega library that I have posted at MCS Electronics a few times. This code was posted in the public domain, so I gave credit to the original author. I also fixed a few bugs as well. It is the basics of the alarm clock function for my radio/media player. I use push button encoders for the UI. At night when in alarm set mode, I use big digits to display the current time. As you can see I use the Pca8565 as a RTC. It works great. Keeps time for days on a small super cap.
Enjoy and hope you can make use of it.
Rick Savas
Quote:
'------------------------------Configure Port E---------------------------------
'Porte_dir = &B1011_1011 'If DIRn is written to one, pin is configured as an output pin.
'---------------------------------LCD Setup-------------------------------------
'use lcd4e2-xmega-vport0.lib and define port E as vport 0
Config Vport0 = E 'Real Port Direction
Ddre = &B1111_1111
Vport0_dir = &B1111_1111 'Virtual Port 0 = OUTPUT
Config Lcd = 40 * 2 'Config Lcd = 40 * 2(update 2.0.7.3 :Both are valid, but the * will become invalid in the future.
Dim ___lcde As Byte 'use for two Enable module type,0 = Top 2 rows, 1 = Bottom 2 rows
Initlcd 'same as asm "Rcall _init_lcd"
Waitms 100
___lcde = 0 'select the upper 2 line controller 'clear the LCD display
Cursor Off Noblink 'hide cursor
Cls
'reference p431 of Intro Into Practical Electronics Microcontrollers And Software Design, B. Collis 'select top controller
Deflcdchar 1 , 32 , 32 , 32 , 1 , 3 , 7 , 15 , 31 'these characters are used to build the bigdigits for alarm function
Deflcdchar 4 , 31 , 15 , 7 , 3 , 1 , 32 , 32 , 32
Deflcdchar 2 , 32 , 32 , 32 , 31 , 31 , 31 , 31 , 31
Deflcdchar 3 , 32 , 32 , 32 , 16 , 24 , 28 , 30 , 31
Deflcdchar 5 , 1 , 3 , 7 , 15 , 31 , 32 , 32 , 32
Deflcdchar 6 , 31 , 31 , 31 , 31 , 31 , 32 , 32 , 32
Deflcdchar 7 , 1 , 3 , 7 , 15 , 31 , 31 , 31 , 31
Deflcdchar 0 , 31 , 30 , 28 , 24 , 16 , 32 , 32 , 32
___lcde = 1 'select the upper 2 line controller 'clear the LCD display
Cursor Off Noblink 'hide cursor
Cls
Deflcdchar 1 , 32 , 32 , 32 , 1 , 3 , 7 , 15 , 31 'these characters are used to build the bigdigits
Deflcdchar 4 , 31 , 15 , 7 , 3 , 1 , 32 , 32 , 32
Deflcdchar 2 , 32 , 32 , 32 , 31 , 31 , 31 , 31 , 31
Deflcdchar 3 , 32 , 32 , 32 , 16 , 24 , 28 , 30 , 31
Deflcdchar 5 , 1 , 3 , 7 , 15 , 31 , 32 , 32 , 32
Deflcdchar 6 , 31 , 31 , 31 , 31 , 31 , 32 , 32 , 32
Deflcdchar 7 , 1 , 3 , 7 , 15 , 31 , 31 , 31 , 31
Deflcdchar 0 , 31 , 30 , 28 , 24 , 16 , 32 , 32 , 32

'I_bigdigit = 0 'Debug,write big digits across display
'For Digitpos = 1 To 40 Step 4
'Show_bigdigit
'Incr I_bigdigit
'Waitms 100
'Next
'Wait 1
___lcde = 0
Locate 1 , 1
' 0123456789012345678901234567890123456789
'Lcd "****************************************" 'display this at the top line
Lcd "***DSP-Radio-Media Player FW v1.0.0.1***" 'startup banner
Locate 2 , 1
' 0123456789012345678901234567890123456789
'Lcd "****************************************" 'display this at the top line
' Lcd "Encoder/switch/led,RTC,USB UART Testing "
___lcde = 1 'select the lower 2 line controller
Locate 1 , 1
' 0123456789012345678901234567890123456789
Lcd "****************************************"
Locate 2 , 1
' 0123456789012345678901234567890123456789
Lcd "****************************************"
'
Quote:
'these characters are used to build the bigdigits
'Deflcdchar 1 , 32 , 32 , 32 , 1 , 3 , 7 , 15 , 31
'Deflcdchar 4 , 31 , 15 , 7 , 3 , 1 , 32 , 32 , 32
'Deflcdchar 2 , 32 , 32 , 32 , 31 , 31 , 31 , 31 , 31
'Deflcdchar 3 , 32 , 32 , 32 , 16 , 24 , 28 , 30 , 31
'Deflcdchar 5 , 1 , 3 , 7 , 15 , 31 , 32 , 32 , 32
'Deflcdchar 6 , 31 , 31 , 31 , 31 , 31 , 32 , 32 , 32
'Deflcdchar 7 , 1 , 3 , 7 , 15 , 31 , 31 , 31 , 31
'Deflcdchar 0 , 31 , 30 , 28 , 24 , 16 , 32 , 32 , 32

'Test_bigdigit:
' Digitpos = 1
' For I_bigdigit = 0 To 9
' Gosub Show_bigdigit
' Waitms 100
' Next
' Wait 1
' Gosub Show_bigtime
' Wait 1
'Return

Show_bigtime:
'Call Pca8565_gettime()
Pca8565_minute_temp = Makedec(pca8565_minute)
Pca8565_hour_temp = Makedec(pca8565_hour)
'Pca8565_second_temp = Pca8565_second
___lcde = 0 : Locate 1 , 1
'Cls
'Lcd "1234567890123456789012345678901234567890"
Lcd " "
Locate 2 , 1
Lcd " "
___lcde = 1
Locate 1 , 1
Lcd " "
Locate 2 , 1
Lcd " "
If Pca8565_hour_temp > 12 Then Pca8565_hour_temp = Pca8565_hour_temp - 12
If Pca8565_hour_temp = 0 Then Pca8565_hour_temp = 12 'find the digit in the tens of hours position
I_bigdigit = Pca8565_hour_temp / 10 'e.g. 19/10 = 1 (byte arithmentic!!)
Digitpos = 1
If I_bigdigit > 0 Then
Show_bigdigit
Else
Disp_blank
End If
I_bigdigit = Pca8565_hour_temp Mod 10 'e,g. 19mod10 = 9 (finds remainder)
Digitpos = 5
Gosub Show_bigdigit
___lcde = 0
Locate 2 , 9
Lcd Chr(6)
___lcde = 1
Locate 1 , 9 'Locate 3 , 9
Lcd Chr(2) 'find the digit in the tens of minutes position
I_bigdigit = Pca8565_minute_temp / 10 'e.g. 21/10 = 2 (byte arithmentic!!)
Digitpos = 11
Gosub Show_bigdigit 'find the digit in the units of minutes position
I_bigdigit = Pca8565_minute_temp Mod 10 'e.g 21mod10 = 1 (finds remainder)
Digitpos = 15
Gosub Show_bigdigit 'display the seconds in the bottom corner of the display
'Locate 2 , 19 'Locate 4 , 19
Digitpos = 19
If Am_pm = 0 Then
I_bigdigit = 11
Else
I_bigdigit = 12
End If
Gosub Show_bigdigit
'If Pca8565_second_temp < 10 Then Lcd "0"
'Lcd Pca8565_second_temp
Return

Show_bigdigit:
Select Case I_bigdigit
Case 0 : Disp0
Case 1 : Disp1
Case 2 : Disp2
Case 3 : Disp3
Case 4 : Disp4
Case 5 : Disp5
Case 6 : Disp6
Case 7 : Disp7
Case 8 : Disp8
Case 9 : Disp9
Case 10 : Disp_dot
Case 11 : Disp_a
Case 12 : Disp_p
Case 12 : Disp_m
End Select
Return

Disp0:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3)
Locate 2 , Digitpos 'line 2
Lcd Chr(255)
Lcd " "
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255)
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(4) 'line 4
Lcd Chr(6)
Lcd Chr(0)
Return

Disp1:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd " "
Lcd Chr(1)
Lcd " "
Locate 2 , Digitpos 'line 2
Lcd Chr(5)
Lcd Chr(255)
Lcd " "
___lcde = 1
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd " " 'line 3
Lcd Chr(255)
Lcd " "
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(6) 'line 4
Lcd Chr(6)
Lcd Chr(6)
Return

Disp2:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3)
Locate 2 , Digitpos 'line 2
Lcd Chr(6)
Lcd " "
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(7)
Lcd Chr(6)
Lcd Chr(0)
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(6) 'line 4
Lcd Chr(6)
Lcd Chr(6)
Return

Disp3:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3)
Locate 2 , Digitpos 'line 2
Lcd " "
Lcd Chr(2)
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd " "
Lcd " "
Lcd Chr(255)
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(4) 'line 4
Lcd Chr(6)
Lcd Chr(0)
Return

Disp4:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(2)
Lcd " "
Lcd " "
Locate 2 , Digitpos 'Line 2
Lcd Chr(255)
Lcd " "
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd Chr(255)
Lcd Chr(255)
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd " "
Lcd " " 'line 4
Lcd Chr(6)
Return

Disp5:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(2)
Lcd Chr(2)
Lcd Chr(2)
Locate 2 , Digitpos 'line 2
Lcd Chr(255)
Lcd Chr(2)
Lcd Chr(2)
___lcde = 1
Locate 1 , Digitpos 'Locate 3 , Digitpos 'line 3
Lcd Chr(2)
Lcd " "
Lcd Chr(255)
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(4) 'line 4
Lcd Chr(6)
Lcd Chr(0)
Return

Disp6:
___lcde = 0 'line 1
Locate 1 , Digitpos
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3) 'Line 2
Locate 2 , Digitpos
Lcd Chr(255)
Lcd Chr(2)
Lcd Chr(3)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255) 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(4)
Lcd Chr(6)
Lcd Chr(0)
Return

Disp7:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3)
Locate 2 , Digitpos 'line 2
Lcd " "
Lcd " "
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd " "
Lcd " "
Lcd Chr(255)
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd " "
Lcd " " 'line 4
Lcd Chr(4)
Return

Disp8:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3)
Locate 2 , Digitpos 'line 2
Lcd Chr(255)
Lcd Chr(2)
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255) 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(4)
Lcd Chr(6)
Lcd Chr(0)
Return

Disp9:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3) 'line 2
Locate 2 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(4)
Lcd Chr(6)
Lcd Chr(255) 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(4)
Lcd Chr(6)
Lcd Chr(0)
Return

Disp_dot:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd " "
Lcd " "
Lcd " " 'line 2
Locate 2 , Digitpos
Lcd " "
Lcd Chr(255)
Lcd " "
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd " "
Lcd Chr(255)
Lcd " " 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd " "
Lcd " "
Lcd " "
Return

Disp_a:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3) 'line 2
Locate 2 , Digitpos
Lcd Chr(255)
Lcd Chr(2)
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255) 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(6)
Lcd " "
Lcd Chr(6)
Return

Disp_p:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(3) 'line 2
Locate 2 , Digitpos
Lcd Chr(255)
Lcd Chr(2)
Lcd Chr(7)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd " " 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(6)
Lcd " "
Lcd " "
Return

Disp_m:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd Chr(1)
Lcd Chr(2)
Lcd Chr(1) 'line 2
Locate 2 , Digitpos
Lcd Chr(255)
Lcd Chr(6)
Lcd Chr(255)
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255) 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd Chr(255)
Lcd " "
Lcd Chr(255)
Return

Disp_blank:
___lcde = 0
Locate 1 , Digitpos 'line 1
Lcd " "
Lcd " "
Lcd " " 'line 2
Locate 2 , Digitpos
Lcd " "
Lcd " "
Lcd " "
___lcde = 1 'line 3
Locate 1 , Digitpos 'Locate 3 , Digitpos
Lcd " "
Lcd " "
Lcd " " 'line 4
Locate 2 , Digitpos 'Locate 4 , Digitpos
Lcd " "
Lcd " "
Lcd " "
Return

Last edited by rsavas; 3rd June 2013 at 02:32 PM.
  Reply With Quote
Old 3rd June 2013, 02:51 PM   #880
rsavas is offline rsavas  Canada
diyAudio Member
 
Join Date: Aug 2012
Location: Ontario
Default A picture for you

What do you think?
  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 10:15 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