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.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top