Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: bodgetts; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    5,966

    Re: Generating ping sounds

    Ok, I managed to get the SOMO-14D working correctly. It does exactly what it says it should, and plays sounds quite loudly through the speaker connection. It does take a while getting the right SD...
  2. Replies
    9
    Views
    5,966

    Re: Generating ping sounds

    Thanks Ioannis, the SOMO-14D looks awesome. I have ordered one and will let you know how it goes.
  3. Replies
    9
    Views
    5,966

    Re: Generating ping sounds

    Thanks for the suggestion, I already tested the Roman Black method and found that the sound was just too hissy. It is pretty cool though.

    I was hoping that there would be some kind of simple sound...
  4. Replies
    9
    Views
    5,966

    Re: Generating ping sounds

    I thought about that, but really need a solution that can be produced in a decent quantity (1000 units or so). I have seen electronic shooting gallery games make this sound, I was just wondering if...
  5. Replies
    9
    Views
    5,966

    Generating ping sounds

    Hi,

    I am trying to recreate the bullet ricochet sound like the old shooting gallery games that I can control via a PIC. I am not sure of the best way to do this either with the PIC itself, or some...
  6. Replies
    2
    Views
    3,084

    SerIn with Parallel Port output

    Hi,

    I have a master board with a 16f877 PIC that communicates with a slave board via the serout/serin commands. The slave board also has a 16f877 and basically just sits there waiting for a...
  7. Replies
    14
    Views
    14,497

    Re: Simple Photodiode On/Off circuit

    If I just accepted that when the laser hits the diode that the target has been hit, there is nothing stopping people just using a standard laser pointer and triggering the targets. If they use the...
  8. Replies
    14
    Views
    14,497

    Re: Simple Photodiode On/Off circuit

    Thanks for the help. I will try your idea with the comparators, as it sounds like the easiest to implement. Can you recommend the best chip for this particular job?

    I am making a shooting target...
  9. Replies
    14
    Views
    14,497

    Re: Simple Photodiode On/Off circuit

    Maybe there is another way?

    If I measure the voltage coming through the photodiode, it is 4.6v normally, and drops to 4.4v when the laser is directly on it. How could I detect such a small voltage...
  10. Replies
    14
    Views
    14,497

    Re: Simple Photodiode On/Off circuit

    Thanks for the suggestions guys. The problem is that I am going to have 8 targets. If these were all just LDRs, then it wouldn't be an issue and I could hook them up with 1k pull ups and it would be...
  11. Replies
    14
    Views
    14,497

    Re: Simple Photodiode On/Off circuit

    If I use a standard LDR, I can use a 1k resistor and detect the difference between light ( < 1k Ohm) and dark, which is in the 10 M Ohm range. I understand that this works because when 5v comes in...
  12. Replies
    14
    Views
    14,497

    Re: Simple Photodiode On/Off circuit

    Ok, the photodiode that I have is tuned for the wavelength of the laser (or close enough).

    When I hook the diode up to a multi-meter, the resistance is sitting about 2-2.4 M Ohms. If flash a...
  13. Re: Schematic and PCB Layout Software Suggestions?

    I have been using DipTrace, it is for Windows and is free to use for moderately-sized boards:

    http://www.diptrace.com
  14. Replies
    14
    Views
    14,497

    Simple Photodiode On/Off circuit

    I have a photodiode that I will be hitting with a laser diode, and I need to be able to determine when I have hit the 'target'.

    What is the simplest way to do this with a PIC? ie. Can I hook it up...
  15. Replies
    12
    Views
    10,206

    Re: PortC.7 general I/O output problem

    I am using one of those prototype boards with each individual hole plated so I can solder to it.

    I have sent my design to the PCB makers, should be here tomorrow so I will see if the problem still...
  16. Replies
    12
    Views
    10,206

    Re: PortC.7 general I/O output problem

    Ok, I changed the ADCON0 and ADCON1 to 0, still have the same problem. Portc.0-portc.6 work fine, it is just the last pin portc.7 that doesn't seem to change no matter what I send to it.
  17. Replies
    12
    Views
    10,206

    Re: PortC.7 general I/O output problem

    I am using neither hserout or hserin. I just want to use ports c.0 - c.7 for general output.

    Have I configured my pic incorrectly?
  18. Replies
    12
    Views
    10,206

    Re: PortC.7 general I/O output problem

    I saw that, but I am talking about RC7, which is the RX pin.

    The RC6 Pin (TX) which you are talking about seems to work as a general I/O. I was wondering why the RC7 / RX Pin won't work.
  19. Replies
    12
    Views
    10,206

    PortC.7 general I/O output problem

    I have a 16f887 PIC and I am using PortC for general output. If I toggle bits 0-7, only bits 0-6 are working. Bit 7 doesn't toggle as expected.

    I am thinking that it may have something to do with...
  20. Replies
    7
    Views
    5,412

    Re: Reading Input on Port B

    I have set:

    ANSELH=%00000000

    If I check for say a portb.3 button press, it works fine. If I check for a portb.5 button press it works fine.

    However, if I check for say portb.3 and then...
  21. Replies
    7
    Views
    5,412

    Re: Reading Input on Port B

    I am able to read each pin separately without any problems.

    This works:
    if (portb.2 = 0) Then do something

    So does this:
    if (portb.3 = 0) Then do something

    So does this:
    if (portb.4 = 0)...
  22. Replies
    7
    Views
    5,412

    Reading Input on Port B

    Hi guys,

    I can read the input on any individual pin on portb like this:

    if (portb.2 = 0) Then do something

    However, if I have successive reads such as this it doesn't work properly:

    if...
  23. Replies
    8
    Views
    13,999

    Re: 16f887 PIC output pin pull to ground

    Ok, I understand now. Thanks kenif!
  24. Replies
    8
    Views
    13,999

    Re: 16f887 PIC output pin pull to ground

    I managed to get it working, it turns out the specs on the board were not very clear. I could connect the output pins of my PIC directly to the signal and set them low. I thought that maybe I would...
  25. Replies
    8
    Views
    13,999

    Re: 16f887 PIC output pin pull to ground

    Thanks for the reply.

    The 2 boards do share a common ground. The LED module has 4 pins: +12, GND, Signal 1 and Signal 2. I share the +12 and GND between both boards (+5 is generated through a...
Results 1 to 25 of 26
Page 1 of 2 1 2