Go to advanced search

by OutoftheBOTS
Tue Oct 16, 2018 7:25 am
Forum: Automation, sensing and robotics
Topic: 1945 Craftsman lathe CNC Conversion
Replies: 7
Views: 280

Re: 1945 Craftsman lathe CNC Conversion

I replaced my RPi with this $25 motion controller and running mach3 on my PC https://www.aliexpress.com/item/USB-MACH3-100Khz-Breakout-Board-4-Axis-Interface-Driver-Motion-Controller-for-cnc-router/32909840515.html?ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_10130_318_10547_319_10548_10696...
by OutoftheBOTS
Mon Oct 15, 2018 9:34 am
Forum: Automation, sensing and robotics
Topic: 1945 Craftsman lathe CNC Conversion
Replies: 7
Views: 280

Re: 1945 Craftsman lathe CNC Conversion

Ok I have built a couple of CNC machines, 1 of them was a convert manual Mill to a CNC mill. My first CNC I made I used RPi to drive it but did discover although it is possible to drive a CNC machine with RPi it is a very poor choice. Basic parts needed: 1. Stepper motors (for my mill I used nema34 ...
by OutoftheBOTS
Mon Oct 15, 2018 9:25 am
Forum: Automation, sensing and robotics
Topic: Boat lift - inclinometer or IMU
Replies: 5
Views: 156

Re: Boat lift - inclinometer or IMU

An IMU will do the job you need, my favorite is the MPu9250. The Accelerometer part of the IMU will do what you want. Although it is called a accelerometer it reads linear force, unless rapidly accelerating to create high G-forces this linear force will be the direction of gravity pulling on the IMU...
by OutoftheBOTS
Fri Oct 12, 2018 11:01 pm
Forum: Automation, sensing and robotics
Topic: 2 stepper motors + 1 camera module + 1 display module
Replies: 1
Views: 77

Re: 2 stepper motors + 1 camera module + 1 display module

I am not sure how much torque that motor will put out and may not be powerful enough for your project. I tend to use ther size used in most 3D printers a minimum of Nema 14. I would also suggest maybe using a DRV8825 stepper motor driver as well, it is pretty much the standard 3D printer driver moto...
by OutoftheBOTS
Fri Oct 12, 2018 10:50 pm
Forum: Automation, sensing and robotics
Topic: OpenCV and Computer Vision Help
Replies: 2
Views: 165

Re: OpenCV and Computer Vision Help

post on this forum as there is lots of people using OpenCV on RPi on this forum and your likely to get your questions answered.

The first minute of this video will show you how to use the stream of images from PiCam with OpenCV on RPi https://www.youtube.com/watch?v=tpwokAPiqfs&t=875s
by OutoftheBOTS
Fri Oct 12, 2018 10:35 pm
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

Makes sense! Would the l9110 still drive the needed current? Or just 1amp? Each H-bridge will drive that much current. If you are going to use 1 battery to run all motors then the battery needs to be able to supply enough amps to power all motors but you will be using a H-bridge for each motor so t...
by OutoftheBOTS
Fri Oct 12, 2018 10:28 pm
Forum: Python
Topic: Help with 128x64 LCD
Replies: 6
Views: 169

Re: Help with 128x64 LCD

I have used a 128 x 64 with a ST7735 driver chip. It is possible that the same libiary that I used will work with your screen as quite often the still use the same commands and register across different chips. I used this driver https://github.com/jackw01/raspi-python-st7735 but to make the example ...
by OutoftheBOTS
Fri Oct 12, 2018 5:45 am
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

another question should i use L298N instead of l9110 since my motors are small voltage but i think they need high current? As you use a H-Bridge that can handle more current it has a higher forward voltage (forward voltage is how my voltage drop there is across the H-Bridge or voltage loss or volta...
by OutoftheBOTS
Thu Oct 11, 2018 9:39 pm
Forum: Automation, sensing and robotics
Topic: Using RPi GPIOs as Low Speed Analog I/O
Replies: 14
Views: 395

Re: Using RPi GPIOs as Low Speed Analog I/O

interesting read.

Even if no one is posting on the thread doesn't mean no one is following.
by OutoftheBOTS
Thu Oct 11, 2018 9:32 pm
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

You have a few options. 1. several batteries: This means you have to monitor several batteries, but the current draw is split up amoungst several batteries. 2. use 1 battery big enough: Thgis means you have to monitor 1 battery but it has to be capabile of suppying enough amps to run how ever motor ...
by OutoftheBOTS
Tue Oct 09, 2018 9:03 pm
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

They will likely get the job done but won't last long before going flat as they r only 260mAh. U will probably want to get a battery monitor because if you run the batteries totally flat it tends to damage them and also can cause them to catch fire when you try to recharge a totally flat battery. So...
by OutoftheBOTS
Tue Oct 09, 2018 4:25 am
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

There are 1 cell LiPo batteries designed for drones that can put out decent amps. These batteries have a nominal voltage of 3.7v but the H-Bridge will have a forward voltage that will drop that slightly so it should be good to run those motors on.
by OutoftheBOTS
Mon Oct 08, 2018 7:09 am
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

each 1 of those little h-bridge boards have 2 L9110 chips on them so they r a dual h-bridge and will drive 2 motors. simple explanation here https://raspberrypi.stackexchange.com/questions/43102/how-can-i-connect-the-h-bridge-l9110-with-the-raspberry-pi/67217. L9110.JPG You can see by the logic trut...
by OutoftheBOTS
Sun Oct 07, 2018 10:18 pm
Forum: Automation, sensing and robotics
Topic: Robotic
Replies: 22
Views: 486

Re: Robotic

You will need a h-bridge for little motors like these I would use a L9110 like this https://www.aliexpress.com/item/B37-1pcs-SAMIORE-ROBOT-L9110S-DC-Stepper-Motor-Driver-Board-H-Bridge-L9110/32832842902.html?ws_ab_test=searchweb0_0,searchweb201602_4_10065_10130_10068_318_10547_5727315_10548_10696_10...
by OutoftheBOTS
Sun Oct 07, 2018 9:05 am
Forum: Python
Topic: Issue with select.select and GPIO.
Replies: 4
Views: 127

Re: Issue with select.select and GPIO.

I don't totally understand what you want to achieve so you may need to explain it a bit better and we can help. First I might cleanup your code a little to make it a bit more readable. First lets fix the setcolor() function, maybe try this #use RGB format red = (1, 0, 0) green = (0, 1, 0) blue = (0,...
by OutoftheBOTS
Thu Oct 04, 2018 9:32 pm
Forum: Automation, sensing and robotics
Topic: Powerful servo motor ?
Replies: 4
Views: 184

Re: Powerful servo motor ?

I think let people know a bit more about your project because once poeple understadn what you want to use it for they can then advise on what options they think is best
by OutoftheBOTS
Sat Sep 29, 2018 9:58 pm
Forum: Python
Topic: where is the point of origin of a Numpy Array
Replies: 3
Views: 129

Re: where is the point of origin of a Numpy Array

OK for most camera they output from top left to bottom right. Camera scan across the line then move down a line and repeat. This usally means that the line number is stored in the first variable and the column number is stored in second variable i.e (line(y), Column(x)) not in the format most people...
by OutoftheBOTS
Sat Sep 29, 2018 7:11 am
Forum: Automation, sensing and robotics
Topic: RPI Analog In and Out
Replies: 6
Views: 402

Re: RPI Analog In and Out

So it seems that using an I2S DAC/ADC would do the job you need for both input and output. I2S is basically the digital version of the analog wave from the audio. Now first of all I haven't used I2S on RPi so it might pay to post on the interfacing thread as that is where u will find people that hav...
by OutoftheBOTS
Thu Sep 27, 2018 9:23 pm
Forum: Automation, sensing and robotics
Topic: RPI Analog In and Out
Replies: 6
Views: 402

Re: RPI Analog In and Out

OK so RPi doesn't have any ADC(analog to digital converter) or DAC (digital to analog converter), RPi can only turn a pin totally on or totally off and can only sense if a pin is high or low. The output your creating is a square wave not a sine wave as RPi can't create sine waves. To output and inpu...
by OutoftheBOTS
Tue Sep 18, 2018 8:37 pm
Forum: Automation, sensing and robotics
Topic: Communicating with other sensors distributed to other spaces
Replies: 2
Views: 184

Re: Communicating with other sensors distributed to other spaces

A common method is to use ESP8266 nodes as they cheap see https://www.aliexpress.com/item/1pcs-NodeMCU-V3-Lua-WIFI-module-integration-of-ESP8266-extra-memory-32M-Flash-USB-serial-CH340G/32813713134.html?ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_10130_10547_10059_10884_10548_10887_10696_1...
by OutoftheBOTS
Sun Sep 16, 2018 1:05 am
Forum: Automation, sensing and robotics
Topic: Skid steer robot not turning
Replies: 7
Views: 327

Re: Skid steer robot not turning

Sounds like lack of torque output from motors. It requires more torque to skid steer then just drive forward or backward without needing to break traction to skid steer. These little micro-metal motors r preety low powered but I have used them for small skid steer robots successfully. I did only hav...
by OutoftheBOTS
Thu Sep 13, 2018 7:55 pm
Forum: Automation, sensing and robotics
Topic: Need a little help/input on controller.
Replies: 5
Views: 227

Re: Need a little help/input on controller.

I have not looked at pcmanbob code. I did only look over your code briefly to get an idea of what was going on and did see many places for optimization but I didn't change anything there as I just changed the bit that you asked for The while loop is where most of the trouble is, I think. I would lik...
by OutoftheBOTS
Thu Sep 13, 2018 10:48 am
Forum: Automation, sensing and robotics
Topic: Need a little help/input on controller.
Replies: 5
Views: 227

Re: Need a little help/input on controller.

If I understand what you want then something like this might work #!/usr/bin/env python3 import os import glob import time from time import sleep import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) #GPIO Pins: 22 fan_mains, 24 compressor_mains pinList = [22,24] for i in pinList: G...
by OutoftheBOTS
Tue Sep 11, 2018 7:31 pm
Forum: Python
Topic: Quadrature encoder serial pins question
Replies: 11
Views: 213

Re: Quadrature encoder serial pins question

The code that was linked isn't complete and is just Python Pseudo Code not complete python code. Reading quadrature encoders in python on RPi isn't very efficient to do because the fact that python on RPi isn't real time and has a lot of latency. The very easiest way to do it is with an external qua...
by OutoftheBOTS
Fri Sep 07, 2018 9:31 pm
Forum: Automation, sensing and robotics
Topic: Zigbee home automation on Pi Zero W
Replies: 3
Views: 248

Re: Zigbee home automation on Pi Zero W

Now I am not sure about this but someone might correct me on this but the RPi should be capable of doing zigbee without any extra hardware as it already has a 2.4GHz radio. WiFi, Bluetooth and Zigbee all use 2.4GHz radio but are just different protocols (i.e just different software). I did a quick g...

Go to advanced search