- Accessing AVR microcontroller ports with WinAVR GCC-WinAVR AVR-GCC Tutorial
How to control AVR microcontroller ports using WinAVR GCC compler tools.
WinAVR AVR-GCC Tutorial, Accessing AVR microcontroller ports with WinAVR GCC
accessing avr avr-gcc gcc microcontroller ports tutorial winavr with
in Public bookmarks with avr example gcc microcontroller ports
- AVR DDS signal generator V1.0
Sometimes we need simple signal generator with various waveform and frequencies. You can by a professional with variable gain and many additional functions. But you might want to build one. This small project is dedicated for building simple AVR controlled DDS signal generator.
Sometimes when tuning various electronic hardware we need simple signal generator with various waveform and frequency. One of the options is to by a professional with variable gain professional coating and many additional functions. But if you are an amateur you might want to build one. This small project is dedicated for building one of [...]
avr-controlled-signal-generator
in Public bookmarks with atmega avr c dds form generator in signal wave
- AVR watchdog reset timer-practical approach
Practical approach to AVR microcontroller watchdog timer. How to program and control it.
This is continuing of thread Why use watchdog variable timer. This post is about how watchdog timer on AVR microcontroller works and how to control it.As we mentioned earlier, watchdog timer is a distinct timer counter, which generates reset signal when it fill up.After watchdog timer counts up to maximum, it generates a short pulse [...]
avr-microcontrollers
in Public bookmarks with avr reset start watchdog
- AVR-GCC ABC
Step by step tutorial how to start working with AVR-GCC compiler and one open source toolset WinAVR. Thread consists of two posts: http://www.scienceprog.com/avr-gcc-abc-1/ http://www.scienceprog.com/avr-gcc-abc-2/
This time I decided to lay down some information on using AVR-GCC compiler. I am not going to rewrite what’s in documentation is already written, but just write down some issues, what can help you start using this amazing tool.IntroductionProbably the most AVR programmers had a question in their mind what compiler to use for [...]
avr-microcontrollers
in Public bookmarks with avr avr-gcc c compiler kick project start winavr
- Build your own AVR JTAG ICE clone cable
This is a post about how to build well known AVR JTAG ICE clone so called MiniICE that works with AVR Studio. AVR JTAG ICE can be used for debugging programs in real world and upload firmware to AVR as well.
After unsuccessful attempts to run few programs who drive peripherals like USART and Timers on Atmega128 I decided to make JTAG debugger. I hope it will allow me to see what is really happening – is may atmega128 corrupted or something is really wrong with software or with hardware.The most widely used AVR JTAGICE clone [...]
avr-microcontrollers
in Public bookmarks with avr cable clone debugger jtag jtagice
- Control memory sections using AVR GCC
If you programming AVR microcontrollers Compiler organises data in the way it looks optimal. But sometimes you are working with programs where you need you code parts to be located in specific program memory locations...
If you programming AVR microcontrollers in C usually you don’t think how compiled program is stored in microcontrollers flash memory. Compiler organises data in the way it looks optimal. But sometimes you are working with programs where you need you code chunks located in specific program memory locations. For instance faced this problem while developing [...]
avr-microcontrollers
in Public bookmarks with address at avr gcc memory sections specific store variables winavr
- Easy start with AVR EEPROM using WinAVR
This is small guide how to start working with AVR internal EEPROM memory.
AVR microcontrollers are loaded with some amount of EEPROM (Electronically Erasable Read-Only memory ) memory. This is handy feature allowing developers to store program parameters like service information, constants, menu strings etc. Atmel states that AVR EEPROM memory can be rewritten over 1000000 times. Reading is unlimited.In this article I am going to show how [...]
avr-microcontrollers
in Public bookmarks with avr declare eeprom memory values by 2 users
- Generate PWM with AVR 8 bit Timer using WINAVR
AVR 8 bit timer counter is pretty flexible feature allowing to generate waveforms, fast and correct phase PWM signals as well. Here you will find some info about AVR microcontroller 8 bit timer and how to write simple PWM routine for it in WinAVR environment.
WinAVR AVR-GCC Tutorial, Control AVR 8 bit Timer-Counter2 using WINAVR
avr avr-gcc bit control timer-counter2 tutorial using winavr
in Public bookmarks with atmega8 avr generate pwm timer winavr with
- MCU project everyday
Embedded projects from around the web
in Public bookmarks with 8051 arm7tdmi avr bank based circuits devices mcu microcontroller microprocessor pic project
- Microcontroller C programming
Scientific, embedded, biomedical, electronics contents. Article about tradeoff between microcontroller code size and performance speed. Tips how to write more effective algorithms for microcontrollers.
There is no doubt that everyone faces C language when programming microcontrollers. This is most popular language among hardware programmers. There are plenty books about this language – you just have to open and read. This article is not about language basics, but there is effectiveness of c language in embedded systems touched.Quite often you [...]
avr-microcontrollers
in Public bookmarks with avr avrgcc microcontrollers winavr
- Set up AVRStudio to use AVR-GCC compiler
Short and ease tutorial how to work with AVR-GCC compiler in AVRStudio environment. Few steps how to start your first project.
After release of AVRStudio4 there is possible to integrate AVR-GCC compiler in to it. As you know AVRstudio is a powerful tool which has assembler compiler- debugger, programmer, etc. Integration of AVR-GCC to it makes this tool much more powerful and more complete playground for developer. Plugin which is built in AVRStudio detects AVR-GCC [...]
avr-microcontrollers
in Public bookmarks with atmel avr avrstudio gcc project
- Analog Devices Digital temperature sensor AD7416
There are situations when you need to measure temperatures or trigger some events on temperature changes. It is very convenient to have temperature values in a digital format.
There aremany situations when you might need to measure temperatures or trigger some events due to temperature changes. It is very convenient to have these values in a digital format. Then you can transfer digital values to microcontroller to process data or jus to display on LCD screen.AD7416 Sensor descriptionThis is 10 bit digital temperature [...]
avr-microcontrollers
in Public bookmarks with ad7416 avr digital sensor temperature
- AVR ISP programmer using LPT port
Simple AVR microcontroller ISP programmer that connects to PC LPT port. Works with PonyProg .
AVRISP is very popular Parallel port programmer for flashing AVR type microcontrollers. Earlier I used programmer connected to com port, but frequently I needed this port for other purposes, I decided to make it work on parallel port. The programmer on parallel port is much simpler than connected to serial port, because there is no [...]
avr-microcontrollers
in Public bookmarks with avr flasher isp lpt programmer
- Connect 6 LEDs using 3 microcontroller pins
Using other microcontroller isn’t always a solution also as using decoder circuitry isn’t necessary as well. There is a simple hint on how to do this
Sometimes you need more than you have. I am talking about microcontroller pins. Lets say, you have to connect 6 LED diodes but you have only 3 microcontroller pins available. To use other microcontroller isn’t always a solution using decoder circuitry isn’t necessary as well.There is a simple hint on how to do this:Connect diodes [...]
avr-microcontrollers
in Public bookmarks with avr avr-gcc expanding leds microcontroller to
- Embedded C program libraries and linking
Linker creates an output file from relocatable objects. Compiler is not one big program. It usually consist of up to a dozen smaller programs. These programs are controlled by some program so called “program driver”. This driver can be a makefile and make.exe program.
What is compilation of program maybe it is more or less clear. But what is program linking? I am sure many beginners heard of this but done exactly know what it is. In a few words I can say, that linker creates an output file from relocatable objects.Compiler is not one big program. It usually [...]
embedded-general
in Public bookmarks with avr gcc linker makefile
- Reading AVR button status using WinAVR
Webpage about how to read Buttons connected to AVR microcontroller. Sample program included.
If you want to bring some interactivity to your embedded projects, one option is to add buttons. This allows you to control program flow, set parameters and much more.Few words about AVR ports. AVR Port pins can be configured as input or output. See table for all general pin configurations:DDRx register is so called direction [...]
avr-microcontrollers
in Public bookmarks with avr buttons key pull-up winavr
- Building and installing USBASP-USB programmer of AVR microcontrollers
UsbASP set Up
avr-microcontrollers
in Public bookmarks with avr drivers install usb usbasp
- Scientific, embedded, biomedical, electronics contents.
Site is loaded with AVR, ARM microcontroller related information. Many projects including UV exposure box manufacturing, AVR signal generator, DTMF decoder.
ScienceProg serves scientific, embedded, biomedical engineering, physics based contents. If you want your article or scientific project to be on this site, do not hesitate to contact and send to scienceprog@gmail.com.
in Public bookmarks with arm7 avr biomedical electronics embedded pcb scientific uv winarm winavr
- WinAVR AVR-GCC Tutorial
Site is about WINAVR AVR-GCC compiler toolset. Theory and example projects included.
WinAVR AVR-GCC Tutorial, AVR LCD menu routine, Simplified AVR LCD routines, Measuring motor speed and display result on LCD, How to combine C program with ASM
and avr avr-gcc display example how lcd measuring menu motor projects result routine routines simplified speed tutorial winavr
in Public bookmarks with - and avr c gcc knowledge programming projects tutorial winavr
- WinAVR AVR-GCC Tutorial
Programming AVR ADC module with WinAVR
in Public bookmarks with - avr gcc
Next »
avr from all users