- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am making a signal generator for a school summative project, due in January, but I need it done by the 21st of December as I will be away with family on vacation for 3 weeks.
My plan for this is to have a menu system on a 16x4 HD44780 display, and digital control of external wave-dacs to generate either a sine wave, triangle wave, sawtooth wave, ramp wave, or possibly a custom waveform from an external storage device. There will also be a separate terminal for the square wave that has variables tied to the other waves, but also will have a duty cycle, and pulse setting.
In the menu you will be able to change the frequency, amplitude, voltage offset, duty cycle, table steps, pulse, and be able to reset the settings to default. It will save values on power down. Also in the menu, you can change how much you change values by, in powers of 10: 1, 10, 100, 1K, 10K, 100K, and 1M. There will also be a power on/off switch, and it will likely be a soft power-on button of sorts.
On screen, it will always display the current settings position at the bottom of the display, and will always display frequency as F###, amplitude as A###, offset as V+-#.#, and table step as TS###. Frequency and amplitude will have either nothing, a K, or an M depending on if it is 1000 or above, or 1000000 or above.
The table will have maximum either 256 or 512 steps to still attain a high enough frequency, and I will likely be using a 10mhz wave-dac, as the internal wave-dacs can only reach 1Mhz and no more.
If you have any suggestions, feel free to say. I will try to keep this thread updated as much as I can, whenever I do something on this project.
Dec 12 EDIT:
So the project took some turns away from the original project guidelines I set, but it is ready for operation through two 0.5V from rail opamps (quite a pretty penny for them).
It has it's own case from an old machine that fits it perfectly, and it's powered by a $300 +5V, +24V, +-12V power supply that was lying around for a few years. The unit will have about 8 or 9 BNC jacks on the from panel and can adjust the amplitude of the wave terminals along with the frequency, wave type, and voltage offset. It can also switch the output mode of it's power supply from constant voltage to constant current with a variable feedback resistor on the regulators.
It seems to have gotten very complex, but my dad is an excellent teacher who knows all there is to know for a near expert about electrical components. He built the power supply circuitry without me, but explained it in detail, and did it alone to make it up to CSA standards. The first thing to go is a 2 amp primary input fuse in an inline screw package in the back of the case if anything were to go wrong. It has two low speed fans and a filter, and the PSoC is isolated from the PSU. It also has electrical isolation between the power supply outputs.
All around it looks nice, and will likely be a good instrument in the lab, and will likely fetch a nice score for my final project.
Off topic a bit, the unit has character with a brushed aluminium finish, and stained copper coated aluminium interior, visible through the fans. The front will be a raw wood panel, and will likely be finished over and polished to look nice. I will post a picture when it is complete.
Dec 19 EDIT:
Here is the link to the project page on hackster.io https://www.hackster.io/sam-chamberlain/psoc-5lp-function-generator-school-project-f05047
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to do that, but I need to balance the work on it with two other classes that have finals as well. One is a computer game, the other is a house design with wiring specs 😕
Thanks for the help though odissey, I will take a look at these ASAP 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the advice 🙂 I feel as if you did this before 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you feeling is right, we all did it. From my experience you only have time to slap it together in a 'quicky' way, nothing else. Basically: 4 line LCD (frequency, amplitude, phase, wave type), 1 rotary encoder to change settings, and re-use any project of your choice for output generation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the help. You likely saved me a whole week 😄
I do pretty well in code when I'm happy about it, but the hardware and ideas bog me down 😕
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, sorry about that. I wanted to have the updates right there for anyone that might stumble across it 😕
Thanks for the help too, again. I'll check out hackster.io as soon as I can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made a project page on hackster.io. Here's the link: https://www.hackster.io/sam-chamberlain/psoc-5lp-function-generator-school-project-f05047?ref=user&r...
I think I'll mention my absence for the next three weeks there too. I also found out I have until January 26th to finish this and my other school projects, rather than tomorrow. I should be back in Canada (eh?) by the 14th.