Yet another Volume controlers and source selections - Page 56 - 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 12th August 2011, 05:24 PM   #551
diyAudio Member
 
Join Date: Feb 2010
Hi all,

i have some problems with this attanuator (Farmtech software, R2R no VU). I have try software for ATmega16 and 32. The problems is when i use encoder. When I turn it quickly ATmega go to sleep or reset. Every time. I didnt try remote.

I use this encoder: http://home.comet.bg/datasheets/Buttons/ED1112S-ok.pdf

Is this problem with this encoder, should i have to chnage it for another, or i do something wrong?

This is PCB:

Click the image to open in full size.

Thanks in advance.

Boban

Last edited by jorgovanko; 12th August 2011 at 05:29 PM.
  Reply With Quote
Old 12th August 2011, 08:02 PM   #552
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Default Encoders

Rotary encoders with detents have 2 different patterns (from those i have tried so far).
1) ALPS - BOURNS: In each detent position, both A and B outputs are 0V (LOW state). A small debounce space beside each detent position is also provided.
2) Panasonic: In each detent position, output A is either LOW or HI, while output B is not specified.
Your encoder has same pattern like Panasonic.
You must use a same pattern Encoder like this of Farmtech original project, unless you should change the program code.
__________________
Best Regards FOTIS ANAGNOSTOU

Last edited by fotios; 12th August 2011 at 08:04 PM.
  Reply With Quote
Old 12th August 2011, 09:08 PM   #553
diyAudio Member
 
Join Date: Feb 2010
Thanks for your reply. I will try to find ED16112O or ED16112M.
  Reply With Quote
Old 12th August 2011, 09:08 PM   #554
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Default Encoder Patterns

In the attached pic you can see for what i am talking. Both patterns are obtained with COM pin of encoder connected at +V.
The upper pattern is that produced from ALPS or BOURNS encoders. The blue vertical lines are detent positions. The red shaded area is the debounce time offered.
The lower pattern is that produced from Panasonic (and your own encoder). I hope you can understand why B output of encoder is not defined. It can be either HI(On) or LOW(Off) because its transition edge is located exactly at the detent line (position).
On my own view, ALPS pattern is most easily implemented in program code because its A & B outputs have fixed LOW(Off) state at detent positions.
Attached Images
File Type: jpg Encoder Patterns.jpg (16.6 KB, 473 views)
__________________
Best Regards FOTIS ANAGNOSTOU
  Reply With Quote
Old 12th August 2011, 09:15 PM   #555
diyAudio Member
 
Join Date: Feb 2010
Yes, it is now clear. Thanks again for your explanation

Regards
  Reply With Quote
Old 12th August 2011, 09:25 PM   #556
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Quote:
Originally Posted by jorgovanko View Post
Thanks for your reply. I will try to find ED16112O or ED16112M.
Lot of ALPS and BOURNS at Farnell.UK. ALPS from 1,65 - 6GBP and BOURNS from 1,5GBP.
Here on e-bay: Alps Rotary Encoder with 30 Detents | eBay
__________________
Best Regards FOTIS ANAGNOSTOU
  Reply With Quote
Old 12th August 2011, 09:48 PM   #557
diyAudio Member
 
Join Date: Feb 2010
This one is also nice : BOURNS|PEC11-4220F-S0024|INCREMENTAL ENCODER | Farnell United Kingdom
  Reply With Quote
Old 12th August 2011, 10:12 PM   #558
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Quote:
Originally Posted by jorgovanko View Post
Yes, is perfect and has built in momentary switch (can be used e.g. for MUTE function, or MENU selection etc). The only problem with Farnell (i am customer of it) is that charges an arm and a leg to ship orders in our countries.
Good night
Fotis
__________________
Best Regards FOTIS ANAGNOSTOU
  Reply With Quote
Old 17th August 2011, 04:42 PM   #559
diyAudio Member
 
Join Date: Feb 2010
Today i was try this encoder : BOURNS|PEC11-4020F-S0024|Incremental Encoder | Farnell United Kingdom , found it in local store, and i have the same problems described in post 551. This encoder is without detents.

Do I have to use strictly ED16112O or ED16112M for this project? On the picture is datasheet for those encoders:

Click the image to open in full size.

Boban

Last edited by jorgovanko; 17th August 2011 at 04:50 PM.
  Reply With Quote
Old 17th August 2011, 05:00 PM   #560
fotios is offline fotios  Greece
diyAudio Member
 
fotios's Avatar
 
Join Date: Feb 2007
Location: Δραμα - North Greece
Hi Boban
Pinout of this encoder is:
Left pin = A switch
Center pin - Common terminal
Right pin = B switch
Try to connect A (Left pin) and B (Right pin) in inverse way on PCB, A in the place of B and B in the place of A.
Can you post the schematic please?
Fotis
__________________
Best Regards FOTIS ANAGNOSTOU

Last edited by fotios; 17th August 2011 at 05:03 PM.
  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 08:52 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