Go to advanced search

by Idahowalker
Wed Apr 10, 2019 11:36 am
Forum: Automation, sensing and robotics
Topic: Car Digital Dashboard
Replies: 2
Views: 232

Re: Car Digital Dashboard

Hi, I am rebuilding an old landrover defender 90 it has no onboard computers or digital sensors. I am planning to use my raspberry pi as a dashboard but I didn't really know how to go about making one or what software/ hardware I would need. I am hoping someone would be able to give me some pointer...
by Idahowalker
Thu Mar 21, 2019 9:06 pm
Forum: Python
Topic: running two functions simultaneously
Replies: 16
Views: 698

Re: running two functions simultaneously

Python multiprocessing is now very easy to use. I used that in a practical way to ping the local subnet to discover all hosts: https://github.com/mikerr/Pingu Relevent part code is: def ping: .... hosts = [] for i in range(255): hosts.append("192.168.0." + str(i)) pool = ThreadPool(100) results = p...
by Idahowalker
Fri Mar 15, 2019 12:48 am
Forum: Beginners
Topic: Using GPIO for data pass through
Replies: 5
Views: 241

Re: Using GPIO for data pass through

Something along the lines of a CD4066, might even use two or three to make a switch matrix controlled by the RPi.
by Idahowalker
Wed Mar 13, 2019 7:23 pm
Forum: Beginners
Topic: Best way to splice multiple wires/components into a single circuit
Replies: 11
Views: 439

Re: Best way to splice multiple wires/components into a single circuit

A wiring block like this would work well:

https://smile.amazon.com/Position-Termi ... ay&sr=8-17, look neat and would be a good option.
by Idahowalker
Wed Mar 13, 2019 6:19 pm
Forum: Beginners
Topic: Best way to splice multiple wires/components into a single circuit
Replies: 11
Views: 439

Re: Best way to splice multiple wires/components into a single circuit

Do you have a schematic?

Have you bought several proto boards and tried different wiring connection schemes?

Can you solder and do crimp connections?

Are your wires solid or stranded, those connectors only work with solid wire?
by Idahowalker
Sun Mar 10, 2019 3:51 pm
Forum: Automation, sensing and robotics
Topic: Ultrasonic sensor readings become unstable
Replies: 7
Views: 413

Re: Ultrasonic sensor readings become unstable

Is the LAN cable shielded? Try grounding the shield at only the Pi end to turn the shield into a cap that can absorb spurious signals. If the LAN cable is not shielded then try wrapping a small wire around the outside of the LAN cable. You would wind the wire in tight coils at each end and towards t...
by Idahowalker
Sun Mar 10, 2019 3:37 pm
Forum: Python
Topic: running two functions simultaneously
Replies: 16
Views: 698

Re: running two functions simultaneously

Entering "python multiprocessing" will bring you closer to running two things, on the Pi at the 'same' time. The Python IDLE will NOT do multiprocessing, as of the last time I tried. Use Thonny for multiprocessing. You'll also need to use queues if passing info from one processor to the next. Thread...
by Idahowalker
Tue Mar 05, 2019 2:04 pm
Forum: Automation, sensing and robotics
Topic: Ultrasonic sensor readings become unstable
Replies: 7
Views: 413

Re: Ultrasonic sensor readings become unstable

If you could, use 2 ultrasonic sensors and compare readings.
by Idahowalker
Tue Feb 26, 2019 2:48 am
Forum: Automation, sensing and robotics
Topic: Raspberry pi3 with arduino like slave to read 5 analogic signals
Replies: 6
Views: 372

Re: Raspberry pi3 with arduino like slave to read 5 analogic signals

Serial.print(analogRead(A1));
Serial.print ( ",");
Serial.print(analogRead(A2));
Serial.print ( ",");
Serial.print(analogRead(A3));
Serial.print ( ",");
Serial.println(analogRead(A4));
by Idahowalker
Sat Feb 23, 2019 9:06 am
Forum: Automation, sensing and robotics
Topic: Ultrasound sensor alternatives?
Replies: 11
Views: 1079

Re: Ultrasound sensor alternatives?

I use a TFMini to scan an area, for another purpose, to obtain a rather good image of an area. I make 12 scans per degree and scan +/- 5 degrees off 90, the scan is done in both directions, takes .072 seconds per scan, I disregard any measurement over 600cm, and I am able to discern, on screen, a 2 ...
by Idahowalker
Sat Feb 23, 2019 8:39 am
Forum: Advanced users
Topic: Advice on project components...
Replies: 14
Views: 834

Re: Advice on project components...

Those relays will require a 5 volt input on the VOC pin, a circuit common input on the GND pin and will take a 3.3 v input, low signal, to enable on the INX pins. The low in will cause the LEDS to illuminate and a click will be heard as the relays energize. Those relays have optically isolated input...
by Idahowalker
Sun Feb 17, 2019 12:24 am
Forum: Python
Topic: Need help understanding this code
Replies: 2
Views: 160

Re: Need help understanding this code

class EvenOnly(list): def append(self, integer): if not isinstance(integer, int): raise TypeError("Only integers can be added") if integer % 2: raise ValueError("Only even numbers can be added") super().append(integer) e = EvenOnly() e.append(2) I'm trying to understand this code and what I don't u...
by Idahowalker
Sat Feb 16, 2019 4:48 pm
Forum: Beginners
Topic: Raspberry 3 B needs a cooling system?
Replies: 21
Views: 7295

Re: Raspberry 3 B needs a cooling system?

I'd use the heatsinks. For the fan, find the fan location on the underside of the case top. Put a dab of hot glue at each spot the fan will mount to, put the fan on top of the cooled hot glue and then hot glue the fan in place. The layer of hot glue will give a vibration damper. I run my RPi at 70% ...
by Idahowalker
Sat Feb 16, 2019 3:22 pm
Forum: Troubleshooting
Topic: The Big (little) Yellow Bolt of Doom
Replies: 21
Views: 1079

Re: The Big (little) Yellow Bolt of Doom

First off thank you to Imperf3kt. I am here to learn what i did wrong or how i screwed something up not where i should spend my money so if you have advice i will always listen, it was helpful. Next another thanks to Ernst and Idahowalker, i have never heard that about breadboards before and it ult...
by Idahowalker
Fri Feb 15, 2019 1:37 pm
Forum: Python
Topic: Need help modifying a Gmail message retrieval script
Replies: 16
Views: 485

Re: Need help modifying a Gmail message retrieval script

gmail accounts are free. I made an account just for my RPi. All the mail received by that account is just for the RPi. After making the account, send an email from that account to your main account and reply. Seems gmail accounts like a 2 way communication. Yeah, that's what I did as well. Did you ...
by Idahowalker
Fri Feb 15, 2019 12:27 pm
Forum: Automation, sensing and robotics
Topic: High reliability, high accuracy temperature/humidity sensor
Replies: 11
Views: 817

Re: High reliability, high accuracy temperature/humidity sensor

A + on the bme280 SPI connected sensors. Mine has been running in a project for 8+ months. My program, on an ESP32, does a read of the bme280 every 1 second.
by Idahowalker
Fri Feb 15, 2019 12:22 pm
Forum: Python
Topic: Need help modifying a Gmail message retrieval script
Replies: 16
Views: 485

Re: Need help modifying a Gmail message retrieval script

gmail accounts are free. I made an account just for my RPi. All the mail received by that account is just for the RPi. After making the account, send an email from that account to your main account and reply. Seems gmail accounts like a 2 way communication.
by Idahowalker
Fri Feb 15, 2019 12:17 pm
Forum: Troubleshooting
Topic: The Big (little) Yellow Bolt of Doom
Replies: 21
Views: 1079

Re: The Big (little) Yellow Bolt of Doom

I'm using noobs downloaded about a month ago and just updated and upgraded last night, and I havnt botherd to get an official power supply as yet mostly becouse I have a 6 inch power cord and a dc power supply running to it through a breadboard, if 3 amps over that short a distance wont give me suf...
by Idahowalker
Mon Feb 11, 2019 10:39 pm
Forum: Python
Topic: Continuous Servo - How to make it slow with high torque?
Replies: 2
Views: 152

Re: Continuous Servo - How to make it slow with high torque?

By using a full metal gear servo you can get increased torque capacity. Making the servo quiet. How are you powering the servo? I prefer to power the servo with its own supply. Say I have a 9V supply. The uController needs some voltage so I build a 5V power supply for the uController. The servo I us...
by Idahowalker
Mon Feb 11, 2019 2:27 am
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 851

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

When I tried to use the RPi to interact with an ESP32, I found that, after a while, trying to figure out why it seemed to work but did not work, was that the ESP32 bin files were complied to use a Intel to ESP32 processor bin file. ESPRESSIF does not support the RPi Processor as, as was told by ESPR...
by Idahowalker
Sun Feb 10, 2019 9:56 pm
Forum: Python
Topic: What does "from . import *" mean.
Replies: 6
Views: 392

Re: What does "from . import *" mean.

Take the threading class it has several subclasses; such as thread, Queue, and a few others. If the threading class was imported all the subclasses are loaded but you may only want to use one of the subclasses, can shave off a bit of ram, or you want to use your own name to reference a sub class. So...
by Idahowalker
Sun Feb 03, 2019 3:58 am
Forum: Troubleshooting
Topic: Radar Project Using Ultra Sonic Sensor
Replies: 20
Views: 969

Re: Radar Project Using Ultra Sonic Sensor

An item like the SR04 has a 15 degree cone of emission. A SR04 does not give accurate distance readings whiles the SR04 is moving. Thus, the SR04 will have to ping, move, stop, ping... The SR04 is a noisy device but with about 30.00USD bucks of modifications you can get 2 to give stable and accurate...
by Idahowalker
Wed Jan 16, 2019 4:33 am
Forum: Python
Topic: Read Multiple Lines of Data At Once
Replies: 2
Views: 517

Re: Read Multiple Lines of Data At Once

If you want your program to do 2 things at the same time you may consider multiprocessing on the RPi as one option. You could, also, consider using several inexpensive STM32 Blue pills and assign one blue pill to each channel of the ADC and then have each STM32 report its findings to the RPi. This s...
by Idahowalker
Wed Jan 16, 2019 4:17 am
Forum: Beginners
Topic: UART on Pi3B & 3B+ ?
Replies: 5
Views: 670

Re: UART on Pi3B & 3B+ ?

I ran a RPi to Arduino Due serial communication at 230400 without issues. I did not use any hardware flow control. I used software flow control. I used "<" to start a message and ">" to end a message sentence for each direction. I'd ignore bytes till the data stream hit a ">" and keep collecting dat...

Go to advanced search