Users Online

· Guests Online: 1

· Members Online: 0

· Total Members: 17
· Newest Member: connormorrisnw





Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.

Latest Downloads

Forum Threads

Newest Threads
No Threads created
Hottest Threads
No Threads created

Articles: 68HC08 Microcontroller Projects

AB32 Microcontroller board
The MC68HC908AB32 is another Controller of the HC08 Family. It has lots of onchip perirherals and Memory. 32 K-Byte of Flash, 1 K-Byte RAM and 512 Byte EEPROM is the onchip memory. Two timer modules with 4 channels each, Programmable interrupt timer, SPI, RS232 and 8 A/D Channels with 8 Bit resolution are on the chip. There is a total of 51 I/O Ports, five of them can be configured for Keyboard wakeup interrupts. Some ports got integrated pullups. The MCU has a lot of pins and so it comes in a QFP64 package.

HC08 Flash Programming
To program the flash memory I use the software from P & E Micro. The software can be downloaded at no cost. There are different versions to download depending on the controller you use. The software differs only in the flas algorithms and the simulator that is in the package. The debugger and the flash programmer are the same. The Metrowerks software uses the PROG08SZ Software too, so there is no difference here Before flashing you have to configure the connection. With the simple to build programmer, select as target hardware Class III. Choose your serial port and set the connection speed. The connection speed belongs on the clock an the DIV4 signal . The security bytes are the interrupt vectors at adress FFF6 to FFFD. If you don´t know the security bytes you are only able to delete the whole flash memory, you can load them from a s19 file if you have.

HCS08 Controller
From Ebay I got a Demoboard for the HCS08 at a very affordable price. The board contains a MC9S08GB60.

Measuring the Temperature and Humidity with a SHT11 sensor
The idea behind this poject is that the humidity in the cellar is very high in summer. I thougt this is a good starting point for a new project. At first I decided to use the FOST02 sensor from Hope RF, later I used the sensirion SHT11 sensor. This sensor has a two wire interface to the microcontroller. A MC68HC908GP32 is used as controller.

MON08 Programming and Debugging circuits
You can build yourself a Programmer for the HC08 MCU´s on your own very easy. The programmer can be used for debugging purposes too. The description in the Freescale Manuals can be a little confusing, because Freescale describes all the cases for entering Monitor Mode in one schematic

Nitron Demo Boards
When the new Nitron HC08 controller came to market I got two Nitron Demobards. One Board from Motorola/Freescale and one board from Softecmicro. What are the differences ?

Nitron LCD Terminal
With a Nitrom 68HC908QY4 and a Hitachi LM052L LC Display I built a little terminal. The terminal is equipped with a RS232 connector and a debug port, that works with the Motorola User Monitor.

Nitron Oscillator Trimming
All Nitron MCU´s have an internal oscillator, so they can run without an external clock. The internal oscillator runs at a 12,8 MHz, giving a busfrequency of 3,2 MHz. The internal frequency can vary by ± 25%. You can trim it to ± 0,4% of 3,2 MHz by writing the right value in the OSCTRIM register at adress $38

To program and debug the HC12 and HCS12 controller you need a BDM tool. I was afraid that I could destroy my inDART HCS12 BDM Pod from if use it with my selfmade boards. So I decided to get a cheaper one. By now there are a few BDM tools you can build yourself at home.

I bought me an USBSPYDER08 kit and did some experiments

Zwobots LCD Cntroller
The idea behind this is the same as it has been with the Nitron LCD Terminal a LC Display with a HDD44780 compatible controller, that is connected via a serial interface that takes care the formatting of the output. This time a MC68HC908JK8 is used as Controller. The software is written in C and the display is used in 4 Bit mode. The Busy Flag is checked to minimize delay times.
Render time: 0.06 seconds
627,696 unique visits