Things needed before you learn AVR

There are several things you need to do before learning AVR. First of all, you need an AVR chip. You better choose megaAVR series, so you don’t need to worry about the lack of peripherals when required. Atmega8, Atmega16, or further mega’s will do correctly. Probably chose in DIP package as it will easily fit in breadboard for fast prototyping.  Development boards are great to work with, primarily designed for learning and prototyping.  Any Arduino board can be used with no problem, as it has all the necessary means to serve as a general-purpose dev board. Anyway, I leave this up you for a while. The next thing is the programmer. This is where you can get a headache. Really! In a few words, a programmer is a cable/device used to upload firmware (compiled program) to chip. Programmers can be connected to the computer via various ports, including parallel (LPT), serial (COM), and USB. Or there can be no programmer at all if the chip has a bootloader set up. But this will be discussed later. These were two hardware…

Continue reading

AVR at a glance

Any AVR microcontroller is an 8-bit computer in a chip designed and manufactured by ATMEL Corporation. It has some RAM and ROM (Flash) as well. There is also an EEPROM memory. Including AVR core CPU, all these are more than enough to say that it is a small computer where you can execute programs stored in Flash memory, run them while operating data in SRAM, and store some constant values in EEPROM. Compared to the actual computer that sits on your table, you can say that AVR core is a CPU like AMD or Pentium. Flash memory would be your hard drive where programs are stored; RAM is RAM nothing to add there. EEPROM can probably be compared to some media devices like CDRW. Anyway, this is only similitude in a different scale. AVR microcontrollers aren’t limited with core CPU and memory. The main thing that makes them valuable (and any other type of microcontroller) – they are rich in peripherals inside the chip. In most cases, you will find USART, I2C, SPI, ADC, Timers/Counters, and a bunch of I/O…

Continue reading

AVR tutorial. Initial word

AVR family is one of the leading 8-bit microcontrollers in its family. There are many reasons why many hobbyists chose this one among others. I don’t say that other families like PIC are worse – no way – can you find even better solutions if needed? Let’s not get into a big fight “what’s the best.” Brilliant engineers don’t fight – they choose the one that will do the job with less effort, less cost, and probably the most familiar one. Let’s stick with AVR for a while, as it is quite a favorite type among today’s hobbyists. Who doesn’t know Arduino? It is also based on AVR MCUs. So, interest in AVR is significant, demand is big, but one thing is missing – knowledge on how to program these babies effectively. You can find tons of various libraries and tutorials on how to do simple tasks like LED blinking, USART, I2C SPI communications, and other interfacing. This is great, but when your project grows into something more significant, you are stuck because simple big while() loop in the main…

Continue reading

The S.M.A.R.T. HVAC Monitor!

Many people always claim how smart and intelligent they’re in the electronics niche. If you’re one of those with the talent, would you dare try to create this S.M.A.R.T. HVAC monitor? As already mentioned earlier, an HVAC monitor is a project that involves making a S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) Thermostat. It can access the internet without any further modification! Well, this project had already combined several elements of embedded electronics, and it keeps on the theme of Home Automation. By using the S.M.A.R.T. HVAC monitor, you’ll have the chance to control and monitor the HVAC system via the web. Furthermore, it could be easily interfaced with most commercial and residential systems. It is important to keep the furnace in working condition. This is why you might need to partner with Furnace Repair Whitby. The project is based on a PIC18F452 capable of using the standard 2-wire hardware I2C. You’ve to figure out a way to overcome the slight downside here, as these pins were not made available on the extension header, as the PIC-WEB uses I2C on-board to…

Continue reading

DIY The 6 Digit LED 7-Segment Multiplexing is Easy as ABC!

A 7-segment display is an elementary but practical electronic component that you can use to display numbers and sometimes letters. It’s just seven little LEDs arranged in a specific pattern that makes it easy to read numbers. Using 7-segment displays has several benefits. They are simple to interface with microcontrollers and require very few input/output pins. They are also easy to read and can display numeric characters clearly, making them a popular choice for digital clocks, calculators, and other devices that require numerical output. Additionally, they are relatively inexpensive and widely available, making them a cost-effective solution for many applications. Finally, 7 segment displays can be used in indoor and outdoor environments and are available in various sizes and colors to suit different needs. The seven segments are arranged in the shape of a rectangle, with a small eighth segment at the bottom for the decimal point. Turning on different combinations of the seven segments allows you to display all the numbers from 0 to 9. One of the great things about 7-segment displays is that they’re straightforward to use…

Continue reading

The Very Simple ATmega8 Development Board

The Electronic field is an entertaining and exciting world, which is why more and more people are starting to involve themselves as home hobbyists. No matter what types of electronic projects you’re deciding to do, the important thing is you should have some interest and enjoys yourself during the development. Today is your lucky day for those who have a deep interest in the ATmega board, as you’ll learn to create the ATmega8 development board. This project can be considered as the most accessible development board of all. Thus, there is no need to make it becoming a complicated one! Once you’ve developed this project, you can simply apply it to test some code or maybe to show off the clock, outside and inside temperature, fuel status, RPM has, or even control some of the functions, such as it will begin to sound if you leave the car’s headlights on! Since this is a straightforward development project, thus it wouldn’t need any further components or applications to support it. In addition, if you’re already very familiar with the ATmega8, it…

Continue reading