Go to advanced search

by Cacodemon
Tue Aug 27, 2019 10:49 am
Forum: Troubleshooting
Topic: Strange purple lines with the official Pi screen
Replies: 2
Views: 292

Re: Strange purple lines with the official Pi screen

Did so. The purple lines persist. :(
by Cacodemon
Thu Aug 15, 2019 8:15 pm
Forum: Troubleshooting
Topic: Strange purple lines with the official Pi screen
Replies: 2
Views: 292

Strange purple lines with the official Pi screen

Tried to google this few months back, but didn't find much on the subject. I'm currently running Raspbian Stretch on Pi 3+ and the official screen. I'm getting these odd lines on my screen, usually from startup/splash or after running anything on the Pi: I'll let the attachment speak for my case. Ch...
by Cacodemon
Tue Jul 02, 2019 3:13 pm
Forum: Troubleshooting
Topic: PiCamera errors with Serial enabled?
Replies: 1
Views: 174

Re: PiCamera errors with Serial enabled?

Drowned under Pi4 problems. Buuuummmppp!
by Cacodemon
Fri Jun 28, 2019 9:26 pm
Forum: Troubleshooting
Topic: PiCamera errors with Serial enabled?
Replies: 1
Views: 174

PiCamera errors with Serial enabled?

Still working on my Pi3 projects while waiting the shiny new 4 becoming available in my country. Today I decided to expand my security camera project with StromPi, but it requires Serial Port + Console to be enabled. While still working on to get StromPi work as intended, I ran into a problem which ...
by Cacodemon
Fri Jun 28, 2019 6:33 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 4
Replies: 59
Views: 16397

Re: Raspberry Pi 4

Hmmm... I wonder if you can use old Pi Power HAT with the Pi4 and how much difference using it would make compared to heatsinks? Has anyone tried yet how much you can "stress" the new Pi4 before its performance drops or it starts getting overheated?
by Cacodemon
Thu Jun 27, 2019 8:21 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 4
Replies: 59
Views: 16397

Re: Raspberry Pi 4

Excited as well. Just waiting til the new 4 is gonna be available in my country. :mrgreen:
by Cacodemon
Tue Jun 11, 2019 11:14 am
Forum: HATs and other add-ons
Topic: PiStep2 Quad, power issue or interference?
Replies: 0
Views: 362

PiStep2 Quad, power issue or interference?

Back to my Stepper motor project, I managed to run all four motors simultaneously and separately with this hat and Python. Worked smoothly even while this hat was taking all power from PiZero's GPIO. Now however, I decided to expand this project a bit. Took a regular PI3, GPIO expansion board and la...
by Cacodemon
Sat Apr 06, 2019 5:21 pm
Forum: HATs and other add-ons
Topic: Piconzero outputting only 1,4v? [solved]
Replies: 4
Views: 584

Re: Piconzero outputting only 1,4v?

Oh yea, silly me had forgotten to check jumpers - so the output voltage is sorted. Thanks. :oops: I'm using Pi Zero with the hat, so there shouldn't be short-circuits. A new problem came up however; while testing the Hat and servo with examples provided by 4tronix (both motorTest.py and servoTest.py...
by Cacodemon
Thu Mar 28, 2019 10:04 am
Forum: HATs and other add-ons
Topic: Piconzero outputting only 1,4v? [solved]
Replies: 4
Views: 584

Piconzero outputting only 1,4v? [solved]

So, I have Piconzero connected to 5v power source, tried to run some of the manufacturer's files to test if the motor is working.. most of the time it didn't aside from few sluggish moves.. not when I ran the code itself but after I quit it. :o The motor would require 4-6 volts and the outputs are s...
by Cacodemon
Thu Feb 28, 2019 3:41 pm
Forum: Automation, sensing and robotics
Topic: Ultrasound sensor alternatives?
Replies: 11
Views: 2134

Re: Ultrasound sensor alternatives?

Does that mean you have tried the code supplied by Pimoroni and found it unreliable? Or does it just mean you haven't tried it... ? I haven't tried it yet. The reason I was asking is due to the disappointment with TFT screen thing (and lack of resources with other things in few other cases) which i...
by Cacodemon
Wed Feb 27, 2019 2:55 pm
Forum: Automation, sensing and robotics
Topic: Ultrasound sensor alternatives?
Replies: 11
Views: 2134

Re: Ultrasound sensor alternatives?

Thanks for the responses. :) Time-of-flight sensors seem like a good choice! The next question is which manufacturer would make them simple and straightforward enough to use? Saw that they work with Python which is another plus - are there much reliable guides or resources for controlling Time-of-fl...
by Cacodemon
Thu Feb 21, 2019 4:09 pm
Forum: Automation, sensing and robotics
Topic: Ultrasound sensor alternatives?
Replies: 11
Views: 2134

Ultrasound sensor alternatives?

Working on a small simple robot project at the moment, currently thinking of a simple way to make it avoid obstacles, perhaps in the future also follow a certain path or moving target. After some research I found that ultrasound sensors were commonly used and easy to learn way to make your robot to ...
by Cacodemon
Tue Nov 13, 2018 12:01 pm
Forum: Troubleshooting
Topic: Missing 'server' JVM....
Replies: 1
Views: 949

Missing 'server' JVM....

Hello! I got back to one of my projects this morning. Tried to install scipy and numpy to one of those SD cards with raspbian installed and at installation I get this error: Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'. Please install or use the JRE...
by Cacodemon
Mon Oct 22, 2018 7:44 am
Forum: Python
Topic: Driving multiple stepper motors with Python
Replies: 13
Views: 4448

Re: Driving multiple stepper motors with Python

What was wrong with the class method I share with you a while back? Mostly myself trying to understand it now. I noticed it was missing pieces like GPIO.setmode which I added and set the pins for motor1 and motor2 in the code accordingly. For some reason I also got syntax error at print(f'####{self...
by Cacodemon
Wed Oct 17, 2018 9:31 am
Forum: Python
Topic: Driving multiple stepper motors with Python
Replies: 13
Views: 4448

Re: Driving multiple stepper motors with Python

For motor 1: def roll(): import sys import time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) StepPins = [20,26,16,19] for pin in StepPins: print ("Setup pins") GPIO.setup(pin,GPIO.OUT) GPIO.output(pin, False) Seq = [[1,0,0,1], [1,0,0,0], [1,1,0,0], [0,1,0,0], [0,1,1,0], [0,0,1,0], [0,0,1,1], [0,0,...
by Cacodemon
Wed Oct 17, 2018 7:51 am
Forum: Python
Topic: Driving multiple stepper motors with Python
Replies: 13
Views: 4448

Re: Driving multiple stepper motors with Python

B.Goode, that's true. The warning was my only lead to go on though. Now my main code looks like this: import stepper #import code for stepper motor 1 as module import stepper2 #do the same for stepper motor 2 code stepper.roll() #run motor 1 stepper2.roll() #run motor 2 And added these to the origin...
by Cacodemon
Tue Oct 16, 2018 1:54 pm
Forum: Python
Topic: Driving multiple stepper motors with Python
Replies: 13
Views: 4448

Re: Driving multiple stepper motors with Python

Hey, thanks for the replies. I ran into more errors even with Scotty's lastest code, ofc as it's been few months already I'm thinking of double checking which errors those were to be precise. After long hours of frustration and wondering what's the part I'm not getting or if there's a simpler code t...
by Cacodemon
Tue Aug 07, 2018 8:43 am
Forum: Python
Topic: Driving multiple stepper motors with Python
Replies: 13
Views: 4448

Driving multiple stepper motors with Python

Edit: Problem solved, it works! Recently I've been trying to learn how to control stepper motors with Python. I can run one 28BYJ-48-5V at a time easily using PiStep2 Quad using scripts which are readily available (see the list on bottom), however I've been trying to modify the code to run two of th...
by Cacodemon
Sat Aug 04, 2018 10:16 am
Forum: Beginners
Topic: RB-TFT3.5 pin usage
Replies: 5
Views: 902

Re: RB-TFT3.5 pin usage

The screen being a clone would explain the lack of resources on Joy-IT's site! Might require some additional testing for my part, but hopefully toying with additional hats will become simpler as there's more info on the Waveshare product. Thanks for the help, I appreciate it!
by Cacodemon
Sat Aug 04, 2018 7:04 am
Forum: Beginners
Topic: RB-TFT3.5 pin usage
Replies: 5
Views: 902

Re: RB-TFT3.5 pin usage

Sure. I had to install raspbian using their customized image given here (1.2) since I had trouble getting the touch screen work after trying to set it up manually. So, the boot/config.txt is just as it has been since installing that image. # uncomment if you get no picture on HDMI for a default "saf...
by Cacodemon
Mon Jul 09, 2018 4:51 pm
Forum: Beginners
Topic: RB-TFT3.5 pin usage
Replies: 5
Views: 902

RB-TFT3.5 pin usage

I bought a touch display for my Raspberry Pi some time ago. It's been pretty cool not having to plug my Pi into my PC screen anymore, but recently I've been thinking if I could also attach another hat to my Pi without having to remove the touch display. This one is using GPIO pins only, but I couldn...

Go to advanced search