Go to advanced search

by Brandon92
Fri Jul 05, 2019 5:53 pm
Forum: Automation, sensing and robotics
Topic: Relee boars + RS485
Replies: 20
Views: 734

Re: Relee boars + RS485

Thank you for your response and time! - a better board. could you give me a link with one that has 8 relays? - the wiring is planed by an electrician (not me), professional work (but i have to give him the boards) - each board of relays + board control is placed in every single room (+ relays conne...
by Brandon92
Mon Jul 01, 2019 5:47 pm
Forum: Automation, sensing and robotics
Topic: DS18B20: Influence of supply voltage on temperature
Replies: 21
Views: 1415

Re: DS18B20: Influence of supply voltage on temperature

If the parts are fake this could indeed be a problem. Maybe it is something like this: Your start up the DS18B20 at 5V The DS18B20 goes on, and set some (internal) registers correct according to the power supply voltage. (self calibration at start up?). And the DS18B20 assume that that voltage stays...
by Brandon92
Mon Jul 01, 2019 5:31 pm
Forum: Automation, sensing and robotics
Topic: Relee boars + RS485
Replies: 20
Views: 734

Re: Relee boars + RS485

Okay, then I will tell you the following: Is that relay board according to the high voltage standaard (clearance and creepage distance, quality of the solder and PCB and ... Is the relay qualified to switch your load safely and reliable. So can the relay handle the inrush current of your load. Becau...
by Brandon92
Sat Jun 29, 2019 6:53 pm
Forum: Automation, sensing and robotics
Topic: Relee boars + RS485
Replies: 20
Views: 734

Re: Relee boars + RS485

First of all. Before I'll give you any advice for this project.
What do you know about electronics, and is this your first project? And have you any experience in this field. Because this is not a easy project and you need probably a lot more than that (wrong) relay board.
by Brandon92
Sun Jun 16, 2019 6:15 pm
Forum: Off topic discussion
Topic: Arduino connection to the PI (with 12C)
Replies: 18
Views: 3093

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: 323

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: 689

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: 689

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: 968

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: 968

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: 689

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: 3093

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: 3093

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: 3093

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: 18
Views: 719

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: 473

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: 700

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: 18
Views: 719

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: 400

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: 432

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: 400

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: 18
Views: 719

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: 400

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: 181

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: 18
Views: 719

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...

Go to advanced search