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.
 
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Back
Top