I very quickly this evening managed to hook my NES controller up to my arduino and interface it with my computer. This means I can play the original controller with emulators ^^ the only issue I'm having is the keyRelease function on the processing Robot class is fucked.
Playing around with Processing + Arduino in a class, making cool generative art with sensors and shit. I have a bigger final project, gimme some ideas, we have Arduino Unos, flex sensors, light sensor, pressure, IR, sliders, LEDs, and I'm gonna get some cool stuff from sparkfun
Alright everyone, here it is. It still needs some more optimization, probably with the Pi filter. Or should I simply a few things?
[IMG]https://sites.google.com/site/lonewolfscircuits/sitefiles/Tele-TalkV2-1.jpg[/IMG]
Opinions?
EDIT:
The Audio input going into the pre-amp is from the AF output.
[QUOTE=LoneWolf_Recon;34327339]circuit[/QUOTE]
The power supply battery / DC diodes is a bit dodgy, since if the input DC voltage is equal or less than the battery voltage current will continue to be drawn from the battery (maybe you want this or maybe not) having a higher voltage DC input I.E 12V would solve this.
As for the audio pre-amp part you don't need that extra capacitor C2 on the schematic since the signals are AC coupled from the previous stage (audio inputs), I would also increase C4, C5 and C6 to 4.7uF to avoid attenuation of low frequencies, if you just using this for voice then 1uF is fine.
The gain of the pre-amp is a little on the low side, assuming your mic input is from a electret mic you can expect 50-200mV at normal talking volume, given the gain of 3.33 this will give you an output between 166.5mV and 666mV, I would suggest increasing the gain to 10 or more.
Your emitter follower is not an emitter follower, I suggest you recheck your design there.
As for the filter, final amp and antenna matcher I'm no expert at RF but the biasing of Q4 seems a bit poor (voltage divider bias is usually to be preferred, unless this has some advantage at RF), I also can't quite see the purpose of the filter, what are you trying to filter out ?
And shouldn't filters usually go [i]before[/i] the power amplifier?
[QUOTE=ROBO_DONUT;34328799]And shouldn't filters usually go [i]before[/i] the power amplifier?[/QUOTE]
In this case the input should be fairly clean RF so there is no need for a filter, as for an output filter I don't see the need.
[img]http://i.imgur.com/YlhNt.png[/img]
I've made a simple breakout for the atmega32u2 so I can play around with it. I will etch it within the next few days and solder the parts on when they arrive.
I'm using right angle SMD headers on the edges instead of through-hole headers as I don't have a drillstand and it's [del]impossible[/del] highly unlikely to drill holes that size by hand.
The filter on the final RF stage is a Chebyshev Pi Low Pass. I stuck it in there to prevent any harmonics and limit the tuning range to the FM band.
The pre-amp was giving some acceptable gain earlier, running about 4.6 minimum (The input signal was at 80Hz), I've dropped R8 down to 2K to bump the gain up to ~6.5. Any more gain and I think I'll have some distortion. Also, the mic I'm using is fairly sensitive and will be near my mouth(It's part of a headset). It was well heard through a my single transistor FM transmitter, but I'll check into it some more..
I've also bumped the wall wart's voltage to 12V like you said (Thanks for that btw)
The emitter follower is still the one thing that is puzzling me. I've been using these as sources:
[URL="http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/npncc.html#c2"]http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/npncc.html#c2[/URL]
[URL="http://forum.allaboutcircuits.com/showthread.php?t=6977"]http://forum.allaboutcircuits.com/showthread.php?t=6977[/URL]
As well as wikipedia, I figured that R11 would be the approx output impedance and just found the other values from there.
I modeled my RF Amp off of these:
[URL="http://talkingelectronics.com/projects/Spy%20Circuits/SpyCircuits-2.html"]http://talkingelectronics.com/projects/Spy%20Circuits/SpyCircuits-2.html[/URL]
So I'll go back and recheck the biasing.
Thank you
Your taking the output of the emitter follower from the collector rather than the emitter.
[QUOTE=Chryseus;34331093]Your taking the output of the emitter follower from the collector rather than the emitter.[/QUOTE]
*facepalm* Thanks, that's the mistake I make after working at it for a few hours :v:
[QUOTE=LoneWolf_Recon;34331155]*facepalm* Thanks, that's the mistake I make after working at it for a few hours :v:[/QUOTE]
It happens <3
[QUOTE=LoneWolf_Recon;34329649]The pre-amp was giving some acceptable gain earlier, running about 4.6 minimum[/QUOTE]
My bad I forgot to take the parallel resistance into account, as drawn it has a maximum gain of 5.33, with a 2k resistor this will increase to 7 and give an input impedance (looking into the base) of 143k, assuming βf = 100.
As for emitter followers the emitter resistor determines two things, the input impedance and the output impedance.
The input impedance being βf * R and the output impedance being R.
Generally you want Zin to be 10x greater than the source impedance (including the base bias)
Lets make some music!
[url=http://i.imgur.com/CE8mj.jpg][img]http://i.imgur.com/CE8mjl.jpg[/img][/url]
[QUOTE=ruarai;34346857]What camera/lens do you use? Probably been asked before but these shots are great.[/QUOTE]
Canon EOS 20D with 28-105mm f/3.5 - 4.5.
Almost everything you need to build a capacitive discharge spot welder!
[img]http://eagle.undo.it:8083/img/cdwelder_07_small.jpg[/img]
...just waiting on the chassis. I'm tired of lugging around a charger for my netbook; hopefully I get that last piece soon.
Just in case you want to source one, that foot switch was designed for a tattoo machine. Get it on eBay - Hong Kong's miscellaneous electronics outlet.
Oh god, you didn't honestly buy a car-audio-cap, did you? They're overpriced as hell!
Can't tell if serious or joking. It's either spend $40 on that or spend $400 on equivalent tech-grade caps. Cap was independently verified by a somewhat trustworthy source to be 0.932 F with an equivalent series resistance of 1.52 mohm @ 20Hz. Worth the gamble considering the cheap price.
Do note that [i]most[/i] car audio caps are overpriced as hell and do not actually come anywhere near their advertised capacitance. Be very careful when choosing one - the one I purchased is a Scosche ECAP1.
[QUOTE=DrLuke;34374954]Oh god, you didn't honestly buy a car-audio-cap, did you? They're overpriced as hell![/QUOTE]
I'd really love to know where you get your information from..
[QUOTE=Night-Eagle;34375334]Can't tell if serious or joking. It's either spend $40 on that or spend $400 on equivalent tech-grade caps.[/QUOTE]
[url]http://www.youtube.com/watch?v=EoWMF3VkI6U[/url]
2600F for about 15USD. Yes, 2600 farads.
Yes, probably MUCH higher ESR and lower voltage. But still, 400 dollar is nonsense.
[QUOTE=masterburner;34375384][url]http://www.youtube.com/watch?v=EoWMF3VkI6U[/url]
2600F for about 15USD. Yes, 2600 farads.[/QUOTE]
2.5 V. That might be uF, as well. Common mistake. I'll research it, though.
Okay, yeah, he says it's Farads. But can you actually source those for $15?
[QUOTE=Night-Eagle;34375439]2.5 V. That might be uF, as well. Common mistake. I'll research it, though.
Okay, yeah, he says it's Farads. But can you actually source those for $15?[/QUOTE]
[img]http://i.imgur.com/dn7S7.png[/img]
Just checked at that store though and can't seem to find them, but did find [url]http://www.ebay.nl/itm/Maxwell-2600-Farad-Capacitor-2600F-Boostcap-Ultracapacitor-2-5V-BCAP0010-/270825328358?pt=LH_DefaultDomain_0&hash=item3f0e728ee6#ht_1464wt_1163[/url].
Yeah, I checked the website before I posted that. I can only find them on eBay for $40.
Correct me if I'm wrong, but I see a problem in my application with the cap you refer to. For CDSWs, we require high current for a small amount of time. Discharging this 2600 F capacitor with a thyristor without a blocking circuit will result in a longer (by an order of magnitude) burst due to the higher capacitance, whereas a CDSW requires only a short burst (on the order of milliseconds to avoid overheating the work). To fix this, we would have to add a blocking circuit to the thyristor or replace the thyristor with something else. This sounds complicated and expensive.
Obviously I'm not going to scrap everything I have if it works like it has for others in the past, but it is an interesting idea.
Hey guys, I have a small issue that you guys may be able to help me with. I've been playing around with wiring classic games controllers to my computer using my arduino, currently I've done a NES controller, Mega Drive controller, atari 2600 controller and am working on a joystick, which I'm not even sure is working considering the data I am currently receiving with it. Anyway, that's not my issue. My issue is that, now I've managed to decode it one way, I'd like to do it the other, namely creating my own NES controller. I can get a cable for this as a cable for it, and have enough buttons etc, and also know the protocols. Anyway, the NES controller protocols state that the NES requests data from the controller over time using a latch and a clock, the clock firing off ever 6us.
The issue I have is that I firstly need to have exact timings for this. I have read a little about the concept of interupts and think I am starting to get them, and that they will be the perfect thing to use for this, but I may be wrong. Due to the fact that the NES uses a clock system for the data I think it will work, what do you guys think?
Secondly, I would like to use my Texas Instruments Launchpad for this project, then take the MSP430 it uses to put in the finished project. Unfortunately, as some of you may know, this is a low consumption chip when it comes to voltage. The NES controller generally has 5v put into it, and outputs its data with that as well, so is there an easy way for me to throw down the power being inputted to the controller and then ramp it up for the output? Or do I even need to? Thanks a lot guys :).
The problem with those caps is that you want the voltage to be as high as possible to minimize the effect of resistance.
For example that cap above charged to 2.5V with 0.01ohm of resistance would only provide a peak discharge current of 250A (625W) and would take roughly 26 seconds to discharge 63%, this is not enough for welding anything thicker than ~0.05mm
Now replace that with a 20V 1F capacitor with the same resistance and you get a peak discharge current of 2kA (40kW) and will take ~10ms to discharge, this can easily weld up to ~0.3mm.
Capacitive welding can give good results with thin metals but for anything thicker it's much cheaper to use a high current transformer.
[img]http://i.imgur.com/gB2Zt.jpg[/img]
UV-Light for photoetching
Cleaned up and updated op.
[QUOTE=DrLuke;34377326][img]http://i.imgur.com/gB2Zt.jpg[/img]
UV-Light for photoetching[/QUOTE]
That's going to take a while with those leds.
[QUOTE=ddrl46;34384374]That's going to take a while with those leds.[/QUOTE]
Nah, I've tried it with a UV-flashlight I had which had way less power and a narrower light emission angle and it worked just fine.
[t]http://i.imgur.com/bVHPN.jpg[/t]
[t]http://i.imgur.com/4wDR3.jpg[/t]
There we go, thanks to ddrl I ended up using a LM311 comperator instead of a normal opamp, and I achieved way better results, although that little bit of oscillation you see there still needs fixing.
Apparently V is used to denote voltage, not U.
What the shit.
Sorry, you need to Log In to post a reply to this thread.