Go to advanced search

by OutoftheBOTS
Wed Oct 18, 2017 8:58 pm
Forum: Automation, sensing and robotics
Topic: 15 MPU6050 through I2C
Replies: 10
Views: 3558

Re: 15 MPU6050 through I2C

First of all go straight to the horses mouth for details on any chip here is a link to the manufactures website will all the details https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/ scroll down and you will see 2 docs, 1 for the datasheet and 1 for the register map, click on the ...
by OutoftheBOTS
Mon Oct 16, 2017 8:01 pm
Forum: General discussion
Topic: A current/voltage question: driving three DC underwater motors via Pi
Replies: 3
Views: 879

Re: A current/voltage question: driving three DC underwater motors via Pi

So a couple of things here first is that the docs on the thrusters say that can pull up to 12.5amps so what ever you use needs to be able to handle that much current or it will over heat. Second you need to understand the difference between types of motors the Adafruit motor hat will control both st...
by OutoftheBOTS
Sun Oct 15, 2017 8:52 am
Forum: General discussion
Topic: Wifi and blueTooth stopped working
Replies: 4
Views: 681

Re: Wifi and blueTooth stopped working

Yes. the power supply is the same 1 that runs all my other RPi's
by OutoftheBOTS
Sun Oct 15, 2017 5:25 am
Forum: General discussion
Topic: Wifi and blueTooth stopped working
Replies: 4
Views: 681

Wifi and blueTooth stopped working

One of my kids robots they where building for a competition suddenly had it's Wifi anf Bluetooth stop working. They hadn't used it for a bit then when they tried to start it up both the Wifi and the bluetooth can't find any devices even though there is both our router and blue tooth speaker there. I...
by OutoftheBOTS
Sun Oct 15, 2017 2:34 am
Forum: Automation, sensing and robotics
Topic: Adafruit_PWM_Servo_Driver on Raspian Stretch
Replies: 3
Views: 1073

Re: Adafruit_PWM_Servo_Driver on Raspian Stretch

Ha Ha Ha classic it call out
by OutoftheBOTS
Sun Oct 15, 2017 2:33 am
Forum: Python
Topic: Comparing two images using PIL
Replies: 13
Views: 15880

Re: Comparing two images using PIL

For comparing 2 images you wouldn't need to adjust brightness of 1 channel over another. When you convert to grey scale for human eyes to look at it you normally adjust the weighting of different channels to produce a grey scale that is what the human eye would see this is called the Luminance where...
by OutoftheBOTS
Sat Oct 14, 2017 8:14 pm
Forum: Python
Topic: Weird return of RMS
Replies: 1
Views: 454

Re: Weird return of RMS

Fist of all I have to ask for what purpose do you want to use this function(finding difference between to images) for?? Here is a super simple example of compare images to detect value and suit of a card, from 2:50 it shows this https://www.youtube.com/watch?v=m-QPjO-2IkA The method that you have us...
by OutoftheBOTS
Fri Oct 13, 2017 5:41 am
Forum: Python
Topic: Comparing two images using PIL
Replies: 13
Views: 15880

Re: Comparing two images using PIL

When PIL resized the image what method does it use?? If you resizing to 1/10th then does it just take every 10 pixel or does it average out those 10 pixels?? Because if during the resizing it is averaging then it won't be a need to blur as the fine detail has already been averaged out. I need to get...
by OutoftheBOTS
Fri Oct 13, 2017 5:23 am
Forum: Advanced users
Topic: Processing Capacity of Raspberry Pi 3 Model B
Replies: 5
Views: 2283

Re: Processing Capacity of Raspberry Pi 3 Model B

I will be reading and writing: 1. 8 8-byte floats every second 2. a 5 megapixel image every 10 seconds 3. data will be written to 3.0 USB PID control system at once every 30 seconds Then, I will be performing a measurement scan. 1. Reading 4 8-byte float every .1 seconds 2. Compute 3 numbers a. 6 A...
by OutoftheBOTS
Thu Oct 12, 2017 9:12 pm
Forum: Python
Topic: Connecting to bluetooth device in Python
Replies: 3
Views: 1609

Re: Connecting to bluetooth device in Python

I only use the bluetooth and I find and time I switch on the bluetooth speaker it auto connects ever since I set it up the first time :)
by OutoftheBOTS
Thu Oct 12, 2017 9:09 pm
Forum: Python
Topic: Comparing two images using PIL
Replies: 13
Views: 15880

Re: Comparing two images using PIL

Great response paddyg You have done something very similar to my version using OpenCV but using a low level version. I have a couple of question for you. You resized to 32 x 32, I assume this is to remove the fine detail and average some pixels out similar to the blur part of my process?? I was also...
by OutoftheBOTS
Thu Oct 12, 2017 8:47 pm
Forum: General discussion
Topic: ir receiver problem
Replies: 26
Views: 5183

Re: ir receiver problem

Glad to see you have found out the difference between BOARD and BCM numbering. Yes the code that I posted wasn't quite ready to share so I just got my code and removed a few unnecessary thing (debugging stuff that I had in there) and posted it. I think some of the spacing got mixed up in that proces...
by OutoftheBOTS
Thu Oct 12, 2017 8:16 am
Forum: Python
Topic: Connecting to bluetooth device in Python
Replies: 3
Views: 1609

Re: Connecting to bluetooth device in Python

I did it by simply connecting the bluetooth speakers in the GUI OS and select it as the audio device. 2 do this just right click at top right of the screen on the Bluetooth icon and then pair the device. Once paired then right click on the volume icon and select the bluetooth speaker. After this whe...
by OutoftheBOTS
Thu Oct 12, 2017 8:12 am
Forum: Python
Topic: Comparing two images using PIL
Replies: 13
Views: 15880

Re: Comparing two images using PIL

There is many ways to compare 2 images to find what's different, this is the base for motion detection. For more advanced image processing the OpenCV library is much better than the standard PIL library Motion detection basically wants to know where the difference is between the 2 images. The very m...
by OutoftheBOTS
Wed Oct 11, 2017 9:16 pm
Forum: Automation, sensing and robotics
Topic: Rpi + RC Tank + OpenCV = Automated Tank of Awesomeness
Replies: 8
Views: 5939

Re: Rpi + RC Tank + OpenCV = Automated Tank of Awesomeness

1 thing that you may find is that your want to do a lot and that 1 RPi probably won't have enough power to do it all. U will probably need 2 x RPi's. 1 to run the computer vision and 1 for everything else like streaming the video and driving the motors. I would suggest that u will need to use a RPi3...
by OutoftheBOTS
Wed Oct 11, 2017 7:55 pm
Forum: Automation, sensing and robotics
Topic: HC-SR04 ultrasonic distance sensor issue while robot is in motion
Replies: 6
Views: 3177

Re: HC-SR04 ultrasonic distance sensor issue while robot is in motion

Looks like the US-015 might have a narrower band width for the sound that it listens for.
by OutoftheBOTS
Wed Oct 11, 2017 7:52 pm
Forum: General discussion
Topic: IR remote kit
Replies: 1
Views: 640

Re: IR remote kit

The remote pad is self explained what it does. The receiver goes on the RPi/MCU to recieve the codes from the remote oad or any other IR remote. The LED on the little board is so that the RPi/MCU can act like a transmitter the same as the remote pad so you can use your RPi/MCU to be able to control ...
by OutoftheBOTS
Wed Oct 11, 2017 11:20 am
Forum: Automation, sensing and robotics
Topic: 15 MPU6050 through I2C
Replies: 10
Views: 3558

Re: 15 MPU6050 through I2C

The Adafruit 1 that you posted is a I2C multiplexer that you can hang 8 devices off. It is possible to chain the multiplexer together to get more but you will start to have lots of trouble with speed of being able to read so many devices through very slow I2C while also switching a multiplex within ...
by OutoftheBOTS
Wed Oct 11, 2017 4:52 am
Forum: General discussion
Topic: Program controllable audio player?
Replies: 7
Views: 1172

Re: Program controllable audio player?

The standard PyGame library will play music files from your python script
by OutoftheBOTS
Tue Oct 10, 2017 8:28 pm
Forum: Automation, sensing and robotics
Topic: A voltage regulator instead of transistor for IR sender
Replies: 3
Views: 1308

Re: A voltage regulator instead of transistor for IR sender

I use a circuit like the 1 that you posted above to very successfully flash a IR LED to operate IR remote controls. It is your resistor values r in correct for the LED to be be fully bright, at the values you have it will be barely on. The transistor base needs enough power to fully open the transis...
by OutoftheBOTS
Tue Oct 10, 2017 8:12 pm
Forum: General discussion
Topic: I am trying to build my own display device for my raspberry pi
Replies: 8
Views: 3521

Re: I am trying to build my own display device for my raspberry pi

this was the board connect in the laptop usb to connect the touch and the camera if the c1 can be converted to usd i think it will work for the touch and camera module can anyone tell me how to convert the c1 out from the image to usb out Looking at the pic of that little board I don't see an ADC c...
by OutoftheBOTS
Tue Oct 10, 2017 10:59 am
Forum: General discussion
Topic: ir receiver problem
Replies: 26
Views: 5183

Re: ir receiver problem

I am playing with IR transmitters and receivers atm. The 2 little boards that you have there r capable of transmitting and receiving the IR codes used by most of the IR remotes around. I didn't use the LIRC as people that I spoke to that used it found it hard to work out how to get it to do what the...
by OutoftheBOTS
Tue Oct 10, 2017 10:44 am
Forum: General discussion
Topic: I am trying to build my own display device for my raspberry pi
Replies: 8
Views: 3521

Re: I am trying to build my own display device for my raspberry pi

The touch part of the screen is seperate from the screen it's self. The touch is a think film that goes over the front of the screen and can work by either resistive touch or captive touch but both work off the same principal. it has a grid of fine wires across the screen and voltage is passed down ...
by OutoftheBOTS
Mon Oct 09, 2017 8:18 pm
Forum: Automation, sensing and robotics
Topic: 2 x RS232 in -> 1 x RS232 out + web interface
Replies: 2
Views: 885

Re: 2 x RS232 in -> 1 x RS232 out + web interface

You can buy a adapter board for the RPi to convert the 3.3v serial pins to 5v RS232 with the correct output plug. Then it should just be a case of knowing what commands is needed to be send to the lighting controller. I would set it up that only the RPi can talk to the controller then you won't need...

Go to advanced search