MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

[FYI] Infrared Proximity Sensor CV generator
MUFF WIGGLER Forum Index -> Music Tech DIY  
Author [FYI] Infrared Proximity Sensor CV generator
av500
was it quick? yes! was it dirty? yes! is it fun? I think so!


(excuse the bad sound quality, I did not have the phone cam rig with me)

Using a SHARP GP2-0430 (4cm-30cm) proximity sensor, signal is ~50Hz lowpass filtered, attenuverted and 3x gain boosted, yielding a +/-6V range. left jack is unused for now, I might make it an input that is added to the sensor CV

synchromesh
Very cool! How about a module that demodulates the signal from IR remote control units, then you could play your modular from across the room. SlayerBadger!
av500
synchromesh wrote:
Very cool! How about a module that demodulates the signal from IR remote control units, then you could play your modular from across the room. SlayerBadger!


I'm on it! It's peanut butter jelly time!
DMR
Sort of a Roland D-Beam module?
av500
DMR wrote:
Sort of a Roland D-Beam module?


unleashing my lawyers as we speak! screaming goo yo
Eloc
Gotta get me one of those dual post-it note modules...
av500
Eloc wrote:
Gotta get me one of those dual post-it note modules...


you have to understand, the world simply isn't ready for this one yet...
Jarno
Great!
av500
Jarno wrote:
Great!


thanks!
fitzgreyve
Mad - got to build one (just ordered the sensor).

Now - what can we create with the similar "optical dust sensor" ?? twisted

What's the module to the right of the sensor ?
av500
fitzgreyve wrote:
Mad - got to build one (just ordered the sensor).

Now - what can we create with the similar "optical dust sensor" ?? twisted

What's the module to the right of the sensor ?


you mean this one?

https://www.muffwiggler.com/forum/viewtopic.php?t=138964
Paul Perry
av500 wrote:
DMR wrote:
Sort of a Roland D-Beam module?


unleashing my lawyers as we speak! screaming goo yo


Funny you should say that, Roland's US lawyers sent me a couple of kilograms of cease & desist when I was selling my IR controlled oscillator. They gave up when I showed them the 1970s prior art razz hihi
(mine simply detected the amplitude of a reflected modulated infrared.)
av500
Paul Perry wrote:
av500 wrote:
DMR wrote:
Sort of a Roland D-Beam module?


unleashing my lawyers as we speak! screaming goo yo


Funny you should say that, Roland's US lawyers sent me a couple of kilograms of cease & desist when I was selling my IR controlled oscillator. They gave up when I showed them the 1970s prior art razz hihi
(mine simply detected the amplitude of a reflected modulated infrared.)


oh, wow screaming goo yo

any reference to that IR controlled oscillator?
Jarno
Paul Perry wrote:
av500 wrote:
DMR wrote:
Sort of a Roland D-Beam module?


unleashing my lawyers as we speak! screaming goo yo


Funny you should say that, Roland's US lawyers sent me a couple of kilograms of cease & desist when I was selling my IR controlled oscillator. They gave up when I showed them the 1970s prior art razz hihi
(mine simply detected the amplitude of a reflected modulated infrared.)


LOL! It's peanut butter jelly time!
av500
Since I got asked for schematics in PM, here's what's inside:

- SHARP GP2-0430 (4cm-30cm) proximity sensor:

in order to fit in 4hp, I cut away the little PCB tab that holds the connector and soldered the severed traces with enamel wire. then I added a 100uF and a 100nF cap right on the power supply pin on the sensor.

- the sensor output goes through an RC lowpass to get rid of the spikes that result from the periodic sensing operation, I forgot what RC values I used but something roughly around 50Hz cutoff. If you can move your hand faster, increase this smile

- dual opamp configured as: attenuverter (unity gain) followed by a 3x gain inverting opamp.

thats's basically it....
av500
(gah, double post)
sempervirent
This is neat (I immediately thought of the D-Beam too, haha).

Any photos of the back?
av500
pics:



(I had the OPA2134 on my desk, TL072 will do fine...)
Jarno
Art! cool
dot matrix madness
Thanks for the details!

The OPA2134 makes up for all the other "dirty"bits hihi
av500
dot matrix madness wrote:
Thanks for the details!

The OPA2134 makes up for all the other "dirty"bits hihi


just make sure to align the two capacitors exactly 89.3 degrees (or whatever that's is in imperial) as shown above!
dot matrix madness
Judging from the data sheet I assume that the sensor is powered by +5V ?
av500
dot matrix madness wrote:
Judging from the data sheet I assume that the sensor is powered by +5V ?


indeed. 5 is the new 12 smile
oberkorn
av500 do you have a diagram/schematic of whats going on there for a n00b like me?
I got a proximity sensor of the same type from a friend so I might try to make a similar module w00t
av500
oberkorn wrote:
av500 do you have a diagram/schematic of whats going on there for a n00b like me?
I got a proximity sensor of the same type from a friend so I might try to make a similar module w00t


something like this:

dot matrix madness
Shouldn't C3 by 2u2 rather than 10u to get a cutoff frequency around 50Hz?
av500
dot matrix madness wrote:
Shouldn't C3 by 2u2 rather than 10u to get a cutoff frequency around 50Hz?


yes, but 10uF and 1.5k was what I had in my hand at that time smile
Oblivion
Awesomesauce. When I get back on my DIY train . . . I've always dug the Roland sensor thing that rhymes with "me scheme." grin
Jarno


I did a small board based on your schematic, av500, it is a ton of fun!
I am going to build another one, but plenty left so if anyone wants a board, pm me.
Apart from the sensors themselves (little stock at the moment) Reichelt also has the cable assembly, really helpful.
Not seeing too much hair because of noise, scope says about 40mV. Tried putting it on my monitors, but i couldn't hear any noise.
Very nice!
av500
Jarno wrote:

I did a small board based on your schematic, av500, it is a ton of fun!
I am going to build another one, but plenty left so if anyone wants a board, pm me.
Apart from the sensors themselves (little stock at the moment) Reichelt also has the cable assembly, really helpful.
Not seeing too much hair because of noise, scope says about 40mV. Tried putting it on my monitors, but i couldn't hear any noise.
Very nice!


very nice indeed! got a pic of the board? glad you enjoyed my idea smile
Jarno
Liked your idea AND your circuit grin
It works really well.



This is a picture of the assembly, I shortened the cable from Reichelt. Ordered panels but haven't received them, probably can shorten the cable a bit further.
Works fine as is.

This is the board:


(I will stop using both top and bottom groundplanes, by the way, quite a job to solder through hole components which connect to ground. So much heat you need to put into it to get the solder to flow properly.)
av500
Jarno wrote:
Liked your idea AND your circuit grin
It works really well.



This is a picture of the assembly, I shortened the cable from Reichelt. Ordered panels but haven't received them, probably can shorten the cable a bit further.
Works fine as is.

This is the board:


(I will stop using both top and bottom groundplanes, by the way, quite a job to solder through hole components which connect to ground. So much heat you need to put into it to get the solder to flow properly.)


1) make the thermals smaller, then less heat escapes to the ground plane
2) increase pad/via sizes in general
3) do stuff like this: added polygons and solder mask on the bottom side to have a nice large space where to place the iron, works nicely.
Jarno
Other than the isolation setting for polygons, not sure if there's something to set thermal relief spokes.
And on pad sizes, I am using the standard parts, but yeah, maybe should do my own library. I really like the footprint that Tom Wiltshire did for the PSU header, staggered holes so the component stays in if you flip the board for soldering.
The tooth pulling sensation which is component definition in Eagle keeps me from it grin

Single groundplanes, and preset for higher soldering temperature gets me by.
av500
Jarno wrote:
Other than the isolation setting for polygons, not sure if there's something to set thermal relief spokes.
And on pad sizes, I am using the standard parts, but yeah, maybe should do my own library. I really like the footprint that Tom Wiltshire did for the PSU header, staggered holes so the component stays in if you flip the board for soldering.
The tooth pulling sensation which is component definition in Eagle keeps me from it grin

Single groundplanes, and preset for higher soldering temperature gets me by.


ah yes, on Eagle the thermal size is a fixed percentage of the pad dimensions or something like that, not easy to change. on some PCBs I have manually killed thermals by placing a restrict blob over them.

still you can enlarge vias sizes, that helps a lot to get heat transferred to them.

I usually just copy standard parts to my own library and modify them, making vias and pads larger is not that hard. I enlarged a lot of pads on SMT parts so that they are easier to hand solder since a lot of pad definitions assume it will by paste reflowed and thus there is no space to put the iron to heat the pad. Stuff like the metal can electros that MI likes to use...
Jarno
av500 wrote:
I enlarged a lot of pads on SMT parts so that they are easier to hand solder since a lot of pad definitions assume it will by paste reflowed and thus there is no space to put the iron to heat the pad.


I use 1206 smt footprints, but place 0805 components on them for this reason grin
av500
Jarno wrote:
av500 wrote:
I enlarged a lot of pads on SMT parts so that they are easier to hand solder since a lot of pad definitions assume it will by paste reflowed and thus there is no space to put the iron to heat the pad.


I use 1206 smt footprints, but place 0805 components on them for this reason grin


I will try with TSSOP in SO footprints grin
Jarno
Dead Banana
Oblivion
Could one of you guys sanity check this part selection: http://www.mouser.com/ProductDetail/Sharp-Microelectronics/GP2Y0A41SK0 F/?qs=sGAEpiMZZMvcRsgoMFfeP51dtrxPbdb0ivlIAStkZqg%3d

I can't seem to find the the GP2-0430 model number here in the states, but the datasheets for it and the GP2Y0A41SK0F seem to match. Thoughts?

Thanks.
av500
yes, same thing.
Jarno
Can't seem to find the connector at mouser though, might want to just solder wires directly to the little PCB.
av500
Jarno wrote:
Can't seem to find the connector at mouser though, might want to just solder wires directly to the little PCB.


solder? screaming goo yo screaming goo yo screaming goo yo
Oblivion
Would this work?
http://www.mouser.com/ProductDetail/Adafruit/1663/?qs=sGAEpiMZZMsMyYRR hGMFNnBypRicSdXV9xLvbRFFX%2fw%3d (Granted, it's both sides, which we don't need, but . . . .)

Also, I'm ordering my SMD parts (thanks for confirming the sensor av500). Could someon confirm if these look right?
Caps: http://www.mouser.com/ProductDetail/Kemet/C0805C104K4RACTU/?qs=sGAEpiM ZZMs0AnBnWHyRQFCCI5cSbRT%2f1Gdrl2EbPVM%3d

OpAmp: http://www.mouser.com/Search/ProductDetail.aspx?R=TL072CDTvirtualkey51 120000virtualkey511-TL072CDT

Thanks much.
Jarno
Caps and opamp look ok.
Cable and connector, hmmmmm, not sure, that female connector has these little flaps to the side which aren't on mine.
Oblivion
Ok, I'll probably just use female jumper leads on mine. Thanks for the feedback.
Jarno
Apparently, that connector is not easy to get.
They have that distance sensor at Hobbytronics UK as well Look here
And they suggest soldering to the PCB, have a look at the additional pictures.
Jarno
https://www.sparkfun.com/products/9915

By the way, this does seem like the right connector, and even the cable looks the same.
chaotician
I'm pretty sure its just a 3 way JST Connector like these

https://www.amazon.co.uk/d/Mobile-Phone-Data-Cables/Sets-Mini-Micro-Co nnector-150mm-Cable-Female/B01DU9OY40/ref=sr_1_1?ie=UTF8&qid=148658657 9&sr=8-1&keywords=3+pin+jst+connector
Jarno
Good find!
Oblivion
Nice. And in the US: http://a.co/0cM7YIk ???
Oblivion
Jarno,

I finally got around to building my first one last night and . . . .

I burned up R7 and R8. I am CERTAIN the power is keyed the right way round, even measured the voltage. So I'm guessing I put the TL072 down backwards and the low-Ohm resistors protected it? Or at least tried to? Does that seem reasonable? I'll build up my second one and see how that goes . . . .

Edit to confirm: I put the TL072 down the wrong way 'round despite clear instructions for "chamfered side is towards the 10r resistor." Not sure how I botched that.

One more edit to say the sacrificial protection resistors did their jobs - did my first hot-air rework and flipped the chip, replaced the 10R's and it was good to go. This'll be fun.
klanglicht
Hi Jarno
Do you still have some proximity sensor boards?
Cheers Sascha
Jarno
Ack! Double post! help
Jarno
Oblivion wrote:
Jarno,

I finally got around to building my first one last night and . . . .

I burned up R7 and R8. I am CERTAIN the power is keyed the right way round, even measured the voltage. So I'm guessing I put the TL072 down backwards and the low-Ohm resistors protected it? Or at least tried to? Does that seem reasonable? I'll build up my second one and see how that goes . . . .

Edit to confirm: I put the TL072 down the wrong way 'round despite clear instructions for "chamfered side is towards the 10r resistor." Not sure how I botched that.

One more edit to say the sacrificial protection resistors did their jobs - did my first hot-air rework and flipped the chip, replaced the 10R's and it was good to go. This'll be fun.


Don't think I saw this reply earlier (really should subscribe to this thread), but that's good news! And you actually re-used the chip, kudos!
I usually use the dremel to get rid of wayward IC's and replace them with shiny new ones grin

klanglicht wrote:
Hi Jarno
Do you still have some proximity sensor boards?
Cheers Sascha


Probably have a few left, PM me, I'll check tonight.
oberkorn
Quote:
Probably have a few left, PM me, I'll check tonight.

also interest here, PM'd
Oblivion
Jarno wrote:
And you actually re-used the chip, kudos!
I usually use the dremel to get rid of wayward IC's and replace them with shiny new ones grin


My first use of my hot-air gun. wink
instruments of things
This may be interesting for you:
https://www.kickstarter.com/projects/instrumentsofthings/24sink-eurora ck-module

It's a wireless sensor interface with 16 multimode outputs supporting OSC and Bluetooth MIDI.
Bundles including motion sensors with 9 degress of freedom sensor fusion are available as well (up to 7 motion sensors via Bluetooth LE simultaneously).
Also suitable for low latency applications (e.g. triggering percussion sounds).

The kickstarter project is currently live (21 days left!) and got great reactions at this year's Superbooth. Check it out for some demo videos and more information.
av500
but does it do proximity? wink
instruments of things
av500 wrote:
but does it do proximity? wink


You could use a Kinect with simpleKinect and send the position in space via OSC:)
MUFF WIGGLER Forum Index -> Music Tech DIY  
Page 1 of 3
Powered by phpBB © phpBB Group