![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
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!. |
|
|
|
|
|
|
(permalink) |
|
That is what I think
And I'm sorry for the same post, I did not see that there is the same one. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
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
|
|
|
|
|
|
|
(permalink) |
|
Check the other thread, where I gave a link to a site with a function generator project, but not written in C though.
|
|
|
|
|
|
|
(permalink) |
|
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.
|
|
|
|
|
|
|
(permalink) |
|
Ah, you posted before I did ....... ok, is a C compiler included?
|
|
|
|
|
|
|
(permalink) |
|
Well I have the micro controller PIC16F690, PICkid2, MPLAB and HI-TECH Software that is all that I have
|
|
|
|
|
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
Did he give any more specifications? Desired amplitude, frequency range, anything?
|
|
|
|
|
|
|
(permalink) |
|
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... |
|
|
|
|
|
|
(permalink) |
|
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
|
|
|
|
|
|
|
(permalink) |
|
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!!! |
|
|
|
|
|
|
(permalink) |
|
I don't think that is C. I need it in C but tnx any way I think i can use it.
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| 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 |