Go to advanced search

by OutoftheBOTS
Mon Jul 23, 2018 9:03 pm
Forum: Python
Topic: neopixel led matrix
Replies: 9
Views: 2225

Re: neopixel led matrix

This is how you will have to connect it. Connect a 5v power supply (that is rated for enough amps) to the Neopixels then connect the data pin to the RPi and also connect a common ground to both the power supply and the RPi as the data signal that the RPi sends out needs to be able to return back to ...
by OutoftheBOTS
Sun Jul 22, 2018 10:20 pm
Forum: Python
Topic: neopixel led matrix
Replies: 9
Views: 2225

Re: neopixel led matrix

I have not used this exact product but I assume that it should be able to be used with RPi. Neop Pixels are a bit complicated to use with RPi but doable. Here is a short video that I made about using NeoPixels on RPi. https://www.youtube.com/watch?v=v7FoA8fZJQA In that video I was powering the NeoPi...
by OutoftheBOTS
Wed Jul 04, 2018 5:49 am
Forum: Python
Topic: Switching In a RGB LED?
Replies: 14
Views: 1180

Re: Switching In a RGB LED?

All LEDs have both an anode and a cathode.

Anode is the positive connection and the Cathode is the negative connection.
by OutoftheBOTS
Sun Jul 01, 2018 9:55 pm
Forum: Automation, sensing and robotics
Topic: Position Triangulation
Replies: 21
Views: 3675

Re: Position Triangulation

The reason why i avoided it was that i want to create an environment similar to real world cars where they are using GPS GPS has accuracy of a few meters, your after accuracy of a few centimeters meaning you will need super accurate sensors. This is likely to reduce option and push up price. The Op...
by OutoftheBOTS
Fri Jun 29, 2018 10:51 am
Forum: Automation, sensing and robotics
Topic: Wiring for 3 analogue inputs
Replies: 4
Views: 693

Re: Wiring for 3 analogue inputs

I would first see if the RPi will switch the relay board before ruling it out. This relay board has 3 separate circuits. The high power of the outputs of the relay, the 5v that operates the solenoids to turn the relay on/off then there is a optocoupler between the 5v on the relay and the logic lines...
by OutoftheBOTS
Fri Jun 29, 2018 8:01 am
Forum: Automation, sensing and robotics
Topic: Suggestions for Master thesis projects with Raspi and Velodyne Lidar
Replies: 1
Views: 340

Re: Suggestions for Master thesis projects with Raspi and Velodyne Lidar

Wow pretty impressive bit of kit. seeing as it sensing 600,000 Points per Second in 3D it is going to require some seroius CPU power and a hell of a lot of codeing. Seems like a lot of development for a project that has to be completed in 6 months. It has the potential to be the sole sensor needed o...
by OutoftheBOTS
Fri Jun 29, 2018 7:32 am
Forum: Automation, sensing and robotics
Topic: Wiring for 3 analogue inputs
Replies: 4
Views: 693

Re: Wiring for 3 analogue inputs

I do notice that your connecting 3.3v to the Vcc of the ADS115 but your connecting 5v to the sensors this means the ADS115 will have a Vref of 3.3v but the the range of the sensors will be 0v - 5v. The ADS1115 will run on 5v so you might have to run it on 5v but then use a logic level shifter on you...
by OutoftheBOTS
Sun Jun 24, 2018 10:27 pm
Forum: Automation, sensing and robotics
Topic: Automate gate opening
Replies: 2
Views: 399

Re: Automate gate opening

You can use MQTT message it is like sms for computers and it's free over the internet. You have a few options for how the RPi is going to open the gate once it recieves the MQTT message from your phone. 1. You can hack the gate controller and the RPi directly connects to the gate controller 2. RPi c...
by OutoftheBOTS
Sun Jun 24, 2018 9:49 am
Forum: Automation, sensing and robotics
Topic: Help choosing parts for robot
Replies: 4
Views: 476

Re: Help choosing parts for robot

My current design requires 7-9 motors, 1-2 servos, 2 cameras and 1 red-dot sight, or something that works similar to or what to use a red-dot. Wow that is a big list. Have you ever built robots before if not you might want to start with a smaller design and make it work first before going so big. F...
by OutoftheBOTS
Wed Jun 20, 2018 3:58 am
Forum: Automation, sensing and robotics
Topic: Secret Mission Motion Sensor
Replies: 11
Views: 1137

Re: Secret Mission Motion Sensor

PIR sensors are cheap and see at night well because they see body heat so also are not set off by other motion not involving heat(windy blowing doors/trees).

The cheap Easy way to link these things remotely is with a ESP8266 node mcu via MQTT message to your RPi
by OutoftheBOTS
Mon Jun 11, 2018 10:07 am
Forum: Automation, sensing and robotics
Topic: House mapping robot?
Replies: 5
Views: 5645

Re: House mapping robot?

Lidar used to be rea;lly expensive but it has now become quite cheap see https://www.dfrobot.com/product-1125.html

Also youtube SLAM
by OutoftheBOTS
Sun Jun 10, 2018 6:43 am
Forum: Automation, sensing and robotics
Topic: The wheels are working ... but the robot no :'(
Replies: 8
Views: 955

Re: The wheels are working ... but the robot no :'(

OK I will assume that you understand some basic physics. The motor will output a certain amount of power. Where power = force x distance(force is applied over), therefore force = power/distance Most of these little motors will spin at about 6000rpm (yes that fast), then you multiply this rpm by the ...
by OutoftheBOTS
Fri Jun 08, 2018 9:02 pm
Forum: Automation, sensing and robotics
Topic: Holding Position with Servo
Replies: 2
Views: 461

Re: Holding Position with Servo

Please link the continuous rotation servo that your using because if it is a hobby style servo that has been turned into a continuous rotation servo then it is no longer a servo (even though seller advertise it as a servo) but just a geared motor. What's the difference between a motor and a servo?? ...
by OutoftheBOTS
Thu Jun 07, 2018 9:05 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi and Ardino network connectivity
Replies: 6
Views: 861

Re: Raspberry Pi and Ardino network connectivity

Instead of using Arduino at the relay end use a ESP8266 as they are alreayd wifi enabled and specailly designed for IOT. Google "esp8266 nodemcu" The ESP8266 can be programmed with Arudino IDE or Micro-Python or Lua. Using MQTT is the easiest way to send instructions from your RPi to the ESP8266 via...
by OutoftheBOTS
Wed Jun 06, 2018 9:22 am
Forum: Automation, sensing and robotics
Topic: Laser Target
Replies: 2
Views: 433

Re: Laser Target

Yes this certainly could be built with a RPi.

Fairly simple idea. Need a light sensor in the bulls eye to detect the laser then active the LED ring and solenoid to move the target then increment the counter
by OutoftheBOTS
Fri Jun 01, 2018 9:43 pm
Forum: Automation, sensing and robotics
Topic: Communication between nodemcu esp8266 and raspi3
Replies: 9
Views: 2896

Re: Communication between nodemcu esp8266 and raspi3

There is another way to do this. If you use MicoPython on the ESP8266 then MicoPython on the ESP8226 has a web repl that you can send python scripts to the esp8266 via a url. If you also choose to upgrade to the ESP32 then there is a port of MicoPython that can run a python repl over telnet too that...
by OutoftheBOTS
Fri Jun 01, 2018 9:36 pm
Forum: Automation, sensing and robotics
Topic: monitoring rotary encoder on fast motor with pigpio - improving performance?
Replies: 24
Views: 3034

Re: monitoring rotary encoder on fast motor with pigpio - improving performance?

Frequency on scope: 2.70kHz Encoder ticks: 159,492, which is 5,316 edges per second or 2,658Hz. Samples: 3,403,943, or ~21 times pulse rate. Runtime: 30.00s If then turn that on its head and run it for 159,492 ticks, I get Frequency on scope: 2.70kHz Encoder ticks: 159,492 (obviously). Samples: 296...
by OutoftheBOTS
Thu May 31, 2018 9:14 pm
Forum: Python
Topic: Help with I2c to SPI Code conversion
Replies: 4
Views: 681

Re: Help with I2c to SPI Code conversion

OK without sitting down and taking a fair bit of time to read the datasheet and workout exactly how the sensor works I can't tell if there is any other bugs in your program and I really don't have the time to do that. The other problem could be is that wiring is wrong. Check the data sheet that you ...
by OutoftheBOTS
Wed May 30, 2018 9:08 pm
Forum: Automation, sensing and robotics
Topic: monitoring rotary encoder on fast motor with pigpio - improving performance?
Replies: 24
Views: 3034

Re: monitoring rotary encoder on fast motor with pigpio - improving performance?

I'm measuing 2.72 kHz at (roughly) 80rpm, which is how I derived the figure of 2100 pulses per rev. So callbacks should be OK? Write your software callback and hook it up to both your scope and software call back at same time and compare the 2, if they both count the same number of pulses then all ...
by OutoftheBOTS
Wed May 30, 2018 6:25 am
Forum: Automation, sensing and robotics
Topic: monitoring rotary encoder on fast motor with pigpio - improving performance?
Replies: 24
Views: 3034

Re: monitoring rotary encoder on fast motor with pigpio - improving performance?

I'll probaby just use standard GPIO callbacks for the encoders and then do the PID as you have You will find the GPIO call back will miss so many pulses that any sort of speed control or position control just won't work. At 2100 pulses per revolution at a max speed of 80RPM is 168,000 pulses per se...
by OutoftheBOTS
Tue May 29, 2018 9:10 pm
Forum: Automation, sensing and robotics
Topic: Positioning of 360degree servo motor by angle
Replies: 8
Views: 1481

Re: Positioning of 360degree servo motor by angle

Ok the manufacture does give much detail on this servo and google couldn't find anything either (probably a new release servo). It does seem to be a digital servo reading the link that you posted. Programmable Functions End Point Adjustments Direction Fail Safe Dead Band Speed (Slower) Soft Start Ra...
by OutoftheBOTS
Tue May 29, 2018 9:23 am
Forum: Automation, sensing and robotics
Topic: Positioning of 360degree servo motor by angle
Replies: 8
Views: 1481

Re: Positioning of 360degree servo motor by angle

First of all post a link to the hardware your using both the hats and servos. Most of these hats use an chip on the hat to generate the PWM and you can send it the needed PWM via I2C My understanding of 360 degree servo (continuous turning servos) are no longer servos (closed loop motor control) as ...
by OutoftheBOTS
Sun May 27, 2018 9:17 pm
Forum: Automation, sensing and robotics
Topic: Using two analog potentiometers to enter two digits
Replies: 11
Views: 952

Re: Using two analog potentiometers to enter two digits

Using just a normal rotary encoder that work like I showed in my tutorial video posted above has an unlimited positions it just sends the signal that the encoder has either stepped up 1 position or down 1 position and your software counts where it is up to. This arrangement only uses 2 gpio pins to ...
by OutoftheBOTS
Sat May 26, 2018 9:37 pm
Forum: Automation, sensing and robotics
Topic: Using two analog potentiometers to enter two digits
Replies: 11
Views: 952

Re: Using two analog potentiometers to enter two digits

What will be much easier is to use rotary encoders as your dial instead of potentiometers. Rotory encoders are digital instead of analog so you won't an ADC. a quick google found 1 here for sale see https://www.ebay.com/itm/Rotary-Encoder-Module-Rotating-Potentiometer-Knob-Cap-Digital-Control-Module...
by OutoftheBOTS
Sat May 26, 2018 10:01 am
Forum: Python
Topic: Help with I2c to SPI Code conversion
Replies: 4
Views: 681

Re: Help with I2c to SPI Code conversion

I didn't look to close at your code or the datasheet for the sensor but this should at least get you heading in the right direction. I only changed a couple of lines of your code and didn't look to close so other changes might still be needed. #!/usr/bin/python import spidev from time import sleep t...

Go to advanced search