Go to advanced search

by fearless
Thu Oct 12, 2017 11:02 pm
Forum: Beginners
Topic: Seeking up-to-date BLE "hello-world" example for RPi Zero W
Replies: 2
Views: 1305

Re: Seeking up-to-date BLE "hello-world" example for RPi Zero W

@Douglas6: Your answer precisely covers all my questions -- 2^n thanks.
by fearless
Thu Oct 12, 2017 7:10 pm
Forum: Beginners
Topic: Seeking up-to-date BLE "hello-world" example for RPi Zero W
Replies: 2
Views: 1305

Seeking up-to-date BLE "hello-world" example for RPi Zero W

There's lots of online info about BLE and RPi, but Raspbian support has been evolving quickly and consequently much online information appears to be outdated. To avoid going down the wrong path, I'm looking for a pointer to up-to-date example of a simple BLE ping or "hello world" application for the...
by fearless
Tue Jun 13, 2017 11:30 pm
Forum: Python
Topic: 'pip install smbus' fails
Replies: 3
Views: 7778

'pip install smbus' fails

Any idea on what is causing (and what will cure) the following? (venv)pi@mycroft:~/bsp $ pip install smbus Collecting smbus Could not find a version that satisfies the requirement smbus (from versions: ) No matching distribution found for smbus I'm running on an RPi Zero W. Some details: (venv)pi@my...
by fearless
Tue Sep 08, 2015 8:54 pm
Forum: Advanced users
Topic: help with /etc/network/interfaces: static wifi, dynamic enet
Replies: 7
Views: 1756

Re: help with /etc/network/interfaces: static wifi, dynamic

@DirkS: > A simple google search should give you close to a gazillion examples on how > to set a static address (both here on forum and elsewhere on the net). Not to put too fine a point on it, I'm not simply being lazy. From my original post: >> There are lots of examples online for /etc/network/in...
by fearless
Tue Sep 08, 2015 5:46 pm
Forum: Advanced users
Topic: help with /etc/network/interfaces: static wifi, dynamic enet
Replies: 7
Views: 1756

Re: help with /etc/network/interfaces: static wifi, dynamic

@JimmyN:

> that should be the default action

Okay -- can you show me your interfaces file?

Its hard for me to believe that the default interfaces file provides for a static wireless address, but that's why I'm asking questions.
by fearless
Tue Sep 08, 2015 6:14 am
Forum: Advanced users
Topic: help with /etc/network/interfaces: static wifi, dynamic enet
Replies: 7
Views: 1756

help with /etc/network/interfaces: static wifi, dynamic enet

I'm setting up a headless RPi B, running 2015-05-05-raspbian-wheezy.img (v 5.8.11). This will ultimately become a wireless print server for an old Canon MX310. I'd like to set up my interfaces file with the following attributes: Normally, the network connection will be wireless with a fixed address ...
by fearless
Fri Oct 24, 2014 12:58 am
Forum: Beginners
Topic: recipe for configuring RPi as an NFS server
Replies: 1
Views: 440

recipe for configuring RPi as an NFS server

I've got an RPi B+ configured to mount a pair of 2TB hard drives via USB. (I've also configured my router to assign a fixed IP address to the RPi.) Now I'd like to make those drives available via NFS to other devices on the local network. I've found a number of recipes on how to do that, but most da...
by fearless
Thu Oct 23, 2014 4:51 am
Forum: Beginners
Topic: Headless setup: no keyboard, display or frustration
Replies: 50
Views: 299937

Re: Headless setup: no keyboard, display or frustration

@azat385: I'm fairly certain ssh is enabled by default. One thing to test before ssh is pinging the address: ping xxx.xxx.xxx.xxx where "xxx.xxx.xxx.xxx" is the IP address you discovered in the previous step. If you've got the right address, you should see responses along these lines: new-host-5:Bac...
by fearless
Tue Aug 26, 2014 10:32 pm
Forum: Advanced users
Topic: Hints on using the Rainforest Automation RAVEn with RPi
Replies: 0
Views: 824

Hints on using the Rainforest Automation RAVEn with RPi

The Rainforest Automation RAVEn is a USB device that communicates with Smart Meters so you can, among other things, read and upload your electricity usage in near real-time. For info on the RAVEn, see http://rainforestautomation.com/rfa-z106-raven/ I've been writing a suite of little Python modules ...
by fearless
Tue Aug 26, 2014 10:06 pm
Forum: Troubleshooting
Topic: YAUSBP (Yet Another USB Problem) using powered hub
Replies: 11
Views: 31025

Re: YAUSBP (Yet Another USB Problem) using powered hub

Just a (late) update: The error seems to have vanished. After mothballing this project for months, I built a new Rasbpian (2014-06-20-wheezy-raspbian.zip), plugged my Rainforest Automation RAVEn directly into the RPi (version B) USB port (NOT using the powered hub, and everything is working without ...
by fearless
Thu Apr 10, 2014 1:49 pm
Forum: Advanced users
Topic: What would be really nice
Replies: 12
Views: 2743

Re: What would be really nice

From the original post: network should assume Ethernet and DHCP; ssh should be on by default; and the default password for root should be documented, so that it is possible to login and do anything Those are all true by default (at least in the latest wheezy raspbian releases). I've never needed to ...
by fearless
Tue Apr 08, 2014 7:19 pm
Forum: Beginners
Topic: Headless setup: no keyboard, display or frustration
Replies: 50
Views: 299937

Headless setup: no keyboard, display or frustration

This is a step-by-step guide of how to set up your Raspberry Pi from scratch. It assumes that you want to run "headless", that is, access it via network connections without a keyboard or display. This guide uses Raspbian, the "Debian Wheezy" version of Linux. 0. Prerequisites This guide assumes you ...
by fearless
Thu Apr 03, 2014 1:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Reading analog and/or PWM signals
Replies: 10
Views: 3399

Re: Reading analog and/or PWM signals

The MiniPIIO AIN4 looks like an option when we move into production. (Does it depend on the RPi to initiate each read? If so, that's a problem, since we need regular sampling with low jitter.) For prototyping, I don't want to spend time worrying about the data acquisition part of the project, so I'm...
by fearless
Wed Apr 02, 2014 4:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Reading analog and/or PWM signals
Replies: 10
Views: 3399

Re: Reading analog and/or PWM signals

The value read from the device (in this case, the measured current) is expressed by the ratio of "on" to "off" in a rectangular wave. Assume v is the value being measured, normalized to lie between 0.0 and 1.0. And a PWM frequency of 125Hz means it has an 8 millisecond period (1/125 Hz). At time t0,...
by fearless
Wed Apr 02, 2014 4:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Reading analog and/or PWM signals
Replies: 10
Views: 3399

Re: Reading analog and/or PWM signals

Yep. I can lower my standards to 10 bit, but 8 bit is too low. Another problem with the PCF8591 is that conversions are not self-clocked, and RPi's kernel cannot guarantee rock-steady sampling. I could build a PIC based device (for example) with dedicated timing and buffering, but I'm looking for an...
by fearless
Wed Apr 02, 2014 1:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Reading analog and/or PWM signals
Replies: 10
Views: 3399

Reading analog and/or PWM signals

I've got a current sensor that outputs in analog (0-3.3v) OR PWM (125Hz), both with nominal 12 bit resolution. It also has a temperature sensor with an analog output (0-3.3v). I'd like recommendations on how to best get the sensor data into the RPi. And (for this project) I'm favoring "easy" versus ...
by fearless
Fri May 03, 2013 4:29 pm
Forum: Troubleshooting
Topic: YAUSBP (Yet Another USB Problem) using powered hub
Replies: 11
Views: 31025

Re: YAUSBP (Yet Another USB Problem) using powered hub

@obcd: You're right. To summarize: (1) When the RAVEn USB device is plugged into the RPi directly, it is enumerated correctly and attached to /dev/ttyUSB0. But I don't seem to be able to communicate with it. (2) When plugged in via the Sabrent powered hub, I see a series of "error -71" messages and ...
by fearless
Fri May 03, 2013 3:47 pm
Forum: Troubleshooting
Topic: YAUSBP (Yet Another USB Problem) using powered hub
Replies: 11
Views: 31025

Re: YAUSBP (Yet Another USB Problem) using powered hub

Adding usbcore.old_scheme_first=Y to /boot/cmdline.txt: # file: /boot/cmdline.txt dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait usbcore.old_scheme_first=Y ... I don't get error -71, but it doesn't mount /...
by fearless
Fri May 03, 2013 3:20 pm
Forum: Troubleshooting
Topic: YAUSBP (Yet Another USB Problem) using powered hub
Replies: 11
Views: 31025

Re: YAUSBP (Yet Another USB Problem) using powered hub

For what it's worth, I *can* boot with the RAVEn plugged directly into the RPi, and it *does* show up under /dev/ttyUSB0: [ 3.202471] usb 1-1.3: new full-speed USB device number 4 using dwc_otg [ 3.329626] usb 1-1.3: New USB device found, idVendor=0403, idProduct=8a28 [ 3.341533] usb 1-1.3: New USB ...
by fearless
Fri May 03, 2013 3:04 am
Forum: Troubleshooting
Topic: YAUSBP (Yet Another USB Problem) using powered hub
Replies: 11
Views: 31025

YAUSBP (Yet Another USB Problem) using powered hub

I'm trying to communicate with a Rainforest Automation RAVEn USB dongle (it's a ZigBee interface to smart [sic] power meters). I'm using a Sabrent HB-USB30 powered 4-port USB hub between the RAVEn and the RPi. I'm running Wheezy [Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (pr...

Go to advanced search