Martin Thomas shows us how to interface Atmel AVR witg graphic LCDs:
This is a C-library for avr-gcc/avr-libc to access SED1520-based graphics-LCDs. The modules used to develop the library only support “write to LCD”, read-modify- write on the display RAM is not possible. So this Library uses a “framebuffer” which holds the display-content in the AVR’s SRAM. For a 122*32 pixel display around 500 Bytes of SRAM are occupied by the buffer. The library does of cause support modules which can be read in “write-only-mode” (tie the R/W-Pin to GND).
Interfacing Atmel AVR with Graphics Liquid Crystal Displays (GLCDs) - [Link]
Here is a very nice graph showing the most popular programming Languages of 2014.
Every year we release data on the “Most Popular Programming Languages” based on thousands of data points we’ve collected by processing over 100,000+ coding tests and challenges by over 2,000+ employers.
This gives us a pretty good idea on what the trends are for the upcoming year in terms of what companies are looking for. It’s data we hope will be especially helpful for new computer sciences graduates or coders looking to stay ahead of the curve.
Most Popular Programming Languages of 2014 - [Link]
Microchip Technology has announced a free C++ compiler with unlimited code generation capabilities: MPLAB XC32++ Compiler (Free version), which supports all their 32-bit PIC32 microcontrollers. The compiler enables designers to develop and re-use C++ or mixed C/C++ projects in the MPLAB XC32 environment and makes all of Microchip’s C language extensions available. It is compatible with most C++98 and C++2003 ANSI standards. The compiler also includes Dinkumware standard C, C++ and template libraries. [via]
Free C++ Compiler for PIC32 - [Link]
Parallax has released Propeller GCC Beta!
Welcome to the beta test of Parallax’s Propeller GCC compiler for the P8X32A Propeller chip. The Propeller GCC Compiler tool-chain is an open-source, multi-OS, and multi-lingual compiler that targets the Parallax Propeller’s unique multicore architecture. Parallax has hired industry experts to develop all aspects of the toolchain, including the creation of a new development environment that simplifies writing code, compilation, and downloading to a Propeller board. The C and C++ compiler tools provide a significant benefit to Parallax customers who use our Propeller multicore processor. Using the Large Memory Model (LMM) and Extended Memory Model (XMM) gives the developer the ability to write C or C++ programs that run faster than Spin or exceed Spin’s 32 KB program size limit, respectively. Additionally, Parallax will be publishing tutorials on learn.parallax.com to provide experience to new developers interested in learning how to develop embedded applications in C or C++. All of this effort will immediately roll into developing compilation tools for Parallax Semiconductor’s long awaited Propeller 2 when it is released.
Parallax Releases Propeller GCC Beta - [Link]
Many designers need a free C compiler. The 8, 16 and 32-bit Free editions of Microchip’s new MPLAB XC simplified line of C compilers, announced today from DESIGN West in San Jose, California, supports all of its approximately 900 (ds)PIC microcontrollers, offer many optimizations, are fully functional and have no license restrictions for commercial use. The new compilers improve code execution speed by about 30% and reduce code size by about 35%. For those who want to test their code with the Pro optimization levels, which are approximately 50% better than the Free editions, evaluation editions of the Pro edition are available that last for 60 days, after which they convert to the Free compilers. Like the Free editions, the evaluation editions are fully functional and have no license restrictions for commercial usage. [via]
New C Compilers for Free - [Link]
Professor Mark Csele writes:
When your hobby is collecting old computers (including a few 6800 processors on old arcade machines), a logic analyzer proves invaluable to diagnose a multitiude of problems. This particular project is a blend of hardware, both discrete logic and microcontrollers, and software in both assembly code and C++. The actual analyzer was inspired from the original article “High Speed Logic Analyzer for Windows 95″ appearing in Circuit Cellar Dec. 97 pp. 46 by Francis Deck. The basic system uses a special FIFO chip (7204) which is dual-ported to store logic-state samples which are transferred into a PC and displayed using a Win-32 front-end. The original analyzer hardware, built back in 1998, featured a front-end written in BASIC however there are many shortcomings to this approach and the system ‘hangs’ if an invalid trigger channel is selected. In this updated project (now over twelve years old and updated many times), a multi-threaded Win-32 front-end was written allowing good user control of the hardware. The system shown here features a 50MS/s sample rate, 4K sample depth, a trigger system to start sampling on a rising or falling edge on any particular channel, 3.3V and 5V logic family compatibility, and a high-speed USB interface.
USB Logic Analyzer IV - [Link]
The PIC16F690 microcontroller is one of Microchip midrange 8-bit microcontroller that has a build in 10-bit resolution of Analog to Digital Converter (ADC) peripheral. The ADC is one of the important features that enable us to digitize our analog world. Usually we use the electronic sensor to convert the analog value to the voltage level value. Some of the basic sensor such as LDR (Light Dependent Resistor) is used for measuring the light intensity or NTC (Negative Temperature Coefficient) a special resistor for measuring the temperature.
PIC Analog to Digital Converter C Programming – [Link]
The PIC microcontroller is quite popular in industrial and hobbyist, some of the newest 8-bit midrange Microchip PIC microcontroller with nanoWatt technology is PIC16F690, this 20 pin microcontroller has a build in peripherals such as ADC, UART, PWM, I2C, analog comparator and with 7KBytes program memory flash; for those who’s come from the AVR background this is a good change to gain the knowledge as we know is hard to find the comparable 20 pin 8-bit AVR microcontroller product which has the same feature as Microchip PIC16F690; and for those who are the first time learner welcome to the PIC microcontroller world.
Introduction to the Microchip PIC C Programming - [Link]
One of the important features in today’s modern microcontroller is the capability of converting the analog signal to the digital signal. This feature allows us to process the analog world easily such as temperature, humidity, light intensity, distance, etc; which usually captured by electronics sensor and represent it on the change of voltage level.
Analog to Digital Converter AVR C Programming – [Link]
In this two series of tutorial, we will provides you with the information on the tools and the basic steps that are involved in using the C programming language for the Atmel AVR microcontrollers. It is intended for people who are new to this type of microcontrollers. The AVRJazz Mega168 board will be use in this tutorial, however this information could be applied to other AVR family as well.