Insert BS here A place to discuss anything you want

How (and why) to Ramble on your goat sideways

Thread Tools
 
Search this Thread
 
Old 06-22-2018, 10:18 AM
  #29561  
Elite Member
iTrader: (21)
 
rleete's Avatar
 
Join Date: Jun 2007
Location: Rochester, NY
Posts: 6,593
Total Cats: 1,259
Default

Don't buy netgear unless you'd like to be fucked by the company. I had one of their routers. Multiple emails were sent to me (I had registered the product with my email address) first advising me, then strongly recommending, and finally urgently demanding I upgrade the firmware.

I DL the software from their own website, using the link they sent. So far so good. Then I followed their instructions to upgrade. Halfway through, the thing just stopped. I tried again, but at this point the computer would no longer communicate with the router.

I used my neighbor's wifi to contact the company for resolution to the problem. They said it was "a known issue". They also said there was nothing they could or would do. They would not even provide a discount coupon for me to buy another router.

Basically, they destroyed my router, and expected me to just go buy another one.

I will never, ever buy one of their products. I suggest you do not, either.
rleete is offline  
Old 06-22-2018, 01:15 PM
  #29562  
Elite Member
iTrader: (2)
 
triple88a's Avatar
 
Join Date: Apr 2006
Location: Chicago, IL
Posts: 10,453
Total Cats: 1,796
Default

You want to send it back for warranty replacement. TP link tried to play that game with me too. I now have a brand new tp link.
triple88a is offline  
Old 06-22-2018, 01:27 PM
  #29563  
Elite Member
iTrader: (21)
 
rleete's Avatar
 
Join Date: Jun 2007
Location: Rochester, NY
Posts: 6,593
Total Cats: 1,259
Default

Oh, it was well out of warranty. Several years. I took it all the way to the corporate offices, to no avail. All it served to do was make me madder each step of the way.
rleete is offline  
Old 06-22-2018, 03:18 PM
  #29564  
Elite Member
iTrader: (6)
 
kenzo42's Avatar
 
Join Date: Sep 2007
Location: CA
Posts: 2,016
Total Cats: 13
Default

Originally Posted by Joe Perez
A 555 monostable is definitely the way to go. Very predictable and stable behavior. Use its output to drive an NPN, and sink the buzzer through the transistor.

Basically, build the circuit as described in the first link gooflophaze posted, and add the components on the right:





Edit: give me the specs on the buzzer (voltage and current) and I'll help you select an appropriate transistor.
Thanks Joe.
All the buzzers I've found are very harsh hi frequency buzzers. Is it possible to soften the square wave?

The small active piezos I've found have these specs:
10PCS 5V Electromagnetic Piezo Buzzer Continous Sound Beep Continuously Ala H3J9
Rated voltage: 5V DC
Operating voltage: 3.5V - 5.5V
Operating current: less than equal 25 mA
Resonant frequency: 2300 +/- 500 Hz
Operating temperature: -20 Celsius ~ + 70 Celsius
The buzzer is rated at 5V DC, it is widely used in computers, printers, alarm system, automatic electronic equipment and other electronic applications used as voice.
The active beep measures:
Length: approx. 9 mm
Case diameter: 11 mm
storage temperature: -30 Celsius ~ + 105 Celsius
Case diameter: approx. 11 mm
Total Length: approx. 9 mm
Lead Space: approx. 8 mm
Main color: Black
Material: silicone, copper
package content: 10 x buzzer
Note:Light shooting and different displays may cause the color of the item in the picture a little different from the real thing.The measurement allowed error is +/-1-3 cm.
kenzo42 is offline  
Old 06-22-2018, 04:18 PM
  #29565  
SadFab CEO
iTrader: (3)
 
hi_im_sean's Avatar
 
Join Date: Sep 2012
Location: your mom's house phoenix, AZ
Posts: 4,560
Total Cats: 1,142
Default

Ive had terrible luck with netgear. Currently using a linksys, but those ASUSs kick ***.

Data point- I was being sold on the idea of an AC1300 or 1900 router. So just last week i tested the capacity of my $40 bottom of the line 8 years ago linksys(150mb throughput capacity, dual band). Had 2 phones playing 1080 youtube vids, firestick running HD video to TV, PC playing a 1080 youtube vid while playing PUBG and downloading another game at 1.2MBPS with a dozen plus add intensive pages open in chrome. Nothing was throttled.
hi_im_sean is offline  
Old 06-22-2018, 05:22 PM
  #29566  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by kenzo42
All the buzzers I've found are very harsh hi frequency buzzers. Is it possible to soften the square wave?
Not electronically.

There are lots of different units available with low-frequency output. Examples:

https://www.digikey.com/product-deta...315-ND/4895843

https://www.digikey.com/product-deta...353-ND/5033697

https://www.digikey.com/product-deta...343-ND/1745435



At these voltage / current levels, the drive transistor is ridiculously easy. Damn near any small NPN will work. I'd probably use a PN2222 just out of laziness / habit.

https://www.digikey.com/product-deta...6ZCT-ND/459004
Joe Perez is offline  
Old 06-23-2018, 06:27 AM
  #29567  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

If it were my design, I'd just go ahead and throw an arduino in it. Your basic functionality for driving the buzzer can be done in like, 12 lines. Toss a speaker directly on it, and you can do tone manipulation. For extra fanciness, you could make it play fur elise with a note every time the hall sensor activates...

https://github.com/AbhishekGhosh/Ard...%BCr-Elise.ino

toss that data into a struct and iterate through it..
gooflophaze is offline  
Old 06-23-2018, 08:25 AM
  #29568  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by gooflophaze
If it were my design, I'd just go ahead and throw an arduino in it.
I'm just gonna say this, and I don't want you to feel specifically insulted, but one of my most common gripes at work is about how a lot of companies want to throw a whole operating system at problems which are easily solved with a tiny bit of hardware.





With regard to the other thread:

Joe Perez is offline  
Old 06-23-2018, 08:41 AM
  #29569  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

None taken. That said, it did take me a little more than a dozen lines. But I'm pretty sure this'll work - and software is so much quicker to manipulate than hardware.

And I still run WRT54GL's with dd-wrt. If I need faster than G, I'll crimp a cable. And netgear has always been fairly awful - when I was doing repair and wifi was nascient, you'd have netgear B ap's that wouldn't work well with non-netgear cards.
Code:
#define hall_pin 10
#define tone_pin 11

//max note length in ms
#define max_note_length 400

bool hall_state;
bool previous_hall_state = false;
unsigned long note_max_time;
int note_index;

static unsigned int fur_elise[] = {
  329, 311, 329, 311, 329, 246, 293, 261, 220, 146, 
  174, 220, 246, 174, 233, 246, 261, 329, 311, 329, 
  311, 329, 246, 293, 261, 220, 146, 174, 220, 246, 
  174, 261, 246, 220, 246, 261, 293, 329, 196, 349, 
  329, 293, 164, 329, 293, 261, 146, 293, 261, 246, 
  329, 311, 329, 311, 329, 246, 293, 261, 220, 146, 
  174, 220, 246, 174, 233, 246, 261, 329, 311, 329, 
  311, 329, 246, 293, 261, 220, 146, 174, 220, 246, 
  174, 261, 246, 220
};


void setup() {
  pinMode(hall_pin, INPUT_PULLUP);
  pinMode(tone_pin, OUTPUT);
}

void loop() {

  previous_hall_state = hall_state;
  hall_state = digitalRead(hall_pin);

  if (hall_state ==  true) {
    if (previous_hall_state == false) {
      //new note
      note_max_time = millis() + max_note_length;
      note_index++;
    }
    if (previous_hall_state == true) {
      if (millis() <= note_max_time) {
        //tone(tone_pin, 220);
        tone(tone_pin, fur_elise[note_index]);
      }
    }
  }
  if (hall_state == false) {
    noTone(tone_pin);
  }
  if (millis() > note_max_time) {
    //timeout, reset song
    noTone(tone_pin);
    note_index = 0;
  }
  if (note_index > 94) {
    //reset song
    note_index = 0;
  }
}

Last edited by gooflophaze; 06-23-2018 at 01:02 PM.
gooflophaze is offline  
Old 06-23-2018, 08:53 AM
  #29570  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

To you, that seems easy.

I never really developed any serious programming skills beyond assembly / ML. For me, working directly with registers and ALUs is intuitive, while using high-level languages and IDEs is confuddling.

I recognize that many people feel the same way about working directly with transistors, passives, and ICs. I find it easy to put myself into the mindset of discrete components, sense the way that the base of a transistor feels under certain stimuli, etc. But I'm not a Luddite, and I recognize that circuit science is secondary to coding here in the 21st century.

To be honest, one of my great fears is that there's going to come a time when we (humanity) suddenly realize that we put so much focus into software that we forgot to educate the next generation of sand-benders.
Joe Perez is offline  
Old 06-23-2018, 02:31 PM
  #29571  
Moderator
iTrader: (12)
 
sixshooter's Avatar
 
Join Date: Nov 2008
Location: Tampa, Florida
Posts: 20,647
Total Cats: 3,009
Default

Cisco Linksys WRT120N is what I have. It is connected to the cable company's Arris DG1670, which has its own wifi symbols on it but I've never tried connecting to it because the signal seems weak.
sixshooter is offline  
Old 06-23-2018, 02:59 PM
  #29572  
Elite Member
iTrader: (7)
 
mgeoffriau's Avatar
 
Join Date: Jul 2009
Location: Jackson, MS
Posts: 7,388
Total Cats: 474
Default

Originally Posted by gooflophaze
Code:
static unsigned int fur_elise = {
329, 311, 329, 311, 329, 246, 293, 261, 220, 146,
174, 220, 246, 174, 233, 246, 261, 329, 311, 329,
311, 329, 246, 293, 261, 220, 146, 174, 220, 246,
174, 261, 246, 220, 246, 261, 293, 329, 196, 349,
329, 293, 164, 329, 293, 261, 146, 293, 261, 246,
329, 311, 329, 311, 329, 246, 293, 261, 220, 146,
174, 220, 246, 174, 233, 246, 261, 329, 311, 329,
311, 329, 246, 293, 261, 220, 146, 174, 220, 246,
174, 261, 246, 220
};
Kind of an odd experience to hum the melody line while reading through this.
mgeoffriau is offline  
Old 06-24-2018, 08:58 AM
  #29573  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

Eh, man with a hammer and all that. More tools in the box, more options - and of course, more options for scope creep. Sparkies are a different breed - don't really think you have to worry much about them. I'm content knowing enough about hardware and software to be dangerous in both, but I don't have the desire to develop software 40 hours a week or thevinize a circuit for ***** and giggles.

Speaking of scope creep - one of the things I'm working on right now (and why I refamiliarized myself with the 555 recently) was creating a dumb alternator controller for the LFX. Needs a 128khz PWM signal, otherwise it defaults to 13.8v output on the alternator. GM's got a neat controller with desulfication, temperature compensation, cruise mode for MPG, bumps up the volts when you're running lights, etc etc. 13.8v works pretty well in the summer, but last winter we would occasionally need a jump box - looks like the ECM has a low voltage cutoff for the injectors (50-ish volts boosted) , so even though the starter can crank the engine perfectly, no fuel - no run.13.8v charges a battery pretty well in the Camaro since it's only got like 2 feet of 00awg battery cable - but our 12-ish foot 2awg run to the trunk drops that a little.

So - initial thought - make a smart controller, add a temp sensor, closed loop control by monitoring the voltage at the battery.. or, you know, a 556 for a fixed frequency and use the 2nd output on a trimpot for set it and forget it.
gooflophaze is offline  
Old 06-24-2018, 10:08 AM
  #29574  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by gooflophaze
So - initial thought - make a smart controller, add a temp sensor, closed loop control by monitoring the voltage at the battery.. or, you know, a 556 for a fixed frequency and use the 2nd output on a trimpot for set it and forget it.


I don't get to do a lot of actual engineering these days. My job is half management / project planning, half dealing with vendors & suppliers, and half systems-level design. (Yes, that's three halves. I work a lot.)

But lately, I have been doing some cool stuff with the Pi. By fortunate coincidence, my VP is a hardcore coder, and tinkers with Pis quite a lot. So he writes the code, I build the hardware to interface them with the outside world, and as a result, we've now got some really awesome remote-telemetry monitoring going on, all viewable from anywhere on a web browser.

The main UPS:



(Just noticed that the calibration seems to have drifted a tad.)



The main transmitter at Sears:






The backup transmitter at Hancock:

Joe Perez is offline  
Old 06-24-2018, 11:08 AM
  #29575  
Elite Member
iTrader: (7)
 
mgeoffriau's Avatar
 
Join Date: Jul 2009
Location: Jackson, MS
Posts: 7,388
Total Cats: 474
Default

Using Raspberry Pis for production equipment? The sketchiness of micro-USB power supplies and SD card storage isn’t a concern? Or are these not mission-critical systems?
mgeoffriau is offline  
Old 06-24-2018, 11:44 AM
  #29576  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

There two schools of thought in prod - low MTBF vs failover. You pay out the *** for low MTBF quality and get dinged 4 years down the line when it's obsolete / unsupported. Failover on cheap devices are more economical - you need more engineering resources on the software side, but it's incredibly effective. And in Joe's case, it looks like they're largely just remote reporting nodes - I imagine the application is actually hosted in the DC. If it ***** the bed - toss in a new one for $30. And of course - being able to roll your own solution vs. a vendors almost-fills-my-need-but-not-quite is a boon.

But c'mon... that app looks dope and you know it.
gooflophaze is offline  
Old 06-24-2018, 12:15 PM
  #29577  
Elite Member
iTrader: (7)
 
mgeoffriau's Avatar
 
Join Date: Jul 2009
Location: Jackson, MS
Posts: 7,388
Total Cats: 474
Default

Not arguing about the principle of the thing, just that Pis have two very specific failure points. I mean, you could do exactly what they’re doing but just virtualize it rather than running it on something that relies on a smartphone charger and an SD card. Even if you wanted a hardware solution, you can pick up old thin clients for $30 on eBay and do the same thing with them.

But sure, if it’s just a non-mission critical app and it doesn’t matter if it’s down for a day or two before you can replace the hardware, and you already had a Pi kicking around, that makes enough sense.
mgeoffriau is offline  
Old 06-24-2018, 12:23 PM
  #29578  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

These aren't mission-critical systems at all, just status & telemetry monitoring. And as gooflophaze suspects, we don't store much data locally. The SD card just hosts the OS and application, and the devices all push their data out to a central server every few minutes. We treat them as though they're disposable, but in the whole time I've been here we've only had one power supply failure (I bought a replacement at the Walgreens a few blocks from Sears Tower) and zero SD / Pi failures.

And yeah, this is one of those situations where there was literally no good off-the-shelf solution, so Dave & I kinda said "Well, **** it, lets just build one." And it's been working wonderfully.


We also use a lot of Pis as RTMP video receivers for the remote cameras we have scattered throughout the city. (Weather & Traffic shots, mostly.) They output fullscreen HDMI at 1080i, which we convert to SDI with BlackMagic Micro Converters that cost $39. It's kind of hilarious how cheap "broadcast grade" equipment is getting.


As an aside, SD cards really are amazing. We used to roll HDCAM-SR tapes for all of our ISO records. The tapes themsalves cost about $200 each, the recorders are upwards of $70k, and the maintenance on them is a ******* nightmare. About a year ago, I installed the first bank of ten SD card recorders ($695 each) and bought a bunch of 256GB SD cards from Amazon. Not only is this method fantastically less expensive, it's also hugely more convenient for the editors, since they can just pop the SD cards right into their Premiere / Final Cut computers and read the ProRes files directly, rather than having to import the video in from tape in real-time. I'm presently on a quest to replace every single tape machine in the facility with an SD card recorder.

Last edited by Joe Perez; 06-24-2018 at 02:20 PM.
Joe Perez is offline  
Old 06-26-2018, 03:35 PM
  #29579  
Senior Member
iTrader: (1)
 
stratosteve's Avatar
 
Join Date: Nov 2010
Location: Marylandistan
Posts: 1,051
Total Cats: 196
Default

Still struggling with my nb2 artech 2560. Trying to get it thru emissisons for over a year now. There are three readiness monitors not set. Egr, o2 monitor and cat monitor. It wont pass unless all the readiness monitors show "set."

I read of a similar issue on miata.gag. His fix was replacing both o2 sensors. I did that and have driven many cycles. I have read and followed the tricks for reaching the conditions needed to set, and still no luck.
stratosteve is offline  
Old 06-26-2018, 04:25 PM
  #29580  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

do you have EGR installed and working?

are you running the factory ECU to control the fuel and satisfy the O2 sensors?

tricking the system is incredibly hard. The ECU wants to see a very specific lean-rich pattern for each O2 sensor (they are different) to show that both sensors and the catalyst are working properly. If either is out of balance, it will either never become ready or throw a code.
y8s is offline  


Quick Reply: How (and why) to Ramble on your goat sideways



All times are GMT -4. The time now is 09:51 AM.