Search Results - Proton BASIC community web site


Search:

Type: Posts; User: yvesmazzon

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    110

    Can't set FVR voltage on PortA.2

    Dear all,
    I'm using the 18F25k22 chip. I have set the chip ADC.0 to use the internal reference voltage of 2.048V. No problem there. Where I'm failing even after reading back and forth the chip spec...
  2. [SOLVED !] Re: MCP3421 problem with the diffrencial value when it Vin+ is more negative than Vin

    Thank you for your time but the code you provided didn't work for me for negative values. The code I believe written by Less worked fine after changing the quanta value to 2.048 instead of 2.5....
  3. [SOLVED !] Re: Proton MCP3422 ADC reader. For V+ and V- Voltage readings

    Thank you very much I have tested the code and the conversion routine and it worked like a charm. The only things I had to change is the quanta calculation the MCP3421 has an internal reference of...
  4. [SOLVED !] MCP3421 problem with the diffrencial value when it Vin+ is more negative than Vin-

    Dear All,

    Im banging my head with the MCP3421 to display the right value when Vin+ is lower than Vin-. It works well when Vin+ is higher than Vin- but when Vin+ is lower than Vin- I get non sense...
  5. Re: In Proteus 8 after panelisation no holes are printed on pad

    Thanks for all the replies. I fond a way to bypass Gerber things quite useless for people like me to make your own circuit.
    I make a pdf from the artwork then open the pdf in Corel draw then...
  6. In Proteus 8 after panelisation no holes are printed on pad

    Hello all
    I have put that question in Proteus forum but I'm not getting any advice so maybe here someone may help.

    After penalization I am not getting the holes marking on the print which is for...
  7. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Any one knows where the USB_BUS_SENSE_PIN should be connected? thank you

    Yves
  8. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Thanks George'
    I do write simple code to test new things like flashing a led and check the oscilator timing is right or send data serially. two more thing:
    1) The "USB_BUS_SENSE_PIN = PORTB.0". is...
  9. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Tank you I will do so
  10. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    I'm using at the moment the +5V For VDD of USB(from the PC) to run the system as there is only the PiC15F2550 and MCP3421 A/D. Not using the VUSB.
  11. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Thank you all for your helps I have everything connected on bread board. USB is powering it but Im still not seeing a com port on the USBDeview. here few questions (I am using CDC):

    1) is D+ and...
  12. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Hi George,

    Yes I'm not sure the difference between HID and CDC. I read on this discussion that there is no requirement for a particular driver for HID protocol. Basically I just want to send data...
  13. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Thanks Craig,

    I will definitely do so.

    Regards,

    Yves
  14. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    HI George,

    Thank you for your info. on the PC I use VBA as I log my data into a modified excel spreadsheet and the capture lye is based modified PLX DAQ from Parallax Excel macro. I have no...
  15. Replies
    24
    Views
    106

    The use of USB with the 18F2550

    Hi everyone,

    My projects often use direct connection with my PC. Until now I sent things via serial to USB converters. I have bought the PIC 18F2550 chip that has USB capabilities. Basically I...
  16. Replies
    18
    Views
    85

    Re: Temperature sensing 100-160c

    What I do for calibrating non linear temperature sensors, I place the unknown sensor in a steel tube or well with oil and another accurate temperature sensor both in a bucket of hot water which I let...
  17. Replies
    5
    Views
    61

    Re: BreezeA board / Amicus18 problem

    Hi Bob,

    I don't have Amicus board. Do you think if I put the Amicus firmware for my 18F25k22 and use the PC Amicus driver it will work. Also is it possible to re arrange the assigned com ports...
  18. Replies
    5
    Views
    61

    BreezeA board / Amicus18 problem

    Hello Picsters,

    I have a Breeze A board with a 18F25k22 chip mounted. That board is the exact configuration chip for chip than the Amicus18. I have used it for many years to test ideas. I'm using...
  19. [SOLVED !] Re: USB license key works on my win 10 and refuse to load on win 7

    Hey! Joseph,

    Many thanks for the tip. It worked perfectly well.
    have a happy Easter holyday.

    Best regards,

    Yves
  20. [SOLVED !] USB license key works on my win 10 and refuse to load on win 7

    Hi
    First of all happy Easter holidays.

    I'm having problem with my USB License key on win 7. It use to work in the past. I remove all associated file about the key and download a fresh driver for...
  21. Replies
    4
    Views
    26

    Re: High impedence opamp quesion

    Hi Tumbleweed,

    Many thanks for your comment.

    regards,

    Yves
  22. Replies
    4
    Views
    26

    High impedence opamp quesion

    Hello all,

    I have a question on non inverting opamp. I'm using the MCP607 and the datasheet said it has a common mode input impedance of 1 E 13 ohms or 10 tera-ohms which is very high but I need...
  23. Re: Prolem with 1 x 16 alpha LCD when connected on PortA

    Many thanks,
    Yes you are all right PortA.4 is not an open drain. I have been working with 16F876A for so long that it was stuck in my mind that PortA.4 is always an open drain. I have removed the...
  24. Prolem with 1 x 16 alpha LCD when connected on PortA

    Hello
    I'm having some problem with LCD when connected on PortA. I'm using the 18F25k22 at 8Mz. The LCD print ok for a while then start printing gibberish. PortA.4 is pull-up with 1.5K resistor as it...
  25. Re: Using the Internal Fixed Voltage Reference as the +VREF of the ADC on a PIC18F25K

    Less,
    Yes I'm dumm, I have to define " pChannel = 14 " before to get channel AN14. as below:
    pChannel = 14
    pChannel = pChannel << 2 ' Move the channel bits into their...
  26. Re: Using the Internal Fixed Voltage Reference as the +VREF of the ADC on a PIC18F25K

    Hello Les,
    I tried your code and works very well with AN0 but how do I set it to AN14, is anything to do with "ADCON0 = pChannel | $01 ' Select the ADC channel ". If I set "pChannel | $14" or $15...
  27. Re: Using the Internal Fixed Voltage Reference as the +VREF of the ADC on a PIC18F25K

    Thanks Less,

    I tried to give you a thumb up but when click it gives a thumb down??????
    I will definitely try the code. I have also realized that it cant be given in the manual as it is very Pic...
  28. Re: ADC alternative way to capture Data using nbuilt Fix voltage reference

    No I'm not, I'm measuring in my case the voltage on AN14 and but using the available reference on the 18F25k22. I did the simulation on Proteus and the digital output is 1023 when the voltage on AN14...
  29. ADC alternative way to capture Data using nbuilt Fix voltage reference

    Dear Picksters,
    I have been trying for month to find an easy way to convert ADC using the inbuilt fix Voltage Reference that can be found in some chips like the 18F25k22 for that matter. I try some...
  30. Re: How many digit after the comma a negative float variable can take

    Thank you all

    Yves
  31. How many digit after the comma a negative float variable can take

    Hello Picsters,

    How many digit after the comma a negative float variable can take or what precision?

    Regards,

    Yves
  32. Re: Is PortB weak pull-out good enough for for units that requires pullout?

    Thank George,

    It is what I thought too. I never found any data of the equivalent ohms the weak pull-up is, I suppose I could find out by using incremental resistors and measure the voltage drop...
  33. Is PortB weak pull-out good enough for for units that requires pullout?

    Compliment of the season to all Picsters

    Is the PIC's week pull-out is good enough for unit like I2C memories or AD converter like the MCP3421 chip and others one wire like temperature converter...
  34. Some translation mathematical difficulties

    Hello all,
    I am having difficulties to translate an excel trendline formula (polynomial equation) into proton basic language. I could get it to work on excel but cant translate it in Proton basic. ...
  35. Replies
    0
    Views
    38

    Colouring code

    Hi Picsters,

    Is there is anyways to change font colour of the code. Sometimes when the code get pretty heavy it would be nice to put a colour on the section that have been modified so it will be...
  36. Thread: mcp3421

    by yvesmazzon
    Replies
    12
    Views
    5,585

    Re: mcp3421

    Hello Ryan,
    I have successfully implemented your code and it is working well. Your code you published is for continuous mode which set in that line below:

    MCP342X_CFG = MCP342X_GAIN_X8 +...
  37. [SOLVED !] Re: Problem to enabling all PortB set as pull-ups on the 18F25k22

    Many thanks Les,

    Regards,

    Yves
  38. [SOLVED !] Problem to enabling all PortB set as pull-ups on the 18F25k22

    Hello Picsters,

    I'm battling to enable the weak internal pull-up all the port B on the 18F25k22 chip: so far I tried this below but it doesn't seem to work properly:

    Input PORTB
    INTCON2.7 =...
  39. Re: DS18S20 strange beaviour at lower speed

    Thanks George, The actual Xtal is 16Mhz. Here below my setup:

    $ifndef _AMICUS18_INC
    $define _AMICUS18_INC
    '
    ' Header file for use with the Amicus18 board
    '
    Device = 18F25K22
    Declare...
  40. DS18S20 strange beaviour at lower speed

    Hello Picsters,
    I was testing the excellent code written by Less to measure temperature using the DS18S20 publish in Viky at this address:...
  41. Thread: mcp3421

    by yvesmazzon
    Replies
    12
    Views
    5,585

    Re: mcp3421

    Excellent code Ryan.
    Thank you very much.

    Regards,

    Yves
  42. Replies
    6
    Views
    53

    Re: Bootloader for the 18F26K22

    Many thanks Alberto

    Yves
  43. Replies
    6
    Views
    53

    Re: Bootloader for the 18F26K22

    Hello Alberto,
    Thanks for your work concerning boot loaders and the ample pdf explanations. These seem a pretty complicate subject for me and I don't think I really want to go into the depth of it....
  44. Replies
    6
    Views
    53

    Bootloader for the 18F26K22

    Hello all, Where can I find a bootloader for the 18F26K22. Thank you. Regards, Yves
  45. Replies
    10
    Views
    70

    Re: HPWM low frquency limitation

    Thanks Stephen,
    Yes I did but the problem is I need to modulate the pulse width in regular steps. Because I don't have to run the system fast I found I can achieve those low frequencies by clocking...
  46. Replies
    10
    Views
    70

    Re: HPWM low frquency limitation

    Thanks Simon,
    I will try that. Just for curiosity why Hpwm has this low minimums?
    Regards,
    Yves
  47. Replies
    10
    Views
    70

    HPWM low frquency limitation

    I would like to have a low frequency hpwm at frequency starting from 20Hz with the 18F25k22 running at 4Mz. Unfortunately the minimum frequency is 145Hz at 4Mz oscilator. I know I could use High Pin...
  48. Thread: Read HX711

    by yvesmazzon
    Replies
    9
    Views
    7,830

    Re: Read HX711

    Hi Amod,being a 24 bit values which is a very large number you will notice quite lot variations on the low digits, but when you convert it into grams or kg or what ever unit you are using these...
  49. Re: Prgramming 18FXXXXX chip with USB on board

    What I had In mind Is to use the native USB port that some pics have to program and debug In same time.
  50. Prgramming 18FXXXXX chip with USB on board

    Hello all,

    Is it possible to program a 18FXXXXX that has a UBS capability on board using its own UBS. If so any information links will be most appreciated.

    Regards,

    Yves
  51. Thread: Read HX711

    by yvesmazzon
    Replies
    9
    Views
    7,830

    Re: Read HX711

    Hello Basparky,

    Sorry of my ignorance but what is the purpose of the "Hx711Cnt = Hx711Cnt^0x800000" ?

    regards,

    Yves
  52. Replies
    29
    Views
    122

    Re: What is the fuss about arduino

    George,
    I agree Arduino has brought a lot of sometime useful breakout board and very cheap. I you go have a look at Banggood site at least once you will be bombarded with their products on your...
  53. Replies
    29
    Views
    122

    What is the fuss about arduino

    I was wondering what is the fuss about Arduino? It seems very popular you see it where ever you look for prototyping with it C language which a bit gibberish for me. Frankly a for ever beginner like...
  54. Re: Samsung LCD KS0108 display difficulties

    Thank you Bob,
    You were right about the connection errors. but was not exactly right on the display. eventually I discovered the " Declare GLCD_External_Print = Pprint" declaration on an example...
  55. Samsung LCD KS0108 display difficulties

    Hello members,

    It is now 3 days I'm trying to make sense on how to drive a Samsung KS0108 128 by 64 LCD using a simple program. I went through the manual, looked at some examples but really now...
  56. Replies
    0
    Views
    38

    Best GLCD serial displays

    Hello Members,

    I want to use a GLCD display on my project. What you suggest the best serial displays which is well supported by Proton/Amicus basic with about 160 by 160 pixels resolution with...
  57. Print using a SPI I/O expander to a Alpha numeric display

    Hello members,
    I like to connect a 2 by16 alpha LCD to the MCP23S17 expander. I realised that I have to use Shout to send the bytes to the expander in a subroutine. Where I'm not sure is how I...
  58. Replies
    7
    Views
    42

    Re: Member map ?????

    Oh OK Les,

    Regards,

    Yves
  59. Replies
    7
    Views
    42

    Member map ?????

    Hi all,

    By curiosity I looked at the member map. In my surprise I see myself in Zimbabwe and some other member in west Africa Lagos, 1 in England and none in US and south America. Is it possible?...
  60. [SOLVED !] Re: declaring crystall values when using chip pll

    http://www.protonbasic.co.uk/content.php/3960-Crystals-PLL-s-Proton
  61. Using RCin to make a touch button (Eurika)

    Hello members,

    I like to share a test I carried out using RCin to detect the change in a homemade capacitor. I use 2 tin foil separated by a thin layer of plastic to make a capacitor which I...
  62. [SOLVED !] Re: Taking advantage of the internal voltage references of the 18F25k22 chip on ADC c

    Thanks John,

    Advice taken.

    Regards,

    Yves
  63. [SOLVED !] Re: Taking advantage of the internal voltage references of the 18F25k22 chip on ADC c

    Hello Alberto,

    Many thanks for your correction, it makes good logical sense. Now I understand better the macro and will test it tonight. I suppose I have to modify the register to ...
  64. [SOLVED !] Re: Taking advantage of the internal voltage references of the 18F25k22 chip on ADC c

    Thank you Alberto,

    When I put the micro "OpenADC(ADC_FOSC_32 & ADC_RIGHT_JUST & ADC_20_TAD, ADC_CH0, ADC_REF_VDD_FVREF, ADC_17ANA)" and compile I get an error like "ADC_CH0, ADC_REF_VDD_FVREF" not...
  65. [SOLVED !] Re: Taking advantage of the internal voltage references of the 18F25k22 chip on ADC c

    Many thanks for your time Gamboa,
    I will try to adapt your code to my program and see how it goes.
    Nevertheless I had a long look at the Amicus18_ADC.inc routines Les has wrote a while ago but I...
  66. [SOLVED !] Taking advantage of the internal voltage references of the 18F25k22 chip on ADC conv.

    Hello all,

    I like to take advantage of the fix voltage references FVREF of 18F25K22 chip for my ADC conversions. I have at the moment this declaration which uses uAmicus18_ADC.inc and...
  67. [SOLVED !] Re: declaring crystall values when using chip pll

    Thank you
    regards,

    Yves
  68. [SOLVED !] declaring crystall values when using chip pll

    Hi everyone,

    If I'm using a 18F25K22 and using a 16Mz crystal but have setup the chip to "FOSC = HSMP;HS oscillator (medium power 4-16 MHz)"
    and "PLLCFG = On; Oscillator multiplied by 4"; what...
  69. Replies
    1
    Views
    38

    Xtal declaration with PLL on

    Hi everyone,

    If I'm using a 18F25K22 and using a 16Mz crystal but have setup the chip to "FOSC = HSMP;HS oscillator (medium power 4-16 MHz)"
    and "PLLCFG = On;Oscillator multiplied by 4"; what is...
  70. Replies
    57
    Views
    396

    Re: Looking for bata testers

    Hello George,

    Thanks for the updates. Is it possible to run P-ICD on Proteus schematic simulator using their virtual serial port to get the hang of it?

    Regards,

    Yves
  71. Replies
    57
    Views
    396

    Re: Looking for bata testers

    Hello George,

    Thank you for the clarification. I will let you know how it goes.

    regards
    Yves
  72. Replies
    57
    Views
    396

    Re: Looking for bata testers

    Hello George,

    I like to have a go at your P-ICD you published. I just have a question or two. On the ReadMe.txt you said I quote " a. Copy VarDisp.exe and VarDisp.ini to your source directory"...
  73. Re: Communicating Communication between two PICs using flow control.

    Thank you Les,

    I will also try the code given above. One question that comes to my mind is the example on the manual at page 373 is not worth to use it?

    Regards,

    Yves
  74. Communicating Communication between two PICs using flow control.

    Hello,

    I am trying to duplicate the example " Communication between two PICs using flow control." on the manual at page 373 of the Protonbasic ver.3.5.9.2. without much success. I wanted to make a...
  75. Replies
    12
    Views
    2,829

    Re: Simple but accurate DS18S20 Interface

    Hello Les,
    I have tested your code for the LS18S20 on the older LS1820. I am having only 0 deg C displayed even though I can see on the oscilloscope that the is communication from the 18F25k22 I am...
  76. Replies
    7
    Views
    598

    Re: P-ICD Plugin

    Thanks Dave when can we expect a review of your P-ICD project?

    Regards,

    Yves
  77. Replies
    7
    Views
    598

    Re: P-ICD Plugin

    Thank you Dave,
    So I know now it is not working and I can stop pulling my hairs on this. Would it be a good idea to remove those things which are not working(yet) or put a note saying it is under...
  78. Replies
    57
    Views
    396

    Re: Looking for bata testers

    Hi George,
    I had made many attempt to get the PICD from the link you pointed at. It seems it wasn't fully thought through. I have asked for some help about it recently but this doesn't look like...
  79. Replies
    57
    Views
    396

    Re: Looking for bata testers

    Hi George,
    I definitely will be trying it. Is it is a sort of ICD program if I understood well? I have been moaning all the time about Proton that don't have any ICD as PicBasicPro has.
    I will...
  80. Replies
    7
    Views
    598

    P-ICD Plugin

    I had another go with the P-ICD plugin. I had to slightly modified the sample program given by Dave elsewhere using 18F25K20 so I change it to 18F25K22 in the Fuses18F25K22.Inc. I have successfully...
  81. Replies
    23
    Views
    6,759

    Re: P-ICD new version

    Hello Dave,
    I had another go with the P-ICD plugin. I had to slightly modified the sample program you gave elsewhere using 18F25K20 so I change it to 18F25K22 in the Fuses18F25K22.Inc. I have...
  82. Replies
    5
    Views
    850

    Re: usart declared ports

    Hi George,
    I was a bit short of pins with the 16F876A I wanted to get the parallel LCD RS connected on the RC6/TX(pin17) but in same time having that pin use as Hrsout output when not writing on the...
  83. Replies
    5
    Views
    850

    usart declared ports

    Is it the right assumption that if you declare ports for usart, these port cannot be used for anything else while serial input or output is are not using these port? thank you
    regards
    Yves
  84. Re: How to send a word array to an eeprom like the 24C32 eeprom

    Thank you Les
    Regards,
    Yves
  85. How to send a word array to an eeprom like the 24C32 eeprom

    I have a word array of 10 like "Dim memory_data[10] as Word". I want to save and then retrieve them in a memory like 24C32 eeprom chip. using a for/next loop. When I do that I get an error saying...
  86. Re: I cant find Hitachi 44780 up and down arrows

    Thanks very much Lee, this a perfect idea.
    Regards,
    Yves
  87. I cant find Hitachi 44780 up and down arrows

    I want to display UP and DOWN arrow on my Hitachi display. I'm sure they are a single hex value and when I look at Hitachi ascii table there Is a raw of top bin numbers along with a column of bin ...
  88. Re: [hd44780] Controller received data whhilst busy in proteus simulation

    Thanks Bob,
    I think I found where the problem was. I'm using a 18F25k22 chip at 16Mh.z In my setup I had still the Hserial declarations on though I was NOT using any serial output but one of the pin...
  89. Re: [hd44780] Controller received data whhilst busy in proteus simulation

    Thank you Bob,
    I am using a registered Proteus 8.5 and believe I am up to date. To put the whole code here will not be useful what I tried to do is to isolate all the other routines to simplify and...
  90. [hd44780] Controller received data whhilst busy in proteus simulation

    HI every one, I'm having this error:"[hd44780] Controller received data whhilst busy" in Proteus simulation. My setups are follow:

    Declare LCD_Type Alpha
    Declare LCD_DTPin PORTC.4 ' Used for...
  91. Replies
    0
    Views
    349

    ProtonBasic versus Amicus

    Hello every one,

    I'm a bit confused about Amicus and Proton IDE. I thought the code written with Amicus will run the same in the Proton IDE but it is not the case. Is Amicus have been dropped and...
  92. Re: Timer1 overflow interrupt for the 18F25k22

    Thank you Les for you very valuable help. I will set my interrupt around your code.

    Kind regards,

    Yves
  93. Re: Timer1 overflow capture event for the 18F25k22

    Thanks Charlie,
    Normally the variable interrupt should be increasing by one every time the timer overflow. I have to read more the specification of the timer1 for the 18F25k22 maybe I need to choose...
  94. Timer1 overflow capture event for the 18F25k22

    Hello Picters,

    I need a simple routine to increase a variable every time the Timer1 overflow. I'm using a 18F25K22 chip and would like to use the proton command "On hardware_interrupt Goto..."...
  95. Replies
    4
    Views
    563

    Re: LCD 4 bit parallel connextions

    Thanks George, I have seen something like that in PBP called "LCD_AnyPin.PBP" and was wondering if something similar was also developed with Protonbasic?

    regards,

    Yves
  96. Replies
    4
    Views
    563

    LCD 4 bit parallel connextions

    Hi everyone,
    In Proton basic a parallel LCD display data line has to be wired out in continuous way on the pic. Either the first 4 least significant or the 4 most significant byte. My question is...
  97. Replies
    10
    Views
    1,274

    Re: Serial LCD backpack DIY

    Tanks Les,

    This perfect as I have all those 16F84 from the old days and I can put them to use for the serial backpacks. Very nit and instructive code I must say.

    Regards,

    Yves
  98. Replies
    10
    Views
    1,274

    Re: Serial LCD backpack DIY

    Tanks George but I have in hand some parallel LCDs that I want to use at the moment. But I will have a look at eBay too.
    Regards,

    Yves
  99. Replies
    10
    Views
    1,274

    Serial LCD backpack DIY

    Hello

    Anyone has a circuit diagram and codes to make a serial LCD backpack? I'm running out of pins on my project so serial drive will be the best solution. Many thanks
    Regards,

    Yves
  100. Replies
    4
    Views
    1,949

    Re: DEF and PPI files

    Many thanks Hady215
    Yves
  101. Replies
    4
    Views
    1,949

    DEF and PPI files

    Hi Picsters,

    Sorry about my ignorance but I cannot find any explanation on the manual on how to use the DEF and PPI files. Are they sort of new includes?

    Regards,

    Yves
  102. Replies
    15
    Views
    1,607

    Re: My adc has strange behaviour

    Sorry I mistype ADCON2.7 = 1 did the trick many thanks,
    Regards,
    Yves
  103. Replies
    15
    Views
    1,607

    Re: My adc has strange behaviour

    Hello Normnet,

    ADCON2.y = 1 has solved the problem. Many thanks.
    Regards,

    Yves
  104. Replies
    15
    Views
    1,607

    Re: My adc has strange behaviour

    I did tried this as it was already suggested by someone below. I have also tried with the amicus set up too but no expected results. I have tried with the 16F876A and it was fine gut the right 10...
  105. Replies
    15
    Views
    1,607

    Re: My adc has strange behaviour

    Thanks but does it means the setup from the manual is wrong. I cannot see anywhere such a suggestion.
    Regards,
    Yves
  106. Replies
    15
    Views
    1,607

    Re: My adc has strange behaviour

    Thanks Normnet but your suggestion didn't work.
    Regards,
    Yves
  107. Replies
    15
    Views
    1,607

    My adc has strange behaviour

    Hi,
    I'm experiencing strange behaviour with my ADC conversion. I'm using a 18F25K22 at 16Mhz. The results at 5 volts in any of the AN0 to AN2 all give me 65472 counts instead of the 10bit ADC of...
  108. Re: Transferring Individual bit array into a word variable

    Hi Les,

    This is even more elegant. Thank you.
    Regards,

    Yves
  109. Re: Transferring Individual bit array into a word variable

    Thank you Barak,
    came up with the same conclusion after thinking a bit more (blushing). Shifting left is the way.
    Regards,

    Yves
  110. Re: Transferring Individual bit array into a word variable

    Thanks Joseph,
    But the compiler doesn't accept the index of the variable to be a variable like "WordVarable.I" It has to be numeric constant like 1,2,3 etc. Must be a way to save individual bit in a...
  111. Transferring Individual bit array into a word variable

    Hi all,
    I'm stuck in a problem most of you guys will think it is trivial.
    I have a bit array, in fact a byte array as bit array cant be done, called P[1] to P[16] containing 1 or zero and I want to...
  112. Replies
    2
    Views
    635

    running Pic at lower volatage

    I am using a 16F876A and 16Mz which should run at 5 volts. Unfortunately I have some attachments that runs at 3.3Volts. I have tried the pic at 3.3volts even down to 3.0V and it seems to work fine....
  113. Replies
    5
    Views
    1,920

    Re: Inverting PWM duty time

    Thanks Joesaliba,
    Simple and elegant solution
    Yves
  114. Replies
    5
    Views
    1,920

    Inverting PWM duty time

    Is It possible to Invert PWM by some setup so the duty cycle decreases as its value increases so duty=255 will be the shorter duty time or shall I do by software? Many thanks

    Regards,

    Yves
  115. Replies
    3
    Views
    1,005

    Re: Pickit3 as normal communicator

    Thanks Andre, but what is A.f.a.i.k meaning?
  116. Replies
    3
    Views
    1,005

    Pickit3 as normal communicator

    Hi everyone,

    Can I use pickit3 as a simple serial communicator? like if use Rsout on PORTB.7 in my program can I send messages to the PC and visualize it like if was a normal serial...
  117. Thread: Live search

    by yvesmazzon
    Replies
    0
    Views
    496

    Live search

    I wish the live search box remembers the last entry. A bit like windows search that keeps few of the last entries so you don't have to type the same things all the time.

    Regards,

    Yves
  118. Pickit3 error: Unhandled Exception has occurred in your application...

    I am getting an error when I use Pickit3. The error is:

    "Unhandled exception has occurred in your application. If you click continue, the application will ignore this error and to continue. If...
  119. Replies
    3
    Views
    1,335

    Re: Pickit3, 3 few simple questions

    Yes I made a mistake on typing pins 2 and 3 sorry about that.
  120. Replies
    3
    Views
    1,335

    Pickit3, 3 few simple questions

    Hi everyone.
    I have 3 question about Pickit3 programmer as I'm battling to get to do program an 16F84A. I have setup Pickit 3 to supply the 5V and have a 10k resistor on the MCLR connected to the...
  121. Replies
    23
    Views
    6,759

    Re: P-ICD new version

    Thanks Dave but I'm not sure if I understand your answer. I get an error message after adding the include"PICD_Monitor.inc" that the file is not there. I have search the entire system for the file...
  122. Replies
    23
    Views
    6,759

    Re: P-ICD new version

    I have downloaded all the programs and Installed them successfully but when I added the Include "PICD_Monitor.inc" it doesn't shows up. I search the entire hard drive for the file but it's not there....
  123. Re: Is Amicus18_ADC.Inc can be use with Proton IDE

    Many thanks Alberto, The New AmicusADC macro you rewrote works like a charm. Very good work.

    Regards,

    Yves
  124. Re: Is Amicus18_ADC.Inc can be use with Proton IDE

    Thanks Alberto,
    Regards,
    Yves
  125. Is Amicus18_ADC.Inc can be use with Proton IDE

    Hi I am using the PIC 18F25k22 and thought by including the Amicus18_ADC.Inc macro it will simplify my adc setup. It works well for port AN0and AN2 but gives me erroneous readings on AN1. If I...
  126. Replies
    9
    Views
    3,566

    Pickit3 interface

    hi,
    Is it possible to have the Pickit 3 in Proton IDE programmer?

    Yves
  127. Thread: Bit banging

    by yvesmazzon
    Replies
    3
    Views
    956

    Bit banging

    Hello Picsters,

    I am doing bit banging to access the data from the Maxx6675 thermocouple a/d converter. I didn't have much success with the shin function as couldn't make it sending clocks...
  128. Replies
    6
    Views
    2,154

    Re: Is my Sparkey dead?

    Hi Lester, This is going a long while to send the key for replacement. Is there a way to check if it is faulty or not, must be some diagnostic way to do it. When I fit the key in my laptop the...
  129. Replies
    6
    Views
    2,154

    Re: Is my Sparkey dead?

    Thank You Joesaliba. I have tried everything In the link you pointed to. Installed In exe mode remove old drivers etc. I went to look if the driver is in the windows system driver file and everything...
  130. Replies
    5
    Views
    1,224

    Re: Step by step code debugger

    Many thanks to every one.
    Yves
  131. Replies
    5
    Views
    1,224

    Re: Step by step code debugger

    Thanks hav215 this is much needed.
    Yves
  132. Replies
    6
    Views
    2,154

    Is my Sparkey dead?

    Hello Picster
    My Sparkey have decided not working anymore. I follow up all the ideas on this forum to make it recognizable by my machine. I downloaded a new sparkey driver unzipped made it look at...
  133. Replies
    5
    Views
    1,224

    Step by step code debugger

    I remember quite a while ago when I use to code PBP or some other, I cant recall exactly. There was a possibility to use a step by step debugger. I think it was done by a company called Mechanic or...
  134. Thread: Read HX711

    by yvesmazzon
    Replies
    9
    Views
    7,830

    Re: Read HX711

    Hello Basparky,

    Many thanks for sharing your code. Just one more thing the chip doesn't seem to be wildly distributed , where did you get yours? I'm situated in Zimbabwe Harare,

    Regards,

    Yves
  135. Thread: Read HX711

    by yvesmazzon
    Replies
    9
    Views
    7,830

    Re: Read HX711

    H
    I Basparky,
    Did you managed to read your HX711. Would you like to share your code?
    Yves
  136. Replies
    3
    Views
    2,057

    Re: Interpret: if SDATA != 0 then

    Bob, many thanks
  137. Replies
    3
    Views
    2,057

    Interpret: if SDATA != 0 then

    Hi, I'm trying to interpret at Pic Basic Pro program in Proton basic. The pic basic lines are

    if SDATA != 0 then ' or timeout (~2 sec.) is reached

    error = 1

    endif
    ...
  138. Replies
    4
    Views
    1,922

    Re: How to get an interrupt from a HRSIN

    Thanks Pverburg,
    Interrupts still a mystery for me. In my program I'm trying to apply what I thought to have understood by reading the manual and the data sheet but obviously still not have...
  139. Replies
    4
    Views
    1,922

    How to get an interrupt from a HRSIN

    Hello,
    After reading the manual spec. sheets I'm battling to get a serial interrupt routine. The processor is receiving a number from 1 to 3 from another processor where I use Hrsin. It works well...
  140. Cheap and cheerful way touch button using Rcin command

    Hello Picsters,
    I had an Idea of using Rcin command to check the change of the capacity on a pad. I wrote the code with Proton and simulate the program using Proteus 8. Unfortunately I am away of my...
  141. Replies
    4
    Views
    4,675

    [SOLVED !] Re: Amicus18 versus Breeze A board

    Thanks Dave
  142. Re: Single button ON-Off circuit power control

    Thanks John,

    I wanted to load up the circuit diagram but it seems that the web site uploader is not functioning properly. It does not upload though I had plenty bandwidth. I think for Wiki loading...
  143. Single button ON-Off circuit power control

    Hello all,
    The program below is how a single push button can turn off an entre circuit by using a DC/DC regulator either step-down or boost that have a shut down pin that has to be maintain high to...
  144. Replies
    7
    Views
    2,099

    [SOLVED !] Re: 9 volts on a pin of a 5 volts 18F pic?

    Thanks guys, for your advises.I will use a voltage divider.
    Yves
  145. Replies
    7
    Views
    2,099

    [SOLVED !] Re: 9 volts on a pin of a 5 volts 18F pic?

    Thanks John, I will have a go and try.

    Yves
  146. Replies
    7
    Views
    2,099

    [SOLVED !] 9 volts on a pin of a 5 volts 18F pic?

    Hi,
    I have to trigger a input pin with a short(max 1 sec) +9volts pulse on the 18F 5 volts pic. I know I could put a voltage divider to get about 5 volts output but could I get away by using a...
  147. Replies
    4
    Views
    4,675

    [SOLVED !] Re: Amicus18 versus Breeze A board

    Many thanks for the info.
    Best regards,
    Yves
  148. Replies
    4
    Views
    4,675

    [SOLVED !] Amicus18 versus Breeze A board

    I am interested on the Amicus18 board. There is a company in South Africa www.dizzy.co.za that sales a board call Breeze A "http://www.dizzy.co.za/store.asp?item=436" which they say it compatible...
  149. Replies
    0
    Views
    445

    [SOLVED !] Cannot send attachment.

    It seems the forum uploader is down. Cannot send attachment.
    Yves
  150. Re: Can't use the proteus ISISserial LCD display

    Hello Les,
    You were right (as always), I had to manually set up the frequency to the processor on the simulator too. Now the serial display works fine. Many thanks for your support.

    On other...
  151. Re: Can't use the proteus ISISserial LCD display

    Les,
    Thank you for your reply. I copied and past your code into Proton compiler and create a simulation with Proteus 8 and 7 with the 16F1516, but still have gibberish display. If you like I could...
  152. Re: Can't use the proteus ISISserial LCD display

    Not sure how to attach the files
    Yves
  153. Re: Can't use the proteus ISISserial LCD display

    Many thanks Les and Towlerg. I believe I set it to 8 bit no parity and 1 stop bit(8N1) at 9600 bauds I have now written the small code below it compiles successfully but when I pass it to the...
  154. Can't use the proteus ISISserial LCD display

    Hello Proton's people.

    I donít know where Iím going wrong I cannot make the LCD display to work properly with that simple test program below:

    'simple LCD program test
    Device = 12F1501
    Xtal 4...
  155. Replies
    8
    Views
    5,413

    Re: Where and how I update my Proton IDE

    Thanks Melbreak, Now I am red in the face and it is exactly what I was doing. Many thanks again everyone and sorry to bother with my silly mistake. Yves
  156. Replies
    8
    Views
    5,413

    Re: Where and how I update my Proton IDE

    I have re installed the Proton Compiler Setup 3.5.5.5 - Win7 (64-bit) update but I still get the message "ERROR[line 1]:can't find .def for device "pic16f726" make sure the device is supported by the...
  157. Replies
    8
    Views
    5,413

    Re: Where and how I update my Proton IDE

    Yes Hadv215 the defs are in the "C:\Program Files (x86)\ProtonIDE\PDS\Includes\Defs" but no 16F726. It is strange because the about said the compiler is version 3.5.5.5. Regards, Yves
  158. Replies
    8
    Views
    5,413

    Re: Where and how I update my Proton IDE

    Thanks for your answer but I do have my dongle device plug on and the light is on. If it is not plugged IDE gives me a message that it is not plugged. My question was were I download the updated...
  159. Replies
    8
    Views
    5,413

    Where and how I update my Proton IDE

    I am a registered Proton user using the license dongle. My Proton IDE version is 2.0.1.2 with the compiler version 3.5.5.5. I am asking that question because when I want to compile a program with...
  160. Re: Setting up the Proton Compiler with MPLAB IDE

    Ok I will
    Thank you
    Yves
  161. Re: Setting up the Proton Compiler with MPLAB IDE

    Thank for your help,<O:p</O:p
    I have figured itout. In win 7- 64bit you have to get the regedit.exe, then import the proton Mplab_Proton_64.reg file and bingo it worked like a charm.The manual...
  162. Re: Setting up the Proton Compiler with MPLAB IDE

    Thanks for your prompt reply. Does it means I have to run regedit and merge the Proton reg supplied? I am running Win7 64 bits.

    Regards,
    Yves
  163. Replies
    25
    Views
    6,998

    [SOLVED !] Re: EasyPIC6 COG Display

    Hello Bob,
    Many thanks for the demo and it works but what I had in mind is to be able todisplay or print text on a COG Lcd. I bought a PicDem Pic18 Explorer Demo Boardand the routine given by...
  164. Setting up the Proton Compiler with MPLAB IDE

    Iam trying to set Proton to work with Mplab IDE. I have been following to theletter the instructions from the Proton manual. I have pasted the two fileslichill and proton.mtc in their appropriate...
  165. Replies
    25
    Views
    6,998

    [SOLVED !] Re: EasyPIC6 COG Display

    Hi Bob, I realise that you posted this above quite a while ago. I have been trying to duplicate your code using ISIS but just can't get it to work. The code compiles OK with Proton and I can see on...
  166. Replies
    3
    Views
    3,253

    Re: Is Pickit3 compatible with Proton

    Many thanks,
    Yves
  167. Replies
    3
    Views
    3,253

    Is Pickit3 compatible with Proton

    Hi all,
    Is Pickit3 compatible with Proton

    Yves
  168. Replies
    2
    Views
    1,411

    Fast serial ram

    Hi everyone,
    I need a SPI serial ram memory with a capacity of 64 kb that can take the word data generated by my program as fast as possible. Eeprom are much too slow for what I want to do. Any...
  169. Replies
    10
    Views
    3,691

    Re: wish the help tab be usefull

    You maybe right and I'm giving up. It could well be Win7.
    There one thing that surprising me with Proton IDE is the lag of a normal help system where you can click help and select the search subject...
  170. Replies
    10
    Views
    3,691

    Re: wish the help tab be usefull

    Joseph,
    I just installed PDS completely, manualy deleted the left over in program files, checked in the register if there was any trace in the registry for Proton, reinstalled PDS from original...
  171. Replies
    10
    Views
    3,691

    Re: wish the help tab be usefull

    Thanks guys,
    When using Adobe reader I can open the documents in the Docs folder but still cannot open from Proton IDE. I'm giving up it does not make sense. Could it be that my Docs are in a wrong...
  172. Replies
    10
    Views
    3,691

    Re: wish the help tab be usefull

    Hi Fanie,
    Many thanks for your suggestion.I'm using win7 64bits and my docs resides in C:\Program Files (x86)\ProtonIDE\PDS\Docs and has all the pdfs including the Compiler Manual but never the less...
  173. Replies
    10
    Views
    3,691

    wish the help tab be usefull

    I wish the Help tab was working. The only thing I can gelt when I use the help menu is Pic18 config fused and the what news which are useful but sometimes I need a quick reference to the manual and I...
  174. Thread: Max519

    by yvesmazzon
    Replies
    11
    Views
    3,345

    Re: Max519

    Sparky,
    Excuse me for my ignorance but the code you gave me is for only initializing the MAX5821? I have read the data sheet but don't really understand how to implement it. The address $B0 is the...
  175. Thread: Max519

    by yvesmazzon
    Replies
    11
    Views
    3,345

    Re: Max519

    Sparky, I will appreciate to see the code you are using to address the MAX5821. Many thanks,
    Regards,
    Yves
  176. Replies
    21
    Views
    4,734

    Re: OLED intelligent dispalys

    Hello Bob,
    Have you tried the touch pad of the display? Can you help and tell me how do you get which touch has been touched and If the pic is doing something else can you poll the display to find...
  177. Thread: 2-Wire LCD

    by yvesmazzon
    Replies
    26
    Views
    8,922

    [SOLVED !] Re: 2-Wire LCD

    Do you think it is possible to do the same thing to drive a GLD display maybe adding one more shift register?
    Regards,
    Yves
  178. Re: Configuration switch to set PORTB as digital in 18F2XXX

    Hi Joe,
    I gave up so I changed my press button away of B0 - B1 and placed them at B6 - B7 and now I have the internal pull up I wanted,
    many thanks for your time.
    Regards,
    Yves
  179. Re: Configuration switch to set PORTB as digital in 18F2XXX

    Hi Joe,
    I have try trisb=255 as you suggested but still not working. The program I wrote is a bit long but worked perfectly with the 16F876A and I decided to upgrade the chip with the 18F2585 for...
  180. Re: Configuration switch to set PORTB as digital in 18F2XXX

    yes I did over and over, and don't know what else has to be done. On a datasheet it says as follow:

    Note: On a Power-on Reset, RB4:RB0 are
    configured as analog inputs by default and
    read as Ď0í;...
  181. Configuration switch to set PORTB as digital in 18F2XXX

    Dear Picster,
    I'm battling to get the PORTB as digital only. I'm using a 16F2585 chip. but I'm not getting the weak pull up effectively. I have configured as follow:

    Device = 18F2585
    Xtal ...
  182. Replies
    5
    Views
    4,467

    Re: pickit2 and bootloader

    Thanks John,
    The circuit is still in prototype phase and have to be modified for other reasons too, so not too much problem there.
    Regards,
    Yves
  183. Replies
    5
    Views
    4,467

    Re: pickit2 and bootloader

    Thanks Joe,
    If I understood I don't need a bootloader in the chip if I program over ICSP using Pickit2. That means I will have to connect to different ports than what I was using for serial...
  184. Replies
    5
    Views
    4,467

    pickit2 and bootloader

    Dear all,
    I need a push start with that one. I have a new Pickit2 programmer I use to program the chip(16F.....) with Epic when I was using PBP. My question is when you use Pickit2 as programmer do...
  185. Replies
    3
    Views
    4,153

    [SOLVED !] Re: Need Help with ADC!!!

    HI Chulla,
    Did you at least wrote some basic codes into your pic? ISIS wont simulate anything if you do not write a code for your PIc. In addition do you have Proton installed?
    cheers,
    Yves
  186. Replies
    7
    Views
    4,234

    Re: Where the help Menu has gone?

    Not really RGV250,
    I was asking about the help button that does not bring anything. I understand that it maybe difficult to constantly update the help content but I wish that button could have a...
  187. Thread: mcp3421

    by yvesmazzon
    Replies
    12
    Views
    5,585

    Re: mcp3421

    Hello Rverm,
    I am testing your code for the MCP3421 but just get 0 on the results. Did you make any progress because I'm also stuck that chip baffle me.
    Regards,
    Yves
  188. Replies
    4
    Views
    2,858

    Re: Proton and Isis simulation

    Thanks Tim. You said I can make a bas file to open automatically the right board. Do you mean in my code program itself? If so can you please share the code because I don't know where to start with.
  189. Replies
    1
    Views
    1,401

    Proton and a plugin

    I remember when I was using PicBasic Pro I added a plug in where I could watch some selected variables while the program was running. I can't remember what the program was called but I think it was...
  190. Replies
    4
    Views
    2,858

    Proton and Isis simulation

    As everybody know when we are witting new code and use ISIS simulation to check if the code works, after pressing Compile and Program button the VHB explorer windows comes up, Every time we have to...
  191. Replies
    4
    Views
    2,985

    Re: sign for a 32 bit variable

    thank you Les
  192. Replies
    7
    Views
    4,234

    Re: Where the help Menu has gone?

    Thank you Bob
  193. Replies
    4
    Views
    2,985

    sign for a 32 bit variable

    Hello all,
    How do I extract the sign(+/-) in a DWORD variable? I know for a 16 word variable you can use the sign = variable.15 but how do you this for 32 bit variable?
    Many thanks,
    Yves
  194. Replies
    7
    Views
    4,234

    Re: Where the help Menu has gone?

    It seem I am not having any luck with request above.
  195. Replies
    7
    Views
    4,234

    Where the help Menu has gone?

    Dear all,
    I have Proton IDE ver 2.0.07 and Compiler 3.5.06 running Win 7 64 bit.
    Everything is working fine but the help menu is not working properly. When I click Help, Document,Proton Compiler...
  196. 9 to 5 step down regulator with on/off pin control

    Hi everyone,
    I am looking for a 9 to 5 volts chip which have a single pin that control the on or off of the regulator. A lot of these regulators have that function but it is either high for on and...
  197. Replies
    14
    Views
    7,823

    [SOLVED !] Re: Sparkey test

    Eureka!
    I found what was wrong with spatkey.dll error. After I had pointed to the sparkey win 7, 64 bit driver Proton kept saying Can't find Sparkey.dll. The solution that worked for me is: you...
  198. Replies
    14
    Views
    7,823

    [SOLVED !] Re: Sparkey test

    Hi John,
    Please can you send me the drivers or point to me where I can get them because i am still battling with my win 7 64 bit system.
    many thanks,
    Regards,
    Yves
  199. Replies
    87
    Views
    27,274

    Re:

    That sound good news. I am using Vista, please let me know where I can download the proper sparkey.inf file
  200. Replies
    12
    Views
    3,819

    Is pickit bydirectionnal

    Thanks Steve,
    Do you know if Pickit2 is byrectional? i.e. possibility to send from pic to computer and if so how one get the data from the USB?
    Regards,
    Yves
Results 1 to 200 of 209
Page 1 of 2 1 2