Sawtooth looks fine, but square looks weird

Discuss x0x construction and related issues

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
Locked
Kyrigo
 
Posts: 4
Joined: Sun Jul 01, 2012 9:54 pm

Sawtooth looks fine, but square looks weird

Post by Kyrigo »

Hi,

I'm building my first x0xb0x using the Willzyx kit, and I could use a little help: I built up the power supply and just finished the VCO, but my square wave is looking a little sickly on the scope. I just triple-checked all the components and didn't find anything amiss. I've attached pictures of both waveforms and some pics of the main board so far -- If you have any idea what might be wrong, I'd be really grateful to hear it.

Saw wave: http://i.imgur.com/D35GG.jpg
Square wave: http://i.imgur.com/8gNnZ.jpg
Front of board: http://i.imgur.com/BzC1n.jpg
Back of board: http://i.imgur.com/t8Xm2.jpg

If you need me to take any readings, let me know. I'll just continue with the build for now.

User avatar
antto
 
Posts: 1636
Joined: Thu Apr 15, 2010 3:21 pm

Re: Sawtooth looks fine, but square looks weird

Post by antto »

if that is at ~9Hz then it looks fairly okay for the square, you should know that the 303 square wave is actually NOT a square at all
if you are still not sure - post a picture of it at some higher frequency like 50 - 100Hz
but i'd say don't worry, continue with the build

User avatar
altitude
 
Posts: 995
Joined: Wed May 11, 2005 5:17 pm

Re: Sawtooth looks fine, but square looks weird

Post by altitude »

Yeah, the term "square" is pretty loose when it comes to the 303/x0x. Use your ears first

Kyrigo
 
Posts: 4
Joined: Sun Jul 01, 2012 9:54 pm

Re: Sawtooth looks fine, but square looks weird

Post by Kyrigo »

I upped the frequency to ~100Hz and the waveform looks great. Thanks!

Unfortunately this also brought another problem to light: the VCO frequency is WAY off what the instructions predict. The manual says to apply 3V DC to R90 to get an output of around 150Hz... I only get around 6Hz. To get 150Hz I have to apply about 7.5V DC! What can I do?

Edit: ugh; something seems to have gone bad with the power unit since I last worked on my x0x. Now J4 is giving me 9.4V, 0v, and 20.8V(!!!) instead of 5.33V, 0V and 12V. It was working just fine last time. From the FAQ it looks like this is due to a bad LM336. I ordered a replacement. However the VCO issues were happening before my power supply woes, so my question still stands.

User avatar
mmm
 
Posts: 517
Joined: Tue Apr 24, 2012 1:51 am

Re: Sawtooth looks fine, but square looks weird

Post by mmm »

At this point I'd suggest getting the power supply problem fixed; and then we'll trace further from there.

Kyrigo
 
Posts: 4
Joined: Sun Jul 01, 2012 9:54 pm

Re: Sawtooth looks fine, but square looks weird

Post by Kyrigo »

Okay. I replaced the regulator and the power supply is back to normal. I'll do some testing on Monday to see if I can replicate my VCO frequency problems.

Kyrigo
 
Posts: 4
Joined: Sun Jul 01, 2012 9:54 pm

Re: Sawtooth looks fine, but square looks weird

Post by Kyrigo »

Well I fixed the power issue and the frequency issue magically resolved itself. Aren't electronics great?

Looks like I'm done with the analog section. Onward!

User avatar
mmm
 
Posts: 517
Joined: Tue Apr 24, 2012 1:51 am

Re: Sawtooth looks fine, but square looks weird

Post by mmm »

Kyrigo wrote:Well I fixed the power issue and the frequency issue magically resolved itself.
This isn't totally surprising since both the 5.33v and 12v supply voltages are also used to create a "voltage offset" in the oscillator. So if even one of them is widely out of spec this will strongly affect the tuning.

Good to hear you're making progress; and good luck with assembling the rest of your xoxbox.

Locked
Please be positive and constructive with your questions and comments.

Return to “Making x0x”