Go to advanced search

by LinuxCircle
Fri Sep 16, 2016 1:02 am
Forum: Raspbian
Topic: Multiple Wifi Networks with Static IP
Replies: 4
Views: 4616

Re: Multiple Wifi Networks with Static IP

We have figured it out over here. You only need to modify 2 files: wpa_supplicant.conf and dhcpcd exit hook file
http://www.linuxcircle.com/2016/09/15/r ... -networks/
by LinuxCircle
Tue Apr 05, 2016 2:55 am
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19833

Re: TTL Serial Camera

You can also run this VC0706 camera with Python 3:

http://www.linuxcircle.com/2016/04/05/c ... -python-3/
by LinuxCircle
Thu Mar 24, 2016 1:10 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19833

Re: TTL Serial Camera

This is my screen output [email protected]:~/Projects $ sudo python raspi_camera.py ['v', '\x00', '\x11', '\x00', '\x0b', 'V', 'C', '0', '7', '0', '3', ' ', '1', '.', '0', '0'] VC0706 Camera found Snap! 12228 bytes to read Reading 8192 bytes at 0 Reading 4036 bytes at 8192 12228 Bytes written And the p...
by LinuxCircle
Tue Sep 01, 2015 4:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C, wiringPi & tea5767
Replies: 28
Views: 28370

Re: I2C, wiringPi & tea5767

My solution was to install the latest smbus library, using: sudo apt-get update sudo apt-get install python3-smbus And then if there is discrepancies between the Pi and the device baudrates, I would just keep reading a byte from the device in a loop, to trigger the first connection, until a ready fl...
by LinuxCircle
Tue Sep 01, 2015 4:40 am
Forum: Python
Topic: Pyaudio outputs slow/crackling/garbled audio
Replies: 9
Views: 3701

Re: Pyaudio outputs slow/crackling/garbled audio

I had the same issue with streaming a stereo live voice through mic in. It will run for 1 minutes before it started to stutter for a few seconds then died completely. stream = p.open(format=p.get_format_from_width(wf.getsampwidth()), channels=wf.getnchannels(), rate=wf.getframerate(), output=True) T...
by LinuxCircle
Wed Aug 19, 2015 12:04 am
Forum: General discussion
Topic: Help with transmitter to Pi
Replies: 6
Views: 1146

Re: Help with transmitter to Pi

You can build a simple FM radio (bug) transmitter. You need a bit of electronics soldering, but there are hundreds of schematic to help you put together resistor, transistors, etc, like this http://www.instructables.com/id/The-Ultimate-FM-Transmitter/ . This little beauty can transmit clear voice u...
by LinuxCircle
Tue Aug 18, 2015 11:59 pm
Forum: General discussion
Topic: Help with transmitter to Pi
Replies: 6
Views: 1146

Re: Help with transmitter to Pi

You can build a simple FM radio (bug) transmitter. You need a bit of electronics soldering, but there are hundreds of schematic to help you put together resistor, transistors, etc, like this http://www.instructables.com/id/The-Ultimate-FM-Transmitter/ . This little beauty can transmit clear voice up...
by LinuxCircle
Tue Aug 18, 2015 1:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change I2C speed
Replies: 20
Views: 63854

Re: Change I2C speed

Could you post the Python and the C code you are actually using. The snippets I have seen suggest they are using completely different SMBus calls. That would explain why they have different results. Here they are: https://github.com/LinuxCircle/tea5767/blob/master/tea5767controller.py https://githu...
by LinuxCircle
Wed Aug 12, 2015 6:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change I2C speed
Replies: 20
Views: 63854

Re: Change I2C speed

Setting the baudrate down, doesn't effect anything. Python code is A LOT! slower then C-code. How much did you change the baudrate? I set it down to 9600, no effect, and then down to 5000, same deal. I finally found a workaround by sending the byte block command in a loop until 1 gets through. http...
by LinuxCircle
Mon Aug 10, 2015 11:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C, wiringPi & tea5767
Replies: 28
Views: 28370

Re: I2C, wiringPi & tea5767

Hi All I think I solved my own problem with Python 3 I2C communication bug by implementing a workaround using while loop for sending a byte block command to change frequency until there is no more IO exception caught. Oddly enough it takes between 15000-20000 continous and rapid attempts of writing ...
by LinuxCircle
Mon Aug 10, 2015 12:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change I2C speed
Replies: 20
Views: 63854

Re: Change I2C speed TEA5767

Hi, Connection is as follows: http://www.svesoftware.com/images/pinout_TEA5767module.png It is clearer if I type the connection here: Raspberry Pi TEA5767 Board 3.3V Pin (Pin 0) <---> V pin SDA Pin (Pin 3) <---> SDA pin SCL Pin (Pin 5) <---> SCL pin GND Pin (Pin 6 or 9) <---> GND pin C code would wo...
by LinuxCircle
Mon Aug 10, 2015 12:31 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change I2C speed
Replies: 20
Views: 63854

Re: Change I2C speed

Hi I have been trying to program I2C Fm receiver namely TEA5767. It runs ok with C, but not Python 3 smbus, or the Adafruit I2C driver, or pigpio. It gives me Input Output error no 5, around 95% each time I send bytecodes to it to change the fm frequency. I wonder if it has anyhing to do with mismat...
by LinuxCircle
Sun Aug 09, 2015 3:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C, wiringPi & tea5767
Replies: 28
Views: 28370

Re: I2C, wiringPi & tea5767

Guys, I'm doing my head-in (pulling my hair out, and banging my head on the project table :x ) when I try to write Python 3 code to drive Tea5767. I am begging you to save my head, by leading me to the right path with the following code: #!/usr/bin/python3 import smbus as smbus import subprocess imp...
by LinuxCircle
Tue Jun 02, 2015 12:11 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Pin States a Boot time - Change in 3.6.11+
Replies: 17
Views: 39290

Re: GPIO Pin States a Boot time - Change in 3.6.11+

I used Raspberry Pi 2 GPIO 4 as one of the pins connected to control DRV8833 motor driver. For some reason GPIO 4 is stubornly stayed on HIGH on boot and moved the motor unwantedly, until a script forced it to be LOW. The other 3 pins connected to the driver seem to be starting low on boot. Is there...
by LinuxCircle
Tue May 19, 2015 3:36 am
Forum: Troubleshooting
Topic: OpenCV on python3 - import cv fail
Replies: 1
Views: 2005

Re: OpenCV on python3 - import cv fail

Make sure you install all dependencies: Install core dependencies sudo apt-get install cmake python3-dev python3.2-dev python3-numpy gcc gcc-c++ build-essential cmake-curses-gui Install other dependencies sudo apt-get -y install pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev ...
by LinuxCircle
Thu May 14, 2015 4:12 am
Forum: Beginners
Topic: Set up as WiFi client and AP with SSH?
Replies: 3
Views: 899

Re: Set up as WiFi client and AP with SSH?

You would need 2 Wifi dongles and assign each one with different IP addresses.

Full tutorial can be found here:
http://www.linuxcircle.com/2015/04/21/b ... erry-pi-2/
by LinuxCircle
Thu May 14, 2015 4:10 am
Forum: General discussion
Topic: PWM Buzzer with GPIO in Python
Replies: 10
Views: 31690

Re: PWM Buzzer with GPIO in Python

A simple python 3 code to play buzzer tunes can be found here:
http://www.linuxcircle.com/2015/04/12/h ... -with-pwm/

Try if you could transcribe Mario Bro theme song :D
by LinuxCircle
Thu May 14, 2015 4:05 am
Forum: Automation, sensing and robotics
Topic: Pi Biped Robot walking
Replies: 17
Views: 12406

Re: Pi Biped Robot walking

I was searching for something and landed up on this 2 year old thread. So...you got any noob level instructions? We built a biped robot and posted Noob Level instruction here: http://www.linuxcircle.com/2015/04/06/legged-pi-a-biped-raspberry-pi-robot/ Let us know or comment on the page if you need ...
by LinuxCircle
Thu May 14, 2015 3:58 am
Forum: Automation, sensing and robotics
Topic: Wall power for RPi, Servo
Replies: 9
Views: 2407

Re: Wall power for RPi, Servo

Use 9V wall adapter, then use UBEC to convert it to 5V 5A. Best practice and result is to separate Pi and Servos power source by using 2 power supplies, e.g. 2 adapters or 1 adapter + 1 battery. You could use the same power supply, but do not power servos from GPIO 5V because it has limited current,...
by LinuxCircle
Thu May 14, 2015 3:46 am
Forum: Automation, sensing and robotics
Topic: Connecting Multiple Servos to Single Battery Pack
Replies: 4
Views: 543

Re: Connecting Multiple Servos to Single Battery Pack

You could use a breadboard, and attach the battery to the side positive / ground rail.

Or you could also use external boards:
http://www.linuxcircle.com/2013/02/11/r ... on-boards/
by LinuxCircle
Thu May 14, 2015 3:39 am
Forum: Beginners
Topic: rc
Replies: 8
Views: 916

Re: rc

You could send datagrams between Python client & server: http://www.linuxcircle.com/2013/02/28/raspberry-internet-rover-part-2-python-datagram-server-codes/ Or you could use the websocket to handle the communications between 2 pis and web interface for user control: http://www.linuxcircle.com/2015/0...
by LinuxCircle
Mon Jan 12, 2015 2:10 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi Loses Power When Controlling Servos
Replies: 22
Views: 6290

Re: Raspberry Pi Loses Power When Controlling Servos

How about adding a servo controller between the Pi and the Servos to take off the processing load from the Pi? LinuxCircle has tested these two controllers. They both run Python scripts and don't crash your Pi so easily, unless you overload the servos, like climbing your robot up the tree. Check the...
by LinuxCircle
Wed Jan 07, 2015 4:30 am
Forum: Automation, sensing and robotics
Topic: Pi Biped Robot walking
Replies: 17
Views: 12406

Re: Pi Biped Robot walking

What batteries did you use to power the 6 servos? How many Amps are required in total? Is 3A sufficient for 6 servos?

Wiring scheme would be appriciated
by LinuxCircle
Thu Jul 04, 2013 2:56 am
Forum: HATs and other add-ons
Topic: Steering a standard servo with Gertboard
Replies: 9
Views: 4323

Re: Steering a standard servo with Gertboard

A modified Arduino Sketch that actually works with HS 422 servo, Gertboard and Raspberry Pi:
http://www.linuxcircle.com/?p=640

Fantastic tutorial page! :mrgreen:
by LinuxCircle
Mon May 06, 2013 3:46 am
Forum: Automation, sensing and robotics
Topic: Beginner questions - first robot
Replies: 5
Views: 3344

Re: Beginner questions - first robot

Hi, For the chassis, you need something like 4WD chassis. You need DC motors to run the wheels instead of Servos. Servos is for steering wheels, or pan & tilt or anything that you need high degree of rotation accuracy. If you are building a racing RC than you need a brushless servo. But for basic ro...

Go to advanced search