Category Archives: Embedded General

Can and LIN bus interfaces in automotive electronics

Modern cars have more electronics than you can think of. Almost every important part has tons of sensors on it that has a dedicated computer called ECU (Electrical Control Unit). Usually there are from several up to hundreds of ECU’s on a single car. Especially luxury ones. All modules has to work as on organized unit. So this is where reliable connection interface needed.

Probably you’ve already heard of CAN bus (Controller Area Network). It is common bus interface used in most vehicles where board computer communicates with separate control ECUs taking care of engine, gearbox, climate, security alarm, safety bags. Talking of physical interfacing CAN devices are connected by using twisted pair signal wires that are resistant to noises. Signals usually operate at 5V level. Transmit/receive can be 1Mb/s for 40m cable lengths. Engineers have put lots of thought in to CAN protocol. It was designed to be flexible reliable and robust. There can be more than one master CAN device on same buss. So there can be situation when several masters would start communication. In this case there is a message priority used to determine which one will have right to transmit data. CAN nodes act as independent units and can receive any message and take act if needed. This feature is called ‘multicast’. This allows adding new CAN devices to existing bus without need to reconfigure existing setup.

CAN interface is quite complex interface allowing to have multiple masters what makes it robust and versatile. But due to growing cost of amount of electronics used in cars, manufacturers started looking for cheaper solutions that would complement the CAN bus and be cheaper. So they came up with LIN (Local Interconnect Network) bus. LIN bus interface is simpler standard comparing to CAN. LIN can have up to 16 slave nodes controlled by one master. It is slower and cheaper as nodes are clocked by master (no crystals for each node). LIN can be simply implemented as sub-function in CAN LIN interface USART RISC microcontroller. While CAN transceiver is complex device so it usually comes as separate peripheral or as separate chip. LIN uses single wire for communications with about 40V signal voltage level. It can reach up to19.2kbps communication speed with maximum 40m length of line.

After this short overview it is obvious that LIN interface is low band, less effective bus interface comparing to CAN. In other hand where efficiency isn’t as ‘must’ factor it serves as cheap complement to CAN network.

The Invention of Superb Electronic Amplifier

Space exploration isn’t an easy task, as it requires many high-end technology to keep all the devices functioning well in extreme temperatures and the risk of exposure to radiation.

An Electrical engineering researchers from University of Arkansas have successfully designed and tested an electronic micro amplifier, where it claimed can operate normally in the space environment without protection from a warm box.

superb-amplifier

This superb electronic amplifier is capable of performing with consistency and stability at extreme temperatures, where it ranges from 125 degrees Celsius to negative 180 degrees Celsius. Furthermore, it saves power and space that required for electronic circuitry.

Alan Mantooth, professor of electrical engineering and holder of the Twenty-First Century Endowed Chair in Mixed-Signal IC Design and CAD, explained that the device is the first fully differential amplifier circuit, where it’s mainly designed specifically for extreme temperatures, including temperatures in the cryogenic region.

This electronic amplifier has a power supply of 3.3 volts. It uses two common-mode feedback circuits to control the voltage of both the input and output stages.

The researchers are continuing to construct an amplifier, where is provides a larger differential gain across both wide frequency and temperature. So, please wait and see by yourself…

Slugbee – The Finest Combination of Zigbee Radio with a Slug!

Have you ever wondered what it’s going to be, if you combined the Zigbee Radio with a Slug? If you have no idea what is the outcome, then you should develop this SlugBee and feel it for yourself!

For your information, Zigbee, where it’s also known as IEEE 802.15.4 is another type of short-range radio standard that uses the 2.4 GHz microwave oven band, wireless Ethernet and Bluetooth service.

slugbee-with-solar-breadboard

If you’re comparing Zigbee with others, it’s the most suitable component for low-power application that involving simple microcontrollers, such as the wireless sensing, home and industrial automation. Normally, the basic parameters of Zigbee are a data rate of up to 250 kbits/s and a typical range of 50m.

A small Linux box like the NSLU2 aka Slug could be useful in a Zigbee deployment. For your information, an always-on Slug can be responsible for logging data sent by remote sensors and generating graphs on web pages or sending email alerts.

The DLP design playing an important in this project, where it have a couple of modules. They both have an RF chip and a microcontroller. Beside that, it also has the advantages of the built-in USB at the host end and processor less operation at the remote end as well!

After you’ve connected the Zigbee radio with a slug, then it’s time to test out the SlugBee…

The Incredible Vacuum Fluorescent Display!

Do you love the retro stuffs? If you did, then you must be very excited with the old display technology, such as the nixie tubes. Although the nixie tubes are cool, but it’s difficult to work with because they require higher voltages than the digital logic did!

In other hand, the Vacuum Fluorescent Display (VFD) is much better than the nixie tubes. One of the main benefits of using the VFD is it actually produces light directly, since it doesn’t require a backlight. VFD is a very familiar display that being used on various players and appliances, example likes VCR, CD, DVD, microwaves, car radios and so on.

vacuum-fluorescent-display

Unlike the liquid crystal display (LCD), VFD emits a very bright light with clear contrast and it can be easily supported display elements of various colors.

Basically, the device consists of a hot cathode (filaments), anodes (phosphor) and grids that encased in a glass envelope under a high vacuum condition. The cathode is made up of tungsten wires and it’s fully coated by alkaline earth metal oxides, where it emits electrons when heated by an electric current. These electrons are controlled and diffused by the grids, and it’s made up of thin metal.

The Multipurpose Controllable Power Outlet

For all the home hobbyists, you knew that dealing with microcontrollers is a fun thing. Once you have been hooked with it, there was no turning back. Do you know that a microcontroller’s GPIO (General purpose input/output) pins cannot handle … Continue reading

The Molecule – 10,000 Core Computer!

Silicon Graphics Incorporated, the renowned high performance computing specialist has created an advanced concept computer called Molecule. This Molecule using mostly off-the-shelf consumer electronics components and packs them all in 10,000 cores into a single rack.

You’ll probably think that this Molecule sounds like a powerhouse, but it’s only a demonstration of how the chips and memory being used in personal computers can be brought together to create a super powerhouse!

For your information, the Molecule computer can handle 20,000 threads of execution, and it’s about 40 times more than a single rack x86 cluster system. The system was fully designed around an Intel Atom N330 chip. Continue reading

Safety Protection Guides and Fact about Microcontroller You Should Know

The microcontrollers are widely used in nowadays electronic and modern devices. You can track them whether on personal use for fun or even for the serious and confidential applications by banks, security services, government authority or military field. Most of the algorithm that uploaded into its memory is well written in Assembler.

Many villains out there want to hack or attack the microcontroller, maybe just for fun or for their own purposes (some of them willing to hack and sell the top secret from companies for profitable) In order to reduce the risk of being attack by these microcontroller hackers, that is why we must know the types of attack categories. Continue reading

Microcontroller Development tools on USB stick

Looking for compact but flexible, simple and cheap development board? You should consider this nice list of microcontroller USB-Stick tools. These are special development tools that include all necessary hardware and software in a portable USB stick. Most of them consist of two parts – USB stick and attachable target board.

For instance eZ430-RF2500 is the world’s smallest low-power wireless development tool. At only $49, the tool includes a USB emulator to program and debug your application in-system and two 2.4-GHz wireless target boards featuring the highly integrated MSP430F2274 ultra-low-power MCU. Continue reading

Voltage references in embedded design

Embedded systems that are dealing with DAC require a good voltage references. Despite all voltage references have their nominal values there are specific tolerances that indicates how much values can vary from nominal value. References as a rule are semiconductors that characteristics are effected by temperature.

For instance if we decide to use a 2.5V voltage reference then (zener) diode LM336A-2.5 may be a good choice for this.

These diodes have low temperature coefficient. It can guarantee that voltage will be in range between 2.44 and 2.54 at 25ºC. This precise zener diode has a third lead that can be used to adjust break down voltage. In the following figure you may see diode with potentiometer where breakdown voltage can be adjusted in range of ±120mV: Continue reading

Cornell ECE Final Microcontroller Projects – Spring 08

It’s been ten years when Cornell University Computer Engineering students were publishing their final embedded projects. I always enjoy browsing over that big list of complete projects. You can get some crazy ideas here but also some good lessons that could be helpful while building your own projects.

Continue reading

New on WinAVR Tutorial New on WinARM Tutorial