-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Materials and wiring all it up #6
Comments
I've spent a lot of time on trying to figure out the exact hardware that was used and here is what i got so far:
I think there's also a charging circuit and a charging port that hasn't been mentioned. At least it looks like there is something like a micro USB port in the video. It would be great to have input from @y-x-c on all this because if we don't get the exact same components, they may not fit into the 3D printed enclosure. Thanks a lot for this awesome work btw! |
Thank you sir |
@T-vK thanks a lot, I managed to get some modules that you listed as alternatives. If you can could you provide some wiring schematics insights please |
Once my parts arrive, I'll figure out how to wire them up and post my results here. But looking at the current situation in China, it may take more than a month until I receive my orders... |
Why don t use an arduino nano clone? |
And what about this: |
@T-vK
TCT40-16T have center frequency at 40kHz (on data sheet) I doubt this two can be replace from each other (?) I'm not a electronics expert, but I make some test on 40kHz transducer from a ultrasonic sensor may be 40kHz doesn't have the same effect with 25kHz |
@digilander98 I think the Arduino Micro clone is closer to the Trinket and I prefer micro USB over mini USB. Besides that, according to the paper the code was written for the ATMEGA32U, so it may not work on the nano. @SCWhite I'm assuming they are the same because of offers like this: https://www.ebay.com/itm/272708217220 But I could be wrong, that's why I was asking @y-x-c for input. At what volume did you get a 10cm range btw? I think in the paper it was mentioned that it was running at almost 100 decibels. |
For the arduino i think that the code is small and get right ports if different from the trinket will not be a huge problem. Differences from one arduino version to another are in size, clock mhz, memory space and ports capabilities. It seem to me that the nano can also do the job, i was wondering if you agree with that. For the board, in view i do not know more about that kind of chip but it seems little and without antenna plug, my question was intended to ask if it can be the same as per specs or not....Hope you can answer to my questions
Thank you so much for your efforts
|
Well, I just tried to compile and upload the code for the Arduino Nano and that sure worked fine. But I can't say if it works before I get my parts. |
Waiting for parts me too
|
Some colleagues and me managed to get the circuit going and disrupt the microphone of my phone while recording. We tested it with one transducer and I think we burned it because we put 5V across the circuit. This was in today's morning. Sadly we couldn't replicate it again 2 hours ago, we will weld pins to the holes of the modules and see if the problems was a the poor wiring connections. Any insights on this would be appreciated. As you could tell we're a complete noobs at electronics so, yeah. |
@pracdaske Just so you know, the HC-SR04 already has a signal generator and amplifier built in and the pinout doesn't give you access to its TCT40-16T or TCT40-16R. By specification you set the trigger pin high for 10 microseconds, then you set it low and then it sends eight short 40khz bursts in a row, which are then picked up by the TCT40-16R and converted into a high signal on the echo pin. |
Ok, think everyone will try to power from battery/usb recharge circuit the components at this point, once materials arrive.... |
@T-vK I managed to get it work consistenly plugging in the Amplifier's output pin to the trigger pin of the HC-SR04 board. The phone's mic catches the ultrasound but the range is really poor. Then I tried this: I desolder the TCT40-16 R and T and welded them to the T terminals on the board, first in serial (like ne the picture) but only the first one worked at poor range and then in parallel in which 3 out of 5 worked, again at poor range. Edit: Also I stopped powering everything through the Arduino, I'm using a 3.7V Li-Ion Battery |
@pracdaske I don't think you need the HC-SR04 board, just use AD9833 & 8403A, with 8 parallel TCT25-16 T, will test 40kHz for performance next. |
@SCWhite Sadly only TCT40 are available in my country and only as Hc-sr04. |
Well, the Code might need adjustments to use frequencies closer to 40khz because at 25khz it probably resonates pretty poorly, meaning it is very quiet. More amplicifation might also work, but it's hard to say as there are no proper datasheets on the TCT40-16T that show a max voltage rating or anything useful like that.
|
Tried with the frequency at 40000, didn't work without board and I could hear like taps in the recordings I made. |
It would be very interesting in general, which frequency would perform best for mic jamming. I think I'm gonna order a bunch of different transmitters that can cover more than just one frequency. Maybe something like this: 2.5khz-60khz and 55hz-30khz. These probably won't fit on a wrist, but for a stationary jammer or a pocket jammer this could be useful. I also found this offer for 25khz transmitters. In case the TCT40-16T ones really don't cut it. |
HI @pracdaske , my AD9833 doesn't have a MCP41010 on it, so there is no need for CS pin to connect. just using AD9833 & AD8051 have a good performance at 2m, I'm trying to use multiple generator to get a better(or further) performance. For your reference, this picture should be clear enough here, my AD9833 doesn't come with MCP41010 & AD8051, so I did some modification with the code and wiring . I think @T-vK really do a good job up there, but it think the transducer have + - on different pin |
Good news! I managed to get it to work without a signal generator. Turns out you can generate the signals using the Arduino directly! I'll keep my progress on that up to date in this repository. The transducer performed equally for me, no matter how I connect + and -. Not sure if you're supposed to use it a specific way. Edit: Just using an Arduino Pro Micro, a 1k resistor and an ultrasonic transducer (using the simple code from the repo linked above): |
I can't recommend this 55hz-30khz one as it produces a lot of audible noise even when run anywhere between 20-30khz. I have tested this cheap amplifier now though and so far it seems to work just as well as the other one. |
Hi, can someone put schematics and code with amplifier without analogic knob and cheap signal generator without sma interface? |
If you can find a proper spec sheet for both the amplifier board and your transducers, then you could check what the decibel ouput should be. But I had a really hard time finding any data sheets for my transducers, let alone a proper one with graphs showing voltage/frequency/sound level correlations. |
I have found the specs on aliexpress where i bought transducers... Said that, how many decibels can be dangerous for hearing damage in your opinion? |
And what is the preset volume for the amplifier without physical volume knob ? I do not want to lift up volume, only be sure that transducer are emitting something, using the smallest component available that are the two i have linked below....anyone knows something about or we are all experimenting until blood drops out fron our hears? 😅 |
In the paper it said:
https://people.cs.uchicago.edu/~ravenben/publications/pdf/ultra-chi20.pdf The safest way to do this would probably be to use the amplifier board with the volume know (which is just a 50k double potentiometer) and use a proper sound level meter (cheap one like this one can't handle ultra sonic) to figure out how far you have to turn the know to reach a safe sound pressure. For the sound level meter ask nicely at your local university, they tend to be really nice about this kind of stuff. Or try to make one yourself. Once you figured it out, use a multimeter to determine the resistance between the pins of the potentiometer and write it down. Then unsolder the potentiometer and connect the 1,2,3 pins with appropriate resistors. |
Thank you so much sir! |
Hi, have you tested with 40T? I have tried but range is 1cm in the best case and not covering voice. CS not used because missing on the DSS board and also the code for digital potentiometer commented out... So only A1 used. Still waiting for 25T to come... |
So you can get 2mt with those components, all arduino powered? |
Hi, can you post your code modifications? Thank you |
Can you post schematics and code that can be able to reach 2mt distance? Just for everyone to understand how can you do it. Thank you so much!!! |
I have a small update. I've tested a couple of different speakers/transducers. here are my results so far:
I cranked the 3W amplifier up to 100% for this test, wearing hearing protection. I'm not sure what 100% of a 3W amplifier would equate to in terms of decibels. |
@T-vK How did you cranked amplifier? |
@bagana89 By turning the volume knob. |
@t-v thank for ur respond. It seems depends on amplifier and transducers. we have tested T25(25khz) but cheap one, it reaches about 1m. but when improve amplifier output /using Yamaha mixer/ it reaches 3~5 m. |
@bagana89 |
@bagana89 What do you mean by "improve amplifier output"? It sounds like you are operating the transducer beyond spec. My understanding is that the amplifier I linked in combination with the 25khz transducers produce a sound level of about 100dB. If you're using a more powerful amplifier you may get better results in terms of jamming range, but you most likely also produce a sound level that exceeds 100dB, which can cause permanent hearing-loss. If you have a good spec sheet for the amplifier and transducer you might be able to calculate your sound level. |
25k transducers seems tonreach max potential of 100db of inaudible sound when at 10V. So this is the reason why pam8610 seems to be the right choice... Still waiting to understand how is possbile to reach 2mt with previously posted modules and codes.... Please who had reached that perfomance post schematics, correct code and parts.... It is unuseful to post photos in prospective were no all connections can be clearly seen or where the referred code is for other components/modules.... |
Technically I guess you could argue that I got 2m of range with the 25khz transducers, but at 2m the generated noise wasn't enough to make the recordings completely unusable. I also think that that some devices are more susceptible to this kind of jamming than others. So maybe you would actually get 2m against the right device. It's better to have a bad photo than nothing at all, right? |
I just received that cheap AD9833 signal generator. Although the price has gone up by quite a bit. I just tested it with a 25khz transducer and I'm pretty disappointed. The performance was very bad. Maybe 10cm of range. This could however very well be an issue with my code which is mostly copy pasted. Anyway I thought I'd share this. This is how wired everything up: And this is my code: /**
* Some of this code is copy pasted from the example provided at
* https://www.thaieasyelec.com/gy-9833-dds-signal-generator-module.html
* by Pete Dokter, 9/2/12
*
*/
#define FSYNC 10
#define SDATA 16
#define SCLK 15
#define FREQUENCY_MIN 24000
#define FREQUENCY_MAX 26000
// Use this is you have 40khz transducers
//#define FREQUENCY_MIN 39000
//#define FREQUENCY_MAX 41000
#define WAVE_TYPE "SINE" // Available SINE, TRIANGLE, SQUARE
void setup() {
pinMode(FSYNC, OUTPUT);
pinMode(SDATA, OUTPUT);
pinMode(SCLK, OUTPUT);
Serial.begin(9600);
digitalWrite(FSYNC, HIGH);
digitalWrite(SDATA, HIGH);
digitalWrite(SCLK, HIGH);
while (!Serial);
Serial.println("Ready");
}
void loop() {
if (WAVE_TYPE == "SINE") {
set_freq(random(FREQUENCY_MIN, FREQUENCY_MAX), 0);
} else if (WAVE_TYPE == "SQUARE") {
set_freq(random(FREQUENCY_MIN, FREQUENCY_MAX), 1);
} else if (WAVE_TYPE == "TRIANGLE") {
set_freq(random(FREQUENCY_MIN, FREQUENCY_MAX), 2);
}
}
void set_freq(long frequency, unsigned char flag_type) {
int MSB;
int LSB;
int phase = 0;
long calculated_freq_word;
float AD9837Val = 0.00000000;
AD9837Val = (((float)(frequency))/25000000);
calculated_freq_word = AD9837Val*0x10000000;
MSB = (int)((calculated_freq_word & 0xFFFC000)>>14); //14 bits
LSB = (int)(calculated_freq_word & 0x3FFF);
LSB |= 0x4000;
MSB |= 0x4000;
phase &= 0xC000;
AD9837Write(0x2100);
delay(100);
AD9837Write(LSB); //lower 14 bits
AD9837Write(MSB); //upper 14 bits
AD9837Write(phase); //mid-low
delay(10);
switch(flag_type) {
case 0:
AD9837Write(0x2000); //sin
break;
case 1:
AD9837Write(0x2020); //square
break;
case 2:
AD9837Write(0x2002); //triangle
break;
}
}
void AD9837Write(int dat) {
int x;
digitalWrite(FSYNC, LOW); //Set FSYNC low
for (x = 0; x < 16; x++) {
if (dat & 0x8000)
digitalWrite(SDATA, HIGH); //Set SDATA according to MSB in cmd
else
digitalWrite(SDATA, LOW);
digitalWrite(SCLK, LOW); //CLK transistion to latch the bit into the AD9835
digitalWrite(SCLK, HIGH);
dat <<= 1; //Shift to next bit in cmd
}
digitalWrite(FSYNC, HIGH); //Set FSYNC high
} |
Hello does someone want to sell one working prototype? My email is [email protected] |
I would also be interested in purchasing one! |
If anyone would like, new tested PCB, BOM and files for PCBA service is here: |
@sexycyborg Wow, that's amazing, thank you so much, you even put together a part list, which contains a link to the 25k transducer that was so difficult to find. |
Hi, has anyone tryied tda2030a or pam8610 amplifiers that runs at 12v and outputs at least 10w? |
It's probably the sub-harmonics that damage your hearing in the end. For example you may not be able to hear a frequency of 25khz. But 25khz would have sub-harmonic frequencies of 12.5khz, 8.33khz, 6.25khz etc which at a certain volume will lead to hearing loss. |
@sexycyborg Hi, sorry but i cannot figure out how you run your code in your wearable_microphone_jammer.ino ... |
Hi community, I want to knwo if this model works for this project https://aliexpress.com/item/32867563228.html |
yeah, I think it will do the job. |
@pulpon6 well, that's a question with no simple answer. And just a weird thought. |
Any new update for HC-SR04 module for this project ? |
Hi, is possible to have needed materials list and wiring schematics?
Thank you so much!
The text was updated successfully, but these errors were encountered: