Go to advanced search

by jdorfsman
Tue Jul 07, 2015 9:16 am
Forum: Troubleshooting
Topic: Raspberry won't boot into raspbian, only red light on
Replies: 1
Views: 285

Raspberry won't boot into raspbian, only red light on

I saw some posts about it but I couldn't find an answer.. I have a Raspberry Pi mode B, it was working great until I insert it into a car chassis that I'm building. The chassis is made of aluminium. I insert the Raspberry using the two holes it has to attach it to the base and when I tried to start ...
by jdorfsman
Fri Oct 03, 2014 10:46 am
Forum: Python
Topic: Control dc motor using GPIO.PWM problem
Replies: 9
Views: 2663

Re: Control dc motor using GPIO.PWM problem

elParaguayo wrote:Have you tried debugging this by printing out what commands are being received over the network compared with what you're expecting?
Yes, found nothing strange or different.
Even tried to print all the commands and re send them locally and that worked!
:/
by jdorfsman
Fri Oct 03, 2014 10:38 am
Forum: Python
Topic: Control dc motor using GPIO.PWM problem
Replies: 9
Views: 2663

Re: Control dc motor using GPIO.PWM problem

If you and your collaborators have written all that code then you clearly know far more about python and network programming than I do, so I have nothing to add. But I'm surprised you didn't test it during development to see whether it was working. My own experiments have not been so sophisticated,...
by jdorfsman
Thu Oct 02, 2014 8:23 am
Forum: Python
Topic: Control dc motor using GPIO.PWM problem
Replies: 9
Views: 2663

Re: Control dc motor using GPIO.PWM problem

Is there any problem using the tcp connection with the GPIO at the same time? Not in general. I do all my experimenting over a network using ssh, and have never had any issues with using GPIO connections that could be related to the network. Then do you have any clue what could be the problem? I ha...
by jdorfsman
Thu Oct 02, 2014 8:22 am
Forum: Python
Topic: Control dc motor using GPIO.PWM problem
Replies: 9
Views: 2663

Re: Control dc motor using GPIO.PWM problem

joan wrote:Code snippets are rarely useful in diagnosing problems.

Would it be possible to post all the code (or at least all the relevant code)?
Yes, here is the github link: https://github.com/c0rrupt3d/RPiCar
by jdorfsman
Wed Oct 01, 2014 10:38 am
Forum: Python
Topic: Control dc motor using GPIO.PWM problem
Replies: 9
Views: 2663

Control dc motor using GPIO.PWM problem

I'm trying to make a small remote controlled car with the raspberry pi and attached two small dc motors to it, using the L239D chip. When testing without the remote control (which is a simple android app) the motors work good and the speed is changing. But when I try with the remote control it doesn...
by jdorfsman
Sat Sep 20, 2014 9:41 am
Forum: Python
Topic: Using RPIO for controling dc motor speed
Replies: 15
Views: 4630

Re: Using RPIO for controling dc motor speed

Thank you all for the responses! Finally I managed to get it work but with GPIO.PWM:
From here: http://raspi.tv/2013/rpi-gpio-0-5-2a-no ... -to-use-it
Thanks again!
by jdorfsman
Sat Sep 20, 2014 9:27 am
Forum: Python
Topic: Using RPIO for controling dc motor speed
Replies: 15
Views: 4630

Re: Using RPIO for controling dc motor speed

Actually avoid DMA channels 0, 1, 2, 3, 6, 7. The GPU uses 1, 3, 6, 7. The frame buffer uses 0 and the SD card uses 2. You can see the channels reserved for GPU use by cat /sys/module/dma/parameters/dmachans In addition channels 0 and 2 are used by the ARM software. You confused me completely :S wh...
by jdorfsman
Sat Sep 20, 2014 12:44 am
Forum: Python
Topic: Using RPIO for controling dc motor speed
Replies: 15
Views: 4630

Re: Using RPIO for controling dc motor speed

Presumably 1E is the enable pin for motor 1 on the motor driver. The principal is correct. You are using PWM. I'm not sure about the servo function. Servos are only on for 5-10% of the PWM cycle. You probably want to have PWM which can be varied between 0 and 100%. Yes, 1E is the enable pin for mot...
by jdorfsman
Fri Sep 19, 2014 7:24 pm
Forum: Python
Topic: Using RPIO for controling dc motor speed
Replies: 15
Views: 4630

Using RPIO for controling dc motor speed

Hi! I want to use python with RPIO (pwm) to control a dc motor speed. I have written this code: from RPIO import PWM from time import sleep servo = PWM.Servo() RPIO.setmode(RPIO.BOARD) Motor1A = 16 Motor1B = 18 Motor1E = 22 RPIO.setup(Motor1A, RPIO.OUT) RPIO.setup(Motor1B, RPIO.OUT) RPIO.setup(Motor...
by jdorfsman
Mon Feb 17, 2014 3:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an already assembled IR cable with the Raspberry Pi
Replies: 5
Views: 952

Re: Using an already assembled IR cable with the Raspberry P

It's originally from a tv recorder box. It should work as an Infrared extender for sending signals I guess.
Any thoughts?
Thanks!
by jdorfsman
Mon Feb 17, 2014 3:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an already assembled IR cable with the Raspberry Pi
Replies: 5
Views: 952

Re: Using an already assembled IR cable with the Raspberry P

Hi again,
Sorry, I took another photo of the IR cable, maybe it will help more...
link: http://imgur.com/DkaE3rk
Thanks!
by jdorfsman
Mon Feb 17, 2014 12:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an already assembled IR cable with the Raspberry Pi
Replies: 5
Views: 952

Using an already assembled IR cable with the Raspberry Pi

Hi!
I have an already assembled IR cable, which it ends in a audio-aux-like male.
From what I see it consist of 2 cables.
Is there a way I can cut open those cables and connect them to the raspberry GPIO?
A link to an image showing what I mean: http://imgur.com/FJI9Hxf
Thanks!
by jdorfsman
Sun Jun 16, 2013 2:50 pm
Forum: Bare metal, Assembly language
Topic: ARM assembler tutorial for Raspberry Pi
Replies: 25
Views: 20849

Re: ARM assembler tutorial for Raspberry Pi

The site is down! Is there a possibility to get the tutorial by email?
Thanks!

Go to advanced search