Arduino Fuse bits and lock bits settings.

by pial 11/13/2008 1:59:00 AM

I know this has been posted by many people already on different web sites and forums. Still I am posting the Arduino (Atmega168) fuse bit settings, as it appears in AVR Stuido 4 programming  interface:

Fuse bits:



Lock bits:



Please remember the programming sequence:

Step one: Flash the appropriate boot loader

Step two: Set the fuse bits

Step three: Set the lock bits


I hope this helps. I myself looked for this information earlier and it was not easy to find them all together.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Microcontroller Projects (AVR/8051)

My experiment with LadyAda's Arduino Waveshield

by pial 11/11/2008 12:22:00 AM

I found about the wave shield designed for Arduino by lady ada on her electronics tutorial website (http://www.ladyada.net/). I got interested to  give it a try myself. I had almost every parts available at hand except for the 12bit DAC chip used (MCP4921) and the operational amplifier chip (TS922IN or TS922AIN) used in the waveshied circuit. So I ordered those parts from Mouser Electronics. After I received the parts I made the wave shield DAC module and SD card reader module separately on breakout boards. Here are how they look:

SD Module:



DAC Module:



I had an Arduino assembled on a breakout board already. I bought the USB -> TTL Serial converter kit from Fundamental Logic earlier which I use to program the Arduino from Arduino IDE. So I put all of them together and this is how it looks:




I used the first example code provided on ladyada's tutorial page and modified it a little bit just for fun. The original code used to read wave files (16bit Mono @ 22000hz only) one after another in a loop. I modified the code to add hardware switch to skip to next track (debounce enabled). Also you can go to next or previous tracks by sending serial commands "next" or "prev". Serial command "stop" will stop playback and you will need to reset the Arduino to start playing again. I am a beginner in Arduino programming. So my code might not be well written or optimized, but it works as expected. Smile You can take the code and modify it to turn it into a simple music juke box with stop, next, previous control. I had to put the whole thing on a tiny breadboard for easy portability, so had no space to put any more buttons to control it.

Here is the Arduino sketch file:

dap.pde (4.54 kb)

Please make sure to follow the instructions on ladyada's tutorial pages and download the required libraries prior to running this sketch.

Here is a lousy video of the device working. Please excuse me for that. I used my cell phone to record it. Laughing


My experiment with Lady Ada's Arduino WaveShied from Pial I on Vimeo.

If you have any questions or comments, please feel free to post. Have fun programming with Arduino.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Microcontroller Projects (AVR/8051)

My experience with Arduino for microcontroller development.

by pial 11/9/2008 2:41:00 AM

Arduino:

I came across Arduino while surfing the web for micro-controller related projects and initiatives. I think it is one of best platform for beginners to start playing with micro-controller programming. The great thing about the arduino is the IDE, which is greatly designed for ease of programming for beginners. However, you certainly do have the option to go into deep programming, but it is very simple if you are familiar with the micro-controller hardware (Atmel AVR architecture) and C++ programming. The arduino IDE languge is very similar to C and Java programming. It has a lot of built-in ready to be used libraries like LCD display interfacing, Stepper motor control, keypad library and lots more.

Learn more about Arduino at: http://www.arduino.cc

Here are some photos of arduino board:

 




 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Microcontroller Projects (AVR/8051)

Welcome to my blog!

by pial 12/21/2007 10:00:00 PM

I will start posting information about things I like to work with besides my daily job in this blog. Mostly related to electronics and specially microcontroller related projects, developments, code samples etc. I mostly work with ATMEL's family of microcontollers (8051, AVR), so all topics will be related to those.

Currently rated 4.4 by 3 people

  • Currently 4.4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Microcontroller Projects (AVR/8051)

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  July 2009  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

Recent posts

Recent comments

Archive

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2009

Sign in