Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Solid State Talk all about solid state amplification.

encoder volume control
encoder volume control
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 7th August 2006, 01:13 PM   #11
morpheus82 is offline morpheus82  Italy
diyAudio Member
 
Join Date: Oct 2004
yes, i've seen it too...but the ls7084 with an 8bit up/down counter do the same..(and intersil give free samples... )
now the problem is: is there a way to control a 16x2 lcd without a micro??
  Reply With Quote
Old 7th August 2006, 02:28 PM   #12
Pjotr is offline Pjotr
diyAudio Member
 
Pjotr's Avatar
 
Join Date: Nov 2002
Location: Netherlands
Quote:
Originally posted by raikkonen

now the problem is: is there a way to control a 16x2 lcd without a micro??
Uhm, practically speaking. the answer is simply NO. For microcontrollers I would leave the PICís. I myself I am done with them.

If you want to go on the microcontroller bandwagon have a look here: http://smileymicros.com/

The Atmel AVR Butterfly board has everything you need to control a PGA on the cart: 6 digit LCD and a 5 way control joystick at a bargain price. The only thing it doesnít have for you is programming skills, you have to acquire them yourselves

Cheers
  Reply With Quote
Old 7th August 2006, 02:46 PM   #13
morpheus82 is offline morpheus82  Italy
diyAudio Member
 
Join Date: Oct 2004
it's incredible...semiconductor corporation produce tons of IC's and you'll never find really what you're looking for!!!(Murphy's law? )
it's very nice but i have a VERY LOW budget...let's take a look at the old book on 16f877...
  Reply With Quote
Old 7th August 2006, 06:31 PM   #14
jaycee is offline jaycee  United Kingdom
diyAudio Member
 
Join Date: Apr 2004
Location: Norwich, UK
IMO, the Atmel AVR series is far better than the PIC. The instruction set is nicer, and there's a free compiler (GCC, a well known open source compiler) available for it. They also have more processing power per clock.

The ATtiny2313 is a great chip for most things.
  Reply With Quote
Old 7th August 2006, 07:03 PM   #15
Pjotr is offline Pjotr
diyAudio Member
 
Pjotr's Avatar
 
Join Date: Nov 2002
Location: Netherlands
Quote:
Originally posted by raikkonen
[B]it's incredible...semiconductor corporation produce tons of IC's and you'll never find really what you're looking for!!!(Murphy's law?
Thatís called ďThe art of electronicsĒ

Hi Jaycee,

Programming in assembly like I do a lot, the PICís are a nightmare and the Atmel AVRís are heaven. But unless you sell 100K of them a year and need lowest cost I would skip the Tiny ones and move straight ahead to the Mega ones like the MegaAVR168. These are not much more expensive and are a lot more powerfull.

  Reply With Quote
Old 18th November 2006, 01:41 PM   #16
oy5tein is offline oy5tein  Norway
diyAudio Member
 
oy5tein's Avatar
 
Join Date: Oct 2004
Hi all. After a long time just sucking info off this forum its time to give something back :-)

I am in the making of a PGA2311 based multichannel preamp, using AVR atmega32, alps rotary pulsswitch(EC11B), ir remote sensor and a oled display.

So far i have built stereo, and the sound is great.


The code is immature but it works.

I use winavr (gcc) and avrstudio with jtag-ice. I am not shure how to program the avrs without a jtag-ice or a ISP.



The alps EC11B have two switches giving 15 pulses per revolution. The shaft got 30 dents pr revolution. That gives me 30 increments pr revolution.

1st switch is connected from an interrupt pin to ground.
2nd is connected from a normal input(PB1 in my case) to ground
(remember to turn on the internal pullup on the inputs)

Check the pulse-trains on page 9 in this pdf:
http://www3.alps.co.jp/WebObjects/ca.../EC11/EC11.PDF

To read the rotary switches i do like this:

Code:
 
#define RotaryPositiveDirection PINB & (1<< PB1) 
SIGNAL(SIG_INTERRUPT2)   
{
    cbi(GICR,INT2);   // disable int2 
	if (tbi(MCUCSR,ISC2))
	{
  	 	cbi(MCUCSR,ISC2); // negative trigging next time
		if(RotaryPositiveDirection)
 			volume ++;
		else
			volume --;
	}
	else
	{
   		sbi(MCUCSR,ISC2); // positive trig next time
		if(RotaryPositiveDirection)
			volume --;
		else
			volume ++;
	}
	delay(10);
    sbi(GICR,INT2);   // enable int2
}
Good luck! Its a great volume chip and the samples are free :-)
  Reply With Quote
Old 18th November 2006, 01:54 PM   #17
I_Forgot is offline I_Forgot  United States
diyAudio Member
 
I_Forgot's Avatar
 
Join Date: Jan 2005
Location: Phoenix, Az.
Default Re: encoder volume control

Quote:
Originally posted by raikkonen
hi guys!
has someone a schematic of a volume control using a rotary encoder and a digital potentiometer?(if possible without microcontroller aid...)
thanx!

Dallas Semi DS1666

or the DS1802

I_F
  Reply With Quote

Reply


encoder volume controlHide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use the Rotary Encoder to control the cs3310 ? cac liu Digital Source 12 25th April 2013 10:59 AM
Volume control on DVD player remote. Lose resolution at low volume? Circlotron Digital Source 2 10th June 2011 07:20 PM
Optical Rotary Encoder Volume Control unit using the Grayhill 62P DJ Exprice Everything Else 17 1st January 2008 08:50 PM
Digital volume control w/rotory encoder (no MC) gmphadte Digital Source 17 8th October 2004 07:23 AM


New To Site? Need Help?

All times are GMT. The time now is 10:56 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki