![]() |
![]() |
![]() |
|
|
|||||||
| 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) |
|
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
okay so the 628 uses EEPROM technology and the 628A uses flash. will Ozipic programmer work with the 628A? or is there only a need for changes in the software. |
||
|
|
|
|
|
(permalink) |
|
Hi Nigel 8)
I want to ask that which programming languages is a better option for me to program my PIC chip :?: I have found out that Basic language is more easier to learn and master than either assembly or C language. Should I use Basic :roll: Thank You!! :wink: |
|
|
|
|
|
|
(permalink) | |
|
Quote:
PIC assembler only has 35 commands (and many of those are rarely used), so it's not too hard to learn. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
and if i want to learn the assembly commands of PICs where should i start from (in addition to your tutorials) |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
I would suggest printing the datasheet out for a start, the 16F628 is probably the best to start with (which I why I choose if for the tutorials). It also includes all the commands, along with lots of device specific information which is important to know. I always think the best way to learn is by copying other peoples code, and modifying it to make it do what you want. That's the basis behind my tutorials - by modifying existing code (and finding out it doesn't work anymore!) you learn a lot about how it works. It's very gratifying when you do actually get your mods to work :lol: One big problem with anything program based, is when it doesn't work - is it a hardware problem?, or a software problem?. This is why I give veroboard layouts, and proven working software - by building exactly as shown, and using my routines, it WILL WORK. Then when you modify it, you know the hardware is OK - as you've already seen it working. |
|||
|
|
|
|
|
(permalink) |
|
thanx alot Nigel for that very informative and inspiring post.
these days im close to having my end terminal examinations. the moment i get free from my exams ill start with the 16F628. i just cant wait to start playing with PICs :lol: |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | ||
|
Quote:
If you look at my first tutorials you will see how few of them you need to actually do something. |
|||
|
|
|
|
|
(permalink) | |
|
This is the circuit that I found on the internet. Its purpose is to ensure the input voltage to the ADC falls between 0 to 5V. 8)
From the figure below, the first op-amp is designed to change the input voltage so that it does not go over zero volts, for example changes -2.5 to 2.5V, to -5 to 0V. The second op-amp is configured in negative amplifier mode with a gain of unity changing -5 to 0V to 0 to 5V. The third part with the two diodes is for protection, e.g. say a -1 to 6V signal makes it through the op-amps the diodes will cut off the peaks of the waveform making sure no damage is done to the A2D. :arrow: Can this circuit able to operate for the largest input voltage range -250V to 250V :?: Is this circuit sufficient for my project at the input stage? (to step down the input voltage to 0-5V) :roll: Should I used any variable resistors? :!: Instead of 3 inputs, can I have only one? (i.e. to select different range of voltage) If can, HOW? :idea: Quote:
|
||
|
|
|
|
|
(permalink) | |||||||
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
||||||||
|
|
|
|
|
(permalink) |
|
Sorry!! I think I have missed out some qustion. :shock: For the analogue circuitry diagram (as shown in previous post), is it necessary to include the capacitor C1 in the circuit (last part of the circuit)? If YES, is it acceptable for 100µF?
As for the low pass filter - RC circuits, is it acceptable for R=1000kΩ & C=1µF ? If it is not acceptable, can you please suggest suitable values for me? Is the resistor for the RC circuit has to be 1% resistor? Thank You!! :wink: |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
|
|||
|
|
|
|
|
(permalink) | |
|
Thanks for your advice, Nigel!! :wink:
Quote:
|
||
|
|
|
|
|
(permalink) | ||
|
Quote:
|
|||
|
|
|