|
Delta-Wye posted:Can you connect the arduino via USB while it's running close to the dog bark detector? Being able to just stream serial data to your PC in real time makes it stupid easy to record timestamps for barks. WiFi! You could even set it up to send a tweet every time the dog barks. #MyAnnoyoingNeighborsDogBarksALot is probably available... That would time/date stamp it too.
|
# ¿ Jul 1, 2014 12:03 |
|
|
# ¿ May 14, 2024 02:33 |
|
Economic Sinkhole posted:My dog bark detector/counter project is fairly successful so far, including tweeting the barks. https://twitter.com/barkbarkbarkb I ended up using an Uno and monitoring the voltage on the LED using an analog pin. The Pi runs a python script that continually monitors the serial connection and tweets when the detector hears a bark. I am thinking about trying to add audio recording in to the mix somehow, so I can confirm that it is actual barks that are setting the detector off and not other noises. I'll take a long, deep bow, then walk off stage without saying anything. :drops mic: That's loving awesome. BARKBARKBARKB!
|
# ¿ Jul 10, 2014 11:00 |
|
Dominoes posted:It is indeed brushless; thanks. So you could use an ESC driven with a PWM signal, maybe.
|
# ¿ Aug 13, 2015 16:19 |
|
An IGBT with driver circuit might do the trick.
|
# ¿ Jun 4, 2016 12:30 |
|
Aurium posted:Sort of, with some caveats. Even worse, the relay that arcs will be the shortest path to ground, so the current will want to go there. You'll cook one relay until it sticks shut... They make solid-state controls for these applications for a reason. Your "hobby motors" are drawing a lot of current, which means lots of heat and some significant hazards if something goes wrong.
|
# ¿ Jun 6, 2016 22:12 |
|
That's the same thing, rite? LOL at garage door company's security. The remotes are semi secure rolling code, but I'll bet their internet based stuff is a joke.
|
# ¿ Sep 13, 2017 13:39 |
|
Scrape off the solder mask with an exacto blade and solder directly to the copper, then secure the wires with epoxy. Go slow and use lots of flux when you solder, and it should work fine. You'll never get anything to make decent connection to the carbon traces.
|
# ¿ Oct 18, 2017 22:56 |
|
awesomeolion posted:Ah I see!! So under those are just wire. Excellent. I'll try this, thank you very much There's copper traces, that's what the PCB is made from (epoxy substrate, copper traces, covered with solder mask). If you scrape off the mask carefully, you can access the bare copper and solder fine wire to it. I suggested epoxy of secure the wires after you've tested everything, because they'll want to snap off where you solder them if they aren't secured.
|
# ¿ Oct 19, 2017 00:41 |
|
awesomeolion posted:Gotcha, thanks! Soldered one here and so far so good. Onwards and upwards Sweet, good luck. Remember, lots of flux!
|
# ¿ Oct 19, 2017 06:39 |
|
Epoxy, Urethane, or Silicone potting compound. 3M makes a bunch of different types. Viscosity is pretty key, you don't want air bubbles. You also don't want a porous surface, as that'll allow tissue to grow into it.
|
# ¿ Jun 11, 2018 21:58 |
|
Cardiac posted:Link to my horrible setup. Dude, half you pins aren't soldered or just have a blob of solder on the pin and no connection to the pad. Electricity needs more than a casual airgap to work. Add flux, and re-solder every joint. If there's a big blob, then wick it off and add fresh solder. I'm not going to slam you because you're new to this, but that's pretty bad. Take your time, use a good iron and solder, and watch some YouTube videos on soldering. And get a meter. The freebie from harbor freight will do in a pinch. We all started somewhere, but there's no sense in doing it really poorly from the start unless you like frustration.
|
# ¿ Aug 17, 2018 17:22 |
|
Cardiac posted:I just want to say thanks for all the tips and links on how to solder. Congrats! Take some pictures on the new setup. I just had to diagnose an odd issue with a board. It would work when screwed down, but not free standing. Turns out an NPN BJT only had 2 legs soldered, and the third was 1 micron above the solder pad. When installed, the board flexed just enough to make it work. This was a professionally reflowed board, too. Simple poo poo, but took an hour to diagnose with a scope and meter.
|
# ¿ Aug 23, 2018 23:37 |
|
Bistromatic posted:One last question would be if anyone can recommend me a power switch that's as tiny as possible? There's plenty of tiny buttons but switches tend to be larger than i'd like. APEM NK236? 0.1" pin spacing, .4" LOA, 0.1" wide...
|
# ¿ Mar 5, 2019 02:03 |
|
Bistromatic posted:Thanks, those seem perfect! Always glad to do some DigiKey parametric searches!
|
# ¿ Mar 7, 2019 00:35 |
|
CarForumPoster posted:Snarky sharky No snark intended. I really like DigiKey's search. It's almost as good as McMaster Carr.
|
# ¿ Mar 15, 2019 15:23 |
|
I've run into an Atmel micro problem, so it's kinda Arduino-related. I'm reprogramming some boards with ATTiny 45's on them. The code is open source and Arduino-based, I made some changes, and I'm trying to program a bunch of these devices. I've had two of these just up and die, and ten successful programming results. I'm confused as to what could cause the micro to stop communicating. 1. One failure was using a soldered-on header, the other was from a pogo-pin jig. The program uploads, but fails on verification. Once it fails, the micro never talks again. I get "device signature 0x0000" if I use my Arduino as ISP, and a similar device initialization failure using a USBasp. USBasp was run in both normal and slow clock mode to try and get things working. Device runs the micro on 5V, and my programmers both run 5V. I tried 3.3V and no change. 2. Fuses are unchanged, and I've verified power and external clock signal are correct and intact. 3. I could get ahold of a HVPP, but I'm hoping there's something else I can try. Thoughts?
|
# ¿ May 21, 2019 05:43 |
|
Splode posted:Are you programming with jtag, or via the Arduino bootloader? Bootloader.
|
# ¿ May 21, 2019 11:58 |
|
Sagebrush posted:How? The tiny 45 doesn't have an internal serial port. The only way to program them is through isp (or hv I guess). There's a programming header on the board, and I'm using an ISP to do the programming, so not using the bootloader. Sorry. I know it's not JTAG. It's a 6-pin: MISO, MOSI, SCK, Reset, plus +5V, Gnd. I'm very much not an AVR person, I mostly run PICs, so the tools are pretty foreign to me. sharkytm fucked around with this message at 18:10 on May 21, 2019 |
# ¿ May 21, 2019 18:05 |
|
I tried to program some more of these boards, and captured the output when one fails.code:
|
# ¿ May 22, 2019 22:01 |
|
Sagebrush posted:So it successfully detects the chip and burns the program, and then the program fails verification from byte zero and the signature disappears? I'll order some. If I can program them outside and solder them onto the board, it'll save the $400 in paperweights that I have now. This is what I get for using a COTS product instead of designing from scratch. I talked to their engineering team, and apparently once the full board is assembled, it needs to be powered separately as other components are drawing too much power and can cause glitches. I'll give that a shot today. sharkytm fucked around with this message at 15:13 on May 23, 2019 |
# ¿ May 23, 2019 05:12 |
|
Nope, that didn't help. The board (which is part of an LED light) was powered by a 12V bench supply, and being programmed by my Arduino as ISP. The LED flashed very quickly during the programming, which isn't surprising, because the LED driver is connected to Pin 6 of the micro (shared by the MISO connection). I got a the same mismatch error, and this was repeatable (I could keep sending the program and getting the flashes and error). Once I powered the board down, the micro went silent. I've got 25 ATTiny45's on their way, I'll try programming them off-board and installing them. It's really odd that I had a reasonable number of successes, and now I'm at about 25% success rate. I was previously using my desktop, and now I'm on a laptop, but the settings are identical. Any thoughts?
|
# ¿ May 23, 2019 16:55 |
|
Sagebrush posted:I haven't looked at the circuit itself, but I'd almost put money at this point on it being a problem with programming it in circuit. The fact that it's running on 12v and that the MISO pin is connected to the LED driver is skeeving me out. Get the bare chips and some sockets and see how you make out. No way to socket them, it's all SMD. And on a MCPCB, to boot, soldering is a royal pain. I just hot-air gunned one out, and it doesn't talk to AtmelStudio. The MFR has some forum posts about programming them in-circuit, which is why I thought it would work (and it did several times).
|
# ¿ May 23, 2019 17:26 |
|
Test socket might be an option. I'll think about it. So... I programmed the last 4 lights with no failures. I went back to my original setup: Arduino as ISP, soldered headers, and flying leads from the Arduino to the header. No problems. I'm wondering if the Pogo Pins are causing a problem, or maybe something else that I missed. Is there a big difference between "Upload" and "Upload using programmer" when using Arduino as ISP? I know you have to use "Upload using programmer" with the USBAsp, but not sure about the Arduino as ISP. all 4 of these latest ones used "Upload as programmer", but I swear I used "Upload" previously. sharkytm fucked around with this message at 13:10 on May 24, 2019 |
# ¿ May 24, 2019 13:05 |
|
And no chance of the relay sticking. Diode ORs are the way to go, assuming the voltage drop isn't a real-breaker.
|
# ¿ Oct 31, 2019 00:25 |
|
Foxfire_ posted:Lower voltage drop. You'll be able to accept a lower battery voltage and be dissipating less heat in the diode Yup, schottkys are the way to go.
|
# ¿ Nov 1, 2019 04:39 |
|
Sir Bobert Fishbone posted:A 1000-cycle rating seems kinda low though for a docking application, no? That's three times a day for a year. And those cycle ratings are what's guaranteed, not when they'll fail. Nikon rates their camera shutters at 100k on consumer cameras, and I've got a d7000 that too 400k shots and still works. I mean, it's a consideration, but I don't think 1k is crazy low.
|
# ¿ May 11, 2020 14:38 |
|
taqueso posted:There are some connectors rated for really low numbers like 10 connection cycles, molex picoblade is one iirc. They are designed to be plugged in once at assembly and maybe once or twice more for rework. They are pretty much dead after 100 cycles, which isn't too hard to hit doing development. FFC cables too. If you're lucky, you can release the latch and disconnect/reconnect 2-3 times before the latch loses tension and the pins don't apply enough pressure for connection. They're the bane of all cell phone/laptop repair folks existences. ::edit:: The Pico EZ-Mate is rated for 10: http://www.literature.molex.com/SQLImages/kelmscott/Molex/PDF_Images/987651-7111.PDF sharkytm fucked around with this message at 19:26 on May 11, 2020 |
# ¿ May 11, 2020 19:23 |
|
Get out the scope and start probing. Clock signals, pull ups/downs, comms busses, etc are likely candidates.
|
# ¿ Jan 1, 2021 17:25 |
|
wolrah posted:Sounds like you were using the Windows Store version of the Arduino IDE, which runs somewhat sandboxed so it doesn't always have access to the same files an older install might have had. It's like the new control panel. It's the same stuff, in a different place, with different options. 2 places to get poo poo hosed up! SMH.
|
# ¿ Nov 11, 2022 23:24 |
|
Deviant posted:Argghh! The Seeduino doesn't have eeprom storage, which i need here. There's a reason I keep an old Dell laptop with 3 small SSDs: Windows 7, Windows 8.1, and... Windows XP!
|
# ¿ Jan 22, 2023 01:53 |
|
Cojawfee posted:If the 330 ohm resistor is in series, then the most current you could get would be 15mA. And now we know how it's not blown up.
|
# ¿ Feb 2, 2023 20:34 |
|
Splode posted:yeah don't blow up your LEDs for the thread's curiosity! Meanwhile I carefully calculate resistor values so they're just barely visible because I'm concerned about that extra couple of mA. 1mA for a year is a D cell. Different strokes and all...
|
# ¿ Feb 4, 2023 21:27 |
|
Deadite posted:Does anyone have a link to a solid state relay they'd recommend? I'm trying to find one but I'm out of my depth and I don't understand a lot of the acronyms out there. I have a 12v power source and the outputs need to be 12v too. How much current do your LEDs draw?
|
# ¿ Sep 27, 2023 18:06 |
|
|
# ¿ May 14, 2024 02:33 |
|
Deadite posted:I'm not sure, these are the LEDs I use: https://www.amazon.com/iNextStation-SMD2835-Waterproof-Flexible-Outdoors/dp/B07V37X7SY?th=1 According to the specs, they draw 30w, which would be 2.5A. That's not going to work with your power supplies or that SSR, which is rated at 2A/channel. You should probably run them on a larger supply, and use a meter to figure out their actual draw. You don't want to run the SSR at it's max capacity, certainly not dodgy Chinese ones. You also don't want to overdraw the power supplies.
|
# ¿ Sep 27, 2023 18:18 |