Go to advanced search

by Brandon92
Thu Sep 13, 2018 2:40 pm
Forum: General discussion
Topic: MCP3008 readings
Replies: 163
Views: 13776

Re: MCP3008 readings

davidcoton wrote:
Thu Sep 13, 2018 2:14 pm
--
On the plus side, the ACS712 can do the job.
--
Well, I disagree with this answer. This device is not fully save* to use it in this case. And I will give a detailed explanation in a couple of hours, why (I think) this is the case.
by Brandon92
Thu Sep 13, 2018 1:52 pm
Forum: General discussion
Topic: MCP3008 readings
Replies: 163
Views: 13776

Re: MCP3008 readings

2. sensor can sense AC or DC current so if i replace DC battery with AC main Is that circuit capable to measure AC current ? I think circuit can measure both AC and DC current I don't need any extra part to measure AC current Before I answer that question. What is the mains voltage that you are usi...
by Brandon92
Wed Sep 12, 2018 8:57 pm
Forum: HATs and other add-ons
Topic: Powering Pi from 3S lipo with LM2596 step-down converter
Replies: 8
Views: 2237

Re: Powering Pi from 3S lipo with LM2596 step-down converter

I'm not 100% what you are asking.
HermannSW wrote:
Wed Sep 12, 2018 7:56 pm
Output voltage is interesting for calibrating the module to deliver 5V, input voltage to see when lipo needs to be recharged:
But if you are using a LM2596, the output voltage should not change much if the voltage at the input is changing.
by Brandon92
Wed Sep 12, 2018 8:40 pm
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 79290

Re: GPIO.input voltage levels vs edge detection

When you use a "transfer board" with the correct IC. Its not a only a solution for a hobbyists. But also easy for testing a IC on your breadboard. Without buying / making a pcb.
by Brandon92
Wed Sep 12, 2018 8:37 pm
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

To give a little bit more detail about the ESD: When you sitting on a chair (with urenthane foam) you are charged to arround the 18000V and when you walk on a carpet you have a charge of 35000V. And when you are touching a pin of a IC (or other parts) they are triggered, because the charge that you ...
by Brandon92
Wed Sep 12, 2018 8:22 pm
Forum: Automation, sensing and robotics
Topic: How to read motor's tach out open collector
Replies: 25
Views: 5253

Re: How to read motor's tach out open collector

Good to see that you find the solution.
But, does the zener protect you input of your fan? If the voltage is higher than 12V. You can check it by adjusting the V2 voltage source to 15V and see what happens ;)
by Brandon92
Wed Sep 12, 2018 12:48 pm
Forum: Automation, sensing and robotics
Topic: Relay Module KY-019 5V
Replies: 488
Views: 103949

Re: Relay Module KY-019 5V

If I was you, I would start if it theoretical possible what you want to do. Before you start programming.
By this I mean, make a timing diagram. And check if everything is fast enough to detect and save the incoming data from the sensor.
by Brandon92
Tue Sep 11, 2018 6:42 pm
Forum: Beginners
Topic: Raspberry(3b+)-PCA9685-12V Fans
Replies: 73
Views: 7909

Re: Raspberry(3b+)-PCA9685-12V Fans

Do you have perhaps other transistor to test with? Or did you try to lower the base transistor?
by Brandon92
Tue Sep 11, 2018 3:19 pm
Forum: Python
Topic: GPIO.input voltage levels vs edge detection
Replies: 430
Views: 79290

Re: GPIO.input voltage levels vs edge detection

The hobbist won't study the pro coder's program for now, but might verify his conclusion using hobbyist tricks. Anyway, it seems safe to follow the brave guy now, because he has not fried any Rpi yet :) . Actually, I very much like the MCP23017. Not only does it protect the pi but as it can indepen...
by Brandon92
Tue Sep 11, 2018 2:19 pm
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

fisherijus wrote:
Tue Sep 11, 2018 1:27 pm
each pin shows 3.3v (3.29v)
Ehm okay, can you give a (detailed) explanation how you get this error? And is this error still present when you add a switch?
by Brandon92
Tue Sep 11, 2018 1:25 pm
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

Do you own a multimeter?
If this is the case. Can you measure the voltage at each pin? From the MCP its ground.
Then you can measure if the pull up inside the MCP is working. And you can also test if each pin has the correct voltage applied to it.
by Brandon92
Tue Sep 11, 2018 8:51 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

What did you try.
Also, in this topic, the last pages, they talk about the interrupt function of that chip. And it has some issues with it, maybe interesting to take a look at.
by Brandon92
Tue Sep 11, 2018 8:31 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

This could also be a part of your problem (What is Switch Bounce)
by Brandon92
Tue Sep 11, 2018 7:09 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

fisherijus wrote:
Tue Sep 11, 2018 6:59 am
i say should cause outputs work like a charm :) so with the connectivity should be no problem.
i will be waiting for your feedback about the code.. thank you!
Okay, maybe its a good idea for you. To write some comments by your code. So, we can read what you are trying to do.
by Brandon92
Tue Sep 11, 2018 6:47 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

Okay. Are you 100% its ok, because you say "should" :geek: .
Maybe there is something wrong with you code. And to setup the internal in the MCP. I will take a look tonight at your code, if someone else didn't do it already.
by Brandon92
Tue Sep 11, 2018 6:25 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

It it possible that you show us a picture of both sides of the MCP. Because I can see that you change some wires.
By the way, did you check if there is a solid connection between the pin of the mcp and the Rpi. Because, sometimes those wires are broken or bad. As I know from experience.
by Brandon92
Mon Sep 10, 2018 7:50 pm
Forum: Troubleshooting
Topic: Raspberry PI 3 "Under Voltage"
Replies: 22
Views: 6333

Re: Raspberry PI 3 "Under Voltage"

What for voltage do you measure at the 5V and ground pin located at the Rpi? And does you power supply need to have a minimum load? Because that information is missing at they product page. High grade stuff... 22 AWG High Gauge Low Impedance wire. Thats sounds like a ebay product description :? 8-)
by Brandon92
Mon Sep 10, 2018 7:24 pm
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

Well it did not work..i tried to power mcp with 3.3v but it did not solve the problem...still receive those fake interrupts...no idea whats going on... Ehm, okay. Its a little bit hard to see, but did you connect the ground to pin 10? Because it's looks like there is no wire there. And what is the ...
by Brandon92
Mon Sep 10, 2018 5:50 pm
Forum: Beginners
Topic: Raspberry(3b+)-PCA9685-12V Fans
Replies: 73
Views: 7909

Re: Raspberry(3b+)-PCA9685-12V Fans

Ch3fk0ch wrote:
Mon Sep 10, 2018 4:24 pm
Hi, i used Node-Red for it.
Well, this doesn't provide me any information to solve you issue.
So, what is frequentie of you PWM signal, ect.
by Brandon92
Mon Sep 10, 2018 1:06 pm
Forum: General discussion
Topic: MCP3008 readings
Replies: 163
Views: 13776

Re: MCP3008 readings

Measure the voltage that is present at the output of your ASC sensor. Then you can also calculate by hand what the expected current is. After that you can also calculate what the ADC output is. And how you can convert that value. Maybe there is some mistake down that line.
by Brandon92
Mon Sep 10, 2018 12:11 pm
Forum: Beginners
Topic: I2C & GPIO
Replies: 1
Views: 127

Re: I2C & GPIO

If you are using the I2C data bus. You are free to use the other GPIO pins. But, the pins that are dedicated for the I2C, you can't use them for other task.
by Brandon92
Mon Sep 10, 2018 11:14 am
Forum: General discussion
Topic: MCP3008 readings
Replies: 163
Views: 13776

Re: MCP3008 readings

Don't you have a extra USB cable lie around, where can cut the other end of?
by Brandon92
Mon Sep 10, 2018 9:14 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

Yes, you should try that. But, remember that the maximal input voltage is equal to the supply voltage.
by Brandon92
Mon Sep 10, 2018 9:07 am
Forum: Beginners
Topic: [SOLVED] pir motion detection
Replies: 8
Views: 517

Re: pir motion detection

I found this youtube video very helpful for this question.
by Brandon92
Mon Sep 10, 2018 8:05 am
Forum: Troubleshooting
Topic: MCP23017 interrupts
Replies: 41
Views: 2553

Re: MCP23017 interrupts

The problem might be coming from that you connected the MCP23017 to a 5V power rail. This result in that the that the chip his input high voltage is set to 4V, for a stable connection. And your voltage is ideal 3.3V, but might be even lower. So this could result in that you think you set some settin...

Go to advanced search