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...
Type: Posts; User: bodgetts; Keyword(s):
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...
Thanks Ioannis, the SOMO-14D looks awesome. I have ordered one and will let you know how it goes.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
I have been using DipTrace, it is for Windows and is free to use for moderately-sized boards:
http://www.diptrace.com
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...
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...
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.
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?
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.
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...
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...
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)...
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...
Ok, I understand now. Thanks kenif!
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...
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...