Go to advanced search

by btidey
Sat Jun 09, 2018 7:44 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

Having trouble... any assistance would be greatly appreciated. I have followed the steps on: https://elinux.org/RPi-Cam-Web-Interface#Installation_Instructions However now I get a repeting set of error messages over and over...: mmal: mmal_vc_component_enable: failed to enable component: ENOSPC sh:...
by btidey
Tue Jun 05, 2018 9:24 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

ou would need to edit the index.php file for that. You would just need to cut the line containing input id="shutdown_button" which is near the bottom of the file and paste it where you want it to appear. Easiest would be to put it after the after the line containing input id="halt_button" which wou...
by btidey
Tue Jun 05, 2018 8:18 am
Forum: Automation, sensing and robotics
Topic: Communication between nodemcu esp8266 and raspi3
Replies: 9
Views: 2723

Re: Communication between nodemcu esp8266 and raspi3

can i use the OTA method to upload a sketch to the nodemcu board? Yes. Once you have an OTA enabled sketch loaded then you can 'Export a new sketch' within Arduino which creates a bin file. You then browse to the OTA URL on the device which opens a web page allowing you to select the new binary and...
by btidey
Mon Jun 04, 2018 9:13 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

Hello I have a new Pi Zero running Stretch Lite. I have followed the instructions to set up the RPi Cam Web Interface and it is working fine on my home network. I am now trying to access it remotely. I have set up port forwarding etc an when I enter the ip:port/htm; on my phone (with wifi switched ...
by btidey
Mon Jun 04, 2018 9:09 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: How can I do it ?

Hello.. is it possible to move -or copy- the '' shutdown system'' button on the line as below?? https://i.goopics.net/OwxRr.png You would need to edit the index.php file for that. You would just need to cut the line containing input id="shutdown_button" which is near the bottom of the file and past...
by btidey
Mon Jun 04, 2018 1:59 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

I'm trying to install RPi Cam Web Interface on a Pi Zero. When I run "./RPi_Cam_Web_Interface_Installer.sh" I get the following; Reading package lists... Done Building dependency tree Reading state information... Done Package dialogue is not available, but is referred to by another package. This ma...
by btidey
Mon Jun 04, 2018 1:57 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

Hello! I am trying to add certain buttons to be visible for the Medium level permission. I changed the config file to always return the Medium level permission but I need access to a few more buttons than what show up. How do you change which buttons show up based on the user level? Thanks! The thr...
by btidey
Fri Jun 01, 2018 11:22 am
Forum: Automation, sensing and robotics
Topic: Communication between nodemcu esp8266 and raspi3
Replies: 9
Views: 2723

Re: Communication between nodemcu esp8266 and raspi3

I think what you are looking for is OTA (Over the Air) update for the firmware on the ESP8266 module. This is very easy to achieve as there is an OTA library for this. http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html Normally what you do is to utilise this library in ...
by btidey
Sun May 27, 2018 9:23 am
Forum: Automation, sensing and robotics
Topic: Using two analog potentiometers to enter two digits
Replies: 11
Views: 902

Re: Using two analog potentiometers to enter two digits

You can sort of simulate absolute encoding with a rotary encoder by persisting the value whenever it changes to a file and restoring from that value on start up. Rotary encoders are pretty cheap ~UKP2 and only need 2 inputs. A lot also have a push switch if that is useful.
by btidey
Fri May 25, 2018 8:51 am
Forum: Beginners
Topic: Windows 10 - Pi3B+ ----- SOLVED
Replies: 8
Views: 916

Re: Windows 10 - Pi3B+

If you want to develop between the pi and a windows machine then your main friends are putty, winscp and sometimes remote desktop if you really need the desktop. putty allows you to remote ssh into the pi and run a terminal session for commands. winscp allows you to easily copy files backwards and f...
by btidey
Sun May 20, 2018 1:53 pm
Forum: Automation, sensing and robotics
Topic: [NOOB] Light control - where to start?
Replies: 11
Views: 1010

Re: [NOOB] Light control - where to start?

With the 433MHz transmitter approach there is no need to break into anything. One is using the RX unit to capture the 433Mhz messages in order to see what they are. If someone has already done this then this stage is unnecessary One is then playing them from the TX unit. The control unit doesn't kno...
by btidey
Sun May 20, 2018 8:02 am
Forum: Automation, sensing and robotics
Topic: [NOOB] Light control - where to start?
Replies: 11
Views: 1010

Re: [NOOB] Light control - where to start?

What Shea was suggesting is the normal technique when trying to control 433MHz devices. a) Get 433MHz TX and RX modules. b) Use the RX module connected to Pi via GPIO (1 line) c) Capture activity on RX unit when buttons on remote are pressed. There is software that can help with this (e.g pigpio) d)...
by btidey
Thu May 10, 2018 9:46 am
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

Connection diagram

GPIO High -> 5v-Key Off (note that in the off state there will still be the bias current of about 0.5mA flowing from +5V to Key. From your measurements that shouldn't trigger it on)
GPIO Low -> 5v-Key On
by btidey
Thu May 10, 2018 8:14 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

If that looks OK then it might be a particular command within the macro that is causing a problem. All commands within the macro are executed under the ownership of www-data and if www-data doesn't have the rights to do a particular command then it will fail and the macro terminates. Start off by c...
by btidey
Tue May 08, 2018 10:10 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

I installed the interface and it is working great, however I did not think about another service I was running that already uses port 80 when I set up the camera. I have the lights in my house controlled via smartphone through a web interface and it does not work while the camera is being used on p...
by btidey
Tue May 08, 2018 8:24 am
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

OK Remember that anything on the hot side of the isolator is hazardous and should not be accessible in normal use. Best way to achieve this is to have all the electronics inside the coffee maker. If you can't do this and plan to have the controoler outside then the next best way is to have the opto ...
by btidey
Mon May 07, 2018 9:51 pm
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

Looking at the schematic inside the Sparkfun isolator the following MIGHT work. Connect +5V on coffee unit to OUT1 on isolator Connect KEY to HV GND on isolator Connect Pi 0V to input GND on isolator Connect GPIO to input IN1 on isolator Still put protection diode between KEY and GND on coffee maker...
by btidey
Mon May 07, 2018 9:31 pm
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

Grr. Already ordered it. Any chance I could use this or, is it out of the question? I really wanted to stay away from a breadboard. It's very ugly and unsafe because this is placed right next to the stove and that means water/grease could get on it. A breadboard also wouldn't ever pass the WAF and ...
by btidey
Mon May 07, 2018 12:13 pm
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

Oops. Well spotted. I forgot to flip it.
by btidey
Mon May 07, 2018 8:48 am
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

Ok Here is my suggestion. Forget the sparkfun break out. I think it is going to be more trouble than it is worth as it inverts the signal and the connections aren't really right for this. Schematic uses simple opto isolator (almost any type will do). GPIO drives input emitter through 470R to set cur...
by btidey
Mon May 07, 2018 7:51 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

I read the above and have tried what I can find here to make it work, but the button I setup does not work. I can use the command line to execute the bash script but I cannot get the button to do it. I love some ides on how to make it work. I assume you are trying to use the user defined buttons an...
by btidey
Sat May 05, 2018 8:13 am
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

Ok. I took a multimeter to several places. The voltages didn't change but, the amperage changed quite a bit. On placing my multimeter to key and ground, it turned the coffee maker on without touching the switch around 10mA. Shorter times wouldn't do it. It seemed to build amps the longer I held it ...
by btidey
Fri May 04, 2018 9:02 am
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

How you power your electronics is going to be the critical piece here. Although there is 5V supply on the board, I doubt whether this will have sufficient extra capacity for your electronics. It looks to me like there is a simple non-isolated power circuit on that board where the mains voltage is dr...
by btidey
Thu May 03, 2018 11:47 am
Forum: Automation, sensing and robotics
Topic: Pi Zero W, Relays and US Coffee Maker
Replies: 27
Views: 2413

Re: Pi Zero W, Relays and US Coffee Maker

The labels on the PCB are 5v, LED, Key. The power switch has a blue LED light when it's on See this pic: https://www.amazon.com/dp/B009OQTCPA/ref=cm_sw_r_cp_apa_i_xHQ6Ab3ANX20Z EDIT: I just checked continuity with it off and unplugged. Key and 5V are shorted when the button is pressed. I'll check t...
by btidey
Thu May 03, 2018 11:16 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4984
Views: 1254772

Re: RPi Cam Web Interface

This is a really dumb question that probably has been asked and answered elsewhere but I don't know the right keywords to find it. I am trying to load RPi-Cam to an SD card set up with q4os which is based on raspbian but uses a different desktop. Raspbian comes pre-installed with "git" but q4os doe...

Go to advanced search