Author Topic: OSHW clock kit with 22 cents Nuvoton enhanced 8051 microcontroller N76S003  (Read 1162 times)

0 Members and 1 Guest are viewing this topic.

Offline danchouzhouTopic starter

  • Newbie
  • Posts: 4
  • Country: tw
This is an open-source project I've completed over the past few months - a clock kit based on the Nuvoton N76S003.
https://github.com/danchouzhou/003Clock


N76S003 is an enhanced MCS-51 microcontroller with a mechanical cycle of 1T, meaning the instruction with the unit of clock cycles, and instructions are fully compatible with the standard model. Thus, at the same clock rate, the processing speed is much faster than the standard model. The 18 KB program memory can also be partitioned as data flash for storing data or maintaining memory when powered off. Additionally, it includes two sets of UART, SPI, I2C, ADC, and PWM, which are all popular and commonly used hardware peripherals.

Besides having clock and timer functions, this kit has all the IO pins designed on the circuit board, giving it excellent expansion capabilities. This allows for more functions based on the same hardware, such as a temperature and humidity meter, voltage and current power meter, engine tachometer, and more - these are functions I've thought of for now, and I might develop them in the future.


The circuit board design refers to the approach in this article, which staggers the pin header footprints. This allows us to directly insert the pin headers without soldering pin sockets, maintaining the tidiness of the appearance.
https://hackaday.com/2021/08/12/who-needs-pin-headers/


Additionally, I've established a compilation environment using the open-source VS Code and SDCC (Small Device C Compiler). You only need to install SDCC and programming software, and open this project in VS Code as a folder to start writing programs and add your desired features. (Refer to the README.md on GitHub)


I named this project 003Clock because it can use N76S003, is pin-to-pin compatible with the M2003 which is a 32-bit Cortex-M23 microcontroller, and the previously launched N76E003 by Nuvoton. Other 8051 series by Nuvoton, such as the MG51 and MS51 series, are also compatible. I believe Nuvoton named this microcontroller as 003 because it is pin-to-pin compatible with the STM8S003 and offers a better price advantage.


In Taiwan, I sell complete kits online, including all parts. Please forgive me for not being able to sell the kits to other countries at the moment, but I consider this an open-source project, and all designs are on GitHub. If you're interested in this project, feel free to download and build it yourself.


As far as I know, Nuvoton chips are available on the official eStore “Nuvoton Direct”, TECHDesign, and DigiKey, which should be accessible in all countries. The other parts should not be too difficult to obtain.
https://direct.nuvoton.com/en/n76s003-series/
https://www.techdesign.com/market/nuvoton/product-detail/ntc000715/n76s003at20
https://www.digikey.com/short/7tz04djw

Leave a comment below if you have any suggestions or questions about the project, I’m happy to share with each other.
« Last Edit: January 19, 2025, 12:23:17 pm by danchouzhou »
 
The following users thanked this post: I wanted a rude username

Offline I wanted a rude username

  • Frequent Contributor
  • **
  • Posts: 669
  • Country: au
  • ... but this username is also acceptable.
Cool! Nice clean hardware design. I like those Nuvoton 8051s ... good value and sensible peripherals.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf