Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 28th November 2007, 01:32 PM   (permalink)
Default Waves Project for a Micro Controller

At my school the teachers must have gone mad because they given as a project for micro controllers without any information about the micro controllers, just gave was the data sheet and we have to finish it for 2 weeks and one have passed. I tried to do something about it but I don't know where to start it is like searching for a branch in the forest. The only back ground that I have is a little C programing but it is not helping me much. We are using PIC16F690 microcontroller. If some one can help me withe code ore some thing I will be MOST great full!

The REQUIREMENTS:

The student must build a ‘digital function generator’.
Waveforms
• Sine
• Square
• Triangle
• Sawtooth
The waveform must be selected with a ‘switch’.
The frequency of the signal must be adjusted with an analog input signal.
There is no requirement to adjust the amplitude of the signal.
Vesko is offline  
Reply With Quote
Old 28th November 2007, 02:22 PM   (permalink)
Default

You are the second person to post this exact same request - it's by no means a trivial project, and if you haven't already got a good degree of PIC hardware and programming experiemce you're completely stuffed!.

There's no way a total beginner could be expected to do this project in two weeks!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 28th November 2007, 02:31 PM   (permalink)
Default

That is what I think !! But the teachers are not and that is the problem.
And I'm sorry for the same post, I did not see that there is the same one.
Vesko is offline  
Reply With Quote
Old 28th November 2007, 02:44 PM   (permalink)
Default

Quote:
Originally Posted by Vesko
That is what I think !! But the teachers are not and that is the problem.
And I'm sorry for the same post, I did not see that there is the same one.
See what the other students in the class think - and see which one has already posted here!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 28th November 2007, 03:12 PM   (permalink)
Default

Haha. Most of my class have a background in electronics and don't have such big problem as me. But they at list have from something to start as for me I know almost nothing . Pleas give me something go start with. And I have to right the program in C with MPLAB.
Vesko is offline  
Reply With Quote
Old 28th November 2007, 03:17 PM   (permalink)
Default

Check the other thread, where I gave a link to a site with a function generator project, but not written in C though.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 28th November 2007, 03:20 PM   (permalink)
Default

What do you have so far..... just a pic chip, or a cable to connect it to a comp? development environment? compiler? Let us know and while we won't do your assignment for you, we may be able to supply pointers.
matc is offline  
Reply With Quote
Old 28th November 2007, 03:26 PM   (permalink)
Default

Ah, you posted before I did ....... ok, is a C compiler included?
matc is offline  
Reply With Quote
Old 28th November 2007, 03:42 PM   (permalink)
Default

Well I have the micro controller PIC16F690, PICkid2, MPLAB and HI-TECH Software that is all that I have
Vesko is offline  
Reply With Quote
Old 28th November 2007, 07:27 PM   (permalink)
Default

Nice, I've got a very similar setup here. Start by trying to get a simple program assembled and downloaded - just turn one of the outputs on and try to light up an LED or something.
If you can't do this either you shouldn't be on that course or the teachers have missed 27 stages out.
matc is offline  
Reply With Quote
Old 28th November 2007, 07:48 PM   (permalink)
Default

Did he give any more specifications? Desired amplitude, frequency range, anything?
Darth Bagel is offline  
Reply With Quote
Old 28th November 2007, 09:20 PM   (permalink)
Default

Search for 'DSS', Digital-Signal-Synthesis. I know there is one as you described for AVR, LCD. Have seen some that use a seperate chip to generate the signals, the MCU just sets the particulars and does display and inputs. Guessing with only two weeks, oops, guess it's more like a few days by now... You'll be looking for a software only solution. You'll need to create the wave forms in data tables.

Less than a week, might consider investing in a large jar of vaseline, because you know what's coming up from behind...
HarveyH42 is offline  
Reply With Quote
Old 28th November 2007, 09:51 PM   (permalink)
Default

Well there is no more specifications. I did a little program for the LED. But that is not so hard because I can actually see what I'm doing the problem is when I'm not . And I'm not giving in my ass that easily :P.
Vesko is offline  
Reply With Quote
Old 28th November 2007, 10:23 PM   (permalink)
Default

Have a look here:


http://www.picbasic.org/forum/showth...tion+generator

It should give you a (pic) basic insight into what is needed....
__________________
====
Shax.
====


A bus station is where a bus stops...
A train station is where a train stops...
On my desk I have a work station...
Nuff Sed!!!
Shax is offline  
Reply With Quote
Old 28th November 2007, 10:29 PM   (permalink)
Default

I don't think that is C. I need it in C but tnx any way I think i can use it.
Vesko is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
PIC Christmas Light Project amdkicksass Micro Controllers 28 9th July 2007 07:54 PM
interfacing a at89c51 micro controller with a stepper motor gospel_preach Electronic Projects Design/Ideas/Reviews 1 9th March 2007 08:28 PM
PC---> Micro Controller ---> Devices HELP firekiller51 Micro Controllers 1 25th October 2006 06:19 PM
traffic controller light design project gaseous Electronic Projects Design/Ideas/Reviews 2 25th February 2005 09:04 AM
Micro controller pinout for stand alone project????? cubdh23 Micro Controllers 3 2nd January 2004 09:56 PM



All times are GMT. The time now is 07:41 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.