PIC16F676 voltmeter

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: PIC16F676 voltmeter

Postby pic16 » Sun Feb 06, 2011 10:37 am

ABSF WROTE:
pic16 WROTE:sometime the LED keep blinking blinking...
so annoying


Your LEDs are too bright. There should be 3 resistors between the collectors of the transistors to the Anode of the 7-seg LED. I cannot fine them in your board. The values are not stated in the schematics, but I guess their values should be arounf 56 to 100 ohms. What is the current consumption during normal working? The blinking might be caused by the voltage output at 78L05 is too low.

Allen



i will try use 7805 with 12v transformer later..
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: PIC16F676 voltmeter

Postby pic16 » Sun Feb 06, 2011 10:43 am


Yes, this is quite an useful chip. I wanted to construct a +/- variable power supply with a range of +/- 0~30V, so I am using this chip to show the output voltages. I am using green LED for the -ve and red LED for +ve supply. I am still waiting for my 60V centre-tapped transformer at the moment.

Allen






open a new topic about this IC when u done..
i want take a look of your voltmeter :)
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: PIC16F676 voltmeter

Postby Brian Griffin » Sun Feb 06, 2011 12:03 pm

ober WROTE:
ABSF WROTE:
pic16 WROTE:sometime the LED keep blinking blinking...
so annoying


Your LEDs are too bright. There should be 3 resistors between the collectors of the transistors to the Anode of the 7-seg LED. I cannot fine them in your board. The values are not stated in the schematics, but I guess their values should be arounf 56 to 100 ohms. What is the current consumption during normal working? The blinking might be caused by the voltage output at 78L05 is too low.

Allen


Yup, suspecting the same problem. Most probably is power issue causing unstable measurement. Again, try not to use 9V battery.


I would think of using an AC adaptor. Anything with a battery and 7-segment is a (or would be a) battery life disaster. :mrgreen:
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: PIC16F676 voltmeter

Postby Brian Griffin » Sun Feb 06, 2011 12:13 pm

pic16 WROTE:haha... :D
it so coincidence i have two ICL7107CPL too, i almost forgot about this IC in my tool box.. :lol:
i suppose use it to make very simple voltmeter and install at my remote controller car and helipcopter for measure the battery voltage...
but i don't know why i still never did it...


no, i no just doing reasonably accurate voltmeter, i intentionally choose mcu is becouse i want learning a little bit about PIC, that is my purpose
but it not easy like what i thought ,now i already lost in jungle :roll: :?


Hello brother,

I know it feels terrible to be lost in the uh... "electronic jungle". But, it's all natural to be lost there at the first place.

A few questions to ask before you really want to learn microcontrollers:

1.) Do you have any knowledge of basic electronics, like how the transistor works? [You can exclude op-amps/analog electronics for now if you are starting]

2.) Do you have any knowledge of digital electronics? You might need to experiment how logic gates and some counters physically.

3.) Do you have any knowledge of programming? Basic C and C++? Assembly isn't much needed for those who have zero idea about programming. (Unless if you are in the 80s and 90s)

If you have *at least* one, it's not that difficult "to get lost in the jungle". Again, age is not a barrier. :)
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: PIC16F676 voltmeter

Postby pic16 » Sun Feb 06, 2011 4:27 pm

Brian Griffin WROTE:
pic16 WROTE:haha... :D
it so coincidence i have two ICL7107CPL too, i almost forgot about this IC in my tool box.. :lol:
i suppose use it to make very simple voltmeter and install at my remote controller car and helipcopter for measure the battery voltage...
but i don't know why i still never did it...


no, i no just doing reasonably accurate voltmeter, i intentionally choose mcu is becouse i want learning a little bit about PIC, that is my purpose
but it not easy like what i thought ,now i already lost in jungle :roll: :?


Hello brother,

I know it feels terrible to be lost in the uh... "electronic jungle". But, it's all natural to be lost there at the first place.

A few questions to ask before you really want to learn microcontrollers:

1.) Do you have any knowledge of basic electronics, like how the transistor works? [You can exclude op-amps/analog electronics for now if you are starting]

2.) Do you have any knowledge of digital electronics? You might need to experiment how logic gates and some counters physically.

3.) Do you have any knowledge of programming? Basic C and C++? Assembly isn't much needed for those who have zero idea about programming. (Unless if you are in the 80s and 90s)

If you have *at least* one, it's not that difficult "to get lost in the jungle". Again, age is not a barrier. :)



1 & 2... a little bit only, i use google as my teacher
3.) never, the PIC16f84A dice i did last time was my first programming(actually only learn how to burn, haha.. :oops: )

so could you be my sifu? :mrgreen:
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: PIC16F676 voltmeter

Postby pic16 » Tue Feb 08, 2011 9:16 am

I want ISIS software, who may give me that software?
i have going to download but it say need key before install :?
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: PIC16F676 voltmeter

Postby ABSF » Tue Feb 08, 2011 9:50 am

You can get ISIS here. It's called PROTEUS VSM.

http://blitzlogic.com/

http://www.labcenter.com/products/pic16.cfm

We don't discuss pirate software here, sorry.

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Re: PIC16F676 voltmeter

Postby Brian Griffin » Tue Feb 08, 2011 10:13 am

pic16 WROTE:1 & 2... a little bit only, i use google as my teacher
3.) never, the PIC16f84A dice i did last time was my first programming(actually only learn how to burn, haha.. :oops: )

so could you be my sifu? :mrgreen:


You need to understand how to program and some electronics. Plus, burning hex from other sources into the microcontroller won't help you learn anything much.

Just learn how to program. It doesn't take forever to try it. It's just a few minutes for the simplest program.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: PIC16F676 voltmeter

Postby pic16 » Tue Feb 08, 2011 9:40 pm

i think i just keep this PIC16F676 voltmeter design in its original pattern and end it here...
as a conclusion, this project from internet really work :P , just no so accurate ;)


time to learn programming little by little by myself :| ..
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: PIC16F676 voltmeter

Postby ABSF » Wed Feb 09, 2011 7:20 am

Glad to hear that you've finally decided to learn how to program PIC step by step. Actually tou have most of the tools and programs in your hand. Just how to start only. I will recommend

1. Try out PR1 to PR3 from Cytron. You dont need to buy anything for PR1 and PR2. Just download the documents and starts following instructions. For PR3 you need to get the complete kits with LCD plus the programmer. If you want to save some money, just buy the ICD2 to the 10 pin adaptor or just build your own as described by zhenning in your first project.

2. Get 16F84A, 16F628A and 16F877 datasheets and keep them around for reference.

3. goto this website and learn some more from their projects.
http://www.winpicprog.co.uk/pic_tutorial.htm

You may visit Shahrul's website for more C16 examples:
http://shahrulnizam.com/

In one of the cytron PR (forgot which one). They have complete files on MPLAB, C16 compiler and step by step instructions on how to install the C16 compiler onto your PC.

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Previous

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 6 guests

cron