Quantcast
Browsing all 296 articles
Browse latest View live

A new web front-end design

JET is going to need a web interface. In fact, it’s likely that a major part of the total development effort will end up being poured into this “front-end” aspect of the system.After many, many...

View Article


Image may be NSFW.
Clik here to view.

Inside the PDP-8 hardware

In 1965, computing history was made when DEC introduced a new computer, called the PDP-8. It was the start of a long series of incrementally improved models, later to be followed by the even more...

View Article


Image may be NSFW.
Clik here to view.

Computer peripherals in 1965

Ok, so now we have our computer. How does it interface to the real world? How do we talk to it? How do we tell it what to do? Do we login to it? Or is it all about switches and blinkenlights?No...

View Article

Image may be NSFW.
Clik here to view.

Hey PDP-8, meet Raspberry Pi!

If you would like to experience for yourself how a computer such as a PDP-8 looks and feels, there are several possible avenues to choose from:get in touch with a museum, friend, or hobbyist who has...

View Article

Some amazing software feats

The introduction of the PDP-8 series was a disruptive, game-changing event, in that it made computers available to a large group of scientists, engineers, and tinkerers. For the first time, more or...

View Article


Forget what you know, please

In the beginning, there were computers. Programmed with wires, then with binary data (the “stored-program” computer), then with assembly language, and from there on, a relentless stream of new...

View Article

Image may be NSFW.
Clik here to view.

DSLs and expressiveness

The KEY design choice in Forth is its dual data- and return-stack. Forth is a stack-oriented programming language. Another characterisation is that Forth is a concatenative language. Here’s what this...

View Article

I/O, ADCs, OLEDs, and RFM69s

Software development in Forth is about “growing” the tools you need as you go along. Over time, you will end up with a set of “words” that are tailored for a specific task. Some words will end up being...

View Article


Image may be NSFW.
Clik here to view.

Starting Forth on an STM32F1

Here is what we’re after, as Forth Development Environment (would that be an “FDE”?):There are a number of steps needed to use Mecrisp-Stellaris Forth in your own projects (for these articles, we’ll be...

View Article


Buffered serial port interrupts

Mecrisp only implements the minimal serial interface required, i.e. USART1 with polled I/O. This is very limited, because the serial port has no buffering capability: if we don’t poll it often enough...

View Article

Much faster SPI with hardware

Unlike an USART-based serial port, SPI communication is not timing-critical, at least not on the SPI master side. Since the data clock is also sent as separate signal, slowdowns only change the...

View Article

Image may be NSFW.
Clik here to view.

Talking to a 320x240 colour LCD

Now that we have a fast SPI driver, we can tackle a more ambituous task of driving a 320x240 colour LCD display. In this example, we’ll use the HyTiny board with this 3.2” display, because the two can...

View Article

Image may be NSFW.
Clik here to view.

The Dime-A-Dozen collection

One attraction of the STM32F103 series microcontrollers, is that there are lots of them available on eBay at ridiculously low prices. There are many variants of this µC, with flash memory sizes from...

View Article


Image may be NSFW.
Clik here to view.

LCDs need a lot of bandwidth

So far, we have created two display implementations for Mecrisp Forth: a 128x64 OLED display, connected via (overclocked) I2C, and a 320x240 colour LCD, connected via hardware SPI clocked to 9 MHz....

View Article

Image may be NSFW.
Clik here to view.

The amazing world of DMA

There are a lot of features hiding in today’s microcontrollers - even the STM32F103 series includes some very nice peripherals:2 to 3 A-to-D converters, sampling up to a million times per secondon the...

View Article


Image may be NSFW.
Clik here to view.

Reading ADC samples via DMA

Now that we have seen how to push out values to the DAC without CPU intervention… can we do the same for acquiring ADC sample data? The answer is a resounding “yes, of course!”And it’s not even hard,...

View Article

Image may be NSFW.
Clik here to view.

Diving deep into STM32F103's

Mecrisp Forth 2.2.2 has been flashed onto a new series of boards here at JeeLabs, all with an STM32F103 µC, but of different sizes and with different features on-board.Haoyu Core Board OneWell, it’s...

View Article


Image may be NSFW.
Clik here to view.

The lack of USB support

Those pictures you’ve been seeing in recent articles, with over a dozen boards by now, all have the same configuration in common: boards with a USB port on them, connected and powered through anything...

View Article

JET and Forth, some thoughts

The JET project is about “creating an infrastructure for home monitoring and automation” (it’s actually considerably more, but this is a big-enough bone to chew on already…).Note that JET is not about...

View Article

Image may be NSFW.
Clik here to view.

USB on STM32F10x µCs

Every µC from the STM32F10x family has hardware built-in to support USB. The earlier (i.e. smaller) STM32F103’s have a more limited implementation that more recent models. There are some really strange...

View Article
Browsing all 296 articles
Browse latest View live