![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | Thread Tools | Display Modes |
| | (permalink) |
| Experienced Member | :arrow: Is it possible to display the results for large input voltage range? ( i.e. -240V-240V) :roll: What additional components OR any circuits do I need to in order to build this project :?: I am not allowed to use a built-in ADC PIC in this project, so which type of ADC chip is suitable for me? :idea: Is there any website that related to my project and where can I find the programming code for my PIC for this project? Thank you very much!!~ Your help will be truly appreciated :wink: |
| | |
| | (permalink) | |||
| Super Moderator | Quote:
Quote:
Using a PIC with inbuilt 10 bit A2D would make life nice and easy, it's a pity you can't do that!. How about using a PIC 12F675 (8 pin FLASH PIC with 10 bit A2D) as an A2D? - would that be allowed? - treat it just as an A2D and feed to your 16F84 for the display and calculations. Quote:
Update: Just remembered something I forgot, you will need a low-pass filter on the input stage, it's vital that your sampling rate is higher then the maximum incoming frequency - at least double, preferably more!. Otherwise you get anti-aliasing distortion which will complete ruin any readings. I would also suggest your biggest problem is going to be calculating RMS values, this is likely to take a fair amount of maths. | |||
| | |
| | (permalink) | ||||
| Experienced Member | Quote:
| ||||
| | |
| | (permalink) | ||
| Experienced Member | Thx again for replying my message! Nigel. There's some part that I not really understand. Quote:
Quote:
Using PIC 12F675 with a built in ADC is not allowed also.(since the condition clearly stated: No built-in ADC PIC allowed!!) I am planning to used TLC 548 A2D (8-bit resolution), is that good enough for my project :?: Also, thanks for recommending your PIC tutorials, I will look through it!! :wink: | ||
| | |
| | (permalink) | |||||
| Super Moderator | Quote:
Quote:
Quote:
| |||||
| | |
| | (permalink) |
| Experienced Member | As a beginner of PIC Microcontroller, so I am not very familiar with it. I need a compiler for my project and I found out that there have different kinds of compiler. I have a PIC Microcontroller Project Book by JOHN IOVINE that used PICBasic standard Compiler. Is the compiler suitable for me? OR have a more better one :idea: :arrow: Is it a must to purchase the PICBasic standard Compiler?($99.95) OR I can download from the internet :?: |
| | |
| | (permalink) | |
| Super Moderator | Quote:
My tutorials already contain suitable code for a fair amount of your project, feel free to 'borrow' anything you need. | |
| | |
| | (permalink) | |
| Experienced Member | Quote:
:?: Do you mean that what I need to do is just interface the RMS to DC converter chip with the PIC microcontroller in order to compute the RMS value? :idea: Is using this chip is a better solution for computing the RMS value instead of writing a prgram as Nigel had said:"it likely to take a fair amount of maths." | |
| | |
| | (permalink) | |||
| Super Moderator | Quote:
Quote:
| |||
| | |
| | (permalink) |
| Experienced Member | I have already install the MPASM Assembler. Do I need to install MPLAB as well :roll: Thanks for recommended me this software! :wink: UPDATE :!: I have decideded to use PIC 16F84A. Will it make any differences to my project? (i.e. the assembler commands) |
| | |
| | (permalink) | |
| Super Moderator | Quote:
The 16F84A should be fine, but (as usual) I would advise using the 16F628 rather than the obselete 16F84 series. It also has the major advantage of having an internal 4MHz oscillator, which gives you 16 available I/O pins - if you need that many. You can also use an external oscillator, which makes it almost identical to the 16F84 - you just need to disable the internal comparators - this is done in all of my tutorials. Anyway, the 16F84A is fine, but the 16F628 is better - but it might make no difference for you!. | |
| | |
| | (permalink) | |
| Experienced Member | (As usual), Thanks for your advice!! Nigel :wink: Quote:
| |
| | |
| | (permalink) | ||
| Super Moderator | Quote:
| ||
| | |
| | (permalink) | |
| Experienced Member | Quote:
| |
| | |
| | (permalink) | ||
| Super Moderator | Quote:
As I already mentioned (and you actually quoted!) the 16F628 uses EEPROM technology. I haven't tried any other software, but I seem to remember that someone mentioned that ICProg works with the 628A. | ||
| | |