Go to advanced search

by evilkitty
Sat Apr 10, 2021 6:03 pm
Forum: Raspberry Pi OS
Topic: looking for a voice command seup guide
Replies: 0
Views: 81

looking for a voice command seup guide

I know there are several ways to go about setting up voice input, but i wanted to set up some simple voice command input without having everything the mic picks up being sent to google or anywhere else for that matter or use up 80% of my Pi's processing power, if it is GPU accelerated i can allocate...
by evilkitty
Thu Dec 03, 2020 6:13 am
Forum: Raspberry Pi OS
Topic: D18B20 Sensor file suddenly reads ""
Replies: 0
Views: 94

D18B20 Sensor file suddenly reads ""

After setting up a new SD card with buster (replaced jessie install after SD card wore out) after getting my scripts up and running i noticed it crashed, upon investigating i found my issue def readTemp(): s="/sys/devices/w1_bus_master1/28-011453329bff/w1_slave" if not os.path.isfile(s): r...
by evilkitty
Mon Jul 06, 2020 1:39 am
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Re: Connect Rpi to desktop/server serial mainboard header

hippy wrote:
Sun Jul 05, 2020 10:47 pm
evilkitty wrote:
Sun Jul 05, 2020 7:14 pm
Is this right?
I don't believe so; the right-hand bottom two connections are swapped ...

Pi pin 8 is TXD, out from the Pi, in to your MAX3232 module
Pi pin 10 is RXD, in to the Pi, out from your MAX3232 module
Thanks, i'll see if i can get this tiny board from
by evilkitty
Sun Jul 05, 2020 10:09 pm
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Re: Connect Rpi to desktop/server serial mainboard header

The relevant documentation is posted above, those pin outs are from the manual for my main board

Just want to make sure that is all the pins i need to mess with and i am using the correct ones on the main board
by evilkitty
Sun Jul 05, 2020 7:14 pm
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Re: Connect Rpi to desktop/server serial mainboard header

Is this right?
Image

This will allow be to access a TTY on the desktop (/dev/ttyS0) from the Raspberry Pi right?
by evilkitty
Sun Jul 05, 2020 4:55 pm
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Re: Connect Rpi to desktop/server serial mainboard header

W. H. Heydt wrote:
Sun Jul 05, 2020 4:10 pm
I did look at it. It looks exactly like a typical M/B dual USB header pin set.
From the board manual (USB and serial are keyed different):
Image
by evilkitty
Sun Jul 05, 2020 4:48 pm
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Re: Connect Rpi to desktop/server serial mainboard header

I found a small pcb with the chip on it I use pins 1,6,8, and 10 on the pi, where pin 8 is blue and pin 10 is green, so what pins on my mainboard's header do i use? (i don't think i have any real serial cables) I do have a USB cable that goes to a RJ50, this is used with a APC UPS the RJ45 pin out c...
by evilkitty
Sun Jul 05, 2020 3:08 pm
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Re: Connect Rpi to desktop/server serial mainboard header

thagrol wrote:
Sun Jul 05, 2020 11:10 am
A USB to Serial adapter isn't needed just suitable level conversion between 3.3v TTL and RS232. The MAX3232 for example.
So how would i use a MAX3232 to do this, can i get those on a breakout board? (SMT soldering is not my thing)
by evilkitty
Sun Jul 05, 2020 1:19 am
Forum: General discussion
Topic: Connect Rpi to desktop/server serial mainboard header
Replies: 21
Views: 955

Connect Rpi to desktop/server serial mainboard header

How would i wire a raspberry pi to to a serial port header?
by evilkitty
Sat Jun 06, 2020 1:07 pm
Forum: Raspberry Pi OS
Topic: Bad Temp Reading DS18B20 workaround?
Replies: 3
Views: 344

Re: Bad Temp Reading DS18B20 workaround?

I usually ignore any 85°C readings and take a second reading instead, as I'm pretty sure I'd notice if my house got that warm! IF 85C is warm i clearly do not want to move to Chelmsford, Essex, UK IDK where it is would be getting power fluctuations from, the power supply is behind 2 UPS backup unit...
by evilkitty
Sat Jun 06, 2020 3:53 am
Forum: Raspberry Pi OS
Topic: Bad Temp Reading DS18B20 workaround?
Replies: 3
Views: 344

Bad Temp Reading DS18B20 workaround?

So today i noticed i had a sensors read 85C, is there a good way to detect a bad reading aside from comparing it to the last reading and calling BS based on how long it has been and what the reading was { "room": { "now": 23687, "min": 23687, "max": 85000 }, &...
by evilkitty
Tue Apr 28, 2020 7:06 pm
Forum: General discussion
Topic: Using Pi0 as network camera
Replies: 2
Views: 311

Using Pi0 as network camera

I set a Pi 0 up as a usb network gadget, now i want to config it so i can use the camera over the USB cable from the client side (the camera has be much better than a 1.3MP web cam) I wanted to make it act like a a web cam and could not find a way to do that so i figure i will just use the network i...
by evilkitty
Sat Mar 23, 2019 10:31 pm
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

my vdrop is 0.1 (idle) to 0.2 (stress test)
psu is at 5.2v
voltage spec is 5.25 - 4.75
to go below 4.75v i would need to pull about twice what is pulled with a 4 core stress test
by evilkitty
Sat Mar 23, 2019 8:37 pm
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

via the micro usb plug, the wire is about 6 inches of solid core wire i got out of a piece of scrap ethernet cable *this wire only powers the pi and the flash drive the USB modem get power from upstream from the main power leads (18awg stranded, this is 6 to 8 inches long) this pi runs headless so t...
by evilkitty
Sat Mar 23, 2019 8:05 pm
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

log file shows it lasted 6 seconds, i would think a DMM would be fast enough for that The board is the Raspberry Pi 3 Model B+ power supply is a EPS-15-5 set at 5.2v pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.4 (stretch)...
by evilkitty
Sat Mar 23, 2019 7:04 pm
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

I managed to trigger low voltage while my multimeter reads a nice safe 5v on the pi's USB port It seems if my network switch is power cycled while the pi's network jack is connected to the switch pi@raspberrypi:~ $ cat /var/log/syslog | grep -i voltage -A1 -B1 Mar 23 14:05:54 raspberrypi rc.local[44...
by evilkitty
Mon Jan 21, 2019 1:43 am
Forum: Automation, sensing and robotics
Topic: Convert low frequency PWM 1Khz to high frequency PWM 25Khz
Replies: 5
Views: 1436

Re: Convert low frequency PWM 1Khz to high frequency PWM 25Khz

The buck converter would be a dedicated hardware circuit controlled by a pwm signal, so i would feed a voltage regulator a pwm single (or it's feedback input) I want to be able to control the duty cycle on the fly from the host system aside from that part i want some 25Khz PWM singles so i can shove...
by evilkitty
Sat Jan 19, 2019 11:08 pm
Forum: Automation, sensing and robotics
Topic: Convert low frequency PWM 1Khz to high frequency PWM 25Khz
Replies: 5
Views: 1436

Re: Convert low frequency PWM 1Khz to high frequency PWM 25Khz

The reason for using a 1Khz freq is that is what the source ( A FF32 chip ) has to work with i had the feedback type of control in mind as for the buck converter i have, i do not have one i need to know what i need to get to build a circuit maybe a arduino would be better suited for this, but i do n...
by evilkitty
Sat Jan 19, 2019 9:32 pm
Forum: Automation, sensing and robotics
Topic: Convert low frequency PWM 1Khz to high frequency PWM 25Khz
Replies: 5
Views: 1436

Convert low frequency PWM 1Khz to high frequency PWM 25Khz

What is a IC I can feed a 1Khz single into that will output a 25Khz frequency If it supports 4 in and out that would be great Also if anyone knows of a easy way to use a buck converter so i can take 12VDC and output 0-12VDC with a 1Khz PWM single that would be awesome, max output would be no more th...
by evilkitty
Sun Sep 02, 2018 8:39 pm
Forum: Raspberry Pi OS
Topic: GPIO Pin Setup fails on occasion (Can you reproduce this?)
Replies: 6
Views: 1223

Re: GPIO Pin Setup fails on occasion (Can you reproduce this?)

updated kernel, it now seems as though the probability of this issue happening has dropped
at this point i have to run both test 1 and test 2 at the same time to get it to happen
by evilkitty
Sun Sep 02, 2018 8:35 pm
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

The thing is after i opened the case and got my meter hooked up the the board instead of a usb cable, the issue disappeared and the voltage came up to over 5.05v from <=4.8, this was after i checked the power from the psu and found 5.2 to 5.19 maybe the psu got hot and was dropping volts, that or th...
by evilkitty
Sun Sep 02, 2018 1:32 pm
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

So if i were to use a ADC chip like a MCP3002 that i saw suggested on the forums, how would i wire it and read it in software? it said it was easy to program, but does that mean flashing the is with a rom file? if so details i have never flashed a ic (well i have flashed routers, motherboards, and v...
by evilkitty
Sun Sep 02, 2018 10:21 am
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

Re: syslog: Under-voltage detected!

I found out you can use this file for a power good check /sys/class/leds/led1/brightness 255 = good/usable and 0 = very bad (<=4.63v) but in regards to throttling https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790 how do i convert between this list as stuff like ...
by evilkitty
Sun Sep 02, 2018 12:41 am
Forum: Raspberry Pi OS
Topic: syslog: Under-voltage detected!
Replies: 14
Views: 9689

syslog: Under-voltage detected!

my sys log is filled with entries like this: https://pastebin.com/pbEVR2RT Sep 1 06:25:07 raspberrypi kernel: [3316534.286203] Voltage normalised (0x00000000) Sep 1 07:05:03 raspberrypi kernel: [3318930.470847] Under-voltage detected! (0x00050005) Sep 1 07:05:08 raspberrypi kernel: [3318934.630893] ...
by evilkitty
Sat Sep 01, 2018 10:31 pm
Forum: Raspberry Pi OS
Topic: GPIO Pin Setup fails on occasion (Can you reproduce this?)
Replies: 6
Views: 1223

Re: GPIO Pin Setup fails on occasion (Can you reproduce this?)

Nothing in syslog, but i do see some undervoltage entries, 0x005005 and of course once you hook up a multi-meter they stop happening based on the time stamps they are unrelated I am using a legitimate 3A power supply and i am not even use half of it I am only monitoring it via the sysfs, the python ...

Go to advanced search