Go to advanced search

by Brandon92
Sun Jun 16, 2019 6:15 pm
Forum: Off topic discussion
Topic: Arduino connection to the PI (with 12C)
Replies: 18
Views: 2185

Re: Arduino connection to the PI (with 12C)

Both voltages need to go to the level shifter, otherwise the level shifter will not work. Edit: The voltages are used to provide power to the level shifter itself. Without that connected it will not work properly. I could give you a detailed explanation why. Hi! Can you explain me pls? What do you ...
by Brandon92
Mon May 27, 2019 7:55 pm
Forum: Other projects
Topic: Using RPI as House Alarm controller
Replies: 2
Views: 262

Re: Using RPI as House Alarm controller

Why are you not solving this in software. For example this to get a idea (not real code):

Code: Select all

if hardware pin = high or software pin = high:
    Alarm = active
Else
    Alarm = deactivate
You could also write it in a way that one overrule the other.
by Brandon92
Fri May 24, 2019 3:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO input current draw
Replies: 12
Views: 533

Re: GPIO input current draw

I am going to google how to make a filter with resistor+capacitor :geek: For future readers' reference, a simple low pass filter consists of a resistor between Vcc-in and Vcc-out, bein the Gnd common, a capacitor between the Vcc-out and Gnd. How to size said resistor and capacitor is out of my comp...
by Brandon92
Fri May 24, 2019 2:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO input current draw
Replies: 12
Views: 533

Re: GPIO input current draw

ephestione wrote:
Fri May 24, 2019 1:55 pm
(they are shielded though),
Did you connect the shield at both ends, otherwise you could use a normal cable and it makes no difference.

And a higher voltage and more current will also help with some filtering (resistor + capacitor)
by Brandon92
Fri May 24, 2019 2:29 pm
Forum: Automation, sensing and robotics
Topic: need super small PIR sensor
Replies: 16
Views: 745

Re: need super small PIR sensor

Andyroo wrote:
Fri May 24, 2019 1:57 pm
Darn you - another project for the pile :lol: :roll: :lol:
Your are welcome. By the way, that is controlled by a microcontroller ;)
by Brandon92
Fri May 24, 2019 1:29 pm
Forum: Automation, sensing and robotics
Topic: need super small PIR sensor
Replies: 16
Views: 745

Re: need super small PIR sensor

I wondered about swipe control for another project where depending on the direction of swipe the data displayed changes. You could give each person a swipe direction to show their daily calendar... Take a look at the MGC3130 . It is designed to detect a couple of gestures. And you can build them ar...
by Brandon92
Fri May 24, 2019 1:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO input current draw
Replies: 12
Views: 533

Re: GPIO input current draw

I think you find reading this information interesting.
https://www.digikey.com/en/articles/tec ... lectronics

This will cover how you can connect a switch over long wire to a digital input. With some examples.
by Brandon92
Fri May 24, 2019 9:43 am
Forum: Off topic discussion
Topic: Arduino connection to the PI (with 12C)
Replies: 18
Views: 2185

Re: Arduino connection to the PI (with 12C)

Both voltages need to go to the level shifter, otherwise the level shifter will not work.

Edit:
The voltages are used to provide power to the level shifter itself. Without that connected it will not work properly. I could give you a detailed explanation why.
by Brandon92
Fri May 24, 2019 9:29 am
Forum: Off topic discussion
Topic: Arduino connection to the PI (with 12C)
Replies: 18
Views: 2185

Re: Arduino connection to the PI (with 12C)

You have forgotten to connect the 3,3v and 5v to the level converter. Like the schematic in the link you posted.
by Brandon92
Fri May 24, 2019 9:07 am
Forum: Off topic discussion
Topic: Arduino connection to the PI (with 12C)
Replies: 18
Views: 2185

Re: Arduino connection to the PI (with 12C)

Did you connect the level shifter in the right direction? A picture could help also.
by Brandon92
Thu May 23, 2019 7:59 pm
Forum: General discussion
Topic: Raspberry Pi 3 to DBH-12V Motor Controller
Replies: 17
Views: 522

Re: Raspberry Pi 3 to DBH-12V Motor Controller

Picture this would give you directional control but no speed control. If you place a single MOSFET (n-channel) at the bottom, so between the lower contact of the relay and the ground. And add 4 diodes also. The you can control then speed of the motor. And if you use the MOSFET at a specific time, y...
by Brandon92
Thu May 23, 2019 10:46 am
Forum: Python
Topic: RGB rainbow transition by PWM not working for me
Replies: 4
Views: 413

Re: RGB rainbow transition by PWM not working for me

seanspotatobusiness wrote:
Thu May 23, 2019 10:19 am
I thought colorsys provided the color wheel functionality?
Well, I don't that execly, because I did't use that function before. However, I saw that you only imported that functie but not using it in your code.
by Brandon92
Thu May 23, 2019 9:03 am
Forum: Other projects
Topic: Projector power controlled by Raspberry
Replies: 8
Views: 526

Re: Projector power controlled by Raspberry

Good job :) As another advice, I would take a closer look to the PCB. So follow the traces from the switch. If you are lucky one of the traces goes to for example R215 and that makes the soldering a lot easier for you. And maybe the other connection from the switch goes to the ground of the system a...
by Brandon92
Thu May 23, 2019 8:59 am
Forum: General discussion
Topic: Raspberry Pi 3 to DBH-12V Motor Controller
Replies: 17
Views: 522

Re: Raspberry Pi 3 to DBH-12V Motor Controller

Hooking it to a 12 v battery gives me 12.19 on pins IN1 and IN2. EN is coming up as - 1.462 That is indeed a strange voltage on that pin. I would advice you to ask the seller if this is normal and if he has more information about this. Because if you connect that to your Rpi, your Rpi will not surv...
by Brandon92
Wed May 22, 2019 8:11 pm
Forum: General discussion
Topic: Raspberry Pi 3 to 12V Induction sensor
Replies: 9
Views: 301

Re: Raspberry Pi 3 to 12V Induction sensor

inductive_sensor_.png So here is my setup. When an metal object is detected... Is the voltage pulsing very quickly between 0 and 2.835 volts on the analog pin? what changes should i make to get door open or closed status. ? Note, the Rpi does not have a analog pin only digital ones. You also need t...
by Brandon92
Wed May 22, 2019 7:48 pm
Forum: Troubleshooting
Topic: Connecting to MySQL server after firmware update not possible
Replies: 12
Views: 332

Re: Connecting to MySQL server after firmware update not possible

DougieLawson wrote:
Wed May 22, 2019 7:28 pm
That looks like a port 3306 is firewalled issue.
Interesting, I got yesterday a similar error when it try to get access to the MySQL database at home by the use of node-red.
It turns out that I entered the wrong port. By my it was 3307 is stead of 3306.
by Brandon92
Wed May 22, 2019 5:32 pm
Forum: General discussion
Topic: Raspberry Pi 3 to 12V Induction sensor
Replies: 9
Views: 301

Re: Raspberry Pi 3 to 12V Induction sensor

Okay, I assume that you have connected the two resistors and the sensor to the Rpi? When the induction sensor doesn't see metal, the output of that sensor will be noting. Because it has a PNP output, (but you can read is at 0V). In this case R2 will ensure that the voltage at the Rpi is 0V and you r...
by Brandon92
Wed May 22, 2019 4:34 pm
Forum: General discussion
Topic: Raspberry Pi 3 to DBH-12V Motor Controller
Replies: 17
Views: 522

Re: Raspberry Pi 3 to DBH-12V Motor Controller

When you disconnect everything from the board. And measure the voltage between the -pwr and the gnd of the yellow connector. If they are connected it should be 0V. And when it is 0V, could you also measere the other connections relative to the -pwr.
by Brandon92
Wed May 22, 2019 4:30 pm
Forum: General discussion
Topic: Raspberry Pi 3 to 12V Induction sensor
Replies: 9
Views: 301

Re: Raspberry Pi 3 to 12V Induction sensor

Please place you code like this, this will make it a lot more readable :) GPIO.setmode(GPIO.BCM) GPIO.setup(5, GPIO.IN) while True: if GPIO.input(5): print("open") else: print("Closed") To you question, that is indeed the "correct" behaviour of a high impedance (high resistance) input. Then the wire...
by Brandon92
Wed May 22, 2019 4:13 pm
Forum: Beginners
Topic: PT100 Temperature sensor
Replies: 3
Views: 115

Re: PT100 Temperature sensor

Also be careful what you add to the current system. Otherwise it could have a negative influence on the working of that system.

And how is the current system using the PT100. So, its it a fully analog system or will that signal become digital somewhere down the line.
by Brandon92
Wed May 22, 2019 4:07 pm
Forum: General discussion
Topic: Raspberry Pi 3 to DBH-12V Motor Controller
Replies: 17
Views: 522

Re: Raspberry Pi 3 to DBH-12V Motor Controller

Ehm, are you sure you need to connect he ground of the rpi to the -pwr. Because when I take a look at picture 8/9 of your link. Its looks like that it's not connected to ground. But more likely to some signals. Did you measure if there is a solid connected on the board? Did you get a manual with thi...
by Brandon92
Wed May 22, 2019 3:16 pm
Forum: Troubleshooting
Topic: Connecting to MySQL server after firmware update not possible
Replies: 12
Views: 332

Re: Connecting to MySQL server after firmware update not possible

Maybe a stupid question. But are the Passwords and others setting still the same after the update ( and not set to default for example).

And can you ping the server itself from the Rpi's.
by Brandon92
Wed May 22, 2019 1:18 pm
Forum: Python
Topic: RGB rainbow transition by PWM not working for me
Replies: 4
Views: 413

Re: RGB rainbow transition by PWM not working for me

Response to your edit:
I think you don't need to include the colorsys at all. I can not see where you are using that module. So, if you try the code without that module, does it work then?
by Brandon92
Wed May 22, 2019 11:54 am
Forum: Python
Topic: RGB rainbow transition by PWM not working for me
Replies: 4
Views: 413

Re: RGB rainbow transition by PWM not working for me

The problem is that you not using the same pins on the header in your code.
So change this is you not working code

Code: Select all

GPIO.setmode(GPIO.BCM)
Into this

Code: Select all

GPIO.setmode(GPIO.BOARD)
by Brandon92
Wed May 22, 2019 10:33 am
Forum: Beginners
Topic: Small part fell off my pi
Replies: 20
Views: 760

Re: Small part fell off my pi

No, actually, I'm not sure. At least in the old days 47μF was far too big for ceramic, but now it seems 47μF in case size 3216 is available as multilayer ceramic as well as tantalum, etc. My point still stands: whatever you plug into this shouldn't be feeding anything back into the Pi, and won't da...

Go to advanced search