New ARM7 Microcontrollers from NXP with LCD support

New microcontroller LPC2478 from NXP company is based on ARM7 core with built in Flash memory and have built in LCD interface. LPC2470 has no Flash memory. LPC24 series have two high speed buses AHB to ensure independent work of peripherals like LCD, 10/100 Ethernet, USB and two channels of CAN. LPC24xx have reasonable low prices that allow these MCU to be used in industries like various gadgets, home appliances, medical equipment where LCD is required and also connection to the internet.   LCD displays are part of our life starting from cell phones, media players and car navigation systems GPS. LCD takes important part in medical environment. Where visual information may be critical. So LPC2478 and LPC2470 goes in front of non expensive and low requirements for LCD interfacing. LPC2478 and LPC2470 supports most of statical LCD displays up to 1024×768 pixels monochrome with fifteen gray levels and color 24bit/pixel TFT panels. Designers of embedded systems have to program LCD functions inside the chip what allows to avoid various conflicts that would occur with external interfacing. LPC2478 comes with 512kB fast internal flash memory with built in error correction to ensure maximum reliability of performance. LPC2478 and LPC2470 only…

Continue reading

What is DebugWire interface

Debug wire is an interface which enables debugging AVR microcontrollers by using one wire. All new AVR microcontrollers with less than 16kByte memory have built in one wire bidirectional debugging interface which allows debugging devices at the real time. Like JTAG interface DebugWIRE can handle full execution and program flow control. It also supports an unlimited number of breakpoints, adjusting memory contents. The good thing is that interface doesn’t require additional pins as only RESET pin is used for debugging purposes.

Continue reading

Major programmer types for 8 bit AVR microcontrollers

AVR microcontrollers have many ways to be programmed. One type adapters are used only to program AVR memory others are used to program and debug. AVRISP Most known and common programming adapter is AVRISP, which is the basic tool and can be used to program Flash, EEPROM memory, most of the fuses, lock-bits for probably all 8bit AVR MCU’s. Programmer connects to a computer via RS232 serial interface and is powered from the target board with no need additional power supply. Programmer connects to target board via one of two headers – 6 or 10pin. AVRISP from Atmel Corporation is designed to work from AVRStudio as front end software and is upgradable. However, AVRISP is discontinued due to newer adapter appearance –  AVRISP MKII. There are cheap third party clones available. But most of them aren’t compatible with AVRStudio but works well with programs like PonyProg or AVRDUDE.

Continue reading

How to solder SMD at home-Part one

Soldering SMD parts isn’t hard task and there are many methods of doing this. Lets go through several SMD soldering methods and examples. Method 1 For this you will need: Good eyes or magnifying glass. Better one and another; Soldering iron with small tip ~10W; solder wire with diameter about 0.6mm Steps to follow: cut solder wire in pieces in length of element width:  

Continue reading

Very simple IR detector that controls relay

The circuit of this Infrared(IR) detector circuit is a simple light relay which triggers when infrared light is applied to phototransistor Q1. This device can be used in control systems. When infrared light is OFF, Q1 transistor and relay K1 are normally closed.   When IR diode is transmitting IR light phototransistor Q1 opens and thus relay K1 triggers because current starts flowing through Q2 transistor. Construction can easily be modified when circuit output is connected to microcontroller or other device. Sensitivity so the distance can be controlled by changing IR diode D1, using more sensitive phototransistor Q1 and adjusting R2 resistor. Original source: https://cxem.net  

Continue reading

Quality music sound in the car

It is obvious that for most of drivers car is more than transportation vehicle. Sometimes people spend hours in the car everyday and listens not only news radio broadcast, but also listens music. To have good quality music sound in the car require more than good speakers and power amps, but also some smart solutions are needed to make it sound better. In the current time there are plenty publications on how DIY good car sound system at home. But again even best power amplifier do not guarantee that car music will sound as Hi-Fi class. Main problem is bard installation of audio-system inside the vehicle. In many cases speakers are installed where ever they fit in the car. But there is also no clear answer where it is the best place to install speakers and how. The most common mistake is to place powerful high quality speakers in the rear shelf while in front position por speaker are installed or not at all. Such audio system installation gives a feeling line he is sitting back to scene. First of all it is important to keep in mind that purpose should be not to install more powerful audio system with…

Continue reading