Search found 392 matches

by siliconchip
Fri Jul 30, 2021 12:59 pm
Forum: 8-Bit PIC
Topic: CLEAR LCD PROBS
Replies: 3
Views: 2983

Re: CLEAR LCD PROBS

hi martin as always thanks for the reply, i had previously tried what you suggested but this didnt work and after much head scratching i realised the problem, the flowchart ive added is just a snippet of the whole design, im actually using 3 branches on the switch icon and each branch has the same p...
by siliconchip
Thu Jul 29, 2021 7:00 pm
Forum: 8-Bit PIC
Topic: CLEAR LCD PROBS
Replies: 3
Views: 2983

CLEAR LCD PROBS

hi all ive attached a very small part of a project im working on and im pleased with the results BUT ... when this particular part is run i cannot remove the last letter from the bottom of the display when used again ie the part that says "sec" moves to the right 1 digit when the count goes over 9 s...
by siliconchip
Tue Jul 13, 2021 12:26 pm
Forum: 8-Bit PIC
Topic: ADC VALUE ISSUES
Replies: 3
Views: 2955

Re: ADC VALUE ISSUES

hi martin, as always thanks for the reply, you were spot on this now works a treat, however i dont understand how the program runs correctly if the voltage macro is built on its own and then in my program acts the way it does ?? however your solution is brill, ive never seen this done before but its...
by siliconchip
Tue Jul 13, 2021 8:20 am
Forum: 8-Bit PIC
Topic: ADC VALUE ISSUES
Replies: 3
Views: 2955

ADC VALUE ISSUES

Hi all ive added my flowchart and im having issues with the value of the adc regards what it shows on the display. ive got the variable DISPLAY[4] as a string therefore to my understanding i should only show the 4 segments of the selected display ie 2.04V but im getting for instance 2.043256, four e...
by siliconchip
Sat Jul 10, 2021 6:38 pm
Forum: 8-Bit PIC
Topic: Switch Headaches
Replies: 6
Views: 3444

Re: Switch Headaches

hi chipfryer27

switch array ah never thought of this plus i did a flowchart similar to yours before i noticed yours lol, but these defo seem the way to go, think the switch situation is just about covered in all scenarios, but thanks for pointing me in the right way and thanks for the help

bob
by siliconchip
Fri Jul 09, 2021 8:15 pm
Forum: 8-Bit PIC
Topic: Switch Headaches
Replies: 6
Views: 3444

Re: Switch Headaches

Hi chipfryer thanks for the reply ive edited your program and alls well BUT ...... when using the switch icon ive developed the below program it works in simulation but my question is 1 - have i gone round the houses in my design could it be done simpler..... ALSO 2 - what is better to use in a prog...
by siliconchip
Fri Jul 09, 2021 6:16 am
Forum: 8-Bit PIC
Topic: Switch Headaches
Replies: 6
Views: 3444

Re: Switch Headaches

hi chipfryer27 thanks for the reply, i had done something similar to this in the past but found if you kept your finger on the button too long it would go straight to the 5 second delay and not wait for another press, as the variable select is initially high from the first press, it needs to wait af...
by siliconchip
Thu Jul 08, 2021 7:50 pm
Forum: 8-Bit PIC
Topic: Switch Headaches
Replies: 6
Views: 3444

Switch Headaches

hi all, using a switch icon and masking i want to press my input button and go to the selected leg this isnt a problem but once in this leg i want the program to halt and wait for the same switch to be pressed again before it continues on to the main loop the one with the 5 second delay, ive managed...
by siliconchip
Thu Jul 01, 2021 4:24 pm
Forum: General Programming
Topic: FLOWCODE 7 COMPILER ISSUES ??
Replies: 4
Views: 6625

Re: FLOWCODE 7 COMPILER ISSUES ??

hi martin

as always cheers i will update and give that a whirl, thanks

bob
by siliconchip
Tue Jun 29, 2021 6:33 pm
Forum: General Programming
Topic: FLOWCODE 7 COMPILER ISSUES ??
Replies: 4
Views: 6625

Re: FLOWCODE 7 COMPILER ISSUES ??

hi steve

thanks for the reply heres the fcfx and msg files attached, but im getting similar errors flag on virtually anything i compile but didnt have this issue on my old system ??
by siliconchip
Tue Jun 29, 2021 11:35 am
Forum: General Programming
Topic: FLOWCODE 7 COMPILER ISSUES ??
Replies: 4
Views: 6625

FLOWCODE 7 COMPILER ISSUES ??

hi all, i recently brought a new laptop running windows 10 after finally being able to download flowcode 7 courtesy of David from matrix its all up and running or so i thought until i put old programs up and when compiling i get the following issue from the compiler "C:\Program Files X86\Flowcode 7\...
by siliconchip
Mon Jun 14, 2021 2:33 pm
Forum: General Programming
Topic: download flowcode 7
Replies: 5
Views: 6750

Re: download flowcode 7

hi martin thanks for the reply, i followed your link and tried 3 times but just as there are about 70Mb left to download "network error" springs up and download stops, i paired my laptop with my mobile phone and same thing happens using mobile data, again i tried another couple of attempts ans same ...
by siliconchip
Sun Jun 13, 2021 11:15 am
Forum: General Programming
Topic: download flowcode 7
Replies: 5
Views: 6750

Re: download flowcode 7

Hi martin
i tried that but nothing seems to happen when i click on flowcode 7 download, i managed to download my licence but that was it

Bob
by siliconchip
Sat Jun 12, 2021 8:10 pm
Forum: General Programming
Topic: download flowcode 7
Replies: 5
Views: 6750

download flowcode 7

hi all,
i apologise if this is in the wrong section but ive just bought a new laptop and want to reinstall flowcode 7 im a licenced user, ive gone to the internal matrix page and tried to download but nothing happens, am i doing some thing wrong or need to contact admin

cheers bob
by siliconchip
Sun Mar 07, 2021 12:08 pm
Forum: General Programming
Topic: Ads 1115 16bit adc module
Replies: 8
Views: 13690

Re: Ads 1115 16bit adc module

Hi QMESAR,
Thanks are you going to look into the ads1115


Bob
by siliconchip
Sun Feb 28, 2021 8:00 pm
Forum: General Programming
Topic: Ads 1115 16bit adc module
Replies: 8
Views: 13690

Re: Ads 1115 16bit adc module

Hi QMESAR
Thanks for the reply i take it by using spl this will mean using more pins on the controller over the 2 used on I2C also is there anything already for the 1115 ?

Bob
by siliconchip
Sun Feb 28, 2021 6:24 pm
Forum: General Programming
Topic: Ads 1115 16bit adc module
Replies: 8
Views: 13690

Ads 1115 16bit adc module

Hi all,
Has anyone used the 16 bit ads 1115 adc module with a pic micro ?? If so could you show how you used it within flowcode please, thanks in advance

Bob
by siliconchip
Fri Feb 12, 2021 6:46 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 7378

Re: voltage divider values

Hi leigh

Thanks for the reply ive calibrated it for low battery i was just curious as to value of resistors to limit current drain many thanks

Bob
by siliconchip
Fri Feb 12, 2021 6:08 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 7378

Re: voltage divider values

Hi leigh This is for a low battery indicator i was using 2 4.7k resistors and wondered on their size this is purely a hobby thing and not industrial, my readings are 0.04v out compared to a fluke DMM ie fluke reads 6.88v my indicator 6.84v so im happy with accuracy although it could always be better...
by siliconchip
Fri Feb 12, 2021 5:21 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 7378

Re: voltage divider values

Hi all Just a quick thought leighm mentioned the pic requires 250uA of sampling current therefore if i use a resistor divider of 2 68k resistors this would provide 297uA at the tap point plus if the pins impedance is 2K then wouldnt 68k in parallel with this be roughly 1.94k therefore nearly matchin...
by siliconchip
Fri Feb 12, 2021 3:35 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 7378

Re: voltage divider values

hi QMESAR, thanks for the reply so if i understand right i will require a non - inverting op-amp circuit whose output impedance should be around 2K to match that of the analogue pins 2K,with the op amps input impedance 1 MOhm plus ?? and this would be dependant on feedback resistors used with the op...
by siliconchip
Thu Feb 11, 2021 5:10 pm
Forum: General Programming
Topic: voltage divider values
Replies: 8
Views: 7378

voltage divider values

hi all, when using a pic micros analogue input to read a voltage which is 9 volts, i want to use 2 values the same so the input sees 4.5 volts for a 9 volt value,my question is would it be better to use 2 large value resistors ie 470k so the current draw is low on the supply or something like 2 4.7k...
by siliconchip
Fri Feb 05, 2021 2:41 pm
Forum: General Programming
Topic: Measure PIC's own battery voltage
Replies: 18
Views: 23208

Re: Measure PIC's own battery voltage

Hi bachman
Can you go into more detail how you set the FVR im having issues with it

Bob
by siliconchip
Fri Feb 05, 2021 12:00 pm
Forum: 8-Bit PIC
Topic: ADC ISSUES
Replies: 4
Views: 20584

Re: ADC ISSUES

hi all
ive set up the FVRCON register as well as ADCON1 to try and get this working, ive trolled through the data sheet to try to get this right but no joy, can anyone point me in the right direction on how to set the FVR function up correctly please

bob
by siliconchip
Thu Feb 04, 2021 8:42 pm
Forum: 8-Bit PIC
Topic: ADC ISSUES
Replies: 4
Views: 20584

Re: ADC ISSUES

Hi kersing
Thanks for the reply, i just tried using the internal reference voltage and set the FVRCON as well as changing the pots property to FVR rather than VDD but no joy ive either set it wrong or this is not suitable ??

Bob