Go to advanced search

by edo1
Thu Mar 24, 2016 12:15 pm
Forum: Advanced users
Topic: store logs on usb flash drive for 24/7 operation
Replies: 8
Views: 3207

Re: store logs on usb flash drive for 24/7 operation

I am planning to use my raspberry for some home automation tasks. So it should operate continuously, 24/7. IMHO you should use readonly SD card if you need 24/7. you could store logs on usb flash, yes. but you must be prepared that someday this flash breaks. maybe better option is to use some netwo...
by edo1
Thu Mar 24, 2016 12:51 am
Forum: Advanced users
Topic: UART, SPI : chasing the bottleneck
Replies: 4
Views: 1053

Re: UART, SPI : chasing the bottleneck

Could you provide more details?
by edo1
Thu Mar 24, 2016 12:50 am
Forum: Beginners
Topic: which USB 1.1 and USB 2.0 devices to which USB port?
Replies: 11
Views: 2147

Re: which USB 1.1 and USB 2.0 devices to which USB port?

ALL will downgrade even if just one 1.1 is plugged to either one?? no from wikipedia: Any USB 2.0 hub that supports a higher standard than USB 1.1 (12 Mbit/s) will translate between the lower standard and the higher standard using what is called a transaction translator (TT). For example, if a USB ...
by edo1
Wed Mar 23, 2016 10:46 pm
Forum: Troubleshooting
Topic: Corrupted micro SD card
Replies: 6
Views: 1230

Re: Corrupted micro SD card

supermario3 wrote:How can I fix it?
buy new one
by edo1
Wed Mar 23, 2016 2:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Device connection to RPi (GPIO or SPI/I2C)
Replies: 6
Views: 1322

Re: Device connection to RPi (GPIO or SPI/I2C)

jesus_malaga wrote:is what you need
are you sure that it is suitable for 10m link?
by edo1
Wed Mar 23, 2016 1:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Device connection to RPi (GPIO or SPI/I2C)
Replies: 6
Views: 1322

Re: Device connection to RPi (GPIO or SPI/I2C)

there is a lot of information, google for "raspberry can bus" and/or "raspberry mcp2515"
by edo1
Tue Mar 22, 2016 11:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Device connection to RPi (GPIO or SPI/I2C)
Replies: 6
Views: 1322

Re: Device connection to RPi (GPIO or SPI/I2C)

If I have simple device (like magnetic sensor, motion senzor or relay) all I need to control them is assign 1 bit to relay and read 1 bit from magnetic senzor. In that case I do not need any special bus like SPI/I2C, right? right you couldn't connect "simple device" to those buses, only designed fo...
by edo1
Tue Mar 22, 2016 10:21 pm
Forum: Automation, sensing and robotics
Topic: Using an I2C expander to connect multiple distance sensors?
Replies: 35
Views: 5832

Re: Using an I2C expander to connect multiple distance senso

No, you cannot use one output pin in common due to multi-path interference you can only use one sensor at a time. ok, it seems to be a bad idea. ...and all the sensors would be driving the output line (it's not open collector). Those not sensing would be driving it low. The one sensing would be try...
by edo1
Tue Mar 22, 2016 10:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: n.3 UART RS232 by using Raspberry
Replies: 4
Views: 1196

Re: n.3 UART RS232 by using Raspberry

Pi is not for industry, it's not reliable like specially designed SBC for industrial applications IMHO Pi's reliability is good enough Second'os: In industrial SBC you have much more reliable memory (that can works for years) than RPi (SD card can work up to 6-15 months - depends on card)... There ...
by edo1
Tue Mar 22, 2016 9:26 pm
Forum: Automation, sensing and robotics
Topic: Using an I2C expander to connect multiple distance sensors?
Replies: 35
Views: 5832

Re: Using an I2C expander to connect multiple distance senso

The point here is that three HC-SR04 mean dedicate 6 GPIO ports. you could use common output pin for all sensors and one input pin per sensor, couldn't you? You say you are working on a CAN bus expander. ¿Is there any reason you know to consider using CAN better than I2C? really CAN bus GPIO expand...
by edo1
Tue Mar 22, 2016 7:32 am
Forum: Troubleshooting
Topic: Raspberry PI 3 / Only 1 usb port works at a time
Replies: 9
Views: 1662

Re: Raspberry PI 3 / Only 1 usb port works at a time

have you tested another kind of devices? (for example usb flash)
by edo1
Tue Mar 22, 2016 7:24 am
Forum: Troubleshooting
Topic: Migration from Pi2 to Pi 3 - usb and system performance
Replies: 3
Views: 790

Re: Migration from Pi2 to Pi 3 - usb and system performance

the same RPI2 is slow now?
by edo1
Mon Mar 21, 2016 3:21 pm
Forum: Automation, sensing and robotics
Topic: Using an I2C expander to connect multiple distance sensors?
Replies: 35
Views: 5832

Re: Using an I2C expander to connect multiple distance senso

jesus_malaga wrote:but I do not want to run out of GPIO pins. Apart of that, the system has some extra hardware
IMHO you could connect time-sensitive things (like HC-SR04) directly to GPIO-pins, all others things - to expander.
by edo1
Mon Mar 21, 2016 3:17 pm
Forum: Automation, sensing and robotics
Topic: Using an I2C expander to connect multiple distance sensors?
Replies: 35
Views: 5832

Re: Using an I2C expander to connect multiple distance senso

I'm trying to use HC-SR04 over CAN bus (with MCP25020 GPIO expander). It seems to work, but I haven't tested it well yet.
And yes, I don't need so accurate measurement.
by edo1
Mon Mar 21, 2016 9:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [quick-guide] CAN bus on raspberry pi with MCP2515
Replies: 160
Views: 257192

Re: [quick-guide] CAN bus on raspberry pi with MCP2515

because there is no such pin on RPI ;)
by edo1
Mon Mar 21, 2016 8:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [quick-guide] CAN bus on raspberry pi with MCP2515
Replies: 160
Views: 257192

Re: [quick-guide] CAN bus on raspberry pi with MCP2515

vsboost wrote:"so powering MCP2515 and TJA1050 from 5V will break Pi IOs" why is this so?
because MCP2515 will produce 5V on his output pins (including those that are connected to PRI)
by edo1
Sun Mar 20, 2016 11:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [quick-guide] CAN bus on raspberry pi with MCP2515
Replies: 160
Views: 257192

Re: [quick-guide] CAN bus on raspberry pi with MCP2515

if you want to setup interface at startup you could add to /etc/network/interfaces

Code: Select all

auto can0
iface can0 can static
        bitrate 125000
by edo1
Sun Mar 20, 2016 11:02 pm
Forum: Beginners
Topic: Power for multiple PI's
Replies: 9
Views: 1679

Re: Power for multiple PI's

IMHO you need something like MW LRS-50-5.
http://www.meanwell.com/webapp/product/ ... rod=LRS-50
by edo1
Sun Mar 20, 2016 4:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] DS18B20 1-wire temperature sensor driver broken?
Replies: 14
Views: 6767

Re: DS18B20 1-wire temperature sensor driver broken?

Thanks very much for this, I haven't tried the bitbanging yet as I feel the standard kernel driver should work for me also. This particular sensor and connections work fine when used with an Arduino-type device (well, Teensy LC). The part number is "DALLAS DS18B20P" so you're right about parasitic ...
by edo1
Sun Mar 20, 2016 11:21 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] DS18B20 1-wire temperature sensor driver broken?
Replies: 14
Views: 6767

Re: DS18B20 1-wire temperature sensor driver broken?

jbeale wrote:I have a problem with 1-Wire temperature sensor.
do you use parasite power?
is it ds18b20 or ds18b20-PAR?
by edo1
Sat Mar 19, 2016 11:53 pm
Forum: Troubleshooting
Topic: Raspberry Pi 2 extra serial port and gps
Replies: 6
Views: 1655

Re: Raspberry Pi 2 extra serial port and gps

Did you set baudrate?
You could run "minicom -so" in a terminal window for tests.
by edo1
Fri Mar 18, 2016 9:37 am
Forum: Troubleshooting
Topic: Raspberry Pi 3 microSD card slot - spring ejection?
Replies: 13
Views: 39022

Re: Raspberry Pi 3 microSD card slot - spring ejection?

I had a lot of issues with B+/2B card slot - unintentional card touch results in a system failure. So I welcome this decision.
Indeed I like SD slot of first RPI. I don't see any advantage of microSD for RPI's.
by edo1
Fri Mar 18, 2016 9:21 am
Forum: Advanced users
Topic: Interfacing DS2413 with raspberry pi
Replies: 2
Views: 817

Re: Interfacing DS2413 with raspberry pi

I have experience only with ds18b20 but it shouldn't matter. You could read any howto about 1-wire for RPI.
by edo1
Wed Mar 16, 2016 12:14 am
Forum: Linux Kernel
Topic: raspberry and mainline kernel trees
Replies: 3
Views: 3292

raspberry and mainline kernel trees

Sorry for a dumb questions (and for bad English), but I couldn't find any information about current state of PRI support in a different kernel trees. 1. What about vanilla kernel? For example what is the difference between 4.5 vanilla branch and 4.5 raspberry branch? What wouldn't work with vanilla ...
by edo1
Tue Mar 15, 2016 10:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 377710

Re: CAN controller

skpang wrote:The only thing I'm not sure is the interrupt pin. Both devices is connected to GPIO25 as stated in the overlay. Maybe it need individual pin but it is hard coded at the moment.
Are you out of GPIO pins?
IMHO pin sharing is a bad idea even if it is supported by the software.

Go to advanced search