Search Results - Proton BASIC community web site


Search:

Type: Posts; User: [email protected]

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    232

    Re: Can somebody help?

    Sorry for posting late.....thanks for the two responses.
    The problem lay in using the Optimizer with a 16F device.......it is not recommended!!
    Without Optimizer it compiles to a perfectly...
  2. Replies
    3
    Views
    232

    Can somebody help?

    Hi,
    Posting my friends code(who is a registered user but yet to join the forum!!).

    He's doing a project with 16F866 where the LCD gets refreshed @ 5 seconds by the timer1 interrupt.
    His code is...
  3. Replies
    8
    Views
    607

    Re: RS 485 isolator

    Hi Rick,
    Actually I am using PLC's for industrial weighing system connected in daisy chain fashion to the system PC running the SCADA software.
    The PLC 485-interfaces are non-isolated & apart from...
  4. Replies
    8
    Views
    607

    Re: RS 485 isolator

    Yes....costly!!
    My slave devices talk to the SCADA with fixed packet width of 24 bytes @ 9600 baud.
    Therefore , ideally any PIC with hardware UART & two SN75176 RS485 transceivers should do the...
  5. Replies
    8
    Views
    607

    Re: RS 485 isolator

    Thanks Ken.
    Yeah , I have used 6N136/137 opto's for isolating 9600 baud communication before......but for that I need dual power supplies on both the sides.
    Also I need to have a microcontroller...
  6. Replies
    8
    Views
    607

    RS 485 isolator

    Hi,
    I have a situation where 10 to 12 RS-485 enabled devices are communicating to a remote SCADA through a 2-wire network.
    I need to provide electrical isolation modules at every node-point to...
  7. Replies
    3
    Views
    198

    Comeback post

    Hi everyone,
    Got perturbed by a mail from Lester that my account would be deleted if I don't post.
    Just imagine.... losing all my good friends...
    Shall keep posting.
  8. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    The basic code is the same. ...but yes, the resources were being stretched to the limit.... 99.5% of the flash was being used!!!
    Maybe 3.7.0.8 was just adding a few more bytes than the earlier...
  9. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    Not yet George.......I will soon.
  10. Code generated by 3.7.0.8 not fitting in 18F24K22

    Hi,
    The code generated by the earlier version(3.6.2.6) used to fit but this one is not.
    Maybe I should revert back.....
  11. Replies
    21
    Views
    266

    Re: 16 leds to drive, how?

    Ok I get it now.
  12. Replies
    21
    Views
    266

    Re: 16 leds to drive, how?

    Also optical cross talk..... One transmitter should not affect a receiver not meant to receive its light.
  13. Replies
    21
    Views
    266

    Re: 16 leds to drive, how?

    Hope your detector has enough sensitivity to detect very small variations of incident light & sufficiently narrow bandwidth to be immune from ambient light(If you are enclosing the entire contraption...
  14. Replies
    21
    Views
    266

    Re: 16 leds to drive, how?

    Hi Tim,
    Just curious about the application which you have just explained.Seems to be an HVAC kind of application.
    Is it distilled water or commercial water?
    Commercial water would slowly stain the...
  15. Re: Streaming the same audio track in real time to two different locations

    Thanks Les for the LoRA solution. I had no idea that such modules existed , that too marketed by microchip.
    Thanks Norm for the datasheet.
    After getting so much info about direct wireless solutions...
  16. Re: Streaming the same audio track in real time to two different locations

    Thank you very much John!!
    XBEE pro datasheet mentions 6.5 kms at 10kbps which should be good enough.
    60 USD is not much for a commercial application.
    What is better.....using the XBEE based comm...
  17. Re: Streaming the same audio track in real time to two different locations

    Hi Simon,
    Your idea is SIMPLY GREAT!! Can easily synchronize the two end of the system by a to & fro SIM-based-texting-handshake with the help of SIM -based RS232 modems & microcontrollers on both...
  18. Re: Streaming the same audio track in real time to two different locations

    Hi Norm,
    The links that you have posted transmits FM signals in the range of 87 to 108 MHz which require license. Licensing can be big & expensive.....
    @ Stephen......thanks for your detailed post....
  19. Re: Streaming the same audio track in real time to two different locations

    One location only .......which would be used to modulate the light.
  20. Re: Streaming the same audio track in real time to two different locations

    Hi George,
    The bridge is in absolute line of sight and the installations at both the sides would be fixed.
    @Charlie, the music plays in the park which is streamed synchronously to the bridge for...
  21. Streaming the same audio track in real time to two different locations

    Hi Friends,
    A very interesting project has come my way.
    A company is putting up a RGB LED lighting system on a river-bridge which would be viewed from a distance of about 2 kilometers from an...
  22. Replies
    2
    Views
    84

    Re: Joulescope

    Do they have anything for 3-phase A.C systems?
    Could be an ideal solution to measure output power of a VFD.
  23. Re: Uploading strings to FTP server

    Looked at NodeMcu.......seems to be promising.
    http://www.nodemcu.com/index_en.html
  24. Uploading strings to FTP server

    Hi,
    I am trying to upload some strings on a time-triggered basis.
    The internet gateway can be accessed through WiFi.
    What is the best way.....using some ESP8266 based hardware or something else?...
  25. Replies
    37
    Views
    351

    I dont belive it ! Re: Back in time looking good !

    Well , I had never imagined that I would carve out a living from electronics when I graduated in Electrical Engineering in 1987 with a major in power systems.Got my first job in the R&D department of...
  26. Replies
    25
    Views
    281

    Re: Delphi or Visual Studio etc. ?

    Hi John & Stephen,
    All of us essentially being typed-coders , LabVIEW would initially seem like something from another planet.
    But , believe me , LabVIEW is just like any other scripted language...
  27. Replies
    25
    Views
    281

    Re: Delphi or Visual Studio etc. ?

    I have used VB6 , VB.net for many years.
    Now I have migrated to LabVIEW from National Instruments & there is no looking back.
    The flip side is cost......but I suggest you install a 45 days trial...
  28. Replies
    12
    Views
    165

    Re: Electromagnetic display

    Exactly!!
    ....and think about the power consumption Ken.......to maintain a fixed text/design display you need zero power.
  29. Replies
    4
    Views
    161

    Re: 1 Mhz generator

    Set the Configuration bits to INTOSC at 4 MHz & clockout function at RA6.
    This should give 1MHz frequency out at RA6.
    Buffer it with an external TTL gate , if necessary.
  30. Replies
    12
    Views
    165

    Re: Electromagnetic display

    Mechanical Flip-flops!!!
    Interesting.
  31. Re: Common anode 7-segment display driver

    Yes Dave , CAT4016 is a device which is under my active consideration.....Thanks.
  32. Re: Common anode 7-segment display driver

    Great men think alike Ken......BSS84AKS is exactly the part that I am thinking of!!!!
    Yes CAT 4008/16 are really cool chips....with an additional constant current feature that would retain the LED...
  33. Re: Common anode 7-segment display driver

    I found TPS1120.....looks like just what I want.....have to check the cost...
  34. Re: Common anode 7-segment display driver

    Thanks Dave , but the parts you suggest have sinking outputs.......I need sourcing outputs to power common anode displays.
    @Tim....can you share part nos. ? Thanks.
  35. Common anode 7-segment display driver

    Hi,
    I am designing a 10-character 7-segment display(1").
    As per the data sheet , each segment when driven from 5 Volts with a current limiting resistance of 300 Ohms would draw 10mA for good...
  36. Re: Is Microsoft task scheduler reliable?

    :tickled_pink::tickled_pink::tickled_pink:
  37. Re: Is Microsoft task scheduler reliable?

    Working reliably ....salutes to Microsoft!!
    Has anyone used Raspberry Pi-3 with embedded Windows 10 for IOT?
    I am planning to use RPi-3 with its touchscreen display as an embedded SCADA instead of...
  38. Re: Is Microsoft task scheduler reliable?

    Not really.....but I was wondering what is causing that delay.
    I suppose the commercial versions of Windows that we use are not RTOS & there is no execution time guarantee with a precision level of...
  39. Re: Is Microsoft task scheduler reliable?

    Yes George.....in LabVIEW there is a function called event structure that is similar to an event firing in VB6/VB.net.
    Maybe that can reduce the CPU time....I haven't tried.
    I have tried Task...
  40. Is Microsoft task scheduler reliable?

    Hi,
    I have written a computer application that parses 24 excel files to summarize a daily summary report & mail it to the designated e-mail I.D's.
    The code written in LabVIEW 2016 is enclosed in a...
  41. Replies
    38
    Views
    610

    Re: Proton Studio

    Just saw this.....Excellent work John!!
  42. Re: Do you write your own android app?

    Hi ,
    An update on my research on Android App development.
    MIT Appinventor 2 is the best around & I can guarantee that you can write your own app within hours if it is not too complicated.......I...
  43. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Well , I am not really pursuing the Fluke line......
    Seems that lot of users are dissatisfied with Fluke in the high end metering range.......maybe not with quality of products but quality of after...
  44. Replies
    16
    Views
    322

    Re: Why the PIC26K42

    Hello Fanie.....Hello Stranger......long time no see...
    How are you doing?
    You behave like a deep sea whale nowadays......coming up for air......whoooossshhhh......then gone!!
    We used to PICk our...
  45. Replies
    16
    Views
    322

    Re: Why the PIC26K42

    I am using 18F24K22 in bulk........reasons are price,2XUSART apart from other standard peripherals.
    Price is less than 2 dollars.
  46. Replies
    24
    Views
    13,691

    Re: DHT11 temperature sensor from china

    Reviving a very old thread with the sole purpose of patting the back of Bob ( Mellbreak)
    His DHT22 code worked at first go.....
    Many thanks indeed!!!!
  47. Re: Easier way to initialize EEPROM

    Nice approach Joseph......Tim also gave a similar idea.
    Will adapt in future.
  48. Re: Easier way to initialize EEPROM

    Hi Stephen,
    Thanks but "Edata" cannot be used inside the basic code as you have suggested.
    An extract from the Proton compiler manual:
  49. Re: Easier way to initialize EEPROM

    Good idea Tim.....
    Fortunately , my default values are going to be same for all controllers. :courage:
  50. Easier way to initialize EEPROM

    Hi,
    I have to initialize the EEPROM of a 80-step Air Dryer Controller(based on 18F24K22 with 256 byte EEPROM) with the default values of 80 time intervals , 80 Temperature settings & 80 Rh settings...
  51. Replies
    15
    Views
    359

    Re: Re. latest vweaion 3.6.0.7

    The new version gives a slightly higher compile size......my HVAC program based on 18F24K22 now compiles to 16378 bytes instead of 16374 bytes. Just home by a whisker!!!
  52. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Nothing is being accepted by the file uploader with the message "You do not have access to this ftp server"
  53. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Attachment not going.....exceeding size
  54. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Sorry for seeing your post almost after a month Ken!!!
    Thanks for your views , but I am not treading the dsPIC path for the time being.....I think I have found a Fluke meter that serves my purpose....
  55. Replies
    3
    Views
    249

    Re: Lithium battery woes

    Thanks for the replies.
    Yes.....I also have the feeling that these RTC modules are unusually low-priced.......just 0.9 USD for one DS3231 + one 24C32 EEPROM + one battery holder+one assembled...
  56. Replies
    3
    Views
    249

    Lithium battery woes

    Hi,
    I am using CR2032 Lithium coin cells in RTC modules based on DS3231. With one batch of batteries the RTC's were behaving well & retaining the SRAM contents at power shutdown. But in another...
  57. Replies
    23
    Views
    395

    Re: Digital power mesurement

    So Fluke is out of contention.....
    I fail to understand why meter manufacturers are not making their meters compatible to VFD outputs.......50% of the world motors with rating more than 5.5 kW are...
  58. Re: Need someone smarter than me to write code for POV displays

    Hi Rick,
    The cheapest would be Raspberry Pi(Python programming in linux) connected to a LCD touchscreen display. The total system should not cost more than 100 USD.
    Another option is...
  59. Replies
    23
    Views
    395

    Re: Digital power mesurement

    H Ken,
    The Sensitec sensors seems to be very promising....thanks.
    What about voltage measurement......are there any line connected/galvanically isolated transducers around?

    The TI knowledge base...
  60. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Definitely Norm......many users depend on this 4-20mA output for motor power measurement by feeding it to a PLC analog input & displaying it in engineering units after scaling.
    I also have used this...
  61. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Norm,
    Fluke 1742 model shows voltage & current bandwidth of 42 Hz to 3.5 kHz.
    Does that mean that these meters can measure power accurately of 'dirty' waves as we would expect at the o/p of a VFD?...
  62. Replies
    23
    Views
    395

    Re: Digital power mesurement

    Norm,
    The VFD efficiency is load dependent & you cannot exactly predict the true motor power by measuring the incoming power to the VFD by a separate meter.

    All VFD's have their own power...
  63. Replies
    23
    Views
    395

    Digital power mesurement

    Hi,
    I have an application where the power consumed by an inverter(VFD) driven 90kW motor has to be measured.
    As we know the PWM output of the VFD cannot be directly interfaced to standard analog...
  64. Replies
    10
    Views
    329

    Re: Pipe diameter measurement

    That's smart.....why burden your CCTV camera with unnecessary electronics when the image processing can be done elsewhere.
    I am working with National Instruments NI 1764 Smart Camera which I have...
  65. Replies
    4
    Views
    104

    Re: Infinity focus of convex lens

    Well , I think the solution lies in the lens equation........1/f= 1/v - 1/u where u is the object distance & v is the image distance.
    v=f only if u = infinity.
    So the image is formed EXACTLY at the...
  66. Replies
    4
    Views
    104

    Re: Infinity focus of convex lens

    Yes.....then how are we able to see the image as an image & not a point?
    By definition , the focus is the point of convergence of all the parallel rays passing through the lens.
    If that is the case...
  67. Replies
    4
    Views
    104

    Infinity focus of convex lens

    Hi,
    Helping my daughter with her class X physics popped up a question in my mind.
    We know that when the object is at infinity , a point sized image is formed at the focus of the lens.
    If the image...
  68. Replies
    7
    Views
    240

    Re: Moved to say thanks to Les

    Les with all his humbleness & simplicity has powered Proton from strength to strength.
    Forever grateful to him.
  69. Replies
    16
    Views
    302

    Re: Push or pull on fan

    Great idea!!
    I shall give it a serious thought.
  70. Replies
    16
    Views
    302

    Re: Push or pull on fan

    I am working on another project where a telephone exchange or a manless base transceiver station have to be cooled using external ambient air using two suction fans.....one drawing in the air & the...
  71. Re: Do you write your own android app?

    RFO basic is very good.......a friend is using it.
    Runs on all versions of android.
    I have started learning it.
  72. Replies
    10
    Views
    329

    Re: Pipe diameter measurement

    Very interesting indeed!!!
    Thanks.
  73. Replies
    10
    Views
    329

    Re: Pipe diameter measurement

    George,
    The density depends on the quality of raw material & is susceptible to variation. The pipe manufacturers all over the world have to abide by the guiding specifications which mention the...
  74. Replies
    10
    Views
    329

    Re: Pipe diameter measurement

    Thanks Norm.
    The pipe comes out from the extruder machine at a rate of approximately 1 per minute & travels on sheet metal trays upto the cutting machine where it is cut into pre-programmed lengths....
  75. Replies
    10
    Views
    329

    Pipe diameter measurement

    Hi,
    We recently successfully commissioned an automated pipe weighing system at a PVC pipe manufacturing plant.
    The customer now additionally wants a non-contact device to measure the pipe I.D , O.D...
  76. Re: Base biased PNP transistors running at > Pic VDD

    Hi Tim,
    You can insert a 8.2V zener in series with the transistor base circuit........the anode towards the PIC & the cathode towards the base.(You might be needing a series resistance of , say 1K...
  77. Re: Do you write your own android app?

    Thanks Bob for the appinventor link.
    Block diagram programming seems to be very attractive.......a bit like LabVIEW which I use regularly!!!
    I shall have to delve deeper.....
    The USP of any...
  78. Re: Do you write your own android app?

    Thanks George.
    I had a look at B4X.....$59 for the standard version is not too steep , but before buying I need a trial version to acclimatize. Is there any?
    I have worked with VB but not...
  79. Do you write your own android app?

    Hi,
    Is anybody in the forum using Android Studio for app development?
    How steep is the learning curve?
    Are there any basic compilers which do the same job?
    Thanks.
  80. Replies
    7
    Views
    216

    Re: Email sending ideas

    Thanks Norm.
  81. Replies
    7
    Views
    216

    Re: Email sending ideas

    Thanks Les.
    Actually in my particular case , I have already designed a PIC based HVAC Controller that works 24X7 & has a RS485 communication port through which the real time physical parameters...
  82. Replies
    7
    Views
    216

    Re: Email sending ideas

    What single board computer are you using Lester?
    Can you share the details?
  83. Re: Thanks for the Holiday Theme, Lester!

    Like Charlie.....no sound for me also!!
  84. Replies
    7
    Views
    216

    Email sending ideas

    Merry Christmas everybody.
    I am presently working on a project where a PIC based embedded system needs to send real time based automated emails.
    Do I need to take the ESP8266 route or are there...
  85. Replies
    5
    Views
    110

    Re: Automating Whatsapp

    Thanks for the info Lester.
    Great help indeed.
    Most likely I would be building an LAbVIEW based executable & load it a mini PC. I need to explore the python examples to get the essence of the...
  86. Replies
    5
    Views
    110

    Re: Automating Whatsapp

    Is that Raspberry Pi ?
    I am planning to use either Raspberry Pi or mini palmtop Windows machine with a WiFi dongle.
    Can you share some details about how you automated Whatsapp?
  87. Replies
    5
    Views
    110

    Automating Whatsapp

    Hi,
    Has anybody in the forum successfully send whatsapp messages programmatically ........C/VB/python etc. on an event trigger?
    This could be a very useful feature in linking SCADA systems with...
  88. Replies
    0
    Views
    159

    Android remote desktop

    Hi,
    Has anybody used Microsoft remote desktop App or anything similar to connect a smartphone to a Windows computer running Windows 8.1.
    This has to work without internet connection.
    Thanks in...
  89. Replies
    1
    Views
    191

    Re: USB serial dongle problem

    I updated the driver software & the problem seems to have gone.
    Let me see......
  90. Replies
    1
    Views
    191

    USB serial dongle problem

    Hi,
    I am using ATC 810 FTDI driver for RS 485 communication.
    Apparently the device enumeration is proper since a virtual port COM3 is being created under the Windows device manager.

    But when I...
  91. Replies
    52
    Views
    3,007

    [SOLVED !] Re: User Id Location ?

    Hi John,
    I looked up RAD studio & found it to be interesting.
    Does it support Android App development?
    This is slightly away from the thread topic.
  92. Replies
    52
    Views
    3,007

    [SOLVED !] Re: User Id Location ?

    Yes but automatic code generation with the option of either time stamp or version stamp would be better.
    The compiler can have this feature
  93. Replies
    52
    Views
    3,007

    [SOLVED !] Re: User Id Location ?

    Can the ID programming be included in the Fuse Configurator?
    That would save a lot of hassles.
    Another thought just entered my mind......can there be a feature in the fuse configurator by means of...
  94. Replies
    8
    Views
    433

    Re: EEPROM write failure

    Yes Les.....writing a block of data is better.
    In my case I have to accumulate 4 readings i.e 8X4=32 bytes & then write at one go.
  95. Replies
    8
    Views
    433

    Re: EEPROM write failure

    Great idea Tumbleweed......adding one dummy byte might solve the problem.
    Thank you very much.
  96. Replies
    8
    Views
    433

    Re: EEPROM write failure

    Yes Charlie I am using interrupts.
    I usually disable interrupts during EREAD/EWRITE commands......this is recommended by Microchip themselves in their assembly language programming when writing $AA...
  97. Replies
    8
    Views
    433

    EEPROM write failure

    Hi ,
    I am facing a peculiar problem.
    I am writing fault history to an external I2C EEPROM using the following code:


    faultadd= faultcount*7-7 'address...
  98. Replies
    18
    Views
    399

    [SOLVED !] Re: PicKit3 Programmer

    Hi Frizie,
    I have both Pickit3 & Presto & have never faced any issue's with either of them.
    As far as programming speed & features go , Presto is far better.
    But Pickit3 has the OEM debug options...
  99. Replies
    6
    Views
    204

    Re: PIC gang programming

    Yes Charlie......they will.....if I place a P.O on Microchip directly.
    I am buying from retailers in my country.
    Using my Presto I can program @ 15 secs each adding the time to take out a chip from...
  100. Replies
    6
    Views
    204

    Re: PIC gang programming

    Ha ha......PICs dancing to my tune.
    I now additionally wish I owned a GANGAM programmer where buxom ladies would dance to my tune....
  101. Does compile size depend on loader version?

    Hi,
    I am compiling the same 18F24K22 based code in my desktop & laptop.
    The IDE/compiler versions are same 2.0.3.3/3.6.0.3. The loader version in my laptop is 1.0.1.5 & in the desktop is 1.0.2.1
    ...
  102. Replies
    6
    Views
    204

    PIC gang programming

    Hi,
    Can anybody suggest a low budget Gang programmer for the 18F series?
    Thanks in advance
  103. Re: Any asteroid watcher in our group?

    Peggy Whitson lands in kazaksthan after 288 days in space....
    https://www.space.com/17933-nasa-television-webcasts-live-space-tv.html?utm_source=notification
  104. Any asteroid watcher in our group?

    Florence is passing by.......
    https://www.space.com/38000-asteroid-florence-earth-flyby-visible-in-telescopes.html?utm_source=notification
  105. Replies
    1
    Views
    128

    Tiny spacecraft is just a PCB

    Hi .......came across this in code project newsletter.......couldn't resist sharing with you all.:distracted:

    Last year, extraterrestrial exploration venture Breakthrough Initiatives announced an...
  106. Replies
    3
    Views
    183

    Re: Internal or external Watchdog

    Thanks Alberto.
  107. Replies
    3
    Views
    183

    Internal or external Watchdog

    Hi,
    I have a 18F24K22 based HVAC controller where a relay contact should denergise in case of any hardware or software fault.

    Previously , maybe about 15 years ago , we used to use an external...
  108. Re: Proton BASIC Commands Inc and Dec

    Hi,
    INC & Dec can be used with all variables.
  109. Re: Power switching through p-channel MOSFET

    Thank you very much for the details that you have provided. I would try to keep them in mind.
  110. Replies
    10
    Views
    242

    Re: I2C bus 2

    HI Ricardo,
    What you say is reasonable.......using the second MSSP for the critical application.
    Just a thought.......for high pressure valve control , if there is a feedback failure then the DAC...
  111. Replies
    10
    Views
    242

    Re: I2C bus 2

    Saw this thread late........do we really need two separate I2C connections in any application ?.......one is sufficient to communicate with the peripherals having different addresses. The basic idea...
  112. Re: R-78S3 0.1 A SIP4 Boost Switching Regulator

    Good for battery powered PCB's working from a single AA cell
  113. Re: Waterjet cutter built with a cheap pressure washer

    Interesting.......the water itself acts as a coolant!!
    Caution to be exercised if you do not want to ampute your hand.
  114. Re: Non-ASCII transmission through Hserout

    Yes.....I am still persisting with polling the TXIF flag........thats the reason for me needing that delay ,I suppose.
    I shall try Les include to tidy up matters.
  115. Re: Non-ASCII transmission through Hserout

    Thanks Les.
    This should make the code neater .
  116. Re: Non-ASCII transmission through Hserout

    Perfect Gamboa.
    I use a NOP instead 1 msec at the begining but that doesn't matter really.
    What matters is the delay before switching the transceiver back from transmit to receive mode.
    2 msec is...
  117. Re: Non-ASCII transmission through Hserout

    That would be nice Les since most of the industrial applications use half duplex RS 485 communications where the direction control pin of the transceiver needs to be toggled.
    In this particular case...
  118. Re: Non-ASCII transmission through Hserout

    Yes the TMRT bit works better in end of transmission detection
  119. Re: Non-ASCII transmission through Hserout

    Hi Tumbleweed,
    You are absolutely right about the differential voltage. I shall have a look.
  120. Re: Non-ASCII transmission through Hserout

    Agreed Les......but the waiting is before transmission of the byte.


    HRSOUT
    btfss PIR1,PP_TXIF
    bra $ - 2
    movwf TXREG1,0
    return

    The code waits for the previous transmission...
  121. Re: Non-ASCII transmission through Hserout

    Oops sorry ......problem found....nothing to do with the compiler.:untroubled:
    My PIC transmits data to another PIC/terminal through a SN75176 transceiver where the direction of transmission is...
  122. Re: Non-ASCII transmission through Hserout

    Hi Les,
    Something very fishy is going on here....
    As per your advice I tried the following code:

    Case 1


    HSerOut ["%",status_reg,timerindex,zone,control,"#"]

    status_reg ,timerindex , zone...
  123. Re: Non-ASCII transmission through Hserout

    Thank you very much Les . This clears a lot of doubts.
  124. Re: Non-ASCII transmission through Hserout

    Thanks....I will try
  125. Non-ASCII transmission through Hserout

    Hi,
    I have a byte ' status_reg' that I need to transfer to another PIC without ASCII conversion.
    e.g
    HSerOut [ "%",Bin8 status_reg,"," ]
    While TXSTA.1=0 :Clrwdt: Wend

    This converts...
  126. Replies
    1
    Views
    173

    Re: MAX7219 random faults

    Hi Trevor,
    Instead of MAX7219 I use cascaded 4094's(8-bit shift registers) & I have never faced this problem. Maybe one reason is I refresh my display @ 100msec & keep the OE pins of the 4094...
  127. Re: Looking for someone to convert formula to excel / Google sheets

    Please mail me the details when you find time.
    I shall try to apply my head.....
  128. Re: Looking for someone to convert formula to excel / Google sheets

    Hi Tim,
    Interesting project.
    The days of my engineering college came rushing back where we had to write 4 papers on thermodynamics.
    Vaguely remember the calorimeter principle to measure steam...
  129. Re: Looking for someone to convert formula to excel / Google sheets

    Are you measuring pressure by means of steam tables?.........Temperature does not appear in your equation.

    We used to use differential pressure transmitters across the orifice plate to measure...
  130. Replies
    9
    Views
    530

    Re: Power bank as 5 Volt source

    Thanks Tumbleweed & George.
    The pull up voltage is not an issue since I am not connecting any USB device here........I am just the powerbank believe that an USB device has been connected .Still I...
  131. Replies
    9
    Views
    530

    Re: Power bank as 5 Volt source

    Hi Charlie,
    No powerbank is the battery powered device which is used to charge mobile phones.
    I came across some instances in the net where users have found that unless 50mA is extracted from the...
  132. Replies
    9
    Views
    530

    Power bank as 5 Volt source

    Hi,
    I think this has been attempted by many in the past.Its the first time for me......:disturbed:
    I just thought about using a powerbank powered PIC to transmit a motor RPM signal wirelessly to...
  133. Replies
    15
    Views
    752

    Re: Low cost touchscreen LCD module

    I am also keen on using a 8-bit device .......not keen on migrating to PIC 24 just for the sake of a display. I shall try with 18F25K22.
  134. Replies
    15
    Views
    752

    Re: Low cost touchscreen LCD module

    Thanks a ton Joseph.
    I shall definitely try one out.
    I often feel that we are one big extended family with only one big ambition.....DO SOMETHING CREATIVE!!!
  135. Replies
    15
    Views
    752

    Re: Low cost touchscreen LCD module

    Thanks everybody.
    The Nextion looks interesting but the examples show interface via ESP8266 with Raspberry Pi etc.
    Would it work with 8-bit PIC?
    The ILI9325 would work better ( I think) with 16...
  136. Replies
    15
    Views
    752

    Re: Low cost touchscreen LCD module

    Thanks Tim.
    Why do you think PIC18 cannot cope ?.......is it due to the RAM requirement or something else. Can a PIC18 with external I2C EEPROM help ?
  137. Replies
    15
    Views
    752

    Low cost touchscreen LCD module

    Hi,
    I am on the lookout for such a module that can easily interfaced with PIC & would have enough graphical library so that the PIC's resources are not sharked!!
    I got this which seems to be very...
  138. Replies
    11
    Views
    641

    Re: Visual Studio

    Hi Simon,
    I have used both VB6 & VB.net & I still cannot forget the selfless service that VB6 used to provide with its intuitive prompting. VB6 was a great language that died its natural death....
  139. [SOLVED !] Re: How to prevent NE556 from overheating?

    Really heartening to see folks still using 556 in this age of microcontrollers......attaboy!!!..feeling nostalgic!!...you have my blessings!!
    On a more serious note 125mA is impossible.....something...
  140. Re: Power switching through p-channel MOSFET

    Thanks Gamboa for the device part number ........ the specifications & price are just right !!
    Simon , you are right about the FET switches & it had indeed crossed my mind before . They consume much...
  141. Power switching through p-channel MOSFET

    Hi,
    I am designing a battery powered 8-channel load cell datalogger to be used in mines for roof cave-in detection.
    The load data would have to be time stamped & stored in a Micro SD.
    The scanning...
  142. Replies
    3
    Views
    462

    Re: Analog comparator on 16F88

    Hi Rick,
    To use the internal comparator reference your CMCON bits CM2:CM0 should be 010.
  143. Replies
    2
    Views
    344

    Re: DC/DC Converters

    Thanks Rick.
    I have contacted them & asked for samples......it seems that they have a distributor in India.
  144. Replies
    2
    Views
    344

    DC/DC Converters

    Hi,
    I am looking for very low cost 48V/24V and 48V/5V isolated DC/DC converters with PCB mountable footprint.
    Presently I am using 3Watt modules from mornsun
    Any suggestions?
    Thanks
  145. Re: New PIC16F15386 8 bit product family

    Hi Norm,
    Complimentary Waveform Generator (CWG) seems new........endless possibilities!!!
  146. Replies
    4
    Views
    323

    Re: Interfacing smoke detector

    Hi Rick,
    Thanks for the detailed info that you have posted.
    Yes , I am aware that the UL/FM certified sensors cannot normally be used without a certified control panel which validates the efficacy...
  147. Replies
    4
    Views
    323

    Re: Interfacing smoke detector

    Thanks Dave.
  148. Replies
    4
    Views
    323

    Interfacing smoke detector

    Hi,
    As you might be knowing smoke detectors come in great varieties .....ionization type , photo-sensor type , thermal type etc.

    I have a project where a conventional smoke sensor ( 2-wire...
  149. Re: OPA388 Precision, Zero-Drift, Zero-Crossover, True RRIO OpAmp

    Thanks Les....I am honored.:adoration:
  150. Replies
    11
    Views
    623

    Re: 0.1uF Required?

    Hi,
    Make sure to place the 0.1uF physically as close as possible to the Vdd & Vss pins of the PIC.
  151. Re: Very high precision heater element control

    Hi,
    Effective temperature of the air passing out of the nozzle would depend both on the rate of flow & the heat exchange rate....so for the same hot air gun being controlled through integral cycle...
  152. Re: OPA388 Precision, Zero-Drift, Zero-Crossover, True RRIO OpAmp

    Seems far better than Microchip MCP6002 as far as offset is concerned......
    TI/NS after all designed everything in the analog era which would keep them always a step ahead of other competitors ....
  153. Replies
    22
    Views
    1,958

    Re: My New PCB

    Hi,
    Nice layout indeed & best wishes for a smooth testing phase.:smile:
    Feeling nostalgic for those times when I used to do my own PCB artwork........the non-computer era PCB design with the inch...
  154. Re: ReRAM can now store and process data in the same chip

    I had heard about BBD chips but was never fortunate enough to work with them in the analog era.......I once assembled a guitar reverb unit using a spring small alnico magnets.....the sound quality...
  155. Replies
    7
    Views
    1,019

    Re: Driving LCD from 14-pin PIC

    It worked perfectly , Joseph.......thanks!!!
    Sorry for the 2 months gap......the project was being handled by my partner.
  156. Re: IoT Water sensor to measure Ph and Cl

    Whats 'Cl'? ......is it Chlorine level?
  157. Re: MicroSolutions Microchip Publication

    Interesting
  158. Replies
    16
    Views
    1,013

    Re: Reflecting sunlight automation

    Whew......an avalanche of ideas......just the reaction that you can expect from his erudite forum!!:tears_of_joy:
    Light pipe sounds good ......can be constructed with two prisms/mirrors in periscope...
  159. Replies
    16
    Views
    1,013

    Re: Reflecting sunlight automation

    That's nice.....with a calibrated system which tracks the motion of the sun from east to west.....
  160. Replies
    16
    Views
    1,013

    Re: Reflecting sunlight automation

    Something like a Radar?
  161. Replies
    16
    Views
    1,013

    Reflecting sunlight automation

    Hi,
    I envy all the folks out there who have a sunny garden & just have to water their plants to make them bloom.Poor me has a garden where the sun peeks for about 5 minutes everyday keeping my...
  162. Replies
    12
    Views
    2,062

    Re: Hard sums

    Hi George,
    The maximum frequency follows a linear law according to the classical algebric y=mx + c expression where m=16.36 , x is the working voltage considering the origin to be 2.0 Volts & 'c'...
  163. Replies
    17
    Views
    1,381

    Re: Dropping 24v AC to 12v

    Hi,
    I am using Mornsun DC/DC & AC/DC converters in bulk.
    Products are very reliable ,efficient & cheap( 5 USD approx.for all DC/DC models)
    You can just use a bridge rectifier + capacitor...
  164. Replies
    7
    Views
    1,019

    Re: Driving LCD from 14-pin PIC

    I shall let you know......presently out of office
  165. Replies
    7
    Views
    1,019

    Re: Driving LCD from 14-pin PIC

    Thanks Joseph.
    Yes serial LCD backpack is also an option.....but here I need to minimize component count.
  166. Replies
    7
    Views
    1,019

    Driving LCD from 14-pin PIC

    Hi,
    I need to use the print command in a 14-pin 16F676.
    It has only 2 ports both of which are 6-bits wide.
    So neither 4-bit nor 8-bit interface can be declared through the standard declares.
    Any...
  167. Re: Free means free, Powerbasic 9 is now free.

    Hi,
    I have a lot of old VB6 programs which have to be still maintained to keep the customer happy.
    Can these be ported to Powerbasic?
  168. Replies
    22
    Views
    1,847

    Re: Programming a PC serial port.

    Hi George,
    I have worked with MSComm_onComm() (VB6) , Serialport data received event(VB.net) & VISA serial port read( LabVIEW)............everywhere there is a latency in the windows response which...
  169. Replies
    1
    Views
    375

    Extra Licenses

    Hi,
    I need another dongle to be used in another of our offices.
    Does Crownhill provide any discounts to old-timers who have been actively advertising & supporting PDS for a long...
  170. Replies
    10
    Views
    1,099

    Re: 3V alphanumeric LCD

    Thank you very much for this info.
    I shall try to source this one locally.
  171. Replies
    10
    Views
    1,099

    Re: 3V alphanumeric LCD

    Thanks , but I was looking for something cheaper......the minimum price of the DOG series seem to be 14 Euro......in India we are getting standard HD 44780 based 16X2 alphanumeric displays at prices...
  172. Replies
    10
    Views
    1,099

    Re: 3V alphanumeric LCD

    Thanks for the replies.
    I will do a thorough search.
  173. Replies
    10
    Views
    1,099

    3V alphanumeric LCD

    Hi,
    I need to design a button cell operated(3V) module with a 8-pin PIC & a LCD to display certain analog values.
    Standard 2X16 alphanumeric are too big & need 5V supply.
    Are there any cheap 3V...
  174. Re: HRSout Even or Odd at execution time

    Set TXSTA.0 to the desired parity value & TXSTA.6=1 before executing Hrsout
  175. Re: Send array using HRSOUT with the "Str array\n" option

    Well.....I personally always use Hserout & when sending arrays I have never used a null termination character.
    Maybe null termination is important in dynamic arrays that are generated...
  176. Re: Send array using HRSOUT with the "Str array\n" option

    Hi George,
    I think Hserout & Hrsout does the same thing.......the reason of both being there is backward compatibility with some older version of the compiler.
    Null termination is relevant if you...
  177. Replies
    5
    Views
    830

    Re: 48V/5V DC-DC converter

    For the time being ( till my HV 9922 samples are delivered) , I am using a zener pre-regulator & a Mornsun part to generate an isolated source.

    Two 15V/1W zeners with six 100Ohms/1W resistances...
  178. Replies
    5
    Views
    830

    Re: 48V/5V DC-DC converter

    Hi Ken,
    My application draws power from 48V/600AH battery .......so the maxim 638 solution automatically becomes a no-go since I cannot use a zener with such a high power source as a pre-regulator....
  179. Replies
    5
    Views
    830

    Re: 48V/5V DC-DC converter

    Hi Rick,
    Sorry for the late reply.....that is indeed a very interesting chip.
    I shall try for a sample .....
    Thanks.
  180. Replies
    5
    Views
    830

    48V/5V DC-DC converter

    Hi,
    I have a requirement of 48V/5V conversion with a current requirement of 50mA.
    I got this from the net........https://www.maximintegrated.com/en/app-notes/index.mvp/id/427
    Has anybody worked...
  181. Replies
    11
    Views
    996

    Re: Free cooling

    :distress::culpability::surprise::beguiled:

    Not my fault.......copy/paste from pdf document has converted the degree symbol to 0.
  182. Replies
    11
    Views
    996

    Re: Free cooling

    Thanks Norm & rick.
    I am giving the specifications below:


    .
  183. Replies
    11
    Views
    996

    Re: Free cooling

    Thanks Norm.
    Do we need to have both force & exhaust fan to have a circulating effect when free cooling is on?
  184. Replies
    11
    Views
    996

    Re: Free cooling

    Thanks Les.

    Yes ....PID would definitely be an overkill in a situation like this......I use PID ( strictly speaking P&I only)in position control. The derivative is only required in rapidly...
  185. Replies
    11
    Views
    996

    Free cooling

    Hi,
    I have been approached by a communication company who installs mobile towers to develop a free cooling system for their control rooms. The control rooms are normally twin-AC cooled with a...
  186. Replies
    53
    Views
    3,700

    Re: Quiet on the forum

    Hi Les & all other kindred souls,

    Its lovely to hear the name of the great 8085 spoken with such a wistful and nostalgic ring.....it wrenches me back to 1987 when I designed my first 8-point...
  187. Re: New Wiki entry for interfacing to an ILI9325 Colour Graphic LCD

    Hi,
    The Micromite looks interesting.
    Whats the price of the package including 5" display?
  188. Replies
    3
    Views
    973

    Re: Hardware SPI - LSB first

    SPI transmission through hardware MSSP module is always MSB first.
    You can use Bitwise reverse by Var =Var @8 to reverse the order & then transmit
  189. Re: Virtual Instruments Improve Electronic Experimentation

    I am using Labview for all my SCADA needs.
    The basis of Labview is VI(virtual instrument)
    Graphical programming is a new concept that needs time to get used to.
    But Labview is expensive...
  190. Re: Shut down powering a device via supercap

    Hi Tim,
    I have used the attached circuit in the past with good results.
    As soon as HLVDIN detects the falling edge , the interrupt routine puts all the pins to input mode to save power & the...
  191. Re: please help a analogue challenged coder

    George,
    It should work with +5V also provided you do not exceed the pin current rating.
    Don't forget to put a freewheeling diode across the coil(preferably FR107 or UF4007 or 1N4148 all being...
  192. Re: please help a analogue challenged coder

    Hi George,
    Why don't you directly connect the relay coil to the PIC port & pull up the other end to 3.3V. Let the port be configured as digital input by default. Whenever you need to energise the...
  193. Re: Noise on embedded op-amps and FVR

    Les is very right about the decoupling.......even if you are using a 100nF + 100 mfd on the +5 V bus , make sure that a 100nF is soldered across the power supply pins of the PIC......a small thing...
  194. Replies
    3
    Views
    888

    Re: HV9805 mains to LED driver

    Thanks.
    The Microchip DALI application note is very informative.
  195. Replies
    3
    Views
    888

    Re: HV9805 mains to LED driver

    Hi Norm,
    Recently came across some applications involving dimmaable LED's.
    Does microchip have any dimmable drivers with , say , RS485 port?
  196. Re: The Art of Electronics new 3rd Edition

    Amazon price being $100 + ........$10.00 indeed seems a bit fishy.
    On a different note ,I can't really remember when I last picked up a printed book on electronics
  197. Re: read tmr1 value in tmmr0 interupt?

    Hi,
    Just came across this thread.....
    What are the frequencies of the interrupts TMR0 & TMR1?
    If they are too fast then the Print command would not be able to keep up the pace since the LCD...
  198. Replies
    29
    Views
    4,134

    Re: Pulsein minimum value

    Hi John,
    From the description of your hardware it would seem that using interrupts would be a better solution in all respects.
    Though , apparently the 0.125 microsec instruction cycle for a 32MHz...
  199. Replies
    51
    Views
    6,993

    [SOLVED !] Re: Button Debounce

    My usual method is to employ a 500 msec timer based interrupt....this works best for keyboard(Specially INR/DCR) kind of operation:


    On_Hardware_Interrupt GoTo int_routine


    int_routine: ...
  200. Replies
    16
    Views
    1,895

    Re: Level shifting opamp

    Hi Tim,
    There is no workaround the classical OP-AMP based adder circuit using an inverting amplifier.
    If you have a +5V supply then use a ICL 7660 to generate -5V from +5V & then use an adder...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4