Go to advanced search

by raheel
Sat Jul 08, 2017 8:14 am
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

So did you get it to work? Well, I did but only through adding all my static parameters directly in the interfaces file. While, I was trying to avoid that and like to use wpa_supplicant.conf file instead but that didn't work after many tries! Any ideas what might go wrong? I simply copied those IP ...
by raheel
Sat Jul 08, 2017 7:53 am
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

So did you get it to work? Well, I did but only through adding all my static parameters directly in the interfaces file. While, I was trying to avoid that and like to use wpa_supplicant.conf file instead but that didn't work after many tries! Any ideas what might go wrong? I simply copied those IP ...
by raheel
Sat Jul 08, 2017 12:21 am
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

I figure out few things after all this. I think I forgot that I didn't generate the psk through wpa_passphrase but put the same one as provided by my router. I found this when I try to debug the config thru wpa_supplicant utility where it showed me that it was not able to remove psk entry. Should I ...
by raheel
Fri Jul 07, 2017 11:41 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

So, I removed one line from interfaces file, turn off, plugged-in wifi dongle and reboot my pi and this time I got the boot sequene. Attached is the output of 'ifconfig' command with both eth0 and wlan0 interfaces plugged in. Please re-read my post. There are more changes than just the one line. (h...
by raheel
Fri Jul 07, 2017 11:29 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

So, I removed one line from interfaces file, turn off, plugged-in wifi dongle and reboot my pi and this time I got the boot sequene. Attached is the output of 'ifconfig' command with both eth0 and wlan0 interfaces plugged in. Please re-read my post. There are more changes than just the one line. (h...
by raheel
Fri Jul 07, 2017 11:16 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

Make sure that you post the output of ifconfig with the dongle plugged in. But how? Pi stuck and didn't show anything on boot with wifi dongle plugged-in....! This is my interfaces file: auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp wpa-roam /etc/wpa_...
by raheel
Fri Jul 07, 2017 11:05 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

Make sure that you post the output of ifconfig with the dongle plugged in. But how? Pi stuck and didn't show anything on boot with wifi dongle plugged-in....! This is my interfaces file: auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp wpa-roam /etc/wpa_...
by raheel
Fri Jul 07, 2017 10:48 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

Did you try to associate your dongle with your access point / router? If so, did you do that manually (editing /etc/wp_supplicant/wpa_supplicant.conf) or did you use the GUI? Did you make any changes to /etc/network/interfaces? What is the output of 'ifconfig'? Yes I did try to associate with my ro...
by raheel
Fri Jul 07, 2017 9:39 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

What exactly do you mean by 'update'? >> I did a fresh install and then do apt-upgrade Did you do a fresh install? >> Yes Which OS and version do you have now? >> I have got raspbian, July 2017 version Also give details of the Wifi dongle you use, such as output from 'lsusb' >> I have realtek wifi d...
by raheel
Fri Jul 07, 2017 8:56 pm
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Re: Wifi broke after raspbian update on old Pi

Did I miss something in my prob description? Seems no one is interested to respond!
by raheel
Fri Jul 07, 2017 4:28 am
Forum: Troubleshooting
Topic: Wifi broke after raspbian update on old Pi
Replies: 18
Views: 1820

Wifi broke after raspbian update on old Pi

Hi, So my problem is a bit specific to "update of raspbian after 3 years on an older pi"!! I bought pi in 2013 and was happily running my gadgets on it over wlan. But seems something is changed from wifi thingy on RPi since then, I update my OS few days ago and my wifi broke and not connecting anymo...
by raheel
Sun Mar 23, 2014 7:26 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

Ok, for further ease, I have connected rest of the connections as given here ( http://myrobotlab.net/tutorial-control-a-dc-motor-with-raspberry-pi/ ). But this is not the exact one as I have followed your advice as well for enabler pins and other gpio pins to turn the on/off logic. See, 2 small blue...
by raheel
Sun Mar 23, 2014 7:21 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

I was a bit confused as you seem to be inventing your own naming scheme. What you've done appears to be correct. Have you got a voltmeter? I think you need to check various voltages. Someone else in an earlier reply thought he had spotted a mistake with your wiring, i.e. a wire not going where it s...
by raheel
Sun Mar 23, 2014 6:23 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

Joan, I tried your code and here is my pin connectivity setup: - connect IN2 to gipio 4 - connect IN7 to gpio 17 - connect dc motor to IC's 3 and 6 pins - connect IN1 and IN9 from IC to 5V on cobbler connector - connect battery on cobbler as described on instructibles link/diagram below is the only...
by raheel
Sun Mar 23, 2014 6:01 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

Joan, I tried your code and here is my pin connectivity setup: - connect IN2 to gipio 4 - connect IN7 to gpio 17 - connect dc motor to IC's 3 and 6 pins - connect IN1 and IN9 from IC to 5V on cobbler connector - connect battery on cobbler as described on instructibles link/diagram below is the only ...
by raheel
Sat Mar 22, 2014 11:45 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

I just pulled an L293D from an Arduino shield and stuck it on a breadboard. I wired IN1 to gpio8 and IN2 to gpio25. The other connections were as already described. The following code turns the motor forward then backward. It then sets the motor going forward with slowly increasing PWM. #!/usr/bin/...
by raheel
Sat Mar 22, 2014 10:25 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

Tarcas and Joan, thanks for sharing thoughts, I will correct it but how your corrections are directly linking to my problem which is related to software driver? I need some program, preferably python to run fwd/rev direction of my motor with difffering speeds. In the instructibles link, they are usi...
by raheel
Sat Mar 22, 2014 9:47 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

joan wrote:That doesn't seem right. Neither of the enable pins of the L293D appear to be connected. Have you got a link to the text of the instructable?
http://www.instructables.com/id/Control ... /?ALLSTEPS
by raheel
Sat Mar 22, 2014 9:28 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

Have you connected up your DC motor or servo to the PI? What connections have you made? It is a h-bridge schematic using L293 IC. This is by far the most common and easiest way possible without using any motor shield and I hope you must know this fact ... :) So what connections have you made betwee...
by raheel
Sat Mar 22, 2014 8:11 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

joan wrote:Have you connected up your DC motor or servo to the PI? What connections have you made?
It is a h-bridge schematic using L293 IC. This is by far the most common and easiest way possible without using any motor shield and I hope you must know this fact ... :)
by raheel
Sat Mar 22, 2014 6:58 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

Re: PWM for dc/servo motors

joan wrote:pigpio

Thanks, I search but didn't find a working example in python for dc motors using this library (pigpio).

Is there one exists, help?
by raheel
Sun Mar 16, 2014 10:29 pm
Forum: Automation, sensing and robotics
Topic: PWM for dc/servo motors
Replies: 21
Views: 4952

PWM for dc/servo motors

Hi, I have recently started building some projects with rpi. I am struggling to have a easy to use pwm module or library to run dc motors. My OS image is raspbian wheezy and I am so comfortable with it that I am not in mode to switch to occidentalis from adafruit. Can someone please suggest an easy ...
by raheel
Sat Feb 08, 2014 10:31 am
Forum: Troubleshooting
Topic: wifi dongle (RAlink 5370) not working!
Replies: 18
Views: 3794

Re: wifi dongle (RAlink 5370) not working!

Folks,

Finally I am succeded, it was my bad as my interface file was not showing antying for wlan0! (after last experiments). Once I correct it, my dongle lives up (the new one) and I am happy. Thanks a ton to all.
by raheel
Fri Feb 07, 2014 8:58 pm
Forum: Troubleshooting
Topic: wifi dongle (RAlink 5370) not working!
Replies: 18
Views: 3794

Re: wifi dongle (RAlink 5370) not working!

I bought a new wifi dongle (TPLink TL-WN823N) and tried with my pi but nothing happened. On top of it, something very strange happened after I insert it into the rpi, that now I am not able to connect to thru my ethernet interface also!! I am not getting the dhcp IP on my eth0 interface anymore. HELP!
by raheel
Wed Feb 05, 2014 11:57 pm
Forum: Troubleshooting
Topic: wifi dongle (RAlink 5370) not working!
Replies: 18
Views: 3794

Re: wifi dongle (RAlink 5370) not working!

Richard-TX wrote:I think you have a bad adapter. Get one that has an external antenna.
Any advice which one should I get... looking for the one which works like a charm with Pi latest OS versions?

Go to advanced search