After playing for about one week ([url]http://blog.billy.gr/archives/2004/12/15/at89c2051-programmer/[/url]) with that i can say that i am really satisfied. I did a lot of changes till the final design.
Now i must as usual create a PCB and a couple of html pages (or PDF) with the notes, parts and schematic.
Today i finished a stepper motor controller. It is a simple board made arround a AT89C2051 and 4 power transistor. I had some issues with the power supply (i need more current than it can give to me).
The design is simple: 1 pin for step, 1 pin for direction. On the todo list is to create a serial protocol in order to use it directly using commands.
So far it works with no problems but i need to create a PCB first in order to do more tests and add some safety features.
I allways wanted to make a at89c2051 programmer. The only programmers that i have is one for AVR and can program also the AT89S8252, another one for DS5000/DS2250 which i use for evalution and fast programming for the 8051.
Doing a search on google a came across to the following link: [url]http://chaokhun.kmitl.ac.th/~kswichit/easy1/easy.htm[/url]
The source code is under GPL and you can compile it using sdcc. My favorite embedded compiler.
This guy have build a really nice programmer, with only one problem…. The chicken – egg problem.
How i will program the 89C2051 in order to program the target 89C2051 ? 🙂
I took the source and import it in my cvs. Yes cvs, allways cvs. I did a clean up of the code in order to compile without warnings, and start doing changes for my board.
The board i designed is allmost the same but instead a 89C2051 i use an AT89S8252 and i don’t need a latch cause i have a lot of spare pins in order to program the target processor. Of course in my todo list is to make this board good enough to program all the processor i use, and ofcourse program also some time of memory, such as serial, I2C and so on.
I hope i will have finish it in the weekeend
My Psion 5MX just died….
The usual problem with the lcd. Yesterday night was working without any problem. Today i opened it and i had a few horizontial lines on the lcd.
The lcd cable has left us… I hope i will open it again on the weekend to see if i can fix it.
I bought it if i remember correctly on 1999, and i was using it till i got the 9210 communicator. After that i was playing with linux on it.
To bad, i wanted to do some experiments this weekend. Bye bye my friend