Go to advanced search

by SlowBro
Mon Sep 17, 2018 2:33 am
Forum: Networking and servers
Topic: [SOLVED] Zero W with extra USB Wi-Fi adapter; One static, one DHCP client
Replies: 1
Views: 576

[SOLVED] Zero W with extra USB Wi-Fi adapter; One static, one DHCP client

How do I configure Raspbian Stretch Lite on my Zero W with a second USB Wi-Fi adapter? The built-in adapter (wlan0) must have a fixed IP (192.168.4.1) serving hostapd and dnsmasq. The second (wlan1) uses a standard DHCP client. How would I configure this? I've managed to work out setting up wlan0 wi...
by SlowBro
Mon Aug 27, 2018 11:43 am
Forum: Camera board
Topic: View camera on a phone without opening the firewall
Replies: 4
Views: 1280

Re: View camera on a phone without opening the firewall

Not yet. Been super busy with the rest of the product, plus life in general. Nothing has changed from the plan in the first post though; that’s how I excpect it to work, with ffmpeg and RTMP. But it may be a while before I can test it.

Try it and let us know :-)
by SlowBro
Wed Jun 20, 2018 3:23 pm
Forum: General discussion
Topic: use pi zero w in commercial production
Replies: 60
Views: 17035

Re: use pi zero w in commercial production

China is getting good at making copycats. I would not trust that is genuine. That, or you will not in the end get the price advertised. Some Chinese manufacturers copy legit designs right from the source. They make a genuine product then sell the source code to another factory, or manufacture the e...
by SlowBro
Wed Jun 20, 2018 12:59 pm
Forum: General discussion
Topic: use pi zero w in commercial production
Replies: 60
Views: 17035

Re: use pi zero w in commercial production

China is getting good at making copycats. I would not trust that is genuine. That, or you will not in the end get the price advertised. Some Chinese manufacturers copy legit designs right from the source. They make a genuine product then sell the source code to another factory, or manufacture the ex...
by SlowBro
Wed Apr 18, 2018 11:35 am
Forum: General discussion
Topic: Raspbian with Read-only Root
Replies: 195
Views: 94821

Re: Raspbian with Read-only Root

What happens when you disable it?
by SlowBro
Wed Mar 21, 2018 5:14 pm
Forum: Camera board
Topic: host camera module mjpeg output on remote server?
Replies: 22
Views: 8303

Re: host camera module mjpeg output on remote server?

Yes but I am not talking about firewall port forwarding. I’m talking about what is being recommended here. If someone gains access into the server on the outside of your home network where reverse forwarding is being sent to, they can reach into your network via the reverse port, is my point. It jus...
by SlowBro
Wed Mar 21, 2018 12:08 am
Forum: Camera board
Topic: host camera module mjpeg output on remote server?
Replies: 22
Views: 8303

Re: host camera module mjpeg output on remote server?

A down side of SSH port forwarding: If someone were to hack the web server (not unthinkable) they would then be able to reach into your home network. They would have to then hack the IP camera but that's definitely not difficult these days; many of them don't get new firmwares. Typically they have a...
by SlowBro
Tue Mar 20, 2018 11:41 pm
Forum: Camera board
Topic: Allowing IP camera to push to RTMP
Replies: 2
Views: 6101

Re: Allowing IP camera to push to RTMP

I think what mikeytrooper wants to do might be like the drawing below? I'm trying to do the same . I don't yet have the answers but I believe the correct way may be to setup an Nginix server with the RTMP plugin, or Red5, or Wowza, or possibly the UV4L plugin. Watch that other thread to see if I get...
by SlowBro
Tue Mar 20, 2018 10:10 pm
Forum: Camera board
Topic: View camera on a phone without opening the firewall
Replies: 4
Views: 1280

View camera on a phone without opening the firewall

I’m building a product to sell centered around a Pi Zero W with cameras as an accessory. I would charge customers a small monthly fee for camera monitoring and they would have one or more cameras on premises. Video would stream up to an AWS or DigitalOcean VPS. Requirements: * No inbound firewall po...
by SlowBro
Tue Mar 20, 2018 10:03 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5110
Views: 1420085

Re: RPi Cam Web Interface

Yeah, so I think the only way to do this may be an RTMP server. I’m not 100% certain even that would work, I need to experiment.
by SlowBro
Tue Mar 20, 2018 9:05 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5110
Views: 1420085

Re: RPi Cam Web Interface

Can this interface be shared without opening the firewall? So could the Pi push a stream to a web server running on AWS without altering the local firewall, and then I view the stream on my phone? I think the only way to do this is with an RTMP server such as Red5, Wowza, or Nginix with the RTMP plu...
by SlowBro
Tue Jan 30, 2018 12:42 pm
Forum: Advanced users
Topic: Ok to have a 3m shielded serial cable?
Replies: 7
Views: 1066

Re: Ok to have a 3m shielded serial cable?

Oh! I was unaware that RS422 converters are so cheap. Was expecting $4 range. This changes everything.
by SlowBro
Mon Jan 29, 2018 2:53 pm
Forum: Advanced users
Topic: Could you please benchmark the at25 driver writing to SPI EEPROM?
Replies: 0
Views: 217

Could you please benchmark the at25 driver writing to SPI EEPROM?

Does you have an SPI EEPROM handy? Would you please benchmark writing a largeish amount of data to it using the at25 kernel driver ? ( Source code .) I'm interested to know about the speed writing data larger than the page size, but I don't have one of these chips handy. So if the page size is 128 b...
by SlowBro
Sun Jan 28, 2018 5:52 pm
Forum: Advanced users
Topic: Ok to have a 3m shielded serial cable?
Replies: 7
Views: 1066

Re: Ok to have a 3m shielded serial cable?

Okay. But this design is good for what I am doing? Including the shielded twisted wires.
by SlowBro
Sun Jan 28, 2018 10:04 am
Forum: Advanced users
Topic: Ok to have a 3m shielded serial cable?
Replies: 7
Views: 1066

Re: Ok to have a 3m shielded serial cable?

1. D’oh! Will tweak that. Copied this from a Digikey article called Protecting Inputs in Digital Electronics . But that has more to do with GPIOs. 2. 3.3V and it will have its own power source. This should low-pass anything below 36 kHz if I'm figuring this correctly. https://i.imgur.com/hKuvIeB.png
by SlowBro
Sun Jan 28, 2018 4:27 am
Forum: Advanced users
Topic: Ok to have a 3m shielded serial cable?
Replies: 7
Views: 1066

Ok to have a 3m shielded serial cable?

Trying to design an outdoor product for hobby farmers and I want an ATmega328 at the end of a 3m shielded serial cable. Twisted pair, 4 conductor, 22 gauge, shielded solid core. (220pF/m) TX and GND on one pair, RX and GND on the other, shield connected to GND. It would use the Firmata protocol to t...
by SlowBro
Wed Jan 24, 2018 2:04 pm
Forum: Advanced users
Topic: Protecting GPIOs from ESD
Replies: 6
Views: 2447

Re: Protecting GPIOs from ESD

Yes, they are 5V rated rather than 3V3 - but that's not really the issue with ESD: the SoC in the Pi will have its own protection structures which can tolerate short-duration overvoltage (and even modest ESD events), what you are after here is that when a serious ESD event occurs (1000s of volts!) ...
by SlowBro
Wed Jan 24, 2018 12:44 am
Forum: Advanced users
Topic: Protecting GPIOs from ESD
Replies: 6
Views: 2447

Re: Protecting GPIOs from ESD

Good, I forgot about tolerances. Switched to a 3.6V nominal in my design. How does that one look to everyone? Good or go with something else?

Image
by SlowBro
Tue Jan 23, 2018 3:18 pm
Forum: Advanced users
Topic: Protecting GPIOs from ESD
Replies: 6
Views: 2447

Protecting GPIOs from ESD

I'm building a product for hobby farmers centered around an RPi Zero W which will be outdoors in a watertight enclosure. I have a BME280 humidity sensor on a 1m shielded wire connected to GPIO and controlled using a software I2C bus (using the i2c-gpio overlay) running at 1 kHz which I want to prote...
by SlowBro
Mon Jan 22, 2018 1:22 am
Forum: Beginners
Topic: How do I verify I2C speed in Raspbian Stretch?
Replies: 3
Views: 657

Re: How do I verify I2C speed in Raspbian Stretch?

Cool but is there no way to do this programmatically?
by SlowBro
Sun Jan 21, 2018 8:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Bit-banged I²C kernel driver
Replies: 12
Views: 7440

Re: Bit-banged I²C kernel driver

Wanted to mention that this driver didn't work for me. Nothing was detected. Not sure why. I could see the new device and got messages in dmesg, but could not detect anything. But when I used the i2c-gpio overlay that comes with Raspbian Stretch software it worked well. So this functionality is now ...
by SlowBro
Sun Jan 21, 2018 8:49 pm
Forum: Advanced users
Topic: How do I set the i2c-gpio overlay speed to 10 kHz?
Replies: 2
Views: 742

How do I set the i2c-gpio overlay speed to 10 kHz?

I'm using the i2c-gpio overlay successfully but am not quite sure how the i2c_gpio_delay_us setting works. I see in the overlay code that a value of <2> is equal to about ~100 kHz. Does that mean that a value of 20 is equal to about 10 kHz? I tried 20 and it detected my module, but don't have any wa...
by SlowBro
Sun Jan 21, 2018 8:34 pm
Forum: Beginners
Topic: How do I verify I2C speed in Raspbian Stretch?
Replies: 3
Views: 657

Re: How do I verify I2C speed in Raspbian Stretch?

Anyone? Anyone? Bueller? :D
by SlowBro
Tue Jan 16, 2018 12:19 am
Forum: Beginners
Topic: How do I verify I2C speed in Raspbian Stretch?
Replies: 3
Views: 657

How do I verify I2C speed in Raspbian Stretch?

I set dtparam=i2c_baudrate=10000 in /boot/config.txt and rebooted. Now I want to confirm it is applied. On older versions it was reported that we could cat /sys/module/i2c_bcm2708/parameters/baudrate . But that file no longer exists. In fact, there is no baudrate file anywhere under /sys/module/. Ho...
by SlowBro
Sun Jan 14, 2018 1:37 am
Forum: Advanced users
Topic: Should I add a 50ns noise/glitch filter to the I2C interface?
Replies: 7
Views: 2007

Re: Should I add a 50ns noise/glitch filter to the I2C interface?

Thanks, I'm probably just being paranoid. I found that my design works fast enough at 100kHz so I'll back it down to that.

Go to advanced search