Go to advanced search

by scootergarrett
Wed Sep 22, 2021 3:50 pm
Forum: Automation, sensing and robotics
Topic: Hardware suggestions for battery monitoring
Replies: 26
Views: 1647

Re: Hardware suggestions for battery monitoring

I have messed around with a deep cycle battery (12V) and I used an Adafruit current sensor https://www.adafruit.com/product/1164 . that went into one of the ADS1115 ADC channels. I don't think current clamps around a wire work for DC (I think there is such thing but they are expensive and might be f...
by scootergarrett
Tue Aug 31, 2021 12:13 am
Forum: Automation, sensing and robotics
Topic: Measure airflow in a standard aquarium tubing
Replies: 3
Views: 543

Re: Measure airflow in a standard aquarium tubing

Do you want an on vs. off (digital), or an amount of air (analog)? Flow sensors are not always cheap.
by scootergarrett
Wed Aug 04, 2021 1:40 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi to collect OBD data and send the data to the Server using sim module.
Replies: 8
Views: 1175

Re: Raspberry Pi to collect OBD data and send the data to the Server using sim module.

What is the thing in between? A logic level conversion? I remember not using a logic level converter with my setup.
by scootergarrett
Wed Jul 21, 2021 6:32 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi to collect OBD data and send the data to the Server using sim module.
Replies: 8
Views: 1175

Re: Raspberry Pi to collect OBD data and send the data to the Server using sim module.

Maybe its time for a picture of your set up. could you have a wire wrong? I got my set up working last night using the USB to FTDI board and sending commands through putty.
I can get the setting later
by scootergarrett
Thu Jul 15, 2021 3:31 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi to collect OBD data and send the data to the Server using sim module.
Replies: 8
Views: 1175

Re: Raspberry Pi to collect OBD data and send the data to the Server using sim module.

Trying to remember. Are you able to receive information? Do you have an FTDI breakout to try communication with a laptop? It might be a matter of sending the correct ending after a command, e.g. from a putty terminal you can set the ending when you hit enter a carriage return or a new line or maybe ...
by scootergarrett
Wed Jul 14, 2021 7:31 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi to collect OBD data and send the data to the Server using sim module.
Replies: 8
Views: 1175

Re: Raspberry Pi to collect OBD data and send the data to the Server using sim module.

I got this one a long time ago https://www.sparkfun.com/products/9555 . There may be better solutions now but I found it easy to set up. You also need the hookup wire
by scootergarrett
Sat Jan 16, 2021 7:33 pm
Forum: General discussion
Topic: TortoiseSVN but for PI
Replies: 1
Views: 404

TortoiseSVN but for PI

Not sure what category to post this in sorry. I have been getting my feet wet with SVN using TortoiseSVN on windows computers. I put the File Respiratory in the shared network folder so all my connected computer can access it. Now I want to access the File Respiratory from a raspberry pi. I'm lookin...
by scootergarrett
Thu Oct 15, 2020 12:31 am
Forum: Automation, sensing and robotics
Topic: Measuring power consumption of Raspberry Pi 4B - what is the best solution?
Replies: 8
Views: 1003

Re: Measuring power consumption of Raspberry Pi 4B - what is the best solution?

I bought my multi meter Aug 2016 and it works with the pi, no fancy software required. Crrently have it plugged into a pi 4, the press the DMM button 'RS232' the DMM starts sending data (about 1Hz). Then using minicom the data starts flowing in. It requires some parsing (e.g. 13.91V shows up at 1391...
by scootergarrett
Wed Oct 14, 2020 2:48 pm
Forum: Automation, sensing and robotics
Topic: Measuring power consumption of Raspberry Pi 4B - what is the best solution?
Replies: 8
Views: 1003

Re: Measuring power consumption of Raspberry Pi 4B - what is the best solution?

I have a USB DMM https://www.sparkfun.com/products/12967 That will output data to a raspberry pi terminal. If the DMM needs to stay on for weeks you should bypass the batteries and power it with a wall wart.
by scootergarrett
Thu Sep 10, 2020 12:11 am
Forum: Automation, sensing and robotics
Topic: Basic Linear Actuator to Churn Water
Replies: 6
Views: 550

Re: Basic Linear Actuator to Churn Water

The 'Repeat forever' part make me think buying is a better option than trying to make your own, but that really depends on you desire to tinker trying to make your own and budget. I'm thinking something like (https://www.mcmaster.com/6509K84/) A rasperry pi might be over kill for back and forth fore...
by scootergarrett
Thu Jul 30, 2020 12:43 am
Forum: Automation, sensing and robotics
Topic: Making Pi press physical button
Replies: 3
Views: 589

Re: Making Pi press physical button

Look into servo motors. The raspberry pi can make servo motors move. Then it's just a matter of making the servo movement press the button.
by scootergarrett
Wed Jul 22, 2020 3:59 pm
Forum: Automation, sensing and robotics
Topic: Hall Effect Sensor (A3144) not working with Raspberry Pi 3B+
Replies: 16
Views: 1487

Re: Hall Effect Sensor (A3144) not working with Raspberry Pi 3B+

I will ask a basic question. How are you exposing it to a magnet? I assuming waving a small magnet around it? Make sure you try multiple magnet orientations on different sides of the sensor.
by scootergarrett
Wed Jul 22, 2020 3:54 pm
Forum: Automation, sensing and robotics
Topic: Using a RPI as a timer triggered by external sensor
Replies: 2
Views: 381

Re: Using a RPI as a timer triggered by external sensor

I like all your ideas on how to capture the signal. Before connecting to the raspberry pi test the signal with a multi-meter to make sure you are getting a 0V when off and a 3.3V signal when the pump is on. (or it could be the opposite but NO HIGH VOLTAGES). The raspberry pi could capture when the s...
by scootergarrett
Fri Jul 03, 2020 8:18 pm
Forum: Automation, sensing and robotics
Topic: Unidirectional logic shifting (3V3 to 1V8) with minimum components?
Replies: 10
Views: 1129

Re: Unidirectional logic shifting (3V3 to 1V8) with minimum components?

Being careful you can actually get away with just a piece of wire
Are you saying connect it directly to a GPIO then just be careful with turning off internal pull-up / pull-down resistors? How would this work on boot up?
by scootergarrett
Fri Jul 03, 2020 1:45 pm
Forum: Networking and servers
Topic: samba network folder letting Windows run .exe (also answered)
Replies: 0
Views: 208

samba network folder letting Windows run .exe (also answered)

I'm not the best networking person but I managed to set up a raspberry pi as a local network folder using samba. Now I can access files from all the computer (and tablets) on my network. This has worked so well for using a PC to develop code for a raspberry pi located where ever it needs to be. The ...
by scootergarrett
Sat Jun 06, 2020 9:27 pm
Forum: Automation, sensing and robotics
Topic: On-Grid Solar System - Kw Limiter with Auto Off/On System
Replies: 3
Views: 605

Re: On-Grid Solar System - Kw Limiter with Auto Off/On System

I'm a little worried what happens to solar panels in the sun that are not connected to anything, over heat, output high voltages. I think some places just make the power company pay you back if you go net positive? Minus fees exc. Anyways if I were doing this I would get a big 'Contactor' https://en...
by scootergarrett
Sat Jun 06, 2020 9:06 pm
Forum: Automation, sensing and robotics
Topic: Heating element control
Replies: 4
Views: 838

Re: Heating element control

I would look into PWM, then connect that pin to a solid state relay, the plug the heater into the relay.

Voltage / electric shock warning!
by scootergarrett
Sat Jun 06, 2020 9:04 pm
Forum: Automation, sensing and robotics
Topic: 10-Bay SD Card Backup Device
Replies: 1
Views: 359

Re: 10-Bay SD Card Backup Device

Well off the top of my head the raspberry pi only has 4 USB ports, so with as an external hard drive plugged into one, you only have 3 more slots. I guess you could get a USB hub and then run 5. This seems like something a pi could do. what kind of interface are you thinking? It would be tricky to h...
by scootergarrett
Sat Jun 06, 2020 9:00 pm
Forum: C/C++
Topic: pigpio wave_create()
Replies: 5
Views: 601

Re: pigpio wave_create()

Thanks. Is there a reason to limit this? or maybe a work around to make really long wave forms? Maybe I need to rethink my entire approach.
by scootergarrett
Sat Jun 06, 2020 8:43 pm
Forum: C/C++
Topic: pigpio wave_create()
Replies: 5
Views: 601

Re: pigpio wave_create()

I figure out I start getting the error at 11918 pulses, any amount below that works fine code snippet: #define PulsePin 4 #define L 11917 // 11917 works, 11918 gets error 'Wave create failed' int main() { int k, wave_id; gpioPulse_t pulse[L]; for(k=0;k<L;++k) { if(k%2 == 0) { pulse[k].gpioOn = 0; pu...
by scootergarrett
Sat Jun 06, 2020 7:49 pm
Forum: C/C++
Topic: pigpio wave_create()
Replies: 5
Views: 601

pigpio wave_create()

I'm using the Wave create http://abyz.me.uk/rpi/pigpio/pdif2.html#wave_create functionality of the pigpio library. I have it working slick, but as I add point to the wave somewhere between 11653 and 12229 points it stops working and give the error: gpioWaveAddGeneric: bad number of pulses (12229) Is...
by scootergarrett
Sun May 31, 2020 1:24 pm
Forum: Automation, sensing and robotics
Topic: Water Tank Monitoring System
Replies: 8
Views: 2081

Re: Water Tank Monitoring System

I too have used ultrasound to measure distance to the surface of water. That is how I know it take my toilet 5:10 to fill up.
by scootergarrett
Fri May 29, 2020 12:47 am
Forum: Automation, sensing and robotics
Topic: Getting Input from a Pulse Oximeter?
Replies: 1
Views: 344

Re: Getting Input from a Pulse Oximeter?

How about this https://www.sparkfun.com/products/15219. Looks like it's got I2C, you might ghb t need a case or way to mount to your finger
by scootergarrett
Sat May 09, 2020 7:20 pm
Forum: Automation, sensing and robotics
Topic: Receive Treadmill speed data on Raspberry Pi
Replies: 6
Views: 931

Re: Receive Treadmill speed data on Raspberry Pi

That amazon device (although lacking some detail) Seems like a good idea. Wont need any circuitry but will have a cardboard disk somewhere, and you will need to mount the device. Another nice feature is you can do a bunch of testing with out having to run the tread mill, just spin the disk by hand (...
by scootergarrett
Fri May 08, 2020 6:13 pm
Forum: Other projects
Topic: OBDII port on my car. Should I make my own pi or use a prebuilt kit?Also looking for autopi reviews
Replies: 1
Views: 606

Re: OBDII port on my car. Should I make my own pi or use a prebuilt kit?Also looking for autopi reviews

That thing looks pretty cool, it seems to have a lot of features, and nice dashboard. Years ago I got https://www.sparkfun.com/products/9555 with the cable https://www.sparkfun.com/products/10087 and had some fun working making my own little program to log data. The hard part is power the pi from th...

Go to advanced search