Go to advanced search

by Brandon92
Sun Nov 03, 2019 10:05 am
Forum: Advanced users
Topic: Control power from LiPo to Pi via external MCU
Replies: 32
Views: 1771

Re: Control power from LiPo to Pi via external MCU

Could you post a picture of the setup. Maybe we see something wrong with it. And what is the type of battery that you are using. I see that a lot of measurement is done with turning the voltage down to see where the Rpi will stop working. But did someone the same test with turning the voltage up. To...
by Brandon92
Sat Oct 26, 2019 9:12 pm
Forum: Automation, sensing and robotics
Topic: Creating a Vehicle interface system
Replies: 2
Views: 837

Re: Creating a Vehicle interface system

Hello, This in the basic possible to do. However you are planning this to use in an automotive application. And I think also in a very "important" place. For example you have a bug in you program that diced to open an solenoid valve of your left front of your car. At that time you drive in a right c...
by Brandon92
Fri Jul 05, 2019 5:53 pm
Forum: Automation, sensing and robotics
Topic: Relee boars + RS485
Replies: 20
Views: 1148

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 20
Views: 1189

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

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

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: 20
Views: 1189

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

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

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

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: 20
Views: 1189

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

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

Go to advanced search