[ art / civ / cult / cyb / diy / drg / feels / layer / lit / λ / q / r / sci / sec / tech / w / zzz ] archive provided by lainchan.jp

lainchan archive - /diy/ - 1806



File: 1458606155871.png (166.82 KB, 300x169, solder.jpg)

No.1806

figured this should go here, better than anywhere else. I'm getting a little starter pack of electrical components from eBay soon: resistors, potentiometers, LEDs, a breadboard, an arduino, etc. there are lots of cool projects online that I've been aching to try out. recently my FM transmitter I used for listening to music in my car gave up the ghost so now I have that to salvage components from. the AAA battery case and aux cord are of particular interest to me.

I thought that, judging by another project I saw done with a raspberry pi zero, I could connect a wire to one of the pins on an arduino (transmit, I'm assuming?) as an antenna, and do a little breadboard circuitry to makethe aux cable usable as input. no idea if it would work, though, or the complexity of the program I'd have to write.

are any lainons here electrical engineers? what are some projects you've made or are working on? have you ever popped something open and added something of your own to the circuit board? I'll provide the link to the bundle I'm buying, if anyone wants it or wants to recommend a better one to me.

  No.1807

I'm an EE student right now. I don't know the pin diagram or the features arduino, but to do any EE stuff you need some sort of measuring equipment, and the small embedded boards A/D converter won't cut it. You should look around you for some hacker spaces that would have waveform generators ect so you don't have to buy them. They can be expensive. Also do you have a link to what you are talking about with the pi/arduino because you aren't making a whole lot of sense. I can provide some links to my professors website with lecture notes on electronics and embedded programing if you want.

  No.1808

>>1807
Seconding this as another EE student, though I'm only at the sophomore level. I'm just as confused about what you're trying to do, a diagram of some sort might help.

The basic ADC for the arduino is only accurate to 8 bits, so you won't be able to do anything fancy with it. If you just want to see if you can get a signal, though, it will work fine, I was able to play around with really lo-fi audio on my Arduino once. You will definitely need a preamp to bring the signal up to 5V peak, otherwise you won't be able to do anything with it.

If you're looking to do radio stuff like transmitting and receiving data you'll need to learn a bit about amplifiers and will probably want to build a simple radio first. Just look up AM or FM radio kits and schematics. I can't speak from experience there though, I've mostly messed around with audio filters and op-amps at low voltages.

My soldering iron (cursed piece of shit from china) broke a while back, so I haven't been able to get back into playing with electronics much. I was working on building a simple op-amp based mixer when it broke, so I'll probably pick back up on that once I have the money.

  No.1809


  No.1810

>>1809
So it's just a software-based FM radio. I don't see why it wouldn't work, but I don't know about the software involved. It shouldn't be hard to port the RPi code over to arduino if you're looking to do exactly the same thing. Keep in mind the transmitter is just a plain wire coming off of the microcontroller without any filters or amplifiers or anything so you will likely have problems with noise and transmission range.

  No.1823

As a radio amateur and electronics hobbyist, please don't try to build a based RPi/Arduino transmitter (without using a filter, anyway). They are only barely capable of it, creating large amounts of interference for other people due to using square wave carriers.

Take a look at the little one transistor FM transmitter circuits; they'll both sound better and be more efficient in their use of RF energy.

  No.1826

File: 1459114081819.png (1.05 MB, 200x150, tmp_28955-20160322_1328571575098421.jpg)

>>1823
This, a small analog circuit will work just fine if you can find a variable capacitor and don't mind spending some time in order to tune it.
Arduino has a clock frequency of 20Mhz i guess, so there's no way you can broadcast FM with it, you coud use AM, but still, arduino libraries and functions are very inefficient, and you won't get anything out of it unless you spend some days or weeks researching about code optimization. Definetely not a good project to start with.

If your car has a cassete player you can use an ectromagnet to transmit the music from your headphone jack to the sensor, I think this method doesn't needs additional power.

ElectronicE student here.
>what are some projects you've made or are working on? Currently working on a capacitor charger
>have you ever popped something open and added something of your own to the circuit board? Yes, a 433Mhz receiver inside my router which opens a small relay, cutting the power and restarting it so my roomate stops playing LOL at 3 in the morning.

  No.1847

>>1826
>wireless router kill switch
Thanks, this just reminded me I need to set up something else similar for myself, video games kill my productivity and grades.

  No.1881

File: 1459985621074-0.png (7.83 MB, 200x113, 20160406_135645.webm)

File: 1459985621074-1.png (1022.52 KB, 200x150, 20160407_004417_HDR.jpg)

>>1847
>>1847
Here's the end result, I welded the thing shut again with the soldering iron tip. I added an LM567 to the module so it won't trigger randomly, only at a particular frequency within the 433MHz carrier wave.

  No.1889

File: 1460043781165.png (3.22 MB, 200x113, 20160407_172802.webm)

>>1881
Just realized that the router works with 15 volts, and this PSU is 12.3, just fuck my shit up.
The router probably has an 7812 voltage regulator, so I'll have to short it to make this work.

  No.1897

File: 1460230808341.png (44.43 KB, 200x177, 1456867016532.jpg)

Not sure if this is the right place to ask, but here I go:

I'm trying to make a watering system, but I'm still very much a beginner on this stuff, so here's a stupid question: How do I "transform" (???) the 5V output from the Arduino to 24V for a solenoid valve? Or is there another, better way to do this? I'm trying to keep it cheap.

  No.1898

>>1897
1. It's called DC-DC transformer and there are plenty of kits/modules for that.
2. You can feed solenoid from other source that got 24V (auto acumulator charger, for example) but use 5V from arduino as an electric switch for that higher voltage solenoid source. You can use a thing called relay for switch, or a transistor setup. I might be wrong about transistor though.

  No.1899

File: 1460235081050-0.png (251.77 KB, 200x200, (1).jpeg)

File: 1460235081050-1.png (22.13 KB, 200x150, (2).jpg)

>>1897
There are several choices to do so, I will suggest the following.

1. Get a dual supply 5/24V Supply brick: They are cheap, available and save you a lot of trouble. Getting the right supply in the first place cuts down the complexity of your build and costs less when accounting for time and money.
Using a switch mode DC/DC converter to boost up 5V from presumably the source the Arduino uses won't be as efficient. Another thing why it's backward to do so is that the 5V supply will be the bottleneck of the whole setup, meaning it cannot necessarily supply the power drawn by the solenoid over the dc/dc converter.
When building projects using a battery supply this is another story. There you might go with such an option. On the other hand, what portable project needs 24V as a supply rail.

You use the 5V/GND lines naturally to power your controller, easy enough.

2. As >>1898 mentioned earlier, a relay rated between 5V and 24V on the solenoid will be your best bet. Make also sure you get a model of the NO variety, meaning it's normally open. Another specification to consider is the maximum voltage and current rating of the switching side of the relay.

I was going to post an elaborate text on how to drive a relay properly, but who the fuck cares am I right?

  No.1900

>>1898
>>1899
Thanks guys, I'll be getting a couple of relayers to try it out soon. I already have some solenoid valves and if it all works right I'll get that arduino.

  No.1901

>>1900
God, I meant realys.

  No.1904

File: 1460331265657.png (278.4 KB, 200x134, NodeMCU_DEVKIT_1.0.jpg)

>>1899
I'm planning to control a strip of 12v LED lights with a NodeMCU, and would like to read an elaborate text on how to drive a relay properly pls lain!

It's my first foray into electronics and embedded things, but the NodeMCU seems like a sweet bit of kit - it's basically like an arduino with built-in wifi and a comfy lua interpreter, going for about $5 on ebay.

  No.1906

File: 1460333259161.png (15.14 KB, 200x98, 2016-04-11-015443_437x214_scrot.png)

>>1904
Well I gotta head off to my 7$/h mandatory internship at a faceless corporation in a few hours and got other things to do now.

I'll post later, promise.

Meanwhile you could tell a bit more on the LED strip and why you'd use relays.
Just to throw it out there, using a proper mosfet like the IRFZ44N to drive those will be infinitively better.
It's more efficient, but most important of all you can dim the thing in software easily afterwards.

  No.1907

>>1904

You're looking at an esp8266 dev board then, I'm assuming that one has a ftdi driver included for easier programming.

Don't bother with the dev board, just get a generic esp8266 it's a little harder to develop for but you can get one for like 3$. I'm using some now for a sensor network for a visualization. I can share some of my research on the chip if you'd like.

  No.1908

>>1904

Also I wouldn't advise writing the code in Lua with Node MCU, it's much easier to dev with C and C++ there's an open source add on for the arduino IDE for that.

  No.1915

File: 1460393206455.png (2.11 MB, 200x150, IMG_20160411_173611.jpg)

>>1906
It's a 3528 led strip, looks quite simple to control although I'm a little unsure how to vary the brightness.

I was thinking of relays or transistors to get the 5v outputs from the chip to regulate the 12v draw of the LEDs, but I've never done this sort of thing before so that could be way out.
Any advice or introductory resources greatly appreciated.

Also, while I may play with C some time in the future, for now I'll be sticking with Lua since I know it already and there are nice libraries for the NodeMCU.

  No.1916

>>1906
I had assumed that transistors were either on or off; having read that they can vary that's clearly the way to go.

Would still be interested in reading about relays or any other suggested reading though.

  No.1918

>>1916
This was one of my teachers. Learn up.
http://bisonacademy.com/ECE321/Index.htm

  No.2540


  No.2543

>>2540
Oh soykaf I found this site years ago when it was still active. Cool to see its a thing again.

  No.2544

>>1889
Generally, most electronics use switching dc to dc converts so the 7812 would be a pretty rare find.

you know you might just try 12V to it anyway, sometime the circuit may work a little under voltage.

  No.2545


  No.2549

File: 1474660288666-0.png (1.42 MB, 200x200, GestIC Design Guide.pdf)

File: 1474660288666-1.png (1.22 MB, 200x200, MGC3030 Datasheet.pdf)

we are working on MGC3030 Near field detector device for detecting hand gestures for a motion controlled tetris demonstrator apparatus at our college.

Anyone here have experience and some free time to talk about this? maybe on the IRC?

Any help is appreciated, if you like, we can include you in the list of contributors. or you can remain anonymous.

We need help designing an input electrode for the chip described in the below literature. I figure this is relevant to here, and may be giving you something to play with lains.

thanks.

Another Laingineer.

  No.2555

bump for interest.

  No.2561

>>2544
After the psu wall wart (the dc to dc converter) some times there is a linear regulator on the circuit board of the device to remove most of the noise, at least from what I've seen.

  No.2584

Bumping for interest.

  No.2591

BUMP

  No.3131

bump