You Are Here: Home » AVR ATmega Projects » RSS Reader using ATmega8 microcontroller

RSS Reader using ATmega8 microcontroller




I spent part of an afternoon developing a hardware RSS reader (most of my time was spent on the python side of things).

It’s pretty simple and uses an AVR microcontroller connected to a computer via a serial cable.

RSS Reader

Hardware

I am using the Dragon Rider 500 as a development board. This provides all of the hardware you need (assuming you have all of the add-on kits). That being said you certainly can do this with your own hardware setup:

  • ATmega8 microcontroller (or any that has a USART and enough pins for all connections)
  • A way to program the microcontroller (I use the AVR Dragon)
  • MAX232 chip for the serial communications
  • DB9 connector
  • HD44780 LCD screen
  • Crystal (I used an 8MHz crystal)
  • Assorted capacitors and resistors

On the Dragon Rider we will need to use some creativity to Route the connections. Normally Port D could be connected directly to the LCD header. This is not the case here because the USART needed for the serial connection uses PD0 and PD1. Furthermore, Port B cannot be used because PB6 and PB7 are in use for the external crystal.

In this pictured you can see my solution to this problem. I pluged in a ribbon cable into the headers for the LCD, Port B, and Port D. I then use jumper wires to make the proper routes. Don’t forget to hook up voltage and ground to the LCD header.

RSS Reader schematic

Software

The software for this project comes in two parts, the firmware for the microcontroller and the python script for scraping the RSS feeds and sending them over the serial connection.

AVR Firmware

I’m using Peter Fleury’s LCD library again (http://jump.to/fleury). It’s powerful, concise, versatile, and easy to alter for your hardware setup. If you look at the header file attached (lcd.h) you will see that I’m running in 4-bit mode with Port D as the data bits, and Port B as the control bits.

 

For more detail: RSS Reader using ATmega8 microcontroller

Leave a Comment

You must be logged in to post a comment.

Read previous post:
Samsung Galaxy S4
Teardown: Samsung Galaxy S4

If there is one thing I have learned in my years on this planet, it would be that it is...

Close
Scroll to top