microcontroller

Resources for getting into microcontroller programming

Recently I've been playing with an Arduino board as one of my hobbies, I'm having lots of fun with it and I'd like to get into circuits etc in a much bigger way. I've done a lot of research on various avenues I could go down, but I'm sure some of you guys know which books/sites are best. I'm comfortable in c++ and c# , I know there's a ...

Whats the fastest way to multiply a 16-bit integer by a double?

I want to to do this, on an 8-bit micro controller 16bit_integer = another_16bit_integer * 0.997; with the least possible number of instructions. ...

Free Wavetable Synthesizer?

I need to implement a wavetable synthesizer in an ARM Cortex-M3 core. I'm looking for any code or tools to help me get started. I'm aware of this AVR implementation. I actually converted it to a PIC a while back. Now I am looking for something similar, but a little better sounding. ANSI C code would be great. Any code snippets (C or C+...

Using a rotary encoder with AVR Micro controller

I'm having trouble getting a rotary encoder to work properly with AVR micro controllers. The encoder is a mechanical ALPS encoder, and I'm using Atmega168. Clarification I have tried using an External Interrupt to listen to the pins, but it seems like it is too slow. When Pin A goes high, the interrupt procedure starts and then checks ...

How to support multiple languages on a microcontroller?

I'm currently working on upgrading a product for the Chinese market. The target is a ARMTDMI7 with a QVGA display. Most resources I've located on the net are targeted at desktop or web programming rather than embedded devices. Can anyone suggest some tools and resources that might be useful? What are the best techniques for extracting ...

How to start programming microcontroller?

I have developped software in C++, Java, PHP, .Net and now I am interesting to learn to program material thing. I would like to program system that could interact with IR, LCD and to be able to resuse old printer motor to use it, etc. My problem is where to start? I have searched the web and have found an open source board called Arduin...

AVR or PIC to start programming Microcontroller?

Which family should I start to learn? (Never did any programming on microcontroller) ...

Robust and easy to implement serial bus (automotive application)

What serial communication bus would you use in a automotive embedded system if your main selection criteria were: * Electrically robust * Slow speed (32 kb/s) * Easy to program * Easy to interface with microcontrollers It won't be transferring much data, but it will need to be transferred periodically at high speed (100 - 500 Hz). I f...

Best way to get started with programming other things than your computer?

What is the best way to get started with programming things outside of your computer? I don't mean mainstream things like cell phones with APIs. Please assume working knowledge of C/C++ ...

Beginner-level Embedded Systems Projects?

A student of mine came to me this morning and asked for some ideas for an embedded systems (ideally hardware+software design) project to be completed in the next 6 months or so. He's a freshman, and inexperienced, but has the motivation to learn if pointed in the right direction. The purpose of completing this project, besides getting ...

error msg in avr studio4

i have recently purchased an AVR USB programmer from robokits.co.in, was trying to program atmeg8 using AVR studio4 and i get the following when i click on the program options: a problem occurred when executing the command. make sure u are using the correct programming method. current mode is ISP verify that the device is placed in the...

C Training on 16-bit microcontrollers

My comany is transistioning from assembly coded microcontrollers to C. We are considering Microchip, Atmel, Renasas, et. al. for future projects using C code. Are there good training resources to bring our engineers up to speed with C? Seminars, instructors, classes, etc. The experience level of the engineers varies from no training ...

Is the .NET Micro Framework a good way to start with embedded programming?

How does the .NET Micro Framework with a dev board compare to something like an Arduino, or Nintendo DS for starting with embedded programming? ...

Writing apps in C for microcontrollers

What resources do you know dedicated to software development in C for PIC microcontrollers? I would like to see some kind of framework that handles both IO (buttons for input and LCD for output) and application logic. You can think of it as a VERY simple OS. I understand that PIC's memory can be small for such frameworks so I think it c...

Graphics library for embedded systems without Linux?

It seems that any kind of graphic library like DirectFB or MiniGui requires some sort of underlying operation system like Linux or uClinux. I am challenged with writing a software for a micro controller with just 512kb flash, an LCD display and a touchscreen to display and handle some pictures and GUI parts. Do you know any library whi...

Gadzooks! Architectures abound! Looking for an embedded processor/controller taxonomy

I am looking for a taxonomy of embedded processors. Which processors belong to which families? Who decends from whom? Does anyone here know of a simple article that describes it? ...

Microcontroller + Verilog/VHDL simulator?

Over the years I've worked on a number of microcontroller-based projects; mostly with Microchip's PICs. I've used various microcontroller simulators, and while they can be very helpful at times, I often find myself frustrated. In real life microcontrollers never exist alone and the firmware's behavior is dependent on the environment. How...

Windows - Power off an usb device in software

I would like to power cycle an usb device through software on windows. I am doing development on a small usb power microcontroller. This chip will revert to native behavior on a power cycle and allow a code download. Since my code will crash the device when things go wrong -- making it ignore all USB commands -- I have to physically ...

starting a microcontroller simulator/emulator

Hi All. I would like to create/start a simulator for the following microcontroller board: http://www.sparkfun.com/commerce/product_info.php?products_id=707# The firmware is written in assembly so I'm looking for some pointers on how one would go about simulating the inputs that the hardware would receive and then the simulator would res...

How can I make my own microcontroller?

How can I make my own microcontroller? I've done some work using GAL chips and programmed a chip to do simple commands such as add, load, move, xor, and output, but I'd like to do something more like a real microcontroller. How can I go about doing this? I've read a little bit about FPGA and CPLD, but not very much, and so was looking f...