Articles tagged “dsPIC33FJ128GP802”
Integrating the dsPIC33 VDC with the Z80 computer
The ultimate goal for the video display controller module I have been working on is to drive the display in my Z80 computer project. As I have now got a pretty good set of features I thought it would be a good idea to join the two projects together. The big board in the lower middle of the above photograph is the main body of the computer, including the Z80, its RAM, the ATmega644P that is used to handle I/O, an SD card for storage and a DS1307 real-time clock. The small board in the bottom left of the photo is the power supply (supplying both 5V and 3.3V) and clock generator (providing a 20MHz and 10MHz clock).
Comments dsPIC33 VDC dsPIC33FJ128GP802 Electronics PIC Z80 Z80 computer
VGA output for the dsPIC33 VDC
I have spent quite a while working on different projects that generate PAL video signals in software. This may seem a bit odd if you consider the fact that I don't own a TV, so tend to rely on a video capture card or VGA box to see the output of these projects on a computer monitor — something I do have a fair number of. This reliance on another piece of technology between my project and the display device is not something I'm too keen on, so have spent some time adding native 640×480 60Hz VGA output to my dsPIC33 video display controller.
Text and filled shapes for the dsPIC33 VDC
The dsPIC33 video display controller project I am working on needs to support several common text output and drawing operations offered by existing BBC BASIC implementations. The previous demo included basic point, line and circle outlining functions, but I also need to output text and outline (or fill) rectangles, circles, ellipses and triangles. On top of that the drawing operations need to support multiple colours and plotting modes. Owing to processing power and memory limitations the output is black and white only but different "shades" can be implemented with dither patterns.
Comments dsPIC33 VDC dsPIC33FJ128GP802 Electronics PAL PIC Spinning cube TV
dsPIC33 VDC with GLCD or PAL TV output
I have currently been using some terminal emulation software on my PC to see the output of the Z80 computer. It seems a little silly to rely on a large multi-gigahertz, multi-megabyte machine just to display the output from a machine at the megahertz and kilobyte end of the scale. I had previously done some work with a dsPIC33 to drive a 320×240 pixel graphical LCD so dug out its breadboard and dusted off the code to try to make something of it. Inspired by John Burton's recent experiments with PAL TV output I decided that the first thing I should do is add support for TV output.
Comments dsPIC33 VDC dsPIC33FJ128GP802 Electronics LCD PAL PG320240H-P9 PIC Spinning cube TV
Controlling a PG320240H-P9 with a dsPIC33FJ128GP802
In a previous entry I mentioned that I had purchased a PG320240H-P9 graphical LCD. This is a 320×240 white-on-blue pixel display, and it does not have an on-board controller or RAM. To display something on it you need to constantly refresh it with picture data; in this instance, sending four pixels at a time, starting from the top left and working from left to right, top to bottom — a bit like the scanning pattern of a CRT monitor. Connecting a circuit to the LCD is made slightly more tricky by its use of a 16-pin 1mm flexible flat cable.
Comments dsPIC33 VDC dsPIC33FJ128GP802 Electronics LCD PG320240H-P9 PIC Spinning cube