JeeLabs: Dive into Forth
In 1965, computing history was made when DEC introduced a new computer, called the PDP-8 - oh, wait, that was last week’s post.But it applies here too: 1968 was the year when Charles Moore...
View ArticleJeeLabs: 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 ArticleJeeLabs: 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 ArticleJeeLabs: 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 Articlemharizanov: FOTA update without external flash for Atmega32U4 + RFM69
I’ve blogged before why firmware-over-the-air (FOTA) updates are a must-have nowadays, however my old AVR+RFM based projects were incapable of that due to the lack of external flash to temporary store...
View ArticleJeeLabs: Dive into Forth, part 2
Switching to Mecrisp Forth implies starting from scratch as far as low-level access is concerned. There’s no C “runtime library” to fall back to,everything will have to be implemented in Forth.This...
View ArticleJeeLabs: 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 ArticleJeeLabs: 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 ArticleJeeLabs: 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 theHyTiny board withthis 3.2” display, because the two can be...
View Articlemharizanov: Auto DST adjustment
We are close to that time of the year, when Daylight Saving Time (DST) starts. It is intended to save on energy use, however studies have found this to be questionable, even contrary – energy use...
View ArticleJeeLabs: 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 ArticleJeeLabs: Dive into Forth, part 3
The Forth adventure continues… this is part 3 of a series about Mecrisp Forth on ARM STM32F103 µCs - an amazing environment for interactively trying out the hardware in this well-established chip...
View ArticleJeeLabs: 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 ArticleJeeLabs: 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 ArticleJeeLabs: 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 ArticleJeeLabs: Where is this going?
The last three weeks have been a deep dive into the programming language Forth on STM32 µCs. Results so far have been very encouraging, in terms of using Forth for programming ARM µCs in general.But...
View ArticleJeeLabs: 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 ArticleFairTradeElectronics: Avail Enormous Health Benefits With The Help Of Rowing...
Exercise and workout is the best way to stay fit and healthy. At the gym, you can find various types of machines which are helpful in different types of workouts to reduce fat from different parts of...
View ArticleJeeLabs: 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 ArticleJeeLabs: 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