Search found 60 matches
- Wed Mar 04, 2020 1:32 am
- Forum: Python
- Topic: starting and stopping a python script from web ui
- Replies: 2
- Views: 263
Re: starting and stopping a python script from web ui
Thanks for reply The script flashes the light in a repeating sequence, that is why it continues to run in background until stopped For the simple light functions like all on, or all off I have put the code itself in the button event, but for the scripts which loop I thought best way was to call them...
- Wed Mar 04, 2020 12:20 am
- Forum: Python
- Topic: starting and stopping a python script from web ui
- Replies: 2
- Views: 263
starting and stopping a python script from web ui
Hi I have a python script which runs a web ui for my robot, I have added a button to this ui from which I want to turn on some lights basically. So on the onclick event I am calling the other python script and it runs fine But I want another button to turn lights off and I can't work out how to then...
- Mon Mar 02, 2020 5:21 pm
- Forum: Automation, sensing and robotics
- Topic: Robot - advice on parts etc
- Replies: 9
- Views: 3060
Re: Robot - advice on parts etc
I know my last post here was 5 years ago but just wanted to finish the discussion to say I created my Robot (well actually it is a constantly evolving build!) and more details can be found here = http://pi-robot.co.uk/
- Fri Feb 28, 2020 10:17 pm
- Forum: Python
- Topic: Creating GUI or web interface for my robot
- Replies: 2
- Views: 520
Re: Creating GUI or web interface for my robot
Thanks, I'll take a look at your suggestions - much appreciated
- Thu Feb 27, 2020 9:23 pm
- Forum: Python
- Topic: Creating GUI or web interface for my robot
- Replies: 2
- Views: 520
Creating GUI or web interface for my robot
Hi Hoping for some advice/help here I have built a robot which uses the Picoborg Reverse motor controller and I can use example python scrips from PiBorg to view camera output and move the robot, I can also use another example script to view values of the Ultraborg ultrasonic sensors I would like to...
- Wed Feb 26, 2020 8:54 pm
- Forum: Python
- Topic: Straight-8 LEDs - Knight Rider style
- Replies: 7
- Views: 1166
Re: Straight-8 LEDs - Knight Rider style
Thanks, changed values for trail and now looks cool
- Tue Feb 25, 2020 2:47 pm
- Forum: Python
- Topic: Straight-8 LEDs - Knight Rider style
- Replies: 7
- Views: 1166
Re: Straight-8 LEDs - Knight Rider style
Probably a much cleaner way of writing the code, but this seems to achieve what I wanted - if anyone has ideas on improvement let me know as always keen to learn more from time import sleep import apa ledstrip = apa.Apa(8) delay = 0.13 try: while True: ledstrip.led_set(0, 9, 0, 0, 255) ledstrip.led_...
- Tue Feb 25, 2020 2:43 pm
- Forum: Python
- Topic: Straight-8 LEDs - Knight Rider style
- Replies: 7
- Views: 1166
Re: Straight-8 LEDs - Knight Rider style
That was just simply a copy/paste from manual showing example code for those lights, I fully understand indentation etc for python - that code was only posted as an example, it is not the code I am using, hence question
- Mon Feb 24, 2020 10:45 pm
- Forum: Troubleshooting
- Topic: rtl8191su wireless usb adapter not detected under Raspbian Buster
- Replies: 0
- Views: 123
rtl8191su wireless usb adapter not detected under Raspbian Buster
Hi
I have several rtl8191su wireless usb adapters which I had used fine in the past with my Pi's
But for some reason they are not detected under Raspbian Buster and I can't get them working
Any ideas or help would be much appreciated
Thank you
I have several rtl8191su wireless usb adapters which I had used fine in the past with my Pi's
But for some reason they are not detected under Raspbian Buster and I can't get them working
Any ideas or help would be much appreciated
Thank you
- Mon Feb 24, 2020 4:59 pm
- Forum: Python
- Topic: Straight-8 LEDs - Knight Rider style
- Replies: 7
- Views: 1166
Straight-8 LEDs - Knight Rider style
I have a Straight-8 LED from https://rasp.io/inspiring/ I would like to make them flash in a similar way to the lights on front of KITT (Knight Rider) e.g. https://www.youtube.com/watch?v=WxE2xWZNfOc I am new to Python so hoping someone might have done similar or can advise how to? An example piece ...
- Mon Jun 20, 2016 9:02 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
You can either put a number in GMTOffset or you can put in a time zone string (e.g. Europe/London) I doubt whether the scheduler part would affect the filenames though, more just when scheduler actions happen. What time zone are you in? A 1 hour difference sounds like a daylight savings offset. My ...
- Mon Jun 20, 2016 5:11 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
Have you set the raspberry time zone correctly to match your locale? sudo raspi-config You should also put the time zone in the Scheduler settings if you want timing in there to be consistent. Time zone is set correctly Where in the scheduler settings do I put it - can only see latituide, longitude...
- Mon Jun 20, 2016 4:42 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
Hi Can anyone advise on how to fix this problem: The time showing on the annotation / overlay on the preview is the correct time But the filename/timestamp of the captured files is an hour out Checked everywhere I can think (not used to linux, as use Windows for most things) but all seems okay, so n...
- Mon Mar 14, 2016 9:59 am
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
Have you tried adjusting the capture timeout in the latest version. In particular setting the timeout to 0 to disable it? The reason for checking this is because you said the previous software did not suffer the problem reported and adding the timeout was the only change. Thank you very much for yo...
- Sun Mar 13, 2016 12:34 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
The difference was that raspimjpeg had an extra timeout built in so that if it didn't get a call back from the camera within 5 seconds then it would timeout. Previously it hung up altogether if callbacks stopped. I don't know why your system is sensitive to that. What I have done is add a parameter...
- Sun Mar 06, 2016 5:10 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
The difference was that raspimjpeg had an extra timeout built in so that if it didn't get a call back from the camera within 5 seconds then it would timeout. Previously it hung up altogether if callbacks stopped. I don't know why your system is sensitive to that. What I have done is add a parameter...
- Fri Mar 04, 2016 6:30 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
Tried updating to latest version and had exact same issues as reported before and getting this error as below:- "mmal: mmal_vc_component_enable: failed to enable component: ENOSPC" Replaced raspimjpeg as above instructions back to older version (Jan 10) and now okay again - whatever has b...
- Fri Mar 04, 2016 1:37 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
To revert the raspimjpeg back to an earlier one 1) First get the earlier one. There are different ways of doing this my preferred method is a) Browse to repository and view bin folder b) Goto history and select a data (e.g. Jan 10) c) View Browse Repository at this date d) Click raspimjpeg, View Ra...
- Tue Feb 23, 2016 1:45 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
To revert the raspimjpeg back to an earlier one 1) First get the earlier one. There are different ways of doing this my preferred method is a) Browse to repository and view bin folder b) Goto history and select a data (e.g. Jan 10) c) View Browse Repository at this date d) Click raspimjpeg, View Ra...
- Thu Feb 18, 2016 4:11 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
I suspect that there is some instability in your camera connection that is triggering this. Typically it is when the power supply or the USB cable is not providing a stable voltage to the Pi. In particular the USB cable needs to be low resistance or there can be a significant voltage drop along it....
- Wed Feb 17, 2016 1:22 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
Hi since updating from 6.0.25 to 6.0.28 I seem to be having a lot of problems - mainly it is losing connection to camera and I have to keep rebooting - before upgrading it would run for days at a time, but since upgrade I am lucky if I get a few hours Log below:- {2016/02/17 11:42:50} send smd 9 [20...
- Tue Jan 19, 2016 1:26 pm
- Forum: Other projects
- Topic: Build your own cases using MakerBeam
- Replies: 3
- Views: 2039
Re: Build your own cases using MakerBeam
used wing nuts on top so can remove lid easily if need access to GPIO etc - only probably whilst playing about, once in use will replace them with dome nuts like rest of it
- Mon Jan 18, 2016 3:13 pm
- Forum: Other projects
- Topic: Build your own cases using MakerBeam
- Replies: 3
- Views: 2039
Build your own cases using MakerBeam
I couldn't find a case to quite fit my needs off the shelf - so built my own using MakerBeam - just wanted to post here about it as it is a great product and really handy for making custom cases to fit your needs http://www.pi-robot.co.uk/case/raspberry-pi-cases/ http://www.makerbeam.com/makerbeam/ ...
- Fri Dec 25, 2015 6:21 pm
- Forum: Troubleshooting
- Topic: wifi issues with certain adapters
- Replies: 0
- Views: 305
wifi issues with certain adapters
Hi Been using my Raspberry Pi A+ with AirPi as an outside weather station without problem for last 8 or 9 months Recently since updating to Jessie (and I think perhaps last update on Wheezy) the wireless is very unreliable and keeps disconnecting Have since got a new Raspberry Pi 2 and am having exa...
- Tue Jun 16, 2015 10:15 pm
- Forum: Camera board
- Topic: RPi Cam Web Interface
- Replies: 5264
- Views: 1633451
Re: RPi Cam Web Interface
Thanksmiraaz wrote:Tank you. I fixed that. Patience when roberttidey merge it.wingers wrote:Hi
Hadn't updated for a while so just did
./RPi_Cam_Web_Interface_Installer.sh update
./RPi_Cam_Web_Interface_Installer.sh install
During install it asks me same question twice re security:-