Go to advanced search

by WickedPenguin
Thu Jul 03, 2014 5:10 am
Forum: Media centres
Topic: In Car Computer - Node JS
Replies: 3
Views: 2857

Re: In Car Computer - Node JS

weinberghere wrote:Very good looking. Are you going to be releasing the code?
-Jono
Definitely. Once it is in a good working state. I will release it all.
by WickedPenguin
Wed Jul 02, 2014 7:29 pm
Forum: Media centres
Topic: In Car Computer - Node JS
Replies: 3
Views: 2857

In Car Computer - Node JS

Hi, I am working on a new project for an in car computer. Many of these have been done before, but none as far as I know using only javascript and node js. Most leverage XBMC and navit. So far I have developed a front end, Radio player, Music Player, and navigation based on GPSD and Open Layer/Open ...
by WickedPenguin
Wed Oct 23, 2013 6:54 am
Forum: Other
Topic: Machinoid hard real-time distribution optimized for machines
Replies: 70
Views: 35809

Re: Machinoid hard real-time distribution optimized for mach

I'm attempting to use your machinoid img on my pi. But it wont start up. Just a red light.

Is there any special process I need to follow ? I just formated and then used the below to write image to sd

dd if=2013-7-8-machinoid.img of=/dev/disk2 bs=2m
by WickedPenguin
Tue Oct 22, 2013 5:11 pm
Forum: Automation, sensing and robotics
Topic: i2c stepper help
Replies: 3
Views: 834

Re: i2c stepper help

Hi,

Thanks for the response. I should have made it clear that i am using the slice of pi expansion board. So both steppers are using the same chip.
by WickedPenguin
Tue Oct 22, 2013 6:16 am
Forum: Automation, sensing and robotics
Topic: i2c stepper help
Replies: 3
Views: 834

i2c stepper help

I am currently controlling multiple stepper motors vi a GPIO expansion chip using i2c. I have multiple functions within my python scripts which control these steppers individually. However when I attempt to run two processes at the same time using Threading and Multiprocess they still run separately...
by WickedPenguin
Tue Oct 22, 2013 6:08 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Controlling stepper motors via I2C?
Replies: 10
Views: 9271

Re: Controlling stepper motors via I2C?

idem wrote:UP

so..noone have ever user a stepper with an MCP23017 ?
yes, I have multiple steppers controller via a MCP23017 chip via i2c. I use them for my CNC mill work in progress
by WickedPenguin
Sun Oct 06, 2013 4:13 am
Forum: Beginners
Topic: HELLLLLLP! Why cant I mount my media!!!
Replies: 2
Views: 609

Re: HELLLLLLP! Why cant I mount my media!!!

Create a new folder, for instance: /home/pi/mynetworkdrive Edit the /etc/fstab file: sudo nano /etc/fstab Add the following line: //192.168.1.xxx /home/pi/mynetworkdrive cifs guest,_netdev 0 0 (replace 192.168.1.xxx with the actual IP-address of your network drive) Mount the new drive: sudo mount /h...
by WickedPenguin
Sun Oct 06, 2013 4:10 am
Forum: Beginners
Topic: What is the easiest way to create a daemon? [obsolete]
Replies: 6
Views: 3600

Re: What is the easiest way to create a daemon?

Assuming your daemon has some way of continually running (some event loop, twisted, whatever), you can try to use upstart. Here's an example upstart config for a hypothetical Python service: description "My service" author "Some Dude <[email protected].com>" start on runlevel [234] stop on runlevel [0156] ch...
by WickedPenguin
Sun Oct 06, 2013 4:08 am
Forum: Troubleshooting
Topic: Shell Script
Replies: 3
Views: 726

Re: Shell Script

Can you please show your shell script? Its a little hard to determine what exactly you are trying to do.
by WickedPenguin
Mon Sep 30, 2013 6:37 pm
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2149

Re: Using i2c

I know next to nothing about stepper motors, but I think Joan has a good point. If you're driving 4(?) stepper motors from the Pi's 5v0 rail, you may run into power problems. And the more info you give, the more folks here can help. A simple circuit diagram or description, part numbers, and/or code...
by WickedPenguin
Mon Sep 30, 2013 6:33 pm
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2149

Re: Using i2c

Steppers need a lot more current than LEDs. I'm not familiar with the chips you are using, and don't know how they are powering the steppers. Sorry, i should have mentioned that I have an external power source for the stepper. My real question here is "Am I setting the ports correctly for output an...
by WickedPenguin
Mon Sep 30, 2013 7:55 am
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2149

Re: Using i2c

Great stuff. Thanks for pointing that out. I am now setting all pins to out with the below sudo i2cset -y 1 0x20 0x01 0x00 then I have my 4 steppers on b7,6,5,4 and ena and enb on b3c and b2. I get some movement below using sudo i2cset -y 1 0x20 0x15 0x5c which If I am correct will set the below 1's...
by WickedPenguin
Sun Sep 29, 2013 2:44 am
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2149

Using i2c

I am currently using MCP23017 port expander on my raspberry pi. I have managed to get the first 8 pins working GPA0 -9 however I can't seem to get the other block B0-9 working. I am using the below for the first block. I have read the datasheet, but don't really understand how this works. Any help i...
by WickedPenguin
Fri Sep 20, 2013 10:15 pm
Forum: Python
Topic: Django running scripts?
Replies: 0
Views: 688

Django running scripts?

Hi, I have some python scripts that I would like to be able to run from a web interface. I thought that Django would be the best option for this and have installed Django on my Pi. It is running fine with standard html, js, but I can't seem to find a way to succesfully call a python script from it. ...
by WickedPenguin
Sun Sep 15, 2013 11:52 pm
Forum: General discussion
Topic: L298N H Bridge Tutorials
Replies: 14
Views: 10188

Re: L298N H Bridge Tutorials

Thanks for the reply mung. I appreciate you taking the time to response like that. I have managed to get it all working now and have posted a tutorial for anyone else that may have an interest.

http://www.raspberrypi.org/phpBB3/viewt ... 49&t=55580

Cheers,

Rhys
by WickedPenguin
Sat Sep 14, 2013 4:00 am
Forum: Teaching and learning resources
Topic: TUTORIAL - How to control a bipoloar 4 wire stepper motor
Replies: 26
Views: 80428

TUTORIAL - How to control a bipoloar 4 wire stepper motor

It was a bit of a mission getting this working, so I thought others might benefit from a tutorial. Aim: To control a 4 wire bipolar stepper motor using a Raspberry pi, external power source and a L298 H-Bridge Board. Parts: External Power source for stepper - I used a 8 x AA battery pack from jcar -...
by WickedPenguin
Thu Sep 12, 2013 11:41 pm
Forum: General discussion
Topic: L298N H Bridge Tutorials
Replies: 14
Views: 10188

Re: L298N H Bridge Tutorials

Come on quit the trolling. The OP asked a bit of a lazy question because he obviously doesn't know where to start, but coming in and slagging him off to show off your superior knowledge (if you have any) isn't really very useful. WickedPenguin - can you verify whether you're using bipolar or unipol...
by WickedPenguin
Thu Sep 12, 2013 11:37 pm
Forum: General discussion
Topic: L298N H Bridge Tutorials
Replies: 14
Views: 10188

Re: L298N H Bridge Tutorials

At least searching this forum first is always a good idea! But since you have asked this question I might as well offer some advice. I have ordered a few NEMA 17's and some L298N H Bridge Boards and I plan to build a mini CNC machine. Motors generally should be fine for your purpose as long as they...
by WickedPenguin
Wed Sep 11, 2013 1:45 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 29583

Re: Raspberry Pi - How to control motors...

I am using a similar l298n board, but ENA and ENB don't have jumpers so I have just set then to high from the GPIO pin 18 and 22. Is that the right thing to do? The stepper motor doesn't seem to step, just lock and stutter a bit. Have you done this with a stepper motor? Not just the small stepper in...
by WickedPenguin
Wed Sep 11, 2013 12:20 am
Forum: General discussion
Topic: L298N H Bridge Tutorials
Replies: 14
Views: 10188

Re: L298N H Bridge Tutorials

I was just asking a simple question as I am very new to this and looking for some direction. Rather than answer with something useful, you went out of your way to be as patronizing and condescending as possible. Your only real suggestion was to ditch what I have already bought and buy something else...
by WickedPenguin
Wed Sep 11, 2013 12:06 am
Forum: Beginners
Topic: Pi PIn out Vs Arduino
Replies: 8
Views: 2975

Re: Pi PIn out Vs Arduino

I have since connected the RPi GND to GND on the l298 H bridge board with the same results. Im thinking that my stepping is all wrong, but I don't have a datasheet on the stepper motor as it was out of a printer. Does my code look like it should work? Are you familiar with how ENA and ENB are to be ...
by WickedPenguin
Tue Sep 10, 2013 11:00 pm
Forum: Beginners
Topic: Pi PIn out Vs Arduino
Replies: 8
Views: 2975

Re: Pi PIn out Vs Arduino

I have added the code, and a quick wiring diagram. Hope it makes it clearer.
by WickedPenguin
Tue Sep 10, 2013 8:07 pm
Forum: Beginners
Topic: Pi PIn out Vs Arduino
Replies: 8
Views: 2975

Re: Pi PIn out Vs Arduino

I figured that would be the case. However it doesn't seem to be stepping properly. Almost like its locked up. the tutorial is here. http://myrobotlab.net/tutorial-control-stepper-motor-with-l298n-easy-way/ I am using the same setup, except with a Pi. I have pin 8 and 22 set to high, and I am using t...
by WickedPenguin
Tue Sep 10, 2013 9:11 am
Forum: Beginners
Topic: Pi PIn out Vs Arduino
Replies: 8
Views: 2975

Re: Pi PIn out Vs Arduino

Why is this line different to the rest? int IN2=15; //Connect on Pi, Pin 15 // GPIO 22 Typo? Bare in mind that the Pi's GPIO lines are 3v3, not 5v ;) Some of your 'pins' are also not correctly label to the GPIO idents : Thanks for pointing that out. Do you know whether this will be an adequate alte...

Go to advanced search