ATMEGA32

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
CalculatorX
Posts: 16
Joined: Wed Jul 23, 2014 9:20 am
Has thanked: 8 times
Been thanked: 1 time

ATMEGA32

Post by CalculatorX »

Hello..
uhm i was wondering if you guys can help
i was ask to make any program for atmega32, the problem is i don't really have any idea what to do,
and also ofcouse make the circuit for that program..
if you can just give me some ideas maybe on what i can do with this chip that would be very helpfull
thanks

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ATMEGA32

Post by Benj »

Hello,

That's a pretty open ended brief, You could make pretty much anything you wanted using that chip, the only limitation is the number of I/O pins, the max speed of the processor and memory constraints. As an example RepRap use a similar AVR chip to drive their 3D printer hardware.

Are you using the Flowcode software?

CalculatorX
Posts: 16
Joined: Wed Jul 23, 2014 9:20 am
Has thanked: 8 times
Been thanked: 1 time

Re: ATMEGA32

Post by CalculatorX »

Yes.. i am using flow code avr Version 5..
i'm sorry because i'm really lost..
i dont know where to start or what to do
i only know the most basic part of flowcode.

and my proffesor just throw this project at me
he ask me to do whatever i can do with this chip
so thats about it.. any idea what to do would be really really helpfull

thanks alot.

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: ATMEGA32

Post by dazz »

Hi
It's difficult to advise, a few questions so maybe we can help you
What are your interests, do you have animals that need a controlled enviroment, do you like flashing led's
What have you learned about Uc's so far
Also what age are you as this could have an impact on your project
Best thing is to write down a list of stuff you can do,think about it, cross out the ones that dont appeal and come back we can help you then, one thing as this is a school/college/uni assignment we will help when you need it but we will not do the work for you

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

CalculatorX
Posts: 16
Joined: Wed Jul 23, 2014 9:20 am
Has thanked: 8 times
Been thanked: 1 time

Re: ATMEGA32

Post by CalculatorX »

hi.. uhm i made a list.. and finally arrived at this answer i think..
i will go for a media device.. like playing mp3.. i really like musics.

Hmm i know a few things like using input and outputs,, using variables, i know how to use loops and calculation too..
but using component macro is giving me a hard time. since i have so little knowledge on how to use it and especially interrupts.
my professor did not taught us anything,, he just went and told us to make a design using flow code and only use atmega32 .. so i have to do a self study on it..

my knowledge on atmega32 is really depressing as i only know a really basic thing
like it has 32 I/0
and those xtals pin is where you put the device that will set the clock speed


and im already 21.. :oops:

and really thank you so much..
and im really sorry to have been so much of a bother

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: ATMEGA32

Post by dazz »

Hi
here's a couple of threads to read, i suggest doing a few flowcharts with different components to get used to the macros, if a macro confuses you just ask on this thread and someone will answer, im not being difficult but can you also provide your flowcharts when you ask a question as it means people who are helping dont have to second guess an answer,
We all had to start somewhere, i wish flowcode was available when i was 21, hell i wish i was 21 again ;)

a few threads for you to look at even though they are for pic just open your flowcode avr and use the import button to open a pic file
http://www.matrixtsl.com/mmforums/viewt ... =26&t=4850
http://www.matrixtsl.com/mmforums/viewt ... mp3#p23731
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

KevinH
Posts: 19
Joined: Sun Mar 18, 2012 9:00 pm
Has thanked: 8 times
Been thanked: 6 times

Re: ATMEGA32

Post by KevinH »

As a first project, I would steer clear of MP3's and save that for later.

As you like music, how about a mini disco light effects project?

Start simple and flash some LEDS, then try PWM to vary brilliance.

Add an A/D and digitise your music, you only need the lower frequencies and 'extract' the beat and use this to pulse your LEDs.

Gradually add more, split LEDs to different frequency bands add say a VU display. Add left and right channels.

Now you are becoming familiar with the chip and Flowcode, so you can go on to the exciting bits such as MP3........

Just my thoughts to get you started in this exciting area.

Post Reply