I want to build my own hardware for my computer but have no clue where to start. My design will be simple game controller with 6 buttons (up, down, left, right, A, start). I would LIKE a usb connection, but a serial port or parallel seems more simple.
I also need to program it. What would be the best method for making custom drivers?
Are there any good tutorials for making simple hardware like this? (I'm running window XP)
>>1
>I want to build my own hardware for my computer but have no clue where to start.
What do you know? How to implement USB? How microcontrollers work? How to design circuits? How to make a LED blink? Ohm's Law? Do you know what a resistor looks like? Which end of the soldering iron gets hot?
Name:
Anonymous2008-05-04 3:15
Keyboard hack
Name:
Anonymous2008-05-04 3:58
Indeed, sir >>5. It's likely that you already have an implementation of ``6 buttons'' on your machine. You need only subclass your existing keyboard and override a few labels. I suggest buying a copy of Pen, Paper, Scissors, and Glue 2008 Express. If you're on a budget, I've also heard good things about the freely available ``Imagination'' toolkit.
Name:
Anonymous2008-05-04 4:28
Which end of the soldering iron gets hot?
This reminds me of the time I taught 13-year-olds how to solder. I plug in a soldering iron on my bench to let it warm up for the demo and start explaining the history of soldering, what metals are used, what the soldering iron is, etc. when halfway through, this somewhat retarded fat kid standing near the front tried to grab the iron from the bench by the tip and within seconds starts screaming like a bat out of hell.
As I was fixing up his burn he looked at me with a bemused expression and said quite timidly, "I didn't know it was hot."
Fine.
What do you know? How to implement USB? no
How microcontrollers work? yes
How to design circuits? no
How to make a LED blink? yes
Ohm's Law? no
Do you know what a resistor looks like? yes
Which end of the soldering iron gets hot? stupid memes.
What do you know? How to implement USB? no
How microcontrollers work? no
How to design circuits? no
How to make a LED blink? no
Ohm's Law? yes
Do you know what a resistor looks like? yes
Which end of the soldering iron gets hot? burnt fingerprint off finding out
>>17
You're a stupid faggot if you don't even know Ohm's law. Seriously. That's the goddamn first thing you fucking learn in any circuits analysis course; there's no fucking way you could make an LED blink without knowing it.
Save sheer dumb luck. HIBT?
Name:
Anonymous2008-05-05 1:33
>>21
Why are physicists only worth 2 points? You fucki- *VROOOOOOOMMMMMMMMMMMMM*
Name:
Anonymous2008-05-05 6:25
What are the best CFLAGS? Maybe -funroll-loo-
*VROOOOOOOOMMMMM VROOOOOOOOMMMM*
>>26
You still don't know Ohm's Law, the basic thing everyone related to electricity should know. God fucking damn. Why, I ask you, why? It's like the most basic thing ever.
>>27
I'll ask you something else, >>27.
How the FUCK LONG would it take to read and learn about it? Surely not more than a day. If OP is any smart he now does know about it. So shut the fuck up.
>>29
I was pointing out the blatant contradiction in >>27, I don't give a shit whether or not he can learn it. He can learn how to hold a paintbrush with his dick and paint with Bob Ross for all I fucking care.
>>17 What do you know? How to implement USB? no
How microcontrollers work?yesno
How to design circuits? no
How to make a LED blink?yesno
Ohm's Law? no
Do you know what a resistor looks like? yes
Which end of the soldering iron gets hot? stupid memes.
fixed that for you
>>38
When advising people to learn a higher-level programming language, do you also tell them to ``learn Compiler''? Because that's how retarded that sounds.
Yes.
I think learning Assembler is as important as learning Compiler.
You see, Compiler allows certain degrees of unanimity, but for true diversity as well as individualism, Assembler allows the more down to earth approach. As you may know, talking to a brick wall may have its benefits, but talking directly to your computer produces sound results. It is this thesis that I lay my claims on, if you aren't willing to eat your cake whilst you have it, why have it at all? For a true feeling of connection to the wires, you need to get on a lower level, some may call this lower level, but I call it Assembler.
>>1
heh. ha ha. HA. HA HA HA. AH HAHAHAHAHAHAHA, OH GOD AH HAHAHAHAHAHAHAHA. BUHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHa....
Oh... oh...
That's a good one.
Name:
Anonymous2008-05-09 0:33
I think you should learn how to program by manually sending signals to the CPU by hand.
Name:
Anonymous2008-05-09 0:50
>>54
I did that with a PIC 16F877 once, talking to its serial programming interface using my "clock thumb" and "data thumb". Turns out if you speak the protocol too slowly it requires a reset after each instruction entered, after which you must send enough "increment address" commands to get back from 0 to the next position. The effective program size was...somewhat limited.
I ended up hacking open my TI-86 link cable and writing a hex loader for it in machine code. I hope you all liked my story.
Name:
Anonymous2008-05-09 8:32
>>55
I god damn love the simplicity of PIC 16F877.
Name:
Anonymous2008-05-09 8:45
That's bullshit! Go get an Altera testing board with all the fucking interfaces you need (assuming USB for PC connection and anything else (serial, ps/2, you name it) for the gamepad itself), write a vhdl design in their user-friendly IDE, and your custom hardware is DONE. No fucking need to know anything related to Ohm's law, resistors, soldering and whatever.