Is there a free software to program an Atmega 168-PU Atmel microconller?

  • Thread starter Thread starter jstbyndjupitr
  • Start date Start date
  • Tags Tags
    Program Software
AI Thread Summary
To program an Atmega 168-PU microcontroller, users can utilize free software options like AVR Studio or the Arduino IDE, which provides a user-friendly environment and includes necessary drivers. While programming requires a physical programmer, alternatives like using an Arduino board with a bootloader can simplify the process. Eclipse with the AVR plugin is another option, though it may be more complex and buggy. Hobbyists can also purchase an Atmega with an Arduino bootloader for easier programming, but an AVR programmer is recommended for better reliability. Overall, various free tools and methods exist for programming the Atmega 168-PU effectively.
jstbyndjupitr
Messages
5
Reaction score
0
So, I'm trying to build a circuit to control 4 motors that will depend on the output from 3 gyros, I have the circuit all set with the components just having trouble programming the chip because i know that it can be programmed, can anyone help?
 
Engineering news on Phys.org
http://www.atmel.com/microsite/avr_studio_5/

However, you still need a programmer (like the AVRISP MkII) to transfer your program onto the micro. That or you can buy an Arduino board (about the same as the cost of the AVRISP) which allows you to upload programs via a bootloader (a special program on the micro which allows you to reprogram the micro via the serial interface).
http://www.arduino.cc/
 
Thanks for the reply matlabdude, I tried to check those links but they didnt work...
 
The links work fine for me--note that the "Downloads" section on the AVRStudio page is at the bottom right hand corner of the page, and requires (free) registration.
 
I use Eclipse with the AVR plugin to program my Atmega168 and 328s, I've tried AVR studio as well. I kind of wish I had gotten started using AVR studio instead, because using eclipse can be a really... really huge pain. However I really like the way eclipse can zip around to show definitions and macro expansions. Eclipse is free and buggy, but extremely powerful.

The Arduino IDE can also be used to develop ATMega168 code. If you are only interested in developing one specific application this might be a good idea since it bundles a standalone compiler, editor, examples, and drivers for the microcontroller's peripherals in a pretty user-friendly way. Arduino software is free. A physical arduino is not required.

I am a hobbyist so i try to do things on the cheap. It is possible to buy an ATMega from a website like SparkFun with the arduino bootloader on it, which enables serial programming, and then its pretty easy to program that chip as a programmer for additional chips purchased without a bootloader (this is carried out over the SPI port). You then need an FTDI chip to communicate via serial from the PC to the chip. If you have the means, its probably a better idea to just buy an AVR programmer for 30 bucks, be careful about driver installation though, since this is easy to mess up.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top