Go to advanced search

by abusaeedmirza
Sun Aug 11, 2019 1:45 pm
Forum: Python
Topic: MAX11611 ADC python library
Replies: 0
Views: 92

MAX11611 ADC python library

Hello!
i want to connect MAX11611 ADC (I2C) with raspberry pi. i want to know if there is any python library available for MAX11611 with which I can read the ADC channels or any python example which can be used read the data from ADC chip with I2C?
by abusaeedmirza
Fri Nov 23, 2018 10:55 am
Forum: Automation, sensing and robotics
Topic: MOSFET/transistor for 48V heater
Replies: 15
Views: 2766

Re: MOSFET/transistor for 48V heater

Can somebody share the connections of IRLD024 http://www.vishay.com/docs/91308/sihld24.pdf with raspberry pi's GPIO. right now i am using this circuit diagram. images.png in my case, load connected to 24V solenoid valve. but after connecting i am running python code for turning ON and OFF, it os not...
by abusaeedmirza
Wed Nov 21, 2018 11:22 am
Forum: Python
Topic: Detecting system crash (not clean shutdown) with python
Replies: 2
Views: 636

Detecting system crash (not clean shutdown) with python

Hello! i have developed a python program to detect the crash shutdown for the raspberry pi. for now it is working fine it tells whether system had clean shutdown or was it crashed? i just want to know if there is better way to detect it. and also i want to know about the command "last -5" what every...
by abusaeedmirza
Thu Nov 15, 2018 3:59 pm
Forum: Automation, sensing and robotics
Topic: MOSFET/transistor for 48V heater
Replies: 15
Views: 2766

Re: MOSFET/transistor for 48V heater

Basically there is "no" lower limit of the drain-source voltage. The mosfet can switch between the 0V and the maximum drain-source voltage. You need a MOSFET driver to turn and of a MOSFET, like in my diagram. Do you want to turn on and off the heater element. Or do you want also to use a PWM signa...
by abusaeedmirza
Thu Nov 15, 2018 3:34 pm
Forum: Automation, sensing and robotics
Topic: MOSFET/transistor for 48V heater
Replies: 15
Views: 2766

Re: MOSFET/transistor for 48V heater

Hello, The maxim drain-source voltage is one of the imported specifications of a mosfet. If you go over the maximum value that the manufacture specified. The mofset will break down. And you can not disable the heater any more. So, you should stay away from that value. Or in other words, the Vgs nee...
by abusaeedmirza
Thu Nov 15, 2018 1:18 pm
Forum: Automation, sensing and robotics
Topic: MOSFET/transistor for 48V heater
Replies: 15
Views: 2766

Re: MOSFET/transistor for 48V heater

Thank you so much for the suggestions.
With IRF510 which allows maximum drain-source voltage of 100v, does it mean it can provide 100V not less or more than maximum limit. Or it is maximum limit and it also work at 48V? Can you please remove my this confusion?
Thanks
by abusaeedmirza
Tue Nov 13, 2018 10:44 am
Forum: Automation, sensing and robotics
Topic: MOSFET/transistor for 48V heater
Replies: 15
Views: 2766

MOSFET/transistor for 48V heater

Hello!
i am new in embedded field. i am working on a application which has 48VDC heater in it . Heater uses 2.5A at current at steady state and 5.8A rated for inrush current. i want to control heaters with raspberry pi. i am looking for MOSFET/Transistor which suits my case.
Thank you
by abusaeedmirza
Mon Jul 09, 2018 10:44 am
Forum: General discussion
Topic: how to solve "wiringPiNewNode: Pin 65 overlaps with existing definition" ?
Replies: 1
Views: 237

how to solve "wiringPiNewNode: Pin 65 overlaps with existing definition" ?

Hello! i am using a raspberry pi port expander mcp23017 with wiringpi library . pins of mcp23017 is being used as output (GPA0=pin 65, GPA1=66, GPA2= 67 and so on) . My program runs fine in first attempt after running all code it does not quit and comes back to first line of the program which is fin...
by abusaeedmirza
Thu Jun 28, 2018 8:04 am
Forum: General discussion
Topic: can i shift program from raspberry pi 3 B to pi zero w?
Replies: 9
Views: 665

Re: can i shift program from raspberry pi 3 B to pi zero w?

It should work, but will depend on your program. The Pi 0 uses ARMv6, which will not run everything the Pi2 or Pi3 can. Anything that uses hardware acceleration, for example, will not work (otimally)on a Pi0. If you're talking about the video hardware, it's the same on the Pi Zero as on all other m...
by abusaeedmirza
Wed Jun 27, 2018 12:12 pm
Forum: General discussion
Topic: can i shift program from raspberry pi 3 B to pi zero w?
Replies: 9
Views: 665

Re: can i shift program from raspberry pi 3 B to pi zero w?

LTolledo wrote:
Wed Jun 27, 2018 12:07 pm
Actually I did the same by mistake.... unfortunately ...... it worked properly without need for extra settings. Just let it boot.

Oh BTW, Chromium will be "painfully" sluggish!
thank you so much. i just need to run program. Fortunately, i dont want to use internet stuff on pi zero w.
by abusaeedmirza
Wed Jun 27, 2018 12:02 pm
Forum: General discussion
Topic: can i shift program from raspberry pi 3 B to pi zero w?
Replies: 9
Views: 665

can i shift program from raspberry pi 3 B to pi zero w?

hello!
i am working on a project which uses raspberry pi 3 B model. i want to know that can i shift from raspberry pi 3 B to pi zero w with same SD card or for shifting from other raspberry pi to pi zero w has some special settings or configurations which i have to do it before?

Thank you
by abusaeedmirza
Thu Jun 07, 2018 2:09 pm
Forum: Automation, sensing and robotics
Topic: how to get same output result on terminal and thonny?
Replies: 5
Views: 469

Re: how to get same output result on terminal and thonny?

What happens if you try python3 filename.py ( You probably don't need root/superuser privilege, although that is not the cause of your problem.) thank you.. i found the problem. it was in a=(1023/channeldata1)-1 in this line. command prompt compiler was rounding off the value of "a" . i have change...
by abusaeedmirza
Thu Jun 07, 2018 1:46 pm
Forum: Automation, sensing and robotics
Topic: how to get same output result on terminal and thonny?
Replies: 5
Views: 469

Re: how to get same output result on terminal and thonny?

B.Goode wrote:
Thu Jun 07, 2018 1:43 pm
What command do you use to execute this script from the shell prompt (command line)?
i use sudo python filename.py
by abusaeedmirza
Thu Jun 07, 2018 11:15 am
Forum: Automation, sensing and robotics
Topic: how to get same output result on terminal and thonny?
Replies: 5
Views: 469

how to get same output result on terminal and thonny?

hello! i have developed a code for analogue temperature sensor. i am using MCP3002 ADC converter for this. when i am running program on raspberry pi's own thonny, it gives the accurate results of temperature but when i am trying to run the same program on raspberry pi's terminal its gives always sam...
by abusaeedmirza
Thu May 31, 2018 11:53 am
Forum: Automation, sensing and robotics
Topic: how to Scroll on 2.42 OLED display with rotary encoder?
Replies: 0
Views: 267

how to Scroll on 2.42 OLED display with rotary encoder?

Hi All! i am working on 2.42 inch OLED display SSD1306 https://www.adafruit.com/product/2719 and i am following this link: https://satoshinm.github.io/blog/171110monochrome_2.7_and_2.42_128x64_oled_displays_on_a_raspberry_pi_zero.html i am also using rotary encoder to scroll on the display. i follow...
by abusaeedmirza
Thu May 24, 2018 11:15 am
Forum: Automation, sensing and robotics
Topic: How to highlight text on OLED 2.42 SSD1306
Replies: 3
Views: 801

Re: How to highlight text on OLED 2.42 SSD1306

Ok I did have a very quick look at the Luma module and it seems like it is an extension to the Pil module. I didn't find a way of setting the background color of the text and I think the Pil text method always draw text with a transparent background. So what you might be able to do is draw a white ...
by abusaeedmirza
Wed May 23, 2018 1:58 pm
Forum: Automation, sensing and robotics
Topic: How to highlight text on OLED 2.42 SSD1306
Replies: 3
Views: 801

How to highlight text on OLED 2.42 SSD1306

hello! i am working on OLED 2.42" SSD1306 (Adafruit) display. i have successfully made connection according to this link https://satoshinm.github.io/blog/171110monochrome_2.7_and_2.42_128x64_oled_displays_on_a_raspberry_pi_zero.html i have also been able to write text on OLED successfully with this ...
by abusaeedmirza
Mon May 21, 2018 8:19 am
Forum: Automation, sensing and robotics
Topic: configuration of 2.42OLED, SSD1306, 128x64
Replies: 5
Views: 679

Re: configuration of 2.42OLED, SSD1306, 128x64

Ok I just looked a bit closer for you. First I need to establish which screen your using is it this 2.42" from Adafruit?? https://www.adafruit.com/product/2719 If it is they have a good tutorial on how the set it up see the needed soldering jumpers to selct the mode you want to use https://learn.ad...
by abusaeedmirza
Thu May 17, 2018 9:23 pm
Forum: Automation, sensing and robotics
Topic: configuration of 2.42OLED, SSD1306, 128x64
Replies: 5
Views: 679

Re: configuration of 2.42OLED, SSD1306, 128x64

A quick look at the links you posted it looks like this screen can be driven bu either 8 bit parallel or SPI. In the example blog he uses SPI (i also recommend this) but the picture you posted of your wiring looks different to the pic on his blog of his wiring. thank you for your reply! which confi...
by abusaeedmirza
Thu May 17, 2018 12:12 pm
Forum: Automation, sensing and robotics
Topic: configuration of 2.42OLED, SSD1306, 128x64
Replies: 5
Views: 679

configuration of 2.42OLED, SSD1306, 128x64

Hello! i am working on project(automated machine) in which i have to develop user menu using 2.42OLED monochrome, 128x64 SSD1306. i am developing hardware on raspberry pi and python for software. i want to user to select options from menu and machine will react accordingly and for that purpose i hav...
by abusaeedmirza
Fri Apr 27, 2018 9:35 am
Forum: Automation, sensing and robotics
Topic: reading temperature everytime to shut down the motor.
Replies: 7
Views: 561

Re: reading temperature everytime to shut down the motor.

but when i am running the program it ask for the user input i give user input "1" it should run clockwise, but it is not happening. but when i give some other number as input to run it anti clockwise then motor is moving. the problem is by pressing 1 motor should move in clockwise direction. I've a...
by abusaeedmirza
Thu Apr 26, 2018 5:11 pm
Forum: Automation, sensing and robotics
Topic: reading temperature everytime to shut down the motor.
Replies: 7
Views: 561

Re: reading temperature everytime to shut down the motor.

but in my case when ever i am running motor in clockwise direction its not working but in anti clockwise direction its working perfectly The problem is you are not telling us what is not working. is the motor not running is the temperature not reading ? if you want help you need to describe in deta...
by abusaeedmirza
Thu Apr 26, 2018 12:25 pm
Forum: Automation, sensing and robotics
Topic: reading temperature everytime to shut down the motor.
Replies: 7
Views: 561

reading temperature everytime to shut down the motor.

hello! i have developed a code which reads the reads the temperature and when it reaches certain temperature then the GPIO 26 send a signal to cut the power supply. i am using stepper motor, drv8825 driver and DS18B20 sensor. when program start it will ask the user either user want to run in clockwi...
by abusaeedmirza
Fri Apr 20, 2018 7:56 am
Forum: Automation, sensing and robotics
Topic: OLED display python programming
Replies: 3
Views: 536

Re: OLED display python programming

thanks for the reply.
i am confused with 1305, 1306 and 1309 since they have almost same features. i want to run 2.42 inch OLED (128x64).
edited:
correction SSD1305, SSD1306 and SSD1309
by abusaeedmirza
Thu Apr 19, 2018 12:22 pm
Forum: Automation, sensing and robotics
Topic: OLED display python programming
Replies: 3
Views: 536

OLED display python programming

Hello!
i want to buy 2.42 OLED display. i want to develop a user interface on display. i am wondering which driver with OLED display is best(SSD1305, SSD1306, SSD1309 or any other) and which driver has libraries easily available for python coding?

Go to advanced search