Yet another Volume controlers and source selections - Page 8 - 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 17th January 2010, 07:26 PM   #71
Vikt0r is offline Vikt0r  Ukraine
diyAudio Member
 
Join Date: Jul 2005
Location: Uzhgorod, Ukraine
Send a message via ICQ to Vikt0r Send a message via Skype™ to Vikt0r
Okay, maybe that was five hours... Thanks guys for such positive feedback, catch some more then...
This is the MCU board for PLCC atmega. This one took me some more, needed to spend half a day digging the datasheets. Now only the PSU PCB will remain.
Come back with updates soon.
Attached Images
File Type: jpg Image00004.jpg (55.4 KB, 1588 views)
File Type: jpg Image00005.jpg (40.9 KB, 1554 views)
  Reply With Quote
Old 18th January 2010, 08:20 AM   #72
Vikt0r is offline Vikt0r  Ukraine
diyAudio Member
 
Join Date: Jul 2005
Location: Uzhgorod, Ukraine
Send a message via ICQ to Vikt0r Send a message via Skype™ to Vikt0r
Danzup,
as far as I understand, you've used BASCOM-AVR for creating and compiling the code. What did you use for flashing the chip itself, I mean - which schematic and software? I am planning to build the simplest-ever-possible type of ISP programmer - appreciate your suggestions.
  Reply With Quote
Old 18th January 2010, 08:44 AM   #73
diyAudio Member
 
Pryanick's Avatar
 
Join Date: Nov 2009
Location: Minsk
Send a message via ICQ to Pryanick
Default AVR prommer

Vikt0r,
as for me I soldered very simple "USBasp - USB programmer for Atmel AVR controllers".
Original link:
fischl.de - USBasp - USB programmer for Atmel AVR controllers

BASCOM-AVR supports USBasp since version 1.11.9.6
  Reply With Quote
Old 18th January 2010, 09:00 AM   #74
Vikt0r is offline Vikt0r  Ukraine
diyAudio Member
 
Join Date: Jul 2005
Location: Uzhgorod, Ukraine
Send a message via ICQ to Vikt0r Send a message via Skype™ to Vikt0r
Thanks, Pryanick, but...
No problems to solder it together, but it still requires programming the Atmega8. Since I don't have anything yet - I need a simpler programmer at first. Maybe that would make sense to solder a USB one later.
  Reply With Quote
Old 18th January 2010, 11:18 AM   #75
jkraxi is offline jkraxi  Romania
diyAudio Member
 
Join Date: Dec 2004
Location: Bucharest
Send a message via Yahoo to jkraxi
@ Vikt0r

As far as I know he use this ...
http://www.qsl.net/zl1bpu/MICRO/ENV/AVRprog.gif
  Reply With Quote
Old 18th January 2010, 03:00 PM   #76
diyAudio Member
 
Join Date: Aug 2009
Location: Smederevo, Serbia
Default @Vikt0r

Or use this one. Today I programmed my Mega16 without problems.
Attached Images
File Type: gif betterSTK200.gif (25.6 KB, 1445 views)
  Reply With Quote
Old 18th January 2010, 03:41 PM   #77
danzup is offline danzup  Romania
diyAudio Member
 
danzup's Avatar
 
Join Date: Oct 2007
Location: Bucuresti
Quote:
Originally Posted by jkraxi View Post
@ Vikt0r

As far as I know he use this ...
http://www.qsl.net/zl1bpu/MICRO/ENV/AVRprog.gif
Yes .
It is STK200/300 programmer header for parallel port .
In Bascom this must be set in the programmer adapter type .
Bascom AVR compiler you will find to download for free .
On the schematics I forgot to draw the signals for programming so you must use the following pins of Atmel :
Reset , Miso , Mosi , SCk , 5Vcc , Gnd .
Do not forgot to program only the fusebit : Internal RC 8Mhz oscillator.
__________________
There are not better tube than 6P3S and 6N2P for my ears !
  Reply With Quote
Old 18th January 2010, 09:38 PM   #78
Vikt0r is offline Vikt0r  Ukraine
diyAudio Member
 
Join Date: Jul 2005
Location: Uzhgorod, Ukraine
Send a message via ICQ to Vikt0r Send a message via Skype™ to Vikt0r
Wow,
thanks guys! One of these will definitely do for me, found an ALS244 already. Interesting founding that some different (and incompatible!) pinouts for the ISP exist. The Atmel appnote recommends a 6 pin header, while at many designs a 10-pin one can be found.Which one is more standard? Another question - would this all SW accessing the LPT port work under Win7? Has anyone tested it?
Oh... the WIP, if anyone's interested Very draft yet, just finished soldering, didn't even wash the board.
Attached Images
File Type: jpg Image00006.jpg (107.5 KB, 1416 views)
File Type: jpg Image00007.jpg (108.8 KB, 1346 views)
File Type: jpg Image00008.jpg (85.2 KB, 674 views)

Last edited by Vikt0r; 18th January 2010 at 09:49 PM.
  Reply With Quote
Old 19th January 2010, 10:23 PM   #79
diyAudio Member
 
Join Date: Aug 2009
Location: Smederevo, Serbia
Default It works...almost

Today I connected boards and turned power on. Well, I have some problems.
First of all, I reversed A and K on LCD backlight, so it must be corrected (my post #55 in this thread).

Then, pushbutton for on/off can't turn off until backlight is on.

Third, and most important, is that only three of six relays for volume work. I checked resistor, transistor and relay chains, all six of them are working properly, I just don't get enough voltage from pins to open transistor.

I programmed chip with internal 8MHz clock, but I have delay between steps for volume aprox. 1 second, and for input select aprox. 2 seconds. Is it OK?

Tommorow I'll reprogramm chip and, if it still doesn't work properly, I have to try with another mega16. I used all precautions against static electricity, I just don't belive that I damaged it.
  Reply With Quote
Old 20th January 2010, 06:37 AM   #80
Vikt0r is offline Vikt0r  Ukraine
diyAudio Member
 
Join Date: Jul 2005
Location: Uzhgorod, Ukraine
Send a message via ICQ to Vikt0r Send a message via Skype™ to Vikt0r
Quote:
Originally Posted by dobrivoje View Post
Then, pushbutton for on/off can't turn off until backlight is on.
That looks like a s/w bug, we need to ask danzup to correct it.

Quote:
Originally Posted by dobrivoje View Post
I just don't get enough voltage from pins to open transistor.
What transistors did you use? Are you sure they're darlingtons?
What voltage do you use to power Atmega?

Quote:
Originally Posted by dobrivoje View Post
I programmed chip with internal 8MHz clock, but I have delay between steps for volume aprox. 1 second, and for input select aprox. 2 seconds. Is it OK?
I'm not danzup, but I don't think it's okay, and I don't think it has anything to do with 8Mhz. Do you have a scope? Can you take a look at the unstable relay's transistor driver, what's going on there? And what's on atmega the pins...
Quote:
Originally Posted by dobrivoje View Post
Tommorow I'll reprogramm chip and, if it still doesn't work properly, I have to try with another mega16. I used all precautions against static electricity, I just don't belive that I damaged it.
Don't worry too much, these chips do tolerate a lot.

One more thing: did you try the IR remote control? Does it work for you?
  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 05:56 AM.


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