Welcome Guest ( Log In | Register )

82 Pages « < 35 36 37 38 39 > » Bottom

Outline · [ Standard ] · Linear+

DIY DIY amp club V2, Post your DIY amp here

views
     
chchyong89
post Dec 8 2010, 08:27 PM

shittie mittie
******
Senior Member
1,293 posts

Joined: Mar 2005
From: Ladang


QUOTE(Snowguy2068 @ Dec 8 2010, 08:22 PM)
i mean the mahuan bout the buying the stuff
>.>
somemore no place to solder
*
That mean you are still not ready to learn anything. blush.gif
mengsuan
post Dec 8 2010, 09:20 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

QUOTE(LittleGhost @ Dec 8 2010, 05:50 PM)
SPI no problem for modern PICs biggrin.gif
*
Owai-, what SPI mode? I haven't been told about this SPI thing in microcontroller. tongue.gif
Snowguy2068
post Dec 8 2010, 09:45 PM

Enthusiast
*****
Senior Member
811 posts

Joined: Apr 2010
From: Penang,Malaysia


can I just use a table? yawn.gif
LittleGhost
post Dec 8 2010, 10:27 PM

臭小鬼
*******
Senior Member
4,234 posts

Joined: Nov 2004


QUOTE(mengsuan @ Dec 8 2010, 09:20 PM)
Owai-, what SPI mode? I haven't been told about this SPI thing in microcontroller. tongue.gif
*
SPI transmission. Not very hard lar. Just read up the notes and you should be fine. The last time while I was doing 8051 I had to simulate an internal SPI using software emulation. With modern PICs, the SPI clocks are easily generated. Should be okay wan...

Just like the PS2 controllers, semua guna SPI protocol.

mengsuan
post Dec 8 2010, 10:32 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

I didn't learn 8051 because while others are learning it over diploma, I did A-levels in biology. But my final year project has PIC microcontroller using PS/2 keyboard. I don't recall about SPI though.
LittleGhost
post Dec 8 2010, 10:34 PM

臭小鬼
*******
Senior Member
4,234 posts

Joined: Nov 2004


PS2 as in Playstation 2 controller lol.

What PIC are you using? ATMEGAs? They have a list of documents on applications.

For your use, you just need to find the articles listed together with the PIC (if you're using atmel)

Just use master to slave mode to control your chip.

EDIT:

To make it easier for you to follow, just do this:

1) Generate SPI Clock first. Fast is good but depending on the chip you're trying to communicate you might need to adjust this a little bit.
2) Next, the function C should include SPI send byte, and SPI interrupt that checks whether the transmission went well.
3) When you have these functions working, you should be able to send whatever digital streams you need to your PGA2310

This post has been edited by LittleGhost: Dec 8 2010, 10:37 PM
mengsuan
post Dec 8 2010, 10:36 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

I don't do atmel as well. The programmer is scarce compared to PIC, hence I literally used PIC for life.

The PIC16F887 datasheet does not seem to have mentioned explicitly about SPI or master/slave mode. I will try to take a look at it again but chances are, it doesn't have SPI (?).

Oh lol, looks like I'm so old-minded to think about PS/2 interface.
LittleGhost
post Dec 8 2010, 10:37 PM

臭小鬼
*******
Senior Member
4,234 posts

Joined: Nov 2004


I posted something else, look above.

EDIT: Shitttt, this thing is poisonous. I have a big urge to build one also. I have alot of papers next week. how does i refrain? LOLLOL.

This post has been edited by LittleGhost: Dec 8 2010, 10:42 PM
mengsuan
post Dec 8 2010, 10:41 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

Create PWM clock like in PS/2 keyboard, that I know. SPI... I really need to investigate if PIC16F887 has such thing.
mess o' wrecko
post Dec 9 2010, 10:03 AM

New Member
*
Junior Member
14 posts

Joined: Jun 2007
If u look in PIC16F887 datasheet. The description about SPI can be found in chapter 13 - MASTER SYNCHRONOUS SERIAL PORT (MSSP) MODULE and the SPI can be found in chapter 13.3

The PIC need to be as Master Mode to send data to PGA. In the datasheet, Under SPI Mode (Master Mode) chapter, Just shown 8bit (1byte) data transmission. But PGA need to sent 16bit (2byte) data stream, 1byte for right channel and 1byte more for left. So, it need to be sent twice of 1byte in the SPI transmission. Just make sure CS input on PGA is pulling down while send these 2 byte data.

maybe u know already how to make the connection between PIC and PGA, here i just wanna share how to connect the PIC to PGA


PIC pin RC5/SDO to PGA SDI
PIC pin RC3/SCK to PGA SCLK
any PIC pin to PGA CS

Since, just use single PGA. So, SDO on PGA is not used coz, its just used to chain other PGA

If u don't want mess with the SPI. Other trick is, Pull High or Low (corresponding to the value u wanna send) on SDI input and Pull SCLK input High, delay some time, than pull back SCLK input low to genarate the clock, repeat this step for 16 times..

This post has been edited by mess o' wrecko: Dec 9 2010, 12:58 PM
mengsuan
post Dec 13 2010, 02:01 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

Mmm. LittleGhost and mess o' wrecko, it would be really great to have both of you in my MSN contact list.
LittleGhost
post Dec 14 2010, 05:48 PM

臭小鬼
*******
Senior Member
4,234 posts

Joined: Nov 2004


just pm me for it after this week.

I have too many shit to do this week sad.gif (4 tests and 1 lab :|)


chchyong89
post Dec 15 2010, 02:02 PM

shittie mittie
******
Senior Member
1,293 posts

Joined: Mar 2005
From: Ladang


mengsuan, get your hand itchy now with this:

http://www.amb.org/audio/alpha10/

Once you have this, you cant buy anything better even you pay for RM30~40k for a commercial stuff. Engineers rock.

Chasing for something sound nice to your ears mean nothing, chasing for HIGH END is everything. biggrin.gif
mengsuan
post Dec 15 2010, 03:36 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

Very nice indeed. The alpha 10 uses modules instead of one large board, easing any future addons I suppose. I have looked into some PCB layout of his. For some reason, I don't have confidence doing dual layer PCB. laugh.gif
mengsuan
post Dec 16 2010, 12:01 AM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

Remember I was mentioning about TLE2426 for power rail splitter? Now I might have slight changes on my amplifier design to accommodate specially for low impedance headphones. I am planning to have 2 op amps to provide large currents but TLE2426 would peak at 20mA. Can I put two TLE2426 in parallel or would it upset the splitter's stability?
LittleGhost
post Dec 16 2010, 07:33 PM

臭小鬼
*******
Senior Member
4,234 posts

Joined: Nov 2004


Yes you will because the TLE2426 will fight with each other.

Just buffer the ground channel with a beefy opamp.

Head over to tangent's site tangentsoft.net on his article about virtual grounding. It's somewhat incorrect in small parts but is still a very good read.
mengsuan
post Dec 17 2010, 01:21 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

Tangentsoft's virtual grounding notes are like my bible. I used the page for 2 years. Adding another buffer doesn't seem to be part of my plan.

I've seen many shortcuts that people are using to produce more instantaneous current, like using capacitors from rails to virtual ground, or even simpler, rail to rail. However tangentsoft's website advices not to use capacitors after the active rail splitter as capacitive load would disrupt the "bandwidth".

Probably I would have to put them into prototype and listen to decide the better arrangement.
kubing
post Dec 21 2010, 10:42 AM

Getting Started
**
Junior Member
263 posts

Joined: Dec 2008
good news is...we have so many expert here. check my tube project under Miscelenous tab in my blog. smile.gif

This post has been edited by kubing: Dec 21 2010, 01:02 PM
mengsuan
post Dec 21 2010, 03:46 PM

9W2NNS
Group Icon
Staff
10,459 posts

Joined: Sep 2005
From: Puchong

How does your YAHA sound?
kubing
post Dec 21 2010, 07:32 PM

Getting Started
**
Junior Member
263 posts

Joined: Dec 2008
i have video upload there. I regret not to built this amp long time before. very warm. For a good result used battery 12V.

82 Pages « < 35 36 37 38 39 > » Top
 

Change to:
| Lo-Fi Version
0.0325sec    0.57    6 queries    GZIP Disabled
Time is now: 22nd December 2025 - 12:45 PM