Go to advanced search

by JonnyAlpha
Sun Nov 26, 2017 6:14 pm
Forum: Off topic discussion
Topic: 3D Printer
Replies: 70
Views: 21069

Re: 3D Printer

After this I would be able to successfully use my Anet to produce the printed parts for my Hypercube. I think you will find that most printers only have three axes and you need four to print a hypercube. (yes, yes, I know -- it's a type of printer -- but the joke was too good to ignore) I started r...
by JonnyAlpha
Sat Nov 25, 2017 7:21 pm
Forum: Off topic discussion
Topic: 3D Printer
Replies: 70
Views: 21069

Re: 3D Printer

Hi, I didn't notice that you'd purchased a 3d printer on a black friday sale. Congratulations. I hope you have a lot of fun with it. The MakerGear isn't a filament, it's a 3d printer. But, it looks like (for now) - you're past the looking phase, and into the doing phase. Good luck. Yes I finally to...
by JonnyAlpha
Sat Nov 25, 2017 4:34 pm
Forum: Off topic discussion
Topic: 3D Printer
Replies: 70
Views: 21069

Re: 3D Printer

PLA and ABS are the main filaments, and (as mentioned) - ABS (and Nylon) could have a heated bed for printing. I think that a heated bed should be on the "need to have" list. For decorative things, you'll likely use PLA, and for robotic things you'll likely use ABS, and for very fine/tough robotic ...
by JonnyAlpha
Sat Nov 25, 2017 3:41 pm
Forum: Off topic discussion
Topic: 3D Printer
Replies: 70
Views: 21069

Re: 3D Printer

Just ordered some borosilacate glass, thermal padding and bulldog clips.
Also some PLA+, a MOSFET, spare Extruder tubes, nozzles and thumb screws for bed levelling.

Edit - just found a whole pack of bulldog clips in my draw!!!
by JonnyAlpha
Fri Nov 24, 2017 10:36 pm
Forum: Off topic discussion
Topic: 3D Printer
Replies: 70
Views: 21069

Re: 3D Printer

Where did you get the glass from if you don't mind me asking?
Have you added auto leveling yet?
by JonnyAlpha
Fri Nov 24, 2017 7:07 pm
Forum: Off topic discussion
Topic: 3D Printer
Replies: 70
Views: 21069

Re: 3D Printer

Just ordered the Anet A8 from Gearbest - the support and upgrades for this printer sold it for me in the end. Black Friday Sale £106. Today it is down to £99 grab an absolute bargain.
by JonnyAlpha
Fri Nov 17, 2017 6:17 pm
Forum: Off topic discussion
Topic: Makerspace Crowd Funding
Replies: 0
Views: 679

Makerspace Crowd Funding

If this is not allowed please delete. Fellow Pi Enthusiasts, I am a teacher who is passionate about developing children's educational experience through digital technology. I apologise for this post but I wanted to make you aware that my school is trying to raise money to create a digital workshop f...
by JonnyAlpha
Sat Oct 21, 2017 3:53 pm
Forum: Python
Topic: Python 2 and Python 3 Missing Module Issue
Replies: 8
Views: 1665

Re: Python 2 and Python 3 Missing Module Issue

Ok so I am now making some progree (my current script now has three different videos!!!) and appears to be working OK. It is written in Python 2 however, which has caused me some trouble especially when trying to get user input, I instinctively used: name = input("what is your name") The above code ...
by JonnyAlpha
Tue Oct 17, 2017 7:55 pm
Forum: Python
Topic: Python 2 and Python 3 Missing Module Issue
Replies: 8
Views: 1665

Re: Python 2 and Python 3 Missing Module Issue

Ah Mr Hutting, I have been searching for your contact details to help out with this and could not find them until I spotted the module :-) I am working on two projects for which I need python-omxplayer-wrapper, one is the code that you originally helped me with for a static virtual robot and the oth...
by JonnyAlpha
Mon Oct 16, 2017 8:08 pm
Forum: Python
Topic: Python 2 and Python 3 Missing Module Issue
Replies: 8
Views: 1665

Re: Python 2 and Python 3 Missing Module Issue

Sorry guys I have been sending you on a goose hunt :-( I just looked at this again and noticed a program in the main folder (pi) called keyb.py. So much has happened since I last looked at this the module must have been this custom one written / modified by Jozef Hutting - the gentleman who helped m...
by JonnyAlpha
Sat Oct 14, 2017 8:07 am
Forum: Python
Topic: Python 2 and Python 3 Missing Module Issue
Replies: 8
Views: 1665

Python 2 and Python 3 Missing Module Issue

Hi; Someone on GitHub has helped me successfully play a video, pause it and play a second video and unpause the first using Will Price's OMXPlayer-Wrapper for omxplayer. What I want to do know is expand this code to add more videos for different scenarios as a front end to an interactive program for...
by JonnyAlpha
Thu Aug 31, 2017 9:11 pm
Forum: Troubleshooting
Topic: Old RPi not booting with new Raspbian Stretch Image
Replies: 1
Views: 1333

Old RPi not booting with new Raspbian Stretch Image

Hi; So I am running a digital workshop on Sat / Sun and in preparation thought I would by some Kingston Micro SD Cards and SD Adaptors - download the latest OS (Stretch) so that I can run Sonic Pi. I am using older Model B with 2 USB ports and have successfully run Raspbian with Sonic Pi using my ow...
by JonnyAlpha
Sat Jul 29, 2017 8:42 am
Forum: Python
Topic: Help with video play from within python using python-omxplayer-wrapper
Replies: 1
Views: 1207

Help with video play from within python using python-omxplayer-wrapper

I am creating a visual front end for a computer project. I have previously written some test code and can successfully play videos, loop a video and stop one and start the other to get a transition without a break. I am using Will Price's omxplayer-wrapper. What I am trying to do now is start the pr...
by JonnyAlpha
Thu Jul 20, 2017 6:36 pm
Forum: Advanced users
Topic: Using connected keyboard during remote session
Replies: 3
Views: 770

Re: Using connected keyboard during remote session

I tried both ssh and vnc.
I started an ssh session with the Pi and then started the Python program that recognised keyboard inputs to control the motors and tried both a USB wired and wireless keyboard to see if the motors would react to keystrokes on these keyboards but alas nothing.
by JonnyAlpha
Thu Jul 20, 2017 10:15 am
Forum: Advanced users
Topic: Using connected keyboard during remote session
Replies: 3
Views: 770

Using connected keyboard during remote session

Hi; Humour me with this please. Hi; I am building a remote operated robot platform. I can operate the motors successfully using either a simple python program that detects keys assigned to motor functions using curses or using a web page control panel with WebIOPi. To help with the basic movement I ...
by JonnyAlpha
Wed Jun 28, 2017 9:42 pm
Forum: Python
Topic: Fine control of a Servo
Replies: 1
Views: 455

Fine control of a Servo

Hi, I have been playing with pigpio to control a camera Pan and Tilt and at the moment have a simple 4 keyboard button menu (wads) for up left right and down. These controls turn the servo to full extension which is no good for fine control. What would be the best method to provide finer control suc...
by JonnyAlpha
Wed May 31, 2017 11:59 am
Forum: Automation, sensing and robotics
Topic: Selecting Autonomous and Manual Control
Replies: 6
Views: 1003

Re: Selecting Autonomous and Manual Control

I see your thinking and if my next investigation doesn't work I may have to go down that route. I have been trying to switch between manual and auto using a global variable that is set to 0 (off) at the start of the script when it is called and then changes when the Auto On button is clicked. Not us...
by JonnyAlpha
Tue May 30, 2017 9:27 pm
Forum: Automation, sensing and robotics
Topic: Selecting Autonomous and Manual Control
Replies: 6
Views: 1003

Re: Selecting Autonomous and Manual Control

Thanks but I cannot seem to figure how to switch between modes.
by JonnyAlpha
Mon May 29, 2017 4:05 pm
Forum: Automation, sensing and robotics
Topic: Selecting Autonomous and Manual Control
Replies: 6
Views: 1003

Selecting Autonomous and Manual Control

Hi; I am building a remote operated robot which will be operated using a web interface control panel. I also want to have the option of switching the robot to autonomous mode and then when required switching back to manual mode. On my web page I have added an Auto On and Auto Off Button, these butto...
by JonnyAlpha
Mon May 29, 2017 3:59 pm
Forum: Python
Topic: Help with Collision Avoidance using gpiozero and HC-SR04
Replies: 3
Views: 918

Re: Help with Collision Avoidance using gpiozero and HC-SR04

I'd say you are on the right lines. For the pin specifications you can either use the built-in defaults, or specify your own. Have you seen the gpiozero recipe for a distance sensor controlled robot? https://gpiozero.readthedocs.io/en/stable/recipes.html#robot So without stating the pin numbers it ...
by JonnyAlpha
Sun May 28, 2017 10:40 am
Forum: Python
Topic: Help with Collision Avoidance using gpiozero and HC-SR04
Replies: 3
Views: 918

Help with Collision Avoidance using gpiozero and HC-SR04

Hi; I am building a mobile remote operated robot platform and am testing distance sensing and collision avoidance using the good old HC-SR04 Ultrasonic Sensors. I would like to use Ben Nuttal's brilliantly simple GPIOZERO and looking at the docs I am using this example: from gpiozero import Distance...
by JonnyAlpha
Sat May 20, 2017 8:56 pm
Forum: Other programming languages
Topic: HTML Slider Button
Replies: 0
Views: 635

HTML Slider Button

Hi; I have a robot that can be controlled using a web interface with buttons Left / Right etc. The html uses onmouse down and onmouse up to send commands to the appropriate motor using webiopi macros in my python script. The macros the send a plain text serial string over USB to a Sabertooth motor d...
by JonnyAlpha
Tue May 16, 2017 8:02 pm
Forum: Troubleshooting
Topic: USB Conflict Camera and Serial Commands to Motor Driver
Replies: 11
Views: 1404

Re: USB Conflict Camera and Serial Commands to Motor Driver

OK so I made the led code into a function and called it after the webiopi server is assigned and before the macros are registered. Not sure if this is the correct or best place but it now works (well the test led code anyway) Where is the best place to put my main() which at the moment is led()? Bef...
by JonnyAlpha
Tue May 16, 2017 7:54 pm
Forum: Troubleshooting
Topic: USB Conflict Camera and Serial Commands to Motor Driver
Replies: 11
Views: 1404

Re: USB Conflict Camera and Serial Commands to Motor Driver

OK so I created a bash script called coffin.sh #!/bin/bash ./streamer.sh & sudo python3 coffin.py I have added a while loop that illuminates some LEDs. When I run it the script the video stream starts but the LEDs do not light up, as soon as I ctrl c to stop the video stream the led's start to flash...
by JonnyAlpha
Tue May 16, 2017 5:28 pm
Forum: Troubleshooting
Topic: USB Conflict Camera and Serial Commands to Motor Driver
Replies: 11
Views: 1404

Re: USB Conflict Camera and Serial Commands to Motor Driver

So if I need a bash script to call both streamer and my python program should it look like this:

Code: Select all

#!/bin/bash
./streamer.sh &
sudo python3 coffin.py
This sits in the same directory as both streamer.sh and coffin.sh

Go to advanced search