- Netduino Forums
- → Magpie's Content
Magpie's Content
There have been 156 items by Magpie (Search limited from 28-April 23)
#28264 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 28 April 2012 - 02:06 PM in Project Showcase
I can't see anything that could be the cause of this problem, that hasn't been mentioned already.
Did you check ALL your ground pins have good contact with ground?
Here is an oscillator that looks similar to yours
My link
The only other thing I can think of is can you move the components on your breadboard to get a similar behaviour? This again would be a lot of effort for little chance of success.
#28260 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 28 April 2012 - 11:40 AM in Project Showcase
#28258 Powerful Aquarium Lighting
Posted by Magpie on 28 April 2012 - 10:47 AM in General Discussion
#28243 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 28 April 2012 - 01:56 AM in Project Showcase
#28202 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 27 April 2012 - 12:59 PM in Project Showcase
#28194 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 27 April 2012 - 09:11 AM in Project Showcase
#28176 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 27 April 2012 - 01:06 AM in Project Showcase
#28144 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 26 April 2012 - 02:52 PM in Project Showcase
I looked at the schematic and I was wondering why you're running in Bus powered mode.
Or is it bus powered mode unless the jack is plugged in?
Have you tried it in Self Powered mode?
Have you derived your circuit from fig 32?
Typical Circuit Connection 1 (Example of USB Speaker)
Figure 32 illustrates a typical circuit connection for an internal-descriptor, bus-powered, 500-mA application.
#28109 Powerful Aquarium Lighting
Posted by Magpie on 26 April 2012 - 12:34 AM in General Discussion
If you go veroboard then you need mostly through hole components.
if you go pcb then surface mount is a good option.
Last night I put together some of my Steffshield project, and I must say it looks really good on the pcb, but I have at least 4 errors but luckily no showstoppers.
I have a pile of things going on right now, but I will give you part numbers for the bits you want.
Remember to give the tracks between high current components short paths, NCL, diode, inductor, sense resistor.
caps need to be right next to the pins.
TVS needs to be betwen the ground and Vin on the only path before the Vin Cap, with very short leads.
= 285 milliohms, better get a new calc.Rsense = 200mv/700ma = 290ohms
Leave room for 2 resistors here, so you can use parallel to tweak the current.
When i get the chance I will draw something. (within a couple of days)
#28012 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 24 April 2012 - 01:31 PM in Project Showcase
#28010 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 24 April 2012 - 01:23 PM in Project Showcase
#28004 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 24 April 2012 - 01:05 PM in Project Showcase
#28002 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 24 April 2012 - 12:58 PM in Project Showcase
I'm hoping this is relevant, I checked the forums on your chip and people are talking about tying the output suspend pin high.
part way down page.
In the datasheet reference design it isn't tied high, and I think some people said it might be an error in the datasheet.
worth a try?
#28000 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 24 April 2012 - 12:24 PM in Project Showcase
#27976 Powerful Aquarium Lighting
Posted by Magpie on 23 April 2012 - 11:28 PM in General Discussion
Glad it is going well.
The good news for me is my NCL30160 boards finally arrived, so I may as well power them up.
I am going to do it at 24 volts and put Transient suppressor diodes on the inputs for a bit of protection.
I will let you know how it goes.
OnSemi assured me they tested the chips and said it was probably overheating.
If you look at the photo I posted on the SteffShield thread you will have to agree with them.
But as it is decision time for you, I will give you some thoughts becasue as you know proscrastination is the enemy of success.
I would go 12 volts per channel and use a mains down to 12v supply. This means you can add extra power to any channel if you need it, but you will need the single inductor per channel.
I like the meanwell supplies and I would get one that is highly efficient, this doesn't mean super expensive. ie. higher than 90% at rated current. Try a recent model of the meanwell ones.
The one in you picture looks ok but you really cant tell from a picture.
As far as Amps go .What other parts do I need and what adjustments need to be made in terms of the power supply?
Work in watts and then at the last minute divide it into amps.
Add other power requirements and led requirements.
the leds will be say 30 x 3 watts = 90 watts
other stuff say 50 watts???
= 140 watts
add some spare capacity and you have say 250-350 watts.
divide by volts and you have say 25 amps.
so that is a fairly hefty supply.
ps. I know this sounds like a computer psu but they aren't very efficient.
you can probably add extra amps later if you really need to.
the NCLs with the inductors in the standard circuit will limit the current and the voltage to appropiate levels.So do you think this is powerful enough for the 30 channels if we base on 30 Cree xp-e 3watts leds? Or would you suggest a high voltage perhaps 12v? I'm just mindful about you saying the NCLs operate better with lower voltages and that I will just be wasting power with high voltages as my leds only need upto about 3.5v max.
just a pullup resistor. the tlcs need to put out a square wave <= 20khz, I assume they can do this. you better check.Finally what additional parts will I need to take in to account the PWM from the open drain of the TLCs?
Just need the standard NCL circuit, running at 12v and definately use a nearby TVS diode with an nominal operating voltage of 12-24v and a let through voltage of 27-32 volts. like this SMA6J24A-TRAlso do I need any current limiting circuits and if so what parts would I need?
Also you need anti static wriststrap connected to earth to use the NCLs and dont take them out of the silver bag until you have your wrist strap on.
I tried a value of 33uH for the inductor, use surface mount for the diodes and caps so you can put them really close to the pins.
In order of component closeness to the chip
1. caps ceramic (smd, if possible)
2 diode
3 inductor
4 resistors
5 caps electrolytics if any
the other thing I have found is that I am using the new Cree XTE leds now, at around 2 bucks each without the aluminium backing.
Last night I sent off a design for my own mcpcb, to mount them, this should cut costs a lot.
They are rated to be very similar in performance to the XPG but 1/3 the cost. so I bought a 100 of them.
No worries about helping, good luck, I just hope you have better luck with the chips than I did. (Luck? It may have been incompetance)
#27921 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 23 April 2012 - 05:25 AM in Project Showcase
#27919 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 23 April 2012 - 03:57 AM in Project Showcase
There is a lot of stuff here that I am not very experienced in but ignore that and I will try to give you some extra ideas.
It seems the crystal is ok. If you cant actually get to the clock pulse because it's internal to the chip and the crystal looks good, what else can you do but assume it is good.
I am not sure your decoupling circuitry is correct, but it is hard to see from the photos.
both C5 and C7 according to the reference design should have a 1uF ceramic in parrallel to a 10uF electro. the ceramic should be as close as possible to the pins.
all other ceramics should probably be the very close to their pins as well.
Are they ceramic? some have that baby shit brown colour that they use on tantalum caps.
I guess the standard approach is to debugging digital circuits is.
- Check all grounds. (Voltages)
- Check all power.
- check clock (it seems to be entirely internal, so check crystal which you have done.)
- check all inputs for irregularity, such as indeterminate logic states, unexpected noise or waveforms, and if you can check the expected logic state is there.
Lastly what I often find is a good way to solve problems that are complicated, is to
start with something that is working and keep adding to it until you add the thing that breaks the system,
this works better than starting with something that isn't working and trying to work backwards.
In your case, did you have a breadboard that does work? does it still work? What is different?
Think to yourself this is where I earn my money. (while you look for needles in a haystack.)
The other obvious place for the problem is in software.
By the way how does it stop working, does the usb driver stop talking?<br><br>
#27875 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 22 April 2012 - 08:24 AM in Project Showcase
#27860 Powerful Aquarium Lighting
Posted by Magpie on 22 April 2012 - 12:55 AM in General Discussion
Better to bring it down to some lowish dc voltage and use a led driver for each channel from there.
I was talking on another forum about my troubles with the NCL30160 and a couple of things were suggested.
1. run at a lower voltage ie. 12 or 24 even though the chip is rated at 40V
2. use a transient suppression diode across the vin. one that suppresses at a voltage just above the vin you want to use.
3. bread boarding high frequency power circuits is fraught with difficulty, and could have been the cause of some of the problems
Also I said before you may get away without the inductors but I think you need them unless your nominal led string voltage is near your maximum dc voltage.
eg. 3 leds at 3 volts = 9 volts running from 12v probably doesn't need the inductor.
but 1 led at 3 volts = 3 volts running from 12v probably does need the inductor because the instantaneous voltage across the led may cause a large instantaneous current that is too much for the led.
#27859 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 22 April 2012 - 12:25 AM in Project Showcase
#27706 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 20 April 2012 - 11:42 AM in Project Showcase
#27629 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 19 April 2012 - 08:35 AM in Project Showcase
#27450 USB Audio Device - FINALLY WORKS!!
Posted by Magpie on 17 April 2012 - 12:20 PM in Project Showcase
After a while, the usb chip seem to get hot, no magic smoke but it smells
That's no good.
I know almost nothing about your schematic and I know you probably already know this stuff, but I will throw in my 20 cents anyway just in case there is something that could help.
It sounds like a short somewhere, hopefully not in one of the main chips.
Assuming your circuit design is good.
You can short pins with static.
Or maybe its in the pcb
or your soldering is probably crap (just kidding).
Do you have a current limited voltage supply?
If it is a short you can turn it on at a lower than normal voltage, so you get some abnormal current, say 300mA, but just enough so nothing new is cooked.
And if you have an accurate multimeter you can trace millivolts to find where the short is.
Good luck, (I'm also giving you a bit of moral support just in case the above doesn't help.)
#27303 My Paranormal Investigation Tool(s) Project
Posted by Magpie on 15 April 2012 - 02:36 PM in Project Showcase
#26779 Powerful Aquarium Lighting
Posted by Magpie on 09 April 2012 - 02:15 PM in General Discussion
You just need over current protection.
This will give you
less losses
very simple circuit
excellent linearity, good for colour.
but at a cost of
fair bit of software fiddling if you change the leds per circuit, or supply voltage, if this is the case you will have to reset the max pwm
you will need fuses too, to protect your leds. make sure the fuses blow before the leds.
Have you worked out how many channels of how many leds?
Is it 32 channels of 1 led?
For the single led channels I don't think I would bother getting an inductor either.
just something like.
tlc -> PMD3001D -> nfet gate.(logic level fet, or maybe STN3NF06L) and VCC - fuse - leds - nfet drain and nfet source to ground. or VCC - fuse - leds - inductor - nfet drain and nfet source to ground. | | |--- diode --------|Obviously prototype first.
For my purposes ( domestic lighting 10 leds in series) I am going to rejig the Attiny461a, finish, improve the code, and choose the best transistors, and fet.
Maybe even go synchronous.
- Netduino Forums
- → Magpie's Content
- Privacy Policy