If your project requires a global positioning feature, then you should use one of many GSP modules. There are many receiver modules and expansion boards available for your choice. They vary in PCB size, functionality, antennas used, and price. In most cases, you are probably looking for a simple, small in one solution where GPS receiver and antenna would be on the same package. Recently I have picked one that might fit most needs – GPS receiver NEO-6M module with ceramic antenna and TTL serial interface. It is a very compact GPS module with the most needed features:
We all agree that hobbyist or engineer should have proper bench oscilloscope for everyday use. They have all standard features including built-in screen, interchangeable probes and convenient knob controls. Anyway if you are looking for a temporary cheap solution, you can try building your own oscilloscope. Luckily you don’t have to make it from scratch because there are many projects and kits available that are cheap but powerful enough to fit most of the basic needs.
Today I want to talk about protecting digital Inputs of AVR or any other microcontroller from over-voltages. When you look at most microcontroller circuits found on the internet shared by hobbyists, you don’t find any input protection. Some argue that this is not needed or don’t understand in most cases how it works. Let’s see how a simple resistor can save the day. Lets see at simplified version of digital input of AVR microcontroller. We can see there that input uses CMOS logic where the transistor is switched by voltage. According to the AVR datasheet, the gate control voltage should stay within the -0.5V to VCC+0.5V range. If we power our device with a 5V supply, we need to ensure that the pin input voltage stays in the range of -0.5 to 5.5V. When the input voltage source is taken from the same power supply, we don’t have to worry much about it. But what if AVR is accepting digital signals from other sources like sensors, other devices powered by their power supplies. Can we be sure that voltage will always be within safe limits? This is why there are two clamping diodes (sometimes called ESD protection diodes) used. They…
1-wire devices are commonly used in many applications. You probably are familiar with the famous DS18B20 digital temperature sensor in the TO92 package. They can be powered and interfaced using the same single data line plus the ground return, of course. 1-wire originally was designed by Dallas Semiconductors Corp., which is also a major provider of 1-wire devices like temperature sensors, timers, real-time clocks, memory, and well-known iButton. 1-wire interface is a bidirectional, half-duplex slow serial communication standard. It doesn’t use any clock signal. When talking of speed, the standard data rate is 15.4kbps. But there is possible to overdrive 1-wire communication to up to 125kbps.
During this time, I’ve been purchasing or building various microcontroller boards. Most of them were used to try things out or because they were cheap to get. So I thought, why not to blow dust away and see what we have here. Maybe there will be some fresh thoughts on where to use them. Probably I should spare a few words about each of them.
Recently I obtained a Samsung Galaxy Ace S5830 android mobile phone. It was released a year before, but it seems to have enough power to run most of the apps you can find around. It is powered by Qualcomm MSM7227 ARM11 processor running at 832MHz. Has internal 158MB of internal memory and can support up to 32GB MicroSD flashcard. Other features include GPS, WiFi, 320×480 TFT touch screen, 5MP camera and so on. Android OS v2.3 powers the device. These are specs you can find on any mobile website. To get your own Samsung phone, check out phones4u. Smartphone devices are as valuable as there are some useful apps there. So I started wondering if there are electronics/microcontroller-related apps that could be useful in daily work. Let’s see what can we find an in-app store. First of all, we are interested in free apps. Search on AVR microcontrollers gave me coupe results: AVR Fuse Calculator and Using Atmega128 apps. Let’s see what are they capable of.
In more complex projects where audio or video are involved, microcontrollers usually run out of internal RAM. The only solution that stands out is adding external RAM. Depending on platform and solution used there are many ways of doing this. But usually goes SRAM modules, latch register(s) and probably some other additional circuits. If you only need to add more RAM without planning all this you can use RAM module like this one made by [Wardy]. This is simple RAM module with 512Kbytes of static RAM. It only needs 13 pins for interfacing and can accept voltage levels 3.3V or 5V. PCB layout is designed so that pins are breadboard compatible – easy to play with any microcontroller or dev board like Arduino.
AVR microcontrollers aren’t the best choice to run FreeRTOS scheduler due to low on-chip RAM. Atmega128 has only 4K of RAM, so this limits the FreeRTOS functionality to very basic. Anyway, this problem can be solved by adding extra RAM which may be connected to an external memory interface. We have already built an external memory block of 8K previously so now we can test it with FreeRTOS applications. Lets continue with our previous code which runs several simple tasks (button state reading, LCD output and LED flash), and we can add more to it. We are going to set up an external RAM for storing heaps. This will allow to store large data buffers without worrying too much about heap and stack overlaps.
Modern cars have more electronics than you can think. Almost every vital part has tons of sensors on it with 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 have to work as an organized unit. So this is where a reliable connection interface is needed. Probably you’ve already heard of CAN bus (Controller Area Network). It is a standard bus interface used in most vehicles where board computer communicates with separate control ECUs taking care of engine, gearbox, climate, security alarm, safety bags. CAN devices are connected by using twisted pair signal wires that are more resistant to noises. Signals usually operate at the 5V level. The transfer speed can reach up to 1Mb/s for 40m cable lengths.
Over a week ago I’ve got a notice that Texas Instruments (TI) is giving away a 50% coupon for MSP430_FRAM related devices. Without hesitation ordered their MSP-EXP430FR5739 TI experimenters board that price went down to $14.50 including free shipping. With all functionality and on board peripherals included – its a give away. Experimenters board came in nice hard paper package that feels really solid and professional in hands.