Go to advanced search

by Reasonable
Tue Feb 02, 2016 3:59 am
Forum: Troubleshooting
Topic: Connecting multiple i2c devices
Replies: 3
Views: 1090

Re: Connecting multiple i2c devices

rzusman wrote:Use common ground for everything.
Battery powers your LIDAR.
Pi powers the other devices.
Pullup resistors should not be necessary, but if they are, pullup to 3.3v, since 5v might damage the Pi's I/O lines.
I thought resistors are needed for multiple i2c devices
by Reasonable
Tue Feb 02, 2016 3:48 am
Forum: Troubleshooting
Topic: Connecting multiple i2c devices
Replies: 3
Views: 1090

Connecting multiple i2c devices

I have a tricky situation. I need to connect multiple i2c devices to raspberry pi and one of the devices (a LIDAR) needs a capacitor between the ground and a 5v line. I have two power sources: a battery for the sensors and the Rpi itself to power the LIDAR. The capacitor should not be touching the 5...
by Reasonable
Tue Jan 12, 2016 6:45 am
Forum: Troubleshooting
Topic: Connecting Arduino clone to Raspberry Pi CH340G chipset
Replies: 16
Views: 11279

Re: Connecting Arduino clone to Raspberry Pi CH340G chipset

Close to figuring this out. When I connect the nano with a 3-inch cable it shows up on the Pi but none of the other cables work :cry:
:?:
by Reasonable
Mon Jan 11, 2016 7:25 pm
Forum: Troubleshooting
Topic: Connecting Arduino clone to Raspberry Pi CH340G chipset
Replies: 16
Views: 11279

Re: Connecting Arduino clone to Raspberry Pi CH340G chipset

hansotten wrote:Linux raspberrypibplus 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
So, this looks like a Wheezy, correct? Any idea what I can do to get the ch340 recognized on my system? I made sure to get the latest updates already.
by Reasonable
Mon Jan 11, 2016 4:05 pm
Forum: Troubleshooting
Topic: Connecting Arduino clone to Raspberry Pi CH340G chipset
Replies: 16
Views: 11279

Re: Connecting Arduino clone to Raspberry Pi CH340G chipset

Are you on Jessie or Wheezy? I'm running Wheezy and maybe that's why it doesn't work. Also, ch340 is listed as a non-supported chipset on Linux peripherals. I've tried 3 nanos and none of them show up after I run lsusb.
by Reasonable
Mon Jan 11, 2016 6:41 am
Forum: Troubleshooting
Topic: Connecting Arduino clone to Raspberry Pi CH340G chipset
Replies: 16
Views: 11279

Connecting Arduino clone to Raspberry Pi CH340G chipset

Has anyone successfully connected an arduino clone based on CH340G USB chipset to Raspberry Pi? Do you have step-by-step instructions for installing the USB driver? I found a couple examples on the web but getting compilation errors.
by Reasonable
Mon Jan 04, 2016 1:30 am
Forum: Python
Topic: Reading serial data in Python
Replies: 1
Views: 649

Re: Reading serial data in Python

figured it out, had to flush serial
by Reasonable
Mon Jan 04, 2016 12:14 am
Forum: Python
Topic: Reading serial data in Python
Replies: 1
Views: 649

Reading serial data in Python

I have connected my Raspberry Pi to Arduino via USB. Arduino is sending distance data from a sensor to the serial port several times a second. I am reading the values in Python but the issue is I only want to take what is being output at this very second and do not care about previous values. So, in...
by Reasonable
Fri Dec 04, 2015 10:16 pm
Forum: General discussion
Topic: Connecting multiple SDA SCL Devices
Replies: 3
Views: 1555

Connecting multiple SDA SCL Devices

Hi,

Is there such a thing (board/controller) that would allow connecting multiple sda / scl devices to raspberry pi?

thanks!
by Reasonable
Mon Nov 16, 2015 2:51 am
Forum: Troubleshooting
Topic: Motors start working immediately when connected
Replies: 5
Views: 649

Re: Motors start working immediately when connected

So, some GPIO pins are "hot" so to speak just when you turn on the pi? That's weird. I will run my program and let me see if this helps, I was just testing the initial wiring setup.
by Reasonable
Mon Nov 16, 2015 2:26 am
Forum: Troubleshooting
Topic: Motors start working immediately when connected
Replies: 5
Views: 649

Motors start working immediately when connected

I have two motors and a motor driver board connected to Pi.

For some weird reason as soon as I connect GPIO 4 to the driver board, the motors start spinning.

Any ideas why this would be happening?
by Reasonable
Wed Feb 18, 2015 7:56 am
Forum: General discussion
Topic: Trying to Get Raspberry Pi to Recognize Automobiles
Replies: 15
Views: 3398

Re: Trying to Get Raspberry Pi to Recognize Automobiles

You'll need a camera+opencv, and lidar
by Reasonable
Wed Feb 18, 2015 6:39 am
Forum: General discussion
Topic: Could anyone test if this www(fr24) works on the Pi2 ?
Replies: 5
Views: 742

Re: Could anyone test if this www(fr24) works on the Pi2 ?

It took forever to wait for the page to load, so I had to close the browser. It wouldn't even let me go back. I think HTML is pretty bad on that site. I am on Pi 2.
by Reasonable
Wed Feb 18, 2015 6:24 am
Forum: Camera board
Topic: picam and opencv
Replies: 1
Views: 715

picam and opencv

What is the easiest way to make picam work with opencv? Is there really an easy way? Or should I just use a usb camera?
by Reasonable
Thu Feb 12, 2015 9:01 pm
Forum: General discussion
Topic: Using Lidar with Raspberry Pi and Arduino
Replies: 0
Views: 735

Using Lidar with Raspberry Pi and Arduino

I am planning to hook up a LIDAR to Arduino and then connect it to Raspbery Pi. The idea is to build an autonomous robot that can navigate using LIDAR data. I built one using a sonar and it works fine but I want something more accurate and also just want to learn how to work and process LIDAR data. ...
by Reasonable
Tue Feb 10, 2015 10:21 pm
Forum: General discussion
Topic: Extra GPIO pins with pitft
Replies: 1
Views: 945

Extra GPIO pins with pitft

Adafruit is selling a touchscreen that goes on top of Raspberry Pi. Unfortunately it takes most of the GPIO pins. Is there an extension board that I can attach pitft to or an extension board with extra GPIO pins?
by Reasonable
Tue May 20, 2014 4:39 pm
Forum: Python
Topic: Controlling ultrasonic sensor
Replies: 9
Views: 1379

Re: Controlling ultrasonic sensor

I am controlling servos via i2c, let me mess around with this
by Reasonable
Tue May 20, 2014 8:24 am
Forum: Python
Topic: Controlling ultrasonic sensor
Replies: 9
Views: 1379

Re: Controlling ultrasonic sensor

No, the servos are off. Something goes wrong once I'm in the while loop getting sonar readings, and I believe only when the distance between the obstacle and the robot doesn't decrease or increase consistently.
by Reasonable
Tue May 20, 2014 8:09 am
Forum: C/C++
Topic: Learning C
Replies: 13
Views: 2565

Learning C

Are there any good resources for learning C for Raspberry Pi? Any good book recommendations? I'm not a complete novice and understand the basics but never really dealt with C. I did some work with C++ but a very long time ago. I've been looking at some tutorials and they are either along the lines o...
by Reasonable
Tue May 20, 2014 7:43 am
Forum: Python
Topic: Controlling ultrasonic sensor
Replies: 9
Views: 1379

Re: Controlling ultrasonic sensor

No, I don't have it in the software but it happens only when the distance varies in front of ultrasonic sensor. When the distance between the robot and an obstacle increases or decreases at a consistent pace, this doesn't happen.
by Reasonable
Tue May 20, 2014 6:47 am
Forum: General discussion
Topic: Connecting 2 SCL devices to RPi
Replies: 13
Views: 1387

Re: Connecting 2 SCL devices to RPi

There aren't that many different accelerometers/gyros. I'm sure someone has them working with Python. well, I do have it working but the errors are pretty significant. Based on what I am reading it is because Python cannot keep up. Within 20 seconds the readings are getting skewed. I tried a couple...
by Reasonable
Tue May 20, 2014 6:43 am
Forum: Python
Topic: Controlling ultrasonic sensor
Replies: 9
Views: 1379

Re: Controlling ultrasonic sensor

notice what happens after it says "going backwards"
http://youtu.be/1njb59WX4KA
by Reasonable
Tue May 20, 2014 6:28 am
Forum: Python
Topic: Controlling ultrasonic sensor
Replies: 9
Views: 1379

Re: Controlling ultrasonic sensor

the servo is turning left and twitching for some reason. I am putting my hand in front of it though, so I think it's getting a bunch of readings and can't keep up. That's what I am guessing. I want to reduce the number of readings to 1 per second or 1 per half a second to see if it fixes it.
by Reasonable
Mon May 19, 2014 9:51 pm
Forum: General discussion
Topic: Connecting 2 SCL devices to RPi
Replies: 13
Views: 1387

Re: Connecting 2 SCL devices to RPi

thank, you joan, I connected the accelerometer/gyro to the servo driver and it worked. Getting it to work correctly with Python is another story :)

Go to advanced search