Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 22:39 19 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Something I've been playing with

Author Message
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 06:49pm 24 Sep 2022
Copy link to clipboard 
Print this post

...two challenges at once.

First, to build the world's thinnest DIY computer, and second to write a new BASIC interpreter (for it).

I dare to say, I am pretty happy with the results from both.
See the pictures - 2mm thickness!!! To achieve that, I resorted to some unconventional method of building - component-through-PCB.
Overall complexity - 9 components.

This system is not aiming at breaking records (except for the above, plus simplicity), but rather a starting point for development of similar but more capable systems. This initial one is built on a PIC18 with 13K of RAM and 128K of flash (64K of which is reserved as "hard disk").
The keyboard is probably my biggest achievement here - it works as dual role resistive/capacitive keyboard, can be used in any conditions with either bare hands, or with contacts, and all that on a MCU with no capacitive controller!

In terms of battery life - massive. The system draws 2.1mA at maximum load, and less than uA on standby, so many, many hours of work on a single charge. And years on standby. Does not include a charger on board, but the battery can be charged through the expansion port.

The BASIC actually turned up quite reasonably good and extremely memory efficient. It can work on devices with as little as 2K of RAM, is non-recursive (hence, no stack requirements), and on this new computer which runs at 8MHz clock, executes at approximately the same speed as an Apple II. It is also reasonably forward compatible with the MMBASIC, but also includes a few things of its own. For one example - it works with the BASIC-standard round bracket array index, but also with (much more readable) square brackets. Keywords which are built from two words (eg. END IF, END SUB, etc.) are supported either way. Strings are of unlimited length and dynamically managed to use minimum memory, etc...
It also includes a decent text editor, similar to the one in MMBASIC, and can communicate with the external world through an expansion port, and also transmit/receive files through XMODEM. All that, on a resource-constrained 8-bit MCU with half the flash to spare for file storage.

Of course, never expect the comprehensiveness of the MMBASIC, which has had more than a decade of development, and is generally aiming at higher resource systems, but this one on its own is quite fun as well.

I will have to take on the unpleasant task of documenting it all now, so will post more sometime in the (near) future...









 
PeteCotton

Guru

Joined: 13/08/2020
Location: Canada
Posts: 313
Posted: 07:10pm 24 Sep 2022
Copy link to clipboard 
Print this post

WoW! Brilliant job!
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3830
Posted: 07:18pm 24 Sep 2022
Copy link to clipboard 
Print this post

Awesome. Reminds me of the credit-card calculator my father brought back from a Japanese business trip almost 40 years ago. It's a real shame that mobile phones (dreadful things) have basically destroyed the market for more interesting ultra-portable computing devices (loved my Psion 3a).

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3496
Posted: 07:42pm 24 Sep 2022
Copy link to clipboard 
Print this post

This is just awsome !!!

Where can we order .. ?? I want one, just for the fun of eyeballing....
PicomiteVGA PETSCII ROBOTS
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 127
Posted: 08:19pm 24 Sep 2022
Copy link to clipboard 
Print this post

I am very impressed at the scale of this board. And very functional. Great job!
 
Rickard5

Guru

Joined: 31/03/2022
Location: United States
Posts: 328
Posted: 08:40pm 24 Sep 2022
Copy link to clipboard 
Print this post


Quick before she finds out
I turned the volume on the monitor to max and could hear sound. Thanks Stanleyella
 
Rickard5

Guru

Joined: 31/03/2022
Location: United States
Posts: 328
Posted: 08:40pm 24 Sep 2022
Copy link to clipboard 
Print this post


Quick before she finds out
I turned the volume on the monitor to max and could hear sound. Thanks Stanleyella
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 06:31am 26 Sep 2022
Copy link to clipboard 
Print this post

Hi Kon,

that's really cool!!!          

Can I buy one from you already?

Frank
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024