First of all Shenal, I have to tell you that you came to the right place. ExpertCore will be a great resource to you. You can even ask questions in sinhala in this site. (Make sure that you introduce this to all your friends). We need more and more technology enthusiasts with us like you.
Here are some tutorials for you from this site.
(However note that almost all images of these topics are corrupted due to a server transfer and will be available within next few days as soon as net admin restore them using a manual backup. So you will have to check them in few days
).Tutorial on CNC MachinesConnecting Stepper Motors to Microcontrollers TutorialHow to control a Stepper Motor using ULN2003 & microcontrorConnecting DC Motor to Microcontroller Tutorial
- You can't connect DC motors to your project. However you will be able to use servo motors (Kind of motors with a feedback control system).
Regarding microcontroller availability... You better go for PIC 16F877A. There are lots of help around the net.
We will be with you until you make a successful completion.
Okay, first decide the micro and then disassemble the printer and make sure you have 2 stepper motors. You will need another one to fix the pen. For this, it is easier to use the stepper motor used in CD-ROM tray. You can use 3 x stepper motor control ICs (ULN2003). You will need a MAX232 IC to connect the PC to micro over the serial port.
Once we design the circuit, we can move to programming. I have put a complete article on this. See How to start with Microcontroller
Also see Connecting your Microcontroller to PC
Images are corrupted as I said before. Will be back shortly.
One of our members sell micros for a very reasonable fee. The postage would be around LKR 150.
16F877A - LKR 450
JDM Programmer cost - LKR 1000
dsPIC 30F4011 - LKR 1200
PICKIT3 Programmer cost - Around LKR 4500
If you like to go for Atmel, here are the once we have in our stock.
ATMega64 - LKR 1000
ATMega128 - LKR 1000
Parallel programmer can be built for around LKR 500
PM me if you need details. (PM - Personal message)
(Note that ExpertCore.ORG forum will never involve in any type of financial gaining