Search Results - Proton BASIC community web site


Search:

Type: Posts; User: Tim

Page 1 of 5 1 2 3 4

Search: Search took 0.18 seconds.

  1. Thread: GLCD editing tools

    by Tim
    Replies
    4
    Views
    74

    GLCD editing tools

    Hi people, hope your all fit and well

    I'm about to start on coding the front end for a product that uses a GLCD 128 x 128 monocolour display

    I'm looking for recommendations on what tools to use...
  2. Replies
    16
    Views
    453

    Re: How to replace another value without flicker

    CLS is time consuming and only needed at the beginning of your code unless you need to clear all the screen

    Do not print every 150ms (1 second is 1000ms) 2 - 3 hz is max eg 500ms - 330ms

    If you...
  3. Replies
    16
    Views
    453

    Re: How to replace another value without flicker

    Can you clarify your code please?

    What do you mean by "If Print At 1,1, "Motor Control..... "

    You cannot test a print statement
  4. Replies
    9
    Views
    338

    Re: USB Help please from the boffins

    I would recommend you use a stencil and a toaster oven. I have a really old one under the bench and while its not ideal it always works.

    The problem I had was rectifying a schematic error. The...
  5. Replies
    9
    Views
    338

    Re: USB Help please from the boffins

    Ok Its fixed

    I had a short on VUSB. Did I tell you I hate SMD soldering?

    Tim
  6. Replies
    9
    Views
    338

    Re: USB Help please from the boffins

    Hi See_Mos

    Yes that's my thought. I'm going to remove it and test. I will post the schematic. I did read a Mchip dev note on using the chip and said that ESD capacitance can be an issue and inline...
  7. Replies
    9
    Views
    338

    Re: USB Help please from the boffins

    The annoying thing is I sold 1k's of devices using the 14k50. I think its the board but no idea what the is issue.
  8. Replies
    9
    Views
    338

    USB Help please from the boffins

    Hi,

    Working on a new USB project and the after building the board ( My eyes are not up to it these days) I programed it with the blinking led test for USB the mouse demo. No go, it failed to...
  9. Re: Is there a compatible bootloader for the Pic18F25k22?

    Many thanks

    All up and running now

    Tim
  10. Thread: PICkit plus

    by Tim
    Replies
    13
    Views
    504

    Re: PICkit plus

    I'm very happy with Pickit+ Many thanks to Evan and team.
  11. Replies
    34
    Views
    1,435

    Re: Positron and Positron16 dev boards

    CH340G

    https://lcsc.com/product-detail/USB-ICs_WCH-Jiangsu-Qin-Heng-CH340G_C14267.html


    Down to $0.24 in volume
  12. Replies
    11
    Views
    533

    Re: Clock frequency in SPI communication

    Dim MISO_Pin As GPIO.3 ' Connects to
    Dim MOSI_Pin As GPIO.2 ' Connects to

    Dim...
  13. Is there a compatible bootloader for the Pic18F25k22?

    I swapped out the 18f25k20 for the 18f25k22 as I need 5v compatability

    Is there a compatible bootloader around? Either Using Les's one or Daves.


    Thanks

    Tim
  14. Replies
    11
    Views
    533

    Re: Clock frequency in SPI communication

    Really its just roll your own

    Most of my code uses hand coded spi so its just a change in delays

    I can post one if it helps
  15. Replies
    5
    Views
    167

    Re: Any tips on getting a i2c 16x2 lcd working?

    Ok its working now.

    I needed 5v and to change the value in I2CPrint_Control to %01110000
    I2CPrint_Control = %01110000

    I was informed of that by a friend.

    Also contrast is...
  16. Replies
    5
    Views
    167

    Re: Any tips on getting a i2c 16x2 lcd working?

    Not sure on the supply voltage now. Putting 5v in and adjusting the contrast makes the grid visible. However not keen to put the lines to the pic on as there may be pull ups on the LCD board that...
  17. Thread: Button, some test.

    by Tim
    Replies
    4
    Views
    311

    Re: Button, some test.

    Hi

    What you will find with proton is that the code is so tight there really is no need to drop to asm unless its just for a tiny delay like NOP.
    If you want to capture all the lines then just...
  18. Replies
    5
    Views
    167

    Any tips on getting a i2c 16x2 lcd working?

    Hi I have a need to use an i2c lcd based on the PCF8574. I'm using George Towler's routines I2CPrintSoftCommand.Inc

    I have it running in a VSM OK.

    The board is a Amicus18 at 64mhz and that...
  19. Replies
    2
    Views
    116

    Re: Amicus Bootloader hex (again)

    Great! Thanks

    Now to try it...
  20. Replies
    2
    Views
    116

    Amicus Bootloader hex (again)

    Hello, hope your all well.

    I'm looking again for the hex for the bootloader for an amicus18 board.

    I dug out an old test rig I wanted to modify and found it had a amicus18 board on it. However...
  21. Thread: Button, some test.

    by Tim
    Replies
    4
    Views
    311

    Re: Button, some test.

    Hi,

    Unless you have nothing to do in your code waiting on a button in single loop is a waste of time. IMHO :friendly_wink:

    The way I handle it is either pass the button press detection of to an...
  22. Replies
    34
    Views
    1,435

    Re: Positron and Positron16 dev boards

    Try here

    https://csd-electronics.de/advanced_search_result.php?keywords=CH340G
  23. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi David

    As you said you wanted to be kept informed. I redesigned the water feed entry system that feeds the tube I'm measuring. Today I received the 3d printed part and rigged it up.

    It works...
  24. Replies
    4
    Views
    386

    Re: Code memory read write without a label

    Hi

    If I have what you want right

    Decide on the location you want the data to be. To do that you use "Org" eg
    Org $4000

    Then Just reference the data table in your code

    Another tidier...
  25. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi David

    Not sure what you mean from the side. The tube has 2 ends, top and bottom. Bottom means bubbles have to rise up the column. The top is a complex issue. Far to complex to talk about here....
  26. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hello David

    If you have a float it will stick to the sides of the tube, Surface tension is a very strong at the size I work at. In mine however the water flows in from the top, so I tried a hard...
  27. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi David

    "So is the main problem the camera picking up a higher bubble on a few video lines before the main pulse (miniscus) ?" Exactly

    As for scanning up. You could do but then you get issues...
  28. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi David

    As you point out comparator is set to trigger on about 0.6v and there will be CPU auto adjustment to enable the setting.

    Yes it is the bubbles that are causing the issue. As in my...
  29. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    David

    Let's look at what will happen when you use a timer to look at the signal and use say an interrupt to trigger it. We have a number of bubbles as in the picture especially where the line is I...
  30. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi David

    I think its DC coupled as I see no - component on the scope. It is a cheap FP drone camera. Very happy with its performance so far.

    Thanks on the cap type. I will use that. Not sure I...
  31. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi, thanks everyone who answered.

    Here I will try and describe the issue.
    If you have been following the water level problem you will know it has been perplexing me for a long time.

    I need at...
  32. Replies
    30
    Views
    753

    Re: Pulse width detection circuit

    Hi,

    I wrote code to run in a loop and at got counts of around 28. I could use a timer/CCP and that would improve the resolution. But if say the pulse is not 100 complete and I get a spike at the...
  33. Replies
    30
    Views
    753

    Pulse width detection circuit

    Hello people.

    I hope your all safe and not gone completely stir crazy.

    I want to measure the width of a pulse. Its around 8us long. I actually am not really that bothered about knowing the...
  34. Replies
    14
    Views
    642

    Re: One button power ON/OFF question

    Looking at the MCP1640D is great but I have a number of parts hanging of the 3.3v rail as well. EG PT100 convertors, LCD, RF device. Not sure the part savings by going for the MCP device over a...
  35. Replies
    14
    Views
    642

    Re: One button power ON/OFF question

    Thanks Barak

    I will check that part out.

    Tim
  36. Replies
    14
    Views
    642

    Re: One button power ON/OFF question

    Hmm

    The device I was thinking of was a PIC18F26Q10 which will work down to 1.8v. However the rest of the parts need 3.3v and the case has only 2AA batteries so a step up is needed. I will look to...
  37. Replies
    14
    Views
    642

    Re: One button power ON/OFF question

    Hi Les

    When I did this in the past the power on delay was done by the main CPU. As it can monitor the button, on power up it first latches its power on, then monitors the button, if its not on for...
  38. Replies
    14
    Views
    642

    Re: One button power ON/OFF question

    Hi,

    Ok my memory returned at least for a short period. The diode system in the VSM works and the only issue perhaps is leakage through the pullups to the pic input pins. The system is battery...
  39. Replies
    14
    Views
    642

    Re: One button power ON/OFF question

    Hi

    The power control is not the issue. It is the feedback to the MCU that the button is being pressed that I'm having a problem with.

    Thanks

    Tim
  40. Replies
    14
    Views
    642

    One button power ON/OFF question

    Hi, I hope you are all well.

    I want to make an power button to power on a battery driven device. The basics are simple. Button pulling a Mosfet down to switch it and hence the CPU. CPU powers up...
  41. Replies
    0
    Views
    151

    BNF file for PIC16F1823

    Hi,

    Does anyone have the BNF file for the PIC16F1823?

    I tried downloading the BNF creator but the link is not working also as an aside the PDF now tool it recommends cannot pull the PDF...
  42. Replies
    7
    Views
    494

    Re: Sleep and how to use it

    Hi,

    Thanks. The snippets are always welcome, I often do a search and find them enabling me to get my coding done quicker.

    Tim
  43. Replies
    7
    Views
    494

    Re: Sleep and how to use it

    Hi, Thanks SimonJA

    I understand now. I made the changes and it still failed however this I just found is due to a bug in my very old version the VSM I'm using that was fixed post my version.
    ...
  44. Replies
    7
    Views
    494

    Sleep and how to use it

    Hi,

    I need to save power in a device (16f1823) so thought, sleep a lot.

    But I never really used the command before. Reading the data sheet I cannot use an interrupt to wake me, eg a rolling...
  45. Re: error: too many system variables: 80 available. 84 used.

    Do you have any interrupt routines?
  46. Thread: Virtual Port

    by Tim
    Replies
    6
    Views
    472

    Re: Virtual Port

    There is no way to get Proton to do that automatically. You would need to make a sub to do the bit settings

    Sub PortX.......

    PortB.7 = PortX.0
    PortC.0 = PortX.1


    Then call it PortX(255)
  47. Replies
    7
    Views
    624

    Re: Preventing a byte rollover

    Hi,

    If you want to do PID then keep your control variables separate from the values your using in TMR0. TMR0 is really level and you really need an interface between your pid code an reloading...
  48. Replies
    7
    Views
    624

    Re: Preventing a byte rollover

    Hi

    First off why are you using a signed byte for this?

    To use a tmr as a timer you work out the number of counts you want the timer to take. Then take it away from the tmr max val eg an 8 bit...
  49. Replies
    15
    Views
    582

    Re: Very low illumination led strip

    Hi,

    So a little good news. I changed my code to actually adjust the right regs. Now the led is OK at its lowest and rises in acceptable steps upwards. So if I combine it with a reduced voltage to...
  50. Replies
    15
    Views
    582

    Re: Very low illumination led strip

    Hello David

    The led is a standard 12v LED strip. It has LED's at pretty close centers to make the light as even as possible.

    If I use a power supply to reduce the brightness it does not get low...
  51. Replies
    15
    Views
    582

    Re: Very low illumination led strip

    Hi David

    You are 100% right on the real issue is the automatic exposure adjustment on the camera. And yes it gets very grainy but that is not an issue. What I want is a base level black and an...
  52. Replies
    15
    Views
    582

    Re: Very low illumination led strip

    Hi Les

    I had looked at EL lighting but then worried about the life of the devices. But then I was thinking of permanently on. Now I'm dropping a 100% duty device as there are other issues. BTW I...
  53. Replies
    15
    Views
    582

    Re: Very low illumination led strip

    Thanks David

    I found that the what I had suddenly is not working. When I ran a simple bit of code where the duty cycle was 100us off 1us on you could see the leds glowing dimly

    So altered the...
  54. Replies
    15
    Views
    582

    Re: Very low illumination led strip

    Hi, to answer my own question. Yes it works. I found an old board with a Mfet for an LED strip and made a small loop at at 16mhz with a 1 -100 duty cycle it was just about perfect. Perhaps increase...
  55. Replies
    15
    Views
    582

    Very low illumination led strip

    Hi,

    I need a backlight on an apparatus that needs to be super dim. It needs to be a multi LED strip. Current or voltage limiting does not work as it still produces too much light even just before...
  56. Replies
    6
    Views
    425

    Re: pre-processor and strings

    Can you expand on what you want your string to contain? How the length info would be used?

    Thanks

    Tim
  57. Replies
    17
    Views
    913

    Re: Why would anybody buy anything from Apple.

    I decided never to buy Apple after they forced you to instal itunes with quickplay to view a video on the BBC website 10 years+ back.

    Watch any of the repair videos and see the way crapple go out...
  58. Replies
    142
    Views
    4,453

    Re: Les's ILI9325 Wiki code

    Hi flosigud

    Thanks a million, I have a project coming up that needs an LCD, this will help so much.

    Tim
  59. Thread: Read HX711

    by Tim
    Replies
    25
    Views
    9,722

    Re: Read HX711

    Yes your right

    Here is the data sheet

    https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/hx711_english.pdf

    I purchased a module that has a can over the converter No idea if it will help...
  60. Thread: Read HX711

    by Tim
    Replies
    25
    Views
    9,722

    Re: Read HX711

    Hi George

    Pretty certain it is SPI although it does not seem to have CS

    Tim
  61. Thread: Read HX711

    by Tim
    Replies
    25
    Views
    9,722

    Re: Read HX711

    Thanks joesaliba


    I need 0.1 gram over 2kg There are technique's to stabilise the reading, eg once it has evened out for a couple of seconds require a big change before updating the reading.
    ...
  62. Thread: Read HX711

    by Tim
    Replies
    25
    Views
    9,722

    Re: Read HX711

    Hi basparky

    Sorry know this is a really old thread. I just wondered how accurate the HX711 is? I need 0.1g over 2Kg. Is it capable of that?

    Thanks
  63. Replies
    9
    Views
    523

    Re: RF modules recomendations?

    Thanks Les

    They look better and compatible in the USA I think.
  64. Replies
    9
    Views
    523

    Re: RF modules recomendations?

    Thanks

    Looks perfect :)

    Tim
  65. Replies
    9
    Views
    523

    RF modules recomendations?

    Hi,

    I'm looking at new product. It involves a hand held temp meter/indicator talking to base unit. Now I could use a cable but thinking about the distance involved some cases it would be a pain....
  66. Replies
    10
    Views
    618

    Re: 12 to 24v step up efficency

    Since a few people seem interested I thought I would explain more how it will work.



    The basics are that to take a clean steam condensate sample you need to use 316L tubing for the cooling tube...
  67. Replies
    4
    Views
    512

    Re: Typical flat BASIC Program Layout

    How exactly you lay it out it is of personal preference but the basics are you need to declare the variable, constant, register etc before you use them. Not 100% on declares.

    eg

    Reg info...
  68. Replies
    10
    Views
    618

    Re: 12 to 24v step up efficency

    Hi

    Thanks for the info it puts my mind at ease. The step up is nothing special it's like the one below. It's a little bulky. I'm going to test it running at 12v first to see if it can shift enough...
  69. Replies
    10
    Views
    618

    Re: 12 to 24v step up efficency

    Hi David

    The pump is a submersible type so has a magnetic core. The pump comes in 2 voltages 12 and 24 but I think they are identical its just at 24v there is a higher output. That is why I want...
  70. Replies
    10
    Views
    618

    12 to 24v step up efficency

    Hello people

    Quick question, I need a 12v to 24v step up. So I purchased one, It claims 90% efficiency. Great! It arrived and on testing it works as expected but its not what I would call...
  71. Re: PIC18F24Q10 interrupt serial routine with terminator

    Hi Looks really useful. Thanks for posting. Can I just recommend you add in a catch for buffer overrun. Its just a couple of lines of code but is 100% worth it.

    Usart_Int:
    If OERR = 1 Then...
  72. Replies
    5
    Views
    466

    Re: Ad blocker is off but forum thinks it's on

    I'm not seeing the same issue. Ad blocker off and no warnings.
  73. Replies
    2
    Views
    625

    Re: Message Regarding Adverts

    Can I make a contribution to keep the forum going. It will in anyway make big dent in the costs but if it keeps it running for a couple of weeks it would I hope help.
  74. Replies
    12
    Views
    846

    Re: Phase offseting PWM to prevent noise on fans

    Hi,

    I put a scope on the test rig I use to test my boards and ancillaries and looked at the 12V line. I was getting 200mv ripple. You could see the bounce on the wave as the PWM was triggered. ...
  75. Replies
    3
    Views
    431

    Re: Mosfet protection diode for a pump?

    Thanks all

    Will add the diode

    Tim
  76. Replies
    3
    Views
    431

    Mosfet protection diode for a pump?

    Hi,

    I need to turn on and off a pump. 12v 300ma. Do I need a protection diode on the mosfet? Solenoids etc I add them. Not sure about pumps though.

    Thanks

    Tim
  77. Replies
    12
    Views
    846

    Re: Phase offseting PWM to prevent noise on fans

    Thanks everyone

    Looking at the delay chips they seem to have short delays in the ns range. I need around 8 ms. Another issue is I need different delays. 8ms, 16ms, 24ms etc one for each fan.
    ...
  78. Replies
    12
    Views
    846

    Re: Phase offseting PWM to prevent noise on fans

    Hi Les

    The Freq is 20khz. Also I do not have 5 extra spare pins to drive the fans. I have one line and want to introduce a delay in that line to 5 take offs.

    Tim
  79. Replies
    12
    Views
    846

    Phase offseting PWM to prevent noise on fans

    Ok it was a odd title but it describes my issue.

    I have 6 high power 12v fans that can pull up to 2.4amps. They are controlled via a PWM signal that even at the highest level is still a PWM it...
  80. Thread: Fusion 360

    by Tim
    Replies
    20
    Views
    989

    Re: Fusion 360

    Thanks Simon

    I will check them out.

    Tim
  81. Thread: Fusion 360

    by Tim
    Replies
    20
    Views
    989

    Re: Fusion 360

    Welcome to the world of eye watering service contracts.

    I used to pay several firms 200 each for cad etc updates. No longer.

    As an aside try renting welding gas supplies. Argon refill >80 on...
  82. Replies
    20
    Views
    1,689

    Re: Playing with Procedures

    From the little I know by talking to someone who wrote a compiler that handles "proper" procedures and local variables.

    The compiler has to follow the paths of calls etc to see if a variable is...
  83. Re: HISPEED SERIAL BACKPACK Need help/Recommendations

    For the sake of a couple of lines of code you prevent a once in 100000 occurrence which in practice will happen a lot more often. If you sell a product one failure will make you regret not adding it.
  84. Re: HISPEED SERIAL BACKPACK Need help/Recommendations

    I note that you have no error handling in the Int routine.

    No matter what you do, you have to check for buffer over run and clear it.

    First line in my usart interrupt is always

    If OERR = 1...
  85. Re: HISPEED SERIAL BACKPACK Need help/Recommendations

    Thinking about this. You are using interrupts to RX the data and the pic is ignoring data sent to it then I would say something is not right in the initialization of the USART. I have not looked...
  86. Replies
    34
    Views
    1,540

    Re: New Prusa mini 3D printer

    Hi George

    I really try hard not to spend money on stuff I will not get value from. That said I have a lot of parts I never used but they are R/D kit like demo boards and sensors.

    The main...
  87. Replies
    34
    Views
    1,540

    Re: New Prusa mini 3D printer

    That looks like it is the product that will finally get me into 3d printing.
  88. Thread: SMS Number Save

    by Tim
    Replies
    19
    Views
    1,668

    Re: SMS Number Save

    Can you clarify the bit "I am not sure how to make the contents of a string variable into text"

    A string is ascii eg text

    Tim
  89. Replies
    12
    Views
    3,561

    Re: Anybody used the ADS1115 16bit A/D?

    Hi Joseph

    I will have to hunt through my code and memory to figure out what I was using it for so I can see what I have in code.

    Tim
  90. Replies
    142
    Views
    4,453

    Re: Les's ILI9325 Wiki code

    Sorry I have not double checked but does the ILI9325 use the parallel lines or spi? I want fastest transfer rates as possible

    Thanks

    Tim
  91. Replies
    9
    Views
    345

    Re: Pic to pic connections

    Hi David

    Yes I could scan less frames, but there is the issue of coms still. I do not want to be disturbed by an interrupt asking me to reply on SPI. Sure if there was a cost implication I could...
  92. Replies
    9
    Views
    345

    Re: Pic to pic connections

    If you look at the code Proton produces its as good as it gets. I cannot write better ASM. There is no optimization to be had.

    Pic 1 is constantly reading data from another device. That devices...
  93. Replies
    9
    Views
    345

    Re: Pic to pic connections

    Thanks Rick

    Yes it is parallel coms and it is only one way eg Pic 1 out. I need to spend as little time as possible on Pic 1 communicating data.
    I was thinking about adding another pin to say...
  94. Replies
    9
    Views
    345

    Pic to pic connections

    Hi,

    I have a need for one pic to talk to another pic. Simple right SPI, rs232 the protocols are endless. However in my case there is an issue

    Pic 1 is busy, I mean real busy. 64mhz busy. Sure...
  95. Re: LM1881 How to detect the start of a new video frame?

    Hi

    I connected the board up and looked at the signals being generated Pictures below

    The Vsync generates a signal as per the Lm1881 sheet but it generates a number of them in another place as...
  96. LM1881 How to detect the start of a new video frame?

    Hi


    I'm working on a project that will use the LM1881 sync separator. One of the tasks I need to do is count the horizontal lines to know what line I'm on.
    There is a signal generated for every...
  97. Re: Individual power supply smoothing or a dedicated board

    Thanks every one

    The fans are 12v DC Brushless. They can draw up to 2.4 amps each. As can be seen from this AN doc...
  98. Individual power supply smoothing or a dedicated board

    Hi,

    I have a system that powers a number of high power fans at 12v and PWM's them to control the speed.
    The fans run at 12v, the incoming voltage. All that high current fan driving makes noise...
  99. Replies
    9
    Views
    348

    Re: CWRITE and 18F25K50

    Hi,

    Cwrite needs 2 things to work properly

    1 The start address has to be on the right boundary address
    2 You have to write all X bytes or the final section of code to instigate the actual...
  100. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Steve

    I was thinking about the whole system and figured that I could build it nearly all from discrete components

    Basically wire up the line sync to the clock of a bin counter and the frame...
  101. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi See Mos

    I agree I really need to amp the signal. I ran a sim and my results were much like yours but the decay was longer. The signal showed I sample just at the end of where the large section...
  102. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Rick

    The issue with those devices is the need for a lens. The camera I'm looking at comes with many types of lenses. I'm going for a 62 deg as my maths shows that will be enough. The other...
  103. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Steve

    The timing is not an issue as I see it. Wait for the line sync signal (rising edge) then set a timer of just a delay (were talking approx 25us to get to the area I'm interested in....
  104. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi,

    Yes tried it. I have tried just about everything. I have draw full of demo cards for chips.

    The optical camera system I see as the simplest and most reliable.
  105. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Steve

    The shield enables you to use the lm1881 to get the sync signals from the video so you can time driving a digital signal into the video output.

    I can use this function to establish my...
  106. Replies
    23
    Views
    477

    Re: Pal signal sampling

    I found a shield that enables you to use overlays and considering you can place pixels on the screen to the accuracy I need I see no issue why I cannot sample the video signal at the same point.
    ...
  107. Replies
    11
    Views
    316

    Re: Current thinking on USB bootloader

    Hi Steve

    Does your PC go dong when you connect? And can be seen under system? if so then we can get the rest going without to much issue. What pic did you use in the end?

    Tim
  108. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Steven

    That would work. I would need to count the lines but the LM1881 or its newer brother can provide the signals to help with that.

    I could though use an A/D to do the job instead of a...
  109. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Steve

    I think speed will not be the main issue apart from servicing the coms I have. Although I could just send it via usart with no real overheads.

    My issue with Pal no is can I get the...
  110. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Thanks Ken

    That chip will be very handy. All the signals I need.

    Tim
  111. Replies
    23
    Views
    477

    Re: Pal signal sampling

    Hi Dave

    I'm looking at around 80 - 100 mm with a resolution of < 1mm.

    I have tried a pressure sensor in the past but found that just sitting on the table doing nothing the drift was way to...
  112. Replies
    23
    Views
    477

    Re: Pal signal sampling

    I forgot to say the reason I'm looking more at the pal over the OV is that I can see the results better with the pal as I can view it with a monitor and converter.

    In reality the OV2640 gives me...
  113. Replies
    23
    Views
    477

    Pal signal sampling

    Hi,

    On my many years long quest to solve a problem I'm looking at now sampling a Pal signal.

    First off big thanks to Norm for his help so far. :) I lot of these ideas I got from him and now...
  114. Replies
    11
    Views
    316

    Re: Current thinking on USB bootloader

    Is that the original usb loader?
  115. Re: Looking to commission some code to interface to OV2640 or OV7670 camera module

    Hello Normet

    Any code I'm happy to pay for. At the moment I have an OV2640 module on the way but after checking out dimensions think a OV7670 camera on its own that I will build onto my board...
  116. Looking to commission some code to interface to OV2640 or OV7670 camera module

    Hello people.

    Does anyone know of someone who I can commission to write some basic code to talk to the OV2640 or OV7670 camera module.

    There is Arduino code out there but I'm looking for it in...
  117. Replies
    9
    Views
    389

    Re: Using procedures, best practices

    Hi

    From my very little experience with procedures the biggest issue is with the 32 char limit on variable names. But that would not be the issue here.

    I cannot see why it does not work. The...
  118. Replies
    11
    Views
    316

    Re: Current thinking on USB bootloader

    Hi See_Mos

    I have bootloader code your welcome to. It runs on later versions of the compiler. Unlike the published version. The PC application of the original on the wiki will be compatible. I...
  119. Replies
    18
    Views
    502

    Re: Thermistor Steinhart-Hart linearisation procedure for Proton BASIC

    Hi See_Mos

    I did the maths and yup it looks good. I can set the Internal Vref to 4.2v and that gives me the best range and resolution.

    Many thanks it looks doable!

    Tim
  120. Replies
    18
    Views
    502

    Re: Thermistor Steinhart-Hart linearisation procedure for Proton BASIC

    Hi

    I have that part already. The problem I'm worried about is when I run a sim in Labcenter with a 100k PTC device and a 100k on the other side in the divider and look at the voltage ranges I get...
  121. Replies
    10
    Views
    306

    Re: Stand alone magnifier

    I'm Dyslexic, Google spell checking works for me. If that fails to do the job properly I do not care. Life's too short to worry about typos.
  122. Replies
    18
    Views
    502

    Re: Thermistor Steinhart-Hart linearisation procedure for Proton BASIC

    Thanks Les

    One thing looking at the parts and doing a sim or 2. I need an amplifier to get a usable signal. 10 bits over 0-5v with the signal only covering 1v in range is not an option.


    Tim
  123. Replies
    10
    Views
    306

    Re: Stand alone magnifier

    I purchased one following seeing this thread. Did my first soldering job with it.

    My thoughts

    1 Overhead illumination is not perfect, so when I find a torch going to try what Les recommended...
  124. Replies
    18
    Views
    502

    Re: Temperature sensing 100-160c

    Thanks Les

    They are the ones I have been looking at on the Farnell site. The data sheet I have been looking at has data for me to generate a lookup table.

    They are coming in around 3 so that's...
  125. Replies
    18
    Views
    502

    Re: Temperature sensing 100-160c

    Ken

    As I said in my first post I am using a RTD already, I need a very simple sensor to just get a ballpark temp.

    normnet

    Thermocouples need a stable cold junction temperature, as I said to...
  126. Replies
    18
    Views
    502

    Re: Temperature sensing 100-160c

    Thanks...

    Devices like that have their own temperature limitations in that they cannot get hot. I'm working mm from a part that is 150oc and it needs to be keep hot by insulation so having holes...
  127. Replies
    18
    Views
    502

    Temperature sensing 100-160c

    Hi,

    On a project I have a platinum temperature sensor circuit for fine resolution temperature sensing but I also want a basic temp sensor to monitor a parts temperature. I use the chip type in...
  128. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    I still have code from 2010 that I use the compiler from then to maintain. Code size is one of the reasons I have to use that original compiler.

    It is normal though every compiler has the same...
  129. Replies
    2
    Views
    183

    Re: Driver for SSD1289 for Pic 24/32 in Proton

    Just to add that I could use this device ILI9341 Like in this device Here
  130. Replies
    2
    Views
    183

    Driver for SSD1289 for Pic 24/32 in Proton

    Hi,

    Before I commission someone to write a driver for me is there a .inc file for the SSD1289 TFT screen. Like this one https://www.sainsmart.com/products/3-2-tft-lcd-touch-screen-with-sd-slot
    ...
  131. Replies
    11
    Views
    299

    Re: Setting the A/D range to 1Volt range

    Thanks all,

    After some checking I find I need to read 20-24 of the sensors. So having an op amp for each is not really ideal.

    Stephen Moss I think you have the solution. I will check that out....
  132. Replies
    11
    Views
    299

    Setting the A/D range to 1Volt range

    Hello..

    I'm reading a hall effect sensor and it is producing a range of 2-3v as an output signal. It has a steady state of 2.5v and deviates +/- depending of the position of the polls I know I...
  133. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    That would a great solution. But "400-700nm wavelength range " rules out the 940nm IR I'm using.
  134. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Hi Les

    There is no flow meter that costs less than 900 that can measure to the accuracy.

    I need to accurately measure to 0.1ml accuracy in the range 0-9ml

    Tim
  135. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Shantanu

    It looks like you have not been following this fully :)

    The idea is to create a flood of ir light on one side. The sensors are pressed up against the tube and will unless the IR can go...
  136. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Hi

    I and others have shown that the system works well and the important settings are the feed resistor on the sensor and the power of the ir output. Too much IR is the main problem seen so far.
    ...
  137. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Hello Shantanu

    It's not HVAC is for use with purified water (WFI standard) so pure it's corrosive!

    But staining of the glass is something I'm thinking about.

    I spoke to a friend of mine...
  138. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Hi Les

    Note I'm driving 16 leds


    This is a long running project I need to measure the height of water in a tube to ~1 mm resolution. So I have 96 ir sensors stacked 0.8mm apart. On one side of...
  139. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Hi Les

    Good point. I aim to scan the 96 inputs at 20hz with say a 10 over scan for averaging.

    So that's 960 x 20 so that's a 19,200 adc samples a second. The cap filter should be faster than...
  140. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    Thanks Stephan

    The system I'm building is a bank of 96 ir receivers multiplexed through to a pic ADC pin. The Ir leds will flood the ir receivers that lie around 20 mm away. As water rises up a...
  141. Replies
    21
    Views
    411

    Re: 16 leds to drive, how?

    The one thing I forgot to mention is they are Ir leds and I'm using them to supply a backlight to measure the drop through water. So they need to be constant current. No PWM as that will give timing...
  142. Replies
    21
    Views
    411

    16 leds to drive, how?

    Hi,

    I have 16 ir leds to drive. The issue is I want as part of the development to have a adjustment of the brightness as I could flood the receivers.

    The part is...
  143. Replies
    15
    Views
    361

    Re: Changing EDA software

    What I can do is swap licenses. When running a VSM swap back to my old licence and run in 7.1. It is just a min in licence manager.
  144. Replies
    1
    Views
    96

    Re: Many, many thanks Tim

    Hi Les

    That's really good of you to say so here. In reality I'm using you as a dumping ground for my build up of comps from old projects. ;)

    If you want a few large steppers I can send them up...
  145. Replies
    15
    Views
    361

    Re: Changing EDA software

    Ref EDA

    Just spoken to Labcenter and its not good.

    I have to either pay 700+ to update my licence to the latest version inc VSM support or 295 for the PCB stuff and lose my VSM. I was hoping...
  146. Replies
    15
    Views
    361

    Re: Changing EDA software

    Hi Ricardo

    Yup exactly same including the opto sensor. Hmm your not working for a rival company are you ;)

    I see you are using 2 resistors per opto they must be tiny 0405? What wiring did you...
  147. Replies
    15
    Views
    361

    Re: Changing EDA software

    Hi, Thanks everyone for your input

    I have now ruled out KiCad as I just could not get on with it.

    Ricardo that really nice of you to offer. The thing is that the pcb is a pain, not because it...
  148. Replies
    15
    Views
    361

    Changing EDA software

    I forever have used Labcenter Proteus. But my licence is old and limited to 500 nets. I need 600 on a current job so my options are

    1 Buy a newer version 295 (absolute basic)
    2 Learn something...
  149. Replies
    20
    Views
    497

    Re: Use of the Proton 3.7.0.3 version

    Hi,

    Late in on this. I want to pay whatever is needed. Not 100% sure how.
  150. Replies
    0
    Views
    99

    Software validationeseem

    Hi,

    I provide products to a industry that has a few regulations. I do not suffer much now from them as I provide equipment that is more plumbing and just conforms to one of the regs. I supply what...
  151. Thread: Vl6180x

    by Tim
    Replies
    8
    Views
    263

    Re: Vl6180x

    Hi Les

    In one of the box's I'm going to send you this week there is a VL6180 deve board in there.
  152. Replies
    19
    Views
    349

    Re: Diffuser IR Leds (how)

    Hi Craig

    IR sensors work, I have used them detecting water in a pipe. Admittedly the pipe was 6mm not 13mm but it worked. An LDR is not know to work and covers 10x the area I need to detect. It...
  153. Replies
    19
    Views
    349

    Re: Diffuser IR Leds (how)

    I'm not worried about the surface tension. I will be only measuring in the middle.
  154. Replies
    19
    Views
    349

    Re: Diffuser IR Leds (how)

    Hi Les

    No Acrylic involved in the diffuser.

    Below is picture of the tube backlit by an led strip they are around 15mm apart. In front of the leds (set back 6mm) is a sticker with white semi...
  155. Replies
    19
    Views
    349

    Re: Diffuser IR Leds (how)

    Hi Les

    The issue is that you cannot see the whole column properly up close. If you can stand back enough and have perfect lighting and resolution it might work.

    But get up close and you need a...
  156. Replies
    19
    Views
    349

    Re: Diffuser IR Leds (how)

    Hi, Lots of good tips.

    Some more info before I look through them some info perhaps missed.

    The RD work is to produce a product I need to sell. So I have to source parts that I can get easily. ...
  157. Replies
    19
    Views
    349

    Re: Diffuser IR Leds (how)

    Hi,

    Just to address a few important points. I need it to be solid state, mechanical movement is not a good idea as it will add cost and reduce reliability and be bulky.

    Cameras will not work...
  158. Replies
    19
    Views
    349

    Diffuser IR Leds (how)

    Hi....

    My task (still! :( ) is to measure the water level in a tube to high accuracy. One system I know works is to use a slot opto sensor. But they are expensive and way to big. My resolution...
  159. Re: What to do with electronic comps I'm not going to use

    Thanks Les great for them to go to a good home.
  160. What to do with electronic comps I'm not going to use

    I'm having a big clean out and it has become obvious I have a problem. I think of a design buy some comps, maybe get round to building something then the leftovers pile up. Over and over again.
    ...
  161. Replies
    18
    Views
    427

    Re: I'm over the moon with joy. :-)

    Les got there first !

    I think I got it wrong any case
  162. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    To answer the questions

    1 The level changes all the time at any time
    2 The water is pure so non conductive and 1 mm resolution is need
    3 The water column is always sealed to atmosphere unless...
  163. Replies
    14
    Views
    357

    Re: Wheelchair speed control

    Just to add that the simple algo worked when there was no loading. In your case I suspect that going up a hill it would not work. And when I wrote a speed controller for a mixer motor that used as AC...
  164. Replies
    14
    Views
    357

    Re: Wheelchair speed control

    From my experience I have never had luck with PID's

    In the end I found that a simple system works best

    X = desired speed.
    Y = current speed.

    So every x ms inc the current speed until x is...
  165. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    May be something like this would work for my stepper linear system

    https://www.ebay.co.uk/i/332647887284?chn=ps
  166. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    In my application the volumes are very small and effected by many effects like surface tension. I see no easy solution. A stepper motor and say 5 opto sensors would work 100% and I may end up doing...
  167. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    Hi David

    Even reading the specs and watching the videos I was on the edge of what could be achieved. Initial experiments using the demo board had a small change register. Flushed with that success...
  168. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    Hi David

    I was using the FDC1004 The sensor PCB (pic below) was immersed in the water. Due to the volume of water I am using I have to work to around 1mm precision. When I rigged up the test board...
  169. Thread: Barking dog

    by Tim
    Replies
    13
    Views
    281

    Re: Barking dog

    This may be of interest

    https://www.grc.com/tqc/thequietcanine.htm

    The reality is with the inverse square law, unless you are a meter front of the pest you're unlikely to get enough power to do...
  170. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    What I was thinking was moving up and down to find the edge then jiggle to keep track of it.
  171. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    Hi John

    I was looking for one of those but they do not seem to be available. Then found the TSL1401CL
  172. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    The next possible solution is a belt driven by a motor and a light sensor that tracks the level. But I'm looking for a solid state solution.
  173. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    A float would be the ideal solution and on a part of the same project I do have a float. It uses hall effect sensors and a magnet in the float. But at this exact location in the design I am up...
  174. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    My use is to try and measure the height of water to 1 mm accuracy. It relies on refraction and how light passing through a tube gets magnified. So the small strip in the middle gets enlarged.

    For...
  175. Replies
    25
    Views
    504

    Re: HAs anyone used the TSL1401CL linear sensor?

    Thanks Les

    I have one on order when it arrives I will send it to you and get one another one for myself.

    Tim
  176. Replies
    25
    Views
    504

    HAs anyone used the TSL1401CL linear sensor?

    Hello people,

    Has anyone used the TSL1401CL linear sensor? It is most likely found in an a unit like this:-

    3615

    Reading the PDF it seems you control it using the clock to change charge time...
  177. Thread: Pt100

    by Tim
    Replies
    4
    Views
    173

    Re: Pt100

    I'm not sure where you get them but PT50 is a thing.

    https://www.technocontrols.com/wire-wound-rtd-elements.html
  178. Replies
    10
    Views
    1,862

    Re: Suggestions for pic microcontroller

    1 ADC? How much memory

    https://www.microchip.com/maps/Microcontroller.aspx
  179. Re: Detecting for the presence of pulses not using interrupts

    As I said about the PCF8574, 30khz interrupts. Not a practical idea.

    Ref the 18F26K42, I do not have the VSM for it in ISIS. As I can do all I need with a simple 16F device no need to use anything...
  180. Re: Detecting for the presence of pulses not using interrupts

    Hi Joseph

    Yes the chance of it stopping on a low is possible. So will be using a pic and just read the pulses really fast in loop looking for a signal change.

    Looking at what I need exactly its...
  181. Re: Detecting for the presence of pulses not using interrupts

    I looked at the data sheet for the PCF8574, it seems it just generates an interrupt when there is a pin change. You have to then read it to figure out the pin that has changed.

    Considering the...
  182. Re: Detecting for the presence of pulses not using interrupts

    Thanks for both the suggestions. I'm going to look at the PCF8574 as that would mean I would not need so many wire back to the control board.
  183. Detecting for the presence of pulses not using interrupts

    I'm looking for a simple system to detect the presence or not of low going pulses.

    The task is to detect if a fan is still running. I do not need to detect the speed, just if its still rotating....
  184. Replies
    12
    Views
    477

    Re: Procedures in the 8-bit Proton Compiler

    Considering the benefits I get from Proton. You have my money every day of the week..

    Thanks so much for supporting the compiler.
  185. Replies
    41
    Views
    835

    Re: Advertisement on the forum

    I'm happy to donate and have adds.
  186. Thread: PICKitPlus Forum

    by Tim
    Replies
    38
    Views
    3,749

    Sticky: Re: PICKitPlus Forum

    May seem dumb but where is a link to a download?

    BTW I'm happy to donate and will do.
  187. Replies
    9
    Views
    412

    Re: Bit bash SPI master and slave.

    Some info on how you use it.

    The slave once set up sits with its state machine in wait for first byte state.
    When the SPI line is pulled low the pic then clocks in the data from the master. Once...
  188. Replies
    9
    Views
    412

    Re: Bit bash SPI master and slave.

    Here is the SPI slave code There is more than needed but I tried to remove the chaff




    ;-------------------------------------------------------------------------------
    ;**** Added by Fuse...
  189. Replies
    9
    Views
    412

    Re: Bit bash SPI master and slave.

    Code display is not working I will try another way




    SPI_INTERRUPT:


    If SSPIF = cTrue Then ; Do we have the right interrupt?
  190. Replies
    9
    Views
    412

    Re: Bit bash SPI master and slave.

    Hi George

    A taster of the code,

    The way it works is you allocate a set of regs and the master reads or writes to them. In my I have the first reg as a command byte so the main code can get...
  191. Replies
    9
    Views
    412

    Re: Bit bash SPI master and slave.

    Hi George

    I have code, Its interrupt driven on the SPI slave side, tested working... I will post it tomorrow.
  192. Replies
    41
    Views
    835

    Re: Advertisement on the forum

    Look at the likes of the EVblog. They have adverts and I see no issues with it. If it helps pay for the forum. I'm all for it.
  193. Replies
    17
    Views
    453

    Re: P24 (using Procedures) for 18F Pics??

    I'm happy to pay an annual fee.
  194. Replies
    33
    Views
    3,803

    Re: Multiple functions by a single switch

    Do you want 4 buttons on one pic pin or 4 functions of 1 button?
  195. Replies
    4
    Views
    191

    Re: Chocolate egg delivery mechanism

    Hi George

    It was an exhibit in a sex exhibition. There were man and a lady fiberglass manikin leaning against the wall. The public used a paddle to twack the rear ends and a big set of lights lite...
  196. Replies
    4
    Views
    191

    Re: Chocolate egg delivery mechanism

    Hi,

    A few questions
    Is the egg to be raised up or fall down
    Is it actually egg shaped eg will it not roll
    How heavy is the egg?

    Thoughts
    Heath Robinson from memory used string (complete...
  197. Replies
    3
    Views
    179

    Re: Lin bus and auto baud detection

    Thanks George

    I had seen that but they do not show the source or explain how it works. You need to use the IDE to generate the code first, then i would have to figure out what it was doing and it...
  198. Replies
    3
    Views
    179

    Lin bus and auto baud detection

    Lin bus looks to be a great system for an application i'm working on. One of the main things is the slave can be really simple without needing a crystal. To resolve the usart timing its master sends...
  199. Replies
    2
    Views
    136

    Re: Display Which Will Work In Direct SunLight ??

    Just look for a transflective display. There are loads of them.

    There is the Samsung routines build into Proton but there is other displays supported....
  200. Replies
    6
    Views
    531

    Re: PIC16F18877 - no PWM output

    Hi,

    Some starters

    1 Make sure you can flash the led eg that the pic runs at the right speed
    2 In your code the reg and port set up seems to extensive and you may have set something wrong. The...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4