Reputation: 1308
I just got an old pentium 4 and I thought, that it would be nice to calculate some heavy maths with it. So I have a arduino duemilanove and I know, that how To send data in to the processor, but I dont know how I specify to processor that what mathematical things it should do (like multiplication, sqrt, sin and so on), and how do I specify that where do I get those answers out of the processor.
Upvotes: 2
Views: 408
Reputation: 1308
I think, that I gonna build a kernel to drive the basic functions of the processor, and I use agtl converted to ttl for arduino/cpu communication.
Upvotes: 0
Reputation: 3730
You make an application that you download into Arduino duemilanove and you make an application for your Pentium 4 computer. These applications need to exchange data via some communication channel like existing USB/FTDI/RS232. You need to learn how to send/receive data to/from it in both Arduino programming language and your favorite PC programming language. Then you need to make a protocol that both part will understand. Arduino will send a message that will include all inputs needed for computation, and PC will reply with a computation result. You will also need to learn how to download application to Arduino, and many other things on this way, but I strongly advice you to start with blinking leds. That's a hello world application for microcontrollers and every newbie should start with this little step first.
Upvotes: 1