Swiss Army Knife
Tiny BASIC, 8051 assembler, RS232 and USB all in one project

Continue reading this Elektor article?
- Unlimited access to online Member Only articles
- 3 new editions Elektor Magazine (digital)
- More than 5000 Gerber files
- 20% member discount on e-books (at elektor.com)
- 10% member discount on Products (at elektor.com)
Stops Automatically.
What is Members Only
Elektor is committed to providing high-quality content on electronics, catering to tens of thousands of paying members. As part of this commitment, Elektor has launched Premium, an initiative that offers exclusive online articles to members sometimes even before they appear in the magazine.
Every day, members can access in-depth articles that showcase the best of Elektor's premium content.
This initiative aims to reward members with early access. Once logged in, members can easily enjoy this exclusive content and engage in discussions about featured projects. While Premium adds to the existing resources available, Elektor will continue to provide a wealth of free information.
Join the Elektor community today to take advantage of Premium and other benefits!
Materials
Extra info / Update
New comment symbol, allows source code to be commented without being stored.
Better error handling, indication line number where error occurred.
Hex - handling of hex numbers improved, numbers can now be either decimal or hex without changing the operating mode. Example, a=&FE.
LOADB - massive time saving feature, LOADB will now load a TCB program with or without line numbers.
I2C - Full support for I2C devices using software, no special processor needed, new I2C commands: CPOKE, CPEEK, CPUT, CGET, CREAD & CWRITE.
24LC256 - EEPROM support (LOAD & SAVE), enables programs to be saved and loaded thus eliminating the need for a battery backed RAM.
RUN - extended to allow running programs in RAM space, when called from ROM space
There is also a version that will work on the Elektor Electronics ‘Flash Microcontroller Starter Kit’ — the same as above but with automatic RAM detection switched off.
The updated files are incorporated in file download no. 030448-11.zip
Component list
Resistors:
R1-R4 = 1kOhm
R5 = 10kOhm
C1,C2 = 22pF
C3 = 10µF 16V radial
C4,C5 = 100nF
Semiconductors:
D1,D2,D3 = LED, low current, colours to personal taste
IC1 = AT89S8252-24PC, Dip40 case, programmed, order code 030448-41
IC2 = 74HC240
K1 = 40-way boxheader (two pin rows)
K2 = 14-way socket, angled pins, two receptacle rows
S1 = pushbutton, 1 make contact, miniature
X1 = 22.1184MHz quartz crystal
USB interface
All parts SMD, case shape 1206
Resistors:
R1 =10kOhm
R2 = 2kOhm 2
R3,R4 = 27Ohm
R5 = 1kOhm 5
R6 = 470Ohm
R7= 1kOhm
Capacitors:
C1,C3,C5,C6 = 100nF
C2 = 10nF
C4 =47nF
C7 = 10µF 6.3V SMD
Semiconductors:
T1 = IRLML6402
IC1 = FT232BM (FTDI, www.ftdichip.com)
IC2 = do not fit (93C46B SO8)
Miscellaneous:
K1 = USB connector, type ‘B’, PCB mount
K2 = 14-way socket, angled pins, two receptacle rows
X1 = 6MHz ceramic resonator, 3 pins
RS232 board
Resistors:
R1,R2 = 2kOhm 7
Capacitors:
C1-C5 = 10µF 16V radial
C6 = 1000µF 25V radial
C7 = 100µF 16V radial
C8 = 100nF
Semiconductors:
B1=B80C1500, round case (80V piv, 1.5A)
D1 = 4.7V zener diode, 500mW
IC1 = MAX232 (Dip16 case)
IC2 = 7805
Miscellaneous:
K3 = mains adapter socket, PCB mount, angled pins
K1 = 9-way sub-D socket (female), angled pins, PCB mount
K2 = 14-way angled pinheader, two pin rows
Discussion (0 comments)