Go to advanced search

by B.Goode
Thu May 12, 2016 6:09 pm
Forum: Beginners
Topic: Basic Sensor kits
Replies: 4
Views: 808

Re: Basic Sensor kits

Not as many sensors, but they are sure to work with an RPi, which is not included in the kit...

http://camjam.me/?page_id=623
by B.Goode
Thu May 12, 2016 6:06 pm
Forum: General discussion
Topic: Internal serial number or MAC from Raspbian?
Replies: 6
Views: 2257

Re: Internal serial number or MAC from Raspbian?

rayjoh wrote:You can find the serial number in /proc/cpuinfo. The six last digits is reused in MAC address.

Code: Select all

grep Serial /proc/cpuinfo
But @MrGreg is ahead of you: he wrote in his original post -
I do not have the physical RPi to do a cat /proc/cpuinfo.
by B.Goode
Thu May 12, 2016 4:41 pm
Forum: General discussion
Topic: Different SD Twins :)
Replies: 2
Views: 408

Re: Different SD Twins :)

See this similar recent discussion, including my post towards the end: viewtopic.php?f=28&t=147371&p=970001&hi ... sk#p969887
by B.Goode
Thu May 12, 2016 3:49 pm
Forum: Beginners
Topic: Walkthrough Of a Piece of Code
Replies: 6
Views: 906

Re: Walkthrough Of a Piece of Code

King_Of_Bel wrote:nor do I know what language this is in.
The initial line tells you:

Code: Select all

#! /bin/sh
It is processed by 'sh' - the shell, or command line interpreter.
by B.Goode
Thu May 12, 2016 3:37 pm
Forum: Python
Topic: Count lines
Replies: 5
Views: 1031

Re: Count lines

In addition to debugging via your script, it might be worth examining the data file closely. Sometimes just listing it to the screen with cat or less does not reveal the whole truth. 'Dumping' the entire content, including non-printable characters and line terminators, might help. Something like thi...
by B.Goode
Thu May 12, 2016 3:18 pm
Forum: Beginners
Topic: Where Do I Put My Python Code To Run It On Raspberry Pi?
Replies: 7
Views: 12485

Re: Where Do I Put My Python Code To Run It On Raspberry Pi?

I tried looking at many different websites and tutorials and I still don't know where I need to put the Python code to run it. Is there a special upload process? Do I need to put the program on the Micro SD card? I have Raspberry Pi 3 Model B. (I don't know if it is B or B+) Welcome to the Raspberr...
by B.Goode
Thu May 12, 2016 1:57 pm
Forum: Off topic discussion
Topic: Why are images specific to SBC?
Replies: 17
Views: 2780

Re: Why are images specific to SBC?

Why is it that with all the ARM based OSes that I have seen you have to download an image specific to the SBC model that you are using Since this is a Raspberry Pi forum I assume you are referring to images for a Raspberry Pi? In which case I think your statement is untrue. The current (ie. most re...
by B.Goode
Thu May 12, 2016 1:12 pm
Forum: Teaching and learning resources
Topic: Great resource for Sonic Pi
Replies: 1
Views: 1355

Re: Great resource for Sonic Pi

Robin [ @rbn ] says: as a regular and experienced user of Sonic Pi I would wholeheartedly recommend this resource. Since one good turn deserves another, it is worth pointing out that Robin's own website (referenced in his forum profile, but available directly here: https://rbnrpi.wordpress.com/ ) is...
by B.Goode
Thu May 12, 2016 11:02 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights
Replies: 29
Views: 32564

Re: Raspberry Pi - Sunrise/Sunset Timer for Christmas Light

Code: Select all

 ./sunwait -p 43.021N,74.395W
If that alone is not enough you might also need to mark the file executable with

Code: Select all

chmod +x sunwait
by B.Goode
Thu May 12, 2016 10:02 am
Forum: Beginners
Topic: [Solved] Rollout lots of Pis
Replies: 5
Views: 1520

Re: Rollout lots of Pis

The discussion currently taking place in this linked thread may have some similarities with your requirements?

viewtopic.php?f=29&t=147863
by B.Goode
Thu May 12, 2016 8:26 am
Forum: Advanced users
Topic: Update main SD card while running off USB
Replies: 6
Views: 1718

Re: Update main SD card while running off USB

It is not exactly as you describe, but are you aware of PiNet - http://pinet.org.uk/ ?
by B.Goode
Wed May 11, 2016 8:11 pm
Forum: Scratch
Topic: Install scratch in my desktop machine
Replies: 6
Views: 2188

Re: Install scratch in my desktop machine

The Kickstarter that Tim referred to is Rtk.GPIO, and its KS page can be found here: https://www.kickstarter.com/projects/ry ... escription
by B.Goode
Wed May 11, 2016 7:36 pm
Forum: General discussion
Topic: Static ip configuration GUI
Replies: 15
Views: 23411

Re: Static ip configuration GUI

This may help. But WiFi and Lan static IP's are configured slightly differently. http://elinux.org/Configuring_a_Static_IP_address_on_your_Raspberry_Pi NOT helpful, I think. Although it is a wiki page, and therefore subject to modification without notice, when I checked a few moments ago it referre...
by B.Goode
Wed May 11, 2016 2:12 pm
Forum: Troubleshooting
Topic: Error unknown argument
Replies: 1
Views: 555

Re: Error unknown argument

The tutorial appears to be misleading (perhaps only due to on-screen formatting or presentation.) A few seconds looking up man update-alternatives gives this description: --config name Show available alternatives for a link group and allow the user to interactively select which one to use. The link ...
by B.Goode
Wed May 11, 2016 2:05 pm
Forum: Python
Topic: sending email with Python 3
Replies: 2
Views: 1754

Re: sending email with Python 3

please help and show me where the problem is The error message has already told you that... File "/home/pi/emailmay11.py", line 17, in <module> server = smtplib.SMTP('smmsmotaung@gmail.com', 456) { other stuff deleted... } socket.gaierror: [Errno -2] Name or service not known So it seems that the s...
by B.Goode
Wed May 11, 2016 10:04 am
Forum: Beginners
Topic: SD backup on the Pi during runtime: rpi-clone? alternatives?
Replies: 32
Views: 18629

Re: SD backup on the Pi during runtime: rpi-clone? alternati

Just to say, in an attempt at clarity, that there is a conundrum at the heart of what you are attempting... A linux system, at least in the simple form that you are likely to be running, is constantly writing data to its filestore in the form of logs, journals, cron job updates, etc. Any 'backup' op...
by B.Goode
Wed May 11, 2016 9:39 am
Forum: General discussion
Topic: Static ip configuration GUI
Replies: 15
Views: 23411

Re: Static ip configuration GUI

{Disclaimer: I haven't tried, as I have no need for this feature} Which Operating System? My recent version of Raspbian Jessie has a 'network configuration' icon that looks like two stacked computer monitors at the top right of the screen that appears to offer exactly this functionality, from the 'N...
by B.Goode
Wed May 11, 2016 8:57 am
Forum: Beginners
Topic: Raspberry Pi with Arduino
Replies: 7
Views: 2413

Re: Raspberry Pi with Arduino

Your choice of an Arduino to interface directly with the servos may be correct, but note that while it is true to say that the RPi has only one hardware-controlled pwm pin you should be aware that any/all of the gpio pins on the RPi can be used to generate pwm signals under software control. A libra...
by B.Goode
Wed May 11, 2016 8:39 am
Forum: General discussion
Topic: Which language for security system?
Replies: 1
Views: 300

Re: Program?

Welcome to the forums, the RPi and your re-entry to programming. 'Best' is subjective - only you know the criteria to judge that. But as a starting point, consider implementing your solution using python running on the Raspbian Operating system. If only because that combination will find you the gre...
by B.Goode
Wed May 11, 2016 8:02 am
Forum: Python
Topic: Looking for sample python code driving stepper and servos
Replies: 5
Views: 2532

Re: Looking for sample python code driving stepper and servo

pigpio is a library written and maintained by @joan, a regular contributor to these forums.

It includes support and examples for driving servos from python. Well worth a read...

http://abyz.co.uk/rpi/pigpio/python.html
by B.Goode
Tue May 10, 2016 5:28 pm
Forum: General discussion
Topic: unable to open pdf files
Replies: 5
Views: 2115

Re: unable to open pdf files

fruitoftheloom wrote:
...though he may of used NOOBS to install Raspbian ?
Doesn't Raspbian report on its use of disk space in the same way no matter how it was installed?

And apps and system activity can 'consume' disc space at the same rate however the system was installed.
by B.Goode
Tue May 10, 2016 5:06 pm
Forum: Automation, sensing and robotics
Topic: energy meter
Replies: 2
Views: 971

Re: energy meter

Can you ping the youless monitor from the RPi?

There are some setup instructions for Linux here: https://bidgely.uservoice.com/knowledge ... or-youless
by B.Goode
Tue May 10, 2016 2:09 pm
Forum: Beginners
Topic: Opening a web ui
Replies: 7
Views: 1294

Re: Opening a web ui

How do I open a browser on my RPI 3 with Jessie Lite? With difficulty! One of the major omissions from Jessie Lite, without which it would not be 'lite', is the set of components needed to generate a graphical user interface (GUI). Since a browser relies heavily on being run in a GUI environment, i...
by B.Goode
Mon May 09, 2016 8:13 pm
Forum: Troubleshooting
Topic: Pi 3 won't boot
Replies: 14
Views: 2862

Re: Pi 3 won't boot

I also named the SD card 4NOOBS when I formatted it. If you examine that card now on your Mac, after an attempt has been made to boot your RPi with it, is it still named 4NOOBS? I suspect that it will be. The relevance of the question is that the very first thing that NOOBS does when it is booted i...

Go to advanced search