Programmer for AT89S2051 etc.

Go To Last Post
79 posts / 0 new

Pages

Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

I would like to use AT89S2051 processor. Which programmer I can use ? 

USBISP AVR Programmer ? The biggest problem is that this processor has

ISP capability but it is not included in MicrochipStudio.

 

Jerry

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

but it is not included in MicrochipStudio.

That is for AVR, AVR32 and ARM, not 8051's

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

...AT89S2051...AVR Programmer...

 

The AT89 series is not an AVR.

 

Can I ask, why that chip?

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Great answer.  I am much more clever now :)

 

So, once again. Which cheap programmer I can use to programm AT89S2051 processor ????  :)

 

I hope that there is at least one clever man :)

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why ? it is direct replacement for older AT89C2051 and is also 8051 based aschitecture .. and has ISP capability

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But is NOT an AVR device, so you seem to have lost your way on the journey.

Ross McKenzie, Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

So, once again. Which cheap programmer I can use to programm AT89S2051 processor ????  :)

 

https://www.quaxio.com/programmi...

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

" ... But is NOT an AVR device, so you seem to have lost your way on the journey.... "

 

it was very cruel reply ... I really need help .. :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

woooooooooou finally ..

"https://www.quaxio.com/programmi..."

but there is one small snag .. .I have no Arduino :(

Last Edited: Fri. Feb 4, 2022 - 09:33 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

...but there is one small snag .. .I have no Arduino :(

 

Time to buy one then? They meet your 'cheap' specification.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Arduino costs 36 USD + postal charges ... it is terrible expensive

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


JerryMouse wrote:

Arduino costs 36 USD + postal charges ... it is terrible expensive

 

As you haven't filled in your location in your profile we can only guess where you live but where I am...

 

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I live in Czech republic. 6.49 Great British Pounds is equal to 194.7 CZK. Postal charge is 12 GBP. 195 + 360 = 555 CZK ....

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

JerryMouse wrote:

I live in Czech republic. 6.49 Great British Pounds is equal to 194.7 CZK. Postal charge is 12 GBP. 195 + 360 = 555 CZK ....

 

Any better? Looking on Aliexpress.

 

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Surely there are Ebay shops in the Czech Republic.

Or online hobbyist shops.

 

I can buy an Arduino from China very cheap.   I just have to wait for 12-42 days for it to arrive.

Or I can buy from a UK online shop for a higher price.   But it arrives in 1-3 days.

 

I can understand the problem if you lived in Outer Mongolia or remote parts of Africa.

 

Oh,  I think that I wrote firmware for a "USBASP" to program AT89S2051 (some years ago).

But you would still need another programmer to install the firmware.   e.g. an Arduino.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


JerryMouse wrote:
I would like to use AT89S2051 processor.

Why that particular processor?

 

Back in the day, http://www.8052mcu.com would have been the place to ask - but that's now derelict.

 

Might this not be a clue that 8051 might not be the best option to choose ... ?

 

Anyhow, back to the question, the place to start is always the Product Page:

 

https://www.avrfreaks.net/commen...

https://www.avrfreaks.net/commen...

 

In this case:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes, I live in total backwoods/backwater ... life is cruel ... and as an "almost homelss" it is very difficult to have permanent address

it takes almost 6-9 monts to deliver anything using Aliexpress to our country :( not the 12-42 days

 

 

I can buy Arduino NANO:

https://www.gme.cz/klon-arduino-...

 

can you send me the programm for it ? it is for Arduino a nd for USBASP

I can buy e.g. this:

 

https://www.aliexpress.com/item/...

 

 

on the other hand ... the AT89S2051 has ISP and MicrochipStudio it sholud be capable to programm the AT89S2051 if I add "somehow"  the definition file AT89S2051.xml ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
MicrochipStudio it sholud be capable to programm the AT89S2051

Why "should" it ?

 

You probably could set it up as an "external tool", but you'd still need to find that tool - so why not just use it direct?

 

Even if you got that set up, that's all Microchip Studio would do - it doesn't really seem worthwhile to have to start up MS just to do programming?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

is it too expensive for me .. the bpmmicro.com

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am very very very sad :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

According to this page...

 

https://www.pocketmagic.net/chea...

 

...a USBAsp, when driven by Avrdude, will program the AT89S2051.

 

Job done.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

is it possible to use "Arduio Nano" as the programmer ???

 

https://www.gme.cz/klon-arduino-...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hm this looks hopefuly

https://www.pocketmagic.net/chea...

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brian Fairchild wrote:

According to this page...

 

https://www.pocketmagic.net/chea...

 

...a USBAsp, when driven by Avrdude, will program the AT89S2051.

 

Job done.

 

I am VERY sceptical.   The link quotes AT89S8253, AT89S4051, AT89S2051.   Yet it seems to use the Fischl 2011 firmware.

 

@ JerryMouse ,

 

A Nano can do everything that an Arduino Uno can do.   It just does not have the header sockets to receive Shields.

So you should be able to use the Arduino tutorial from #7.

 

I did not translate your link from #22.  If it is a local Czech shop,   you will receive the item quickly.

 

David.

 

p.s.  I prefer a Uno clone to a Nano clone.    Because I use plug-in Shields for prototyping.

Last Edited: Fri. Feb 4, 2022 - 10:45 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have got a great idea. :)

Can someone "to create" the programmer with correcponding firware enabling to programm AT89S2051 for me ? and send it to me ?

 

this is good enough

https://www.aliexpress.com/item/...

 

I send money in advance .. .

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As I remember the stk500 can program it, but I'm not sure if the clones can.

 

For sure the older AVR dev. boards could

 

 

Last Edited: Fri. Feb 4, 2022 - 01:48 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I maybe found the correct programmer and is relatively cheap:

 

https://www.aliexpress.com/item/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
I would like to use AT89S2051 processor. Which programmer I can use ? 
Is an AT89C2051 close enough?

Paul's Free 8051 Tools, Code and Projects (PJRC)

[bottom]

Atmel 89C2051 in-circuit programmer

via SDCC links page

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

wou ... thanks .....

 

I found another 89Sxxx programmer but it is too expensive for me ... but it looks great

 

https://www.aliexpress.com/item/...

 

www.xgecu.com/MiniPro/TL866II_In...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No.   The AT89S2051 uses SPI programming.  Like AT89S51 or ATmega8.  AT89C2051 is only parallel.

 

The "difference" is that AT89 chips have an active-high RESET pin.   And an AVR has regular active-low /RESET pin.

 

I don't have an AT89S2051 chip.

 

David.

Last Edited: Fri. Feb 4, 2022 - 03:53 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

The TL866 is quite a useful programmer. If you're going to be doing anything which needs 'odd' chips programming then it's worth having one around.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

what do you mean with "odd" ???? it is "queer" ? "old" ?  ok AT89S2051 is not new but is ideal for higt school 1st class students teaching ... (14 years boys and girls)

yes of course ... the the newest AVR or PIC microprocessors provides better technology ... but it is much more complicated

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

To be honest, I'd not be inclined to mess about with gadget from China which may, or may not, work. I'd buy an Arduino, locally if I could, or if you want a reliable supplier from Reichelt across the border in Germany, and use the details on the page I linked to back up there ^^^^

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
AVR ... is much more complicated

I disagree.

 

With its multitude of different address spaces, the 8051 can be confusing for beginners.

 

Beginners also find the pseudo-bidirectional ports confusing.

 

It is really not well-suited to C programming.

 

Very few have on-chip debug.

 

I think something like an ATmega328P/PB would be a far better choice.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I will think about it

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

ok AT89S2051 is not new but is ideal for higt school 1st class students teaching ... (14 years boys and girls)

yes of course ... the the newest AVR or PIC microprocessors provides better technology ... but it is much more complicated

The lack of ADC, internal clock & spi functions, seems a real sad story for students.  The ADC is especially needed for experiments.

Take a look at the mega48...in dip.. so easy to work with., low cost ...has uart too 

 

To be honest, I'd not be inclined to mess about with gadget from China which may, or may not, work. 

It's truly hard to beat the cost of a nano board for around a dollar....order 100 of them....any that don't work or get blown up by students, just hit the trashcan.  You can do plenty of experiments with them.

They can still program in assembler & learn all about the AVR.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Fri. Feb 4, 2022 - 05:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

YES !!! ... I know   STM32 or AVR are significantly better microprocessors ...

and I do not think that everything from China/Aliexpress is Shit ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
and I do not think that everything from China/Aliexpress is Shit ...

 

You have more lessons to learn

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I do not live in such advanced and rich country as England is .... I live in total backwater ... everything is different in here ... and I am almost homeless so my look on world is somewhat "different" ..

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try to ask Zuzana Vesela, school teacher in Olomouc (https://www.spseol.cz/). She had documentation how to made programmer for C2051 and if i remember correctly also for S2051.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:
I live in total backwater ... everything is different in here ... and I am almost homeless so my look on world is somewhat "different" ..

Learn to see problems (such as yours) as something that needs a solution, find others like your self (form a club) that enjoy programming, pool resources, buy in bulk and sell to others in the club and surrounding areas.  By helping others, you help your self, bring joy to many around you, and improve your life at the same time...  

Good luck with your programming and with helping others!

 

Jim

 

 

FF = PI > S.E.T

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

JerryMouse wrote:

I found this:

https://www.rathlev-home.de/mc/m...

 

That could be worth exploring. 

It has a ISP program that the docs say maps like this  - it needs a USB-Serial 5V adaptor, which you hopefully already have.

 

( SCH has DTR - RST, or that can be manually held hi during PGM I think )

 

So you could connect a AT89S2051/AT89S4051, and see how far you get ?  

That will not be fast, as it just wiggles serial lines ( ie - a bit slow on FS-USB UART bridges, a little faster on HS-USB Bridges.)

 

It should be able to read SIG bytes of AT89S2051/4051  - you could contact the author, with your progress test results ?

 

There is chatter about AT89S support via AVRDUDE, and it seems it was added  (some comments about needed reset polarity choice, but it also seems you can manually hold RST HI during pgm  ?) 

PC control is nice to have, as you can code/download/run faster. 

 

This page 

http://www.8051projects.info/res...

 

mentions 

You can program the following 89 series chips by using this programmer AT89S51, AT89S52, AT89S53, AT89S8252, AT89S8253, AT89S2051, AT89S4051 and AVR chips

and it appends avrdude.conf by If you want to program 89S52 with AVR dude then Add this text into your avrdude.conf(\winavr\bin\) my_conf.txt

- but that's behind a log-in wall.

 

This page has a avrdude config file stub for AT89S8253, which covers the bulk of the work, and it looks to have the same 4 byte SPI as AT89S2051/4051

 

https://www.edaboard.com/threads...

Included on that page is if you have (ancient) PC's there with Standard parallel ports, it can also add the Parallel port mapping for Atmel at89isp cable.. What do your students use ?  

 

Sig bytes are AT89S2051: Address 00H = 1EH 01H = 23H 02H = FFH  AT89S4051: Address 00H = 1EH 01H = 43H 02H = FFH  whilst AT89S8253 above says    readback_p1     = 0x1E;  readback_p2     = 0x73; 

First 0x1e is Atmel and second byte is device ID.

 

 

There is also chatter here on AT89S parts via avrdude - some caveats, but the 4-byte ones seem ok ?

https://www.avrfreaks.net/commen...

 

and another example here, seems to have 3 config appends  AT89S51 AT89S52 AT89S8253

 

https://www.avrfreaks.net/commen...

 

and another useful comment

https://www.avrfreaks.net/commen...

 

and even better seems to be 

https://www.avrfreaks.net/commen...

That has a .ZIP file with 7 AT89S/AT89LP parts and (IIRC) an usbasp firmware update that adds autodetect of reset polarity, to make things cleaner. Or I guess you could add a HW inverter ... 

To use the firmware update, you would need to buy multiple usbasp's  but you may already be doing that for the students ?

 

 

Last Edited: Fri. Feb 4, 2022 - 11:35 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

I have got a great idea. :)

Can someone "to create" the programmer with correcponding firware enabling to programm AT89S2051 for me ? and send it to me ?

 

this is good enough

https://www.aliexpress.com/item/...

I send money in advance .. .

See #44  - for students I would like the aluminum case ISP, I think that cover comes off easily so you can upgrade the firmware ( 2 uspisp needed) 

 

Addit: Some notes on repgm of the aluminum case models here, https://github.com/aleh/usbispand here  https://www.sciencetronics.com/g..., seems they are not exact clones, so the 89S51 auto-reset-polarity firmware linked above, (https://www.avrfreaks.net/commen...)  might not work out of the box ?

 

If you have shiploads of disposable AT89S2051 (DIP?), you can teach a lot using those. Especially using the simulator you found in #31

 

For more advanced students, you could get this I think in CZ for about USD10 ?  - that's a '2022 version of 89S2051' :)   1.8~5V 50MHz ADC DAC PWM SPI i2c UART (but no DIP)

https://cz.mouser.com/ProductDet...

 

Last Edited: Sat. Feb 5, 2022 - 01:58 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


The STK500 (which you don't have.....) and the older Studio 4.18 can do AT89S51 and AT89S52, there is also and entry on the STK500 manual on how to do it.

 

 

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I suggest that you do not spend any more time and money on this 89S2051 microcontroller that you have found.

 

This processor has not been used in new designs for about 25 years.  It belongs in a museum.

 

   But in the real world, your chances of getting this device to do anything useful are about as good as your chances of winning a million dollar lottery.  The tools and development programs are all 30 years old and are very unlikely to work correctly on modern versions of Windows.   It will take hundreds of hours of study and experiment to learn the assembly language that this ancient 2K-byte chip uses.  It would be like learning a language spoken by a few hundred people instead of learning English or Chinese that is spoken by millions of people.

 

There are a lot of older people on this website who actually did write code for this CPU for a living a long long time ago.  They will tell you what programs and development environments that they used 30 years ago.  They could, with a well-equipped electronics lab and their combined hundreds of years of experience, get this silly thing to do some demo program like blinking an LED or writing "hello world" to a serial terminal.  And then they would tell you that you could do it as well.   But that is not true: and they are being disingenuous.  They are not exactly lying: but they are not telling you the real-world truth.   Which is that if you are near-homeless, then you should spend your time and money on dealing with that situation, instead of wasting time and money on a piece of obsolete technology.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ok, 8051/52 is almost 45 years old technology, but it is still in production. there is a lot of manufacturers producing this "old" technology ..

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

Simonetta wrote:

I suggest that you do not spend any more time and money on this 89S2051 microcontroller that you have found...This processor has not been used in new designs for about 25 years.  It belongs in a museum.

 

You couldn't be more wrong. That chip is a '51 family chip; an architecture that is alive and well, and being designed into new products as we type.

 

There are modern compilers and development tools for it from numerous sources. The instruction set is simple and easy to learn; much simpler and easier than an AVR. The web is full of example code.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JerryMouse wrote:

ok, 8051/52 is almost 45 years old technology, but it is still in production. there is a lot of manufacturers producing this "old" technology ..

 

Yes, the 8051 is very widely used in Asia, and even in USA Silabs has new releases in the 50MHz 1T models EFM8BB52, 1.8~5.5V with 12b ADC and 10b DAC, that's actively being designed in, in 2022.

 

If your students want to also build something, as part of their learning, search Aliexpress for Digital clock DIY or similar.

There, you will find many low cost kits, most of them based on 8051 DIP controllers (Atmel AT89, STC STC15 ) 

 

Addit : Discussions and notes on variants on these kits are around. This link discusses a temperature sensor upgrade, so the revised PCB flipped the last 2 digits, to allow 'C  

https://github.com/zerog2k/stc_d...

 

Addit : more discussions and code

https://github.com/aFewBits/stc-...

 

and a Python STC downloader, (for ROM bootloader models) so you can also show students that source code.

https://github.com/grigorig/stcgal

 

Addit: Also cheap is the STC89C52RC, some DIP40 LED-kits, and a low cost SMD breakout with USB loader included is here https://www.aliexpress.com/item/...

Another part number to search, is the STC12C2052AD, similar LED kits, like here 

https://www.aliexpress.com/item/... - same pin/package as AT89S2051, but faster & with ADC/SPI/PWM/EEPROM

You can buy DIP STC12C2052AD as 'spares', but if doing that you may prefer to option-up to the same pinout more flash/ram/pca   DIP20 https://www.aliexpress.com/item/... STC12C5616AD-35I-PDIP20   US$8.91/10

 

 

The 'Rotating LED' kit models seem to all use DIP STC15W408, and include a re-program connector, making it easy to change what the LEDs do.

Data is here : http://www.stcmcudata.com/datash...

I see a couple use AT89S52 (DIP40) , and another has a pre-mounted SMD STC MCU  - so, you have plenty to choose from :) 

Last Edited: Sun. Feb 6, 2022 - 08:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ok, thanks

Pages