Go to advanced search

by musicboy
Tue Aug 29, 2017 9:45 am
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121590

Re: Configuring dhcpcd in Raspbian Stretch

I am also having this same issue. I have an access point up and working under Jessie and started with that configuration under Stretch. If you have yours working, I could sure use your suggestions. Thanks! Apologies but I eventually gave up as I was gifted a mini hotspot gizmo by a friend that also...
by musicboy
Tue Aug 22, 2017 7:37 pm
Forum: Networking and servers
Topic: Configuring dhcpcd in Raspbian Stretch
Replies: 88
Views: 121590

Configuring dhcpcd in Raspbian Stretch

Hi all, I'm trying to set up my Pi Zero W as an access point, as per the official tutorial here: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md However, I'm having some trouble getting dhcpcd to play nice. After adding the following to /etc/network/interfaces : allo...
by musicboy
Fri Mar 03, 2017 1:35 pm
Forum: Python
Topic: Python loop @ 80Hz
Replies: 5
Views: 821

Re: Python loop @ 80Hz

Thanks very much for looking into it in such detail!
Much appreciated.
by musicboy
Wed Mar 01, 2017 1:31 pm
Forum: Python
Topic: Python loop @ 80Hz
Replies: 5
Views: 821

Re: Python loop @ 80Hz

80Hz is a ballpark figure for the frequency at which I need to step the motors on the bot.
The PID loop will be running at ~30Hz since that is the maximum sampling frequency of my accelerometer
by musicboy
Wed Mar 01, 2017 8:18 am
Forum: Python
Topic: Python loop @ 80Hz
Replies: 5
Views: 821

Python loop @ 80Hz

Hi all, I need to run a control loop for a robot at 80Hz in Python. Obviously there are various ways to do this using time/datetime etc, starting each loop iteration once dt has elapsed. I have two questions: 1) I have heard that when using time/datetime, the values may not always be accurate at the...
by musicboy
Mon May 04, 2015 12:26 pm
Forum: Troubleshooting
Topic: nRF24L01+ SPI issues
Replies: 3
Views: 576

Re: nRF24L01+ SPI issues

Thanks for your reply. There is no error from Python, the only output I get is that SPI invalid argument error. I'm using this library, which uses Cython to essentially allow use of the Arduino RF24 library. Cheers, your approach might likely be the way I end up going, but I'd like to see if there's...
by musicboy
Mon May 04, 2015 10:51 am
Forum: Troubleshooting
Topic: nRF24L01+ SPI issues
Replies: 3
Views: 576

nRF24L01+ SPI issues

Hi all I'm using the PyRF24 library to try and use an nRF24L01+ radio module with my Pi. When I run this code: from pyRF24 import pyRF24 radio = pyRF24("/dev/spidev0.0", 8000000, 18, retries = (15, 15), channel = 76, dynamicPayloads = True, autoAck = True) I get the following error: can't send spi m...
by musicboy
Sun Jul 06, 2014 8:02 pm
Forum: Troubleshooting
Topic: Wifi issues
Replies: 6
Views: 2792

Re: Wifi issues

This is what /etc/resolv.conf contains: domain home search home nameserver 192.168.1.254 Also wifi doesn't connect on boot, I have to connect it to ethernet, ssh it then manually bring the wifi up. It then doesn't stay on for more than a few minutes. I also now cannot ssh it over ethernet using mypi...
by musicboy
Sat Jul 05, 2014 3:19 pm
Forum: Troubleshooting
Topic: Wifi issues
Replies: 6
Views: 2792

Re: Wifi issues

Thanks Mr Engman :) I added that line and it now works fine, I can ssh it from other devices in the network. However, when I try to ping google.com I get Connect: Network is unreachable This puzzled me so I tried it with ethernet and got the following ING google.com (173.194.34.68) 56(84) bytes of d...
by musicboy
Sat Jul 05, 2014 12:08 pm
Forum: Troubleshooting
Topic: Wifi issues
Replies: 6
Views: 2792

Wifi issues

Someone else having wifi problems - using Edimax EW-7811UN. I've trawled through various solutions but have had no luck so would appreciate some help :) cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.50 gateway 192.168.1.1 netmask 255.25...
by musicboy
Sun Jun 29, 2014 6:35 am
Forum: Raspbian
Topic: Cannot start X from pi user
Replies: 2
Views: 959

Re: Cannot start X from pi user

Update:
I can now launch the GUI by doing
xinit /usr/bin/lxsession
But still no luck with startx.
The message that I get after running startx is the same one I get if I close the GUI.
by musicboy
Sat Jun 28, 2014 10:59 am
Forum: Raspbian
Topic: Cannot start X from pi user
Replies: 2
Views: 959

Cannot start X from pi user

Hi all I've been running my Pi headless for quite a few months now, and a few days ago I decided to plug in a monitor, mouse and keyboard, partly because I wanted to have a play with the Arduino IDE. Anyway. Booted to user credential entry, I logged in as pi, which is the user I use. Ran "startx". T...
by musicboy
Sun Jun 22, 2014 3:35 pm
Forum: General discussion
Topic: Wireless keyboard and mouse combo
Replies: 1
Views: 1633

Wireless keyboard and mouse combo

Hi all I'm looking to buy a wireless keyboard and mouse that both transmit to one USB dongle which plugs into the Pi. I was wondering whether anyone has any experiences of these and any thoughts on which are the best models. My only requirements are that it's a real mouse not a trackpad, and that bo...
by musicboy
Mon May 26, 2014 6:24 pm
Forum: Automation, sensing and robotics
Topic: dht-11 temperature sensor problems
Replies: 2
Views: 1593

dht-11 temperature sensor problems

Hi there :) I've been using this tutorial to get my dht-11 temperature sensor working: http://blogs.sequoiainc.com/blogs/raspberry-pi-home-brew-temperature-monitor The attached file shows the output. As you can see, most of the outputs don't work, and when it does, sometimes it gives random readings...
by musicboy
Fri Feb 14, 2014 7:02 pm
Forum: Beginners
Topic: Creating new cd and ls function
Replies: 2
Views: 412

Creating new cd and ls function

Hi there. I'm a fair beginner to the Pi, and have a question for the pi gods :) The one thing that I find tedious when using the shell is doing "ls" after every time I do "cd". (I'm lazy) Just wondering, how easy would it be to create a function combining cd and ls, say "cdl", that I could execute a...

Go to advanced search