Hello everyone ,
I am a noobie so I don’t know much about PIC and microcontroler ( Basic knowledge of C and PIC18 programming ) . But I am making a group project in order to learn . The global project is to make some DIY Signal Generator/Oscilloscope ( a bit like NI myDAQ ) .
My part is the generator I would like to generate a square wave and a sine
-Sine 1V Max with variable amplitude
-Square 0V-5V ( fixed duty cycle 50% )
-Both signal should have variable frequency [ Range : 10Hz - 100kHz ]
-Parameters wil be sent by another PIC ( SPI )
I was thinking using a PIC16 or PIC18 and generate a simple PWM signal for the square wave and adding a D/A converter chip for the sine but i’m not quite sure if I am on the good path. That’s why I would like to know your opinion on:
-Wich PIC familly should I use for this project and why ? ( I know it depend on the resolution i want but since the purpose is to learn I’ll go for the cheapest )
-Which method is the most straightforward for a beginner to implement this ( just the main idea ) ?
I am a noobie so I don’t know much about PIC and microcontroler ( Basic knowledge of C and PIC18 programming ) . But I am making a group project in order to learn . The global project is to make some DIY Signal Generator/Oscilloscope ( a bit like NI myDAQ ) .
My part is the generator I would like to generate a square wave and a sine
-Sine 1V Max with variable amplitude
-Square 0V-5V ( fixed duty cycle 50% )
-Both signal should have variable frequency [ Range : 10Hz - 100kHz ]
-Parameters wil be sent by another PIC ( SPI )
I was thinking using a PIC16 or PIC18 and generate a simple PWM signal for the square wave and adding a D/A converter chip for the sine but i’m not quite sure if I am on the good path. That’s why I would like to know your opinion on:
-Wich PIC familly should I use for this project and why ? ( I know it depend on the resolution i want but since the purpose is to learn I’ll go for the cheapest )
-Which method is the most straightforward for a beginner to implement this ( just the main idea ) ?