Welcome! Log In Create A New Profile

Advanced

sanguino not connecting to computer

Posted by slade 
sanguino not connecting to computer
August 02, 2009 10:04PM
I'm working on my reprap again after a break due to school. I almost had it working, and now it looks like I've taken a step back. I'm using a different computer now, and it won't connect to the sanguino. I have it on and hooked up, but in the arduino software "Serial Port" is greyed out under "Tools". I tried restarting, hooking up the sanguino to the computer both before and after starting the software, and unplugging the sanguino from the motherboard, but nothing worked.

here's the output from the command line:
check_group_uucp(): error testing lock file creation Error details: Permission deniedcheck_lock_status: No permission to create lock file.

/dev/ttyUSB0 was recently modified, but I don't think that necessarily means anything.

I'm running Fedora 11.

Edited 1 time(s). Last edit at 08/02/2009 10:18PM by slade.
Re: sanguino not connecting to computer
August 03, 2009 02:29AM
This sounds similar to a problem I had with the arduino.... - here's my notes from the builders wiki:

Arduino Firmware using Ubuntu Linux

After downloading the linux firmware from the arduino site, If you cannot select the ttyUSB0 port from the arduino software menu - the entire tools/serial port menu is greyed out - the it could be a permission problem for /dev/ttyUSB0 If you run as root

sudo ./arduino

then the USB port can be selected and it can be uploaded.

You can also add your normal user to the 'dialout' group ( through the System>Administration>Users and Groups menu). After rebooting, you can then run the arduino software as your normal user.

Note this also causes problems for the RepRap host software (can't open port /dev/usb0) and also for any G-Code uploaders (like ReplicatorG)


---
Reprapping blog and other rants: [renoirsrants.blogspot.com]
My Reprap: [sites.google.com]
Re: sanguino not connecting to computer
August 03, 2009 11:44PM
Thanks for the help! adding the user to the "dialout" group didn't work, but running it as root did.

I have a few more problems now. I can't get the thermistor to register correctly. It reads as 17*C when it's at 100*C. I'm using a B57550G104F EPCOS thermistor [mouser.com] (100k, beta = 4085) and i used the python script to generate a thermistor table:

// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=4085 --max-adc=1023
// r0: 100000
// t0: 25
// r1: 0
// r2: 4700
// beta: 4085
// max adc: 1023
#define NUMTEMPS 20
short temptable[NUMTEMPS][2] = {
   {1, 827},
   {54, 253},
   {107, 207},
   {160, 182},
   {213, 165},
   {266, 152},
   {319, 141},
   {372, 132},
   {425, 123},
   {478, 115},
   {531, 107},
   {584, 100},
   {637, 93},
   {690, 86},
   {743, 78},
   {796, 70},
   {849, 61},
   {902, 49},
   {955, 34},
   {1008, 3}
};

any idea why it's so far off? I have the temperature sensor V2.0 board, correctly assembled with no R1 and a 4.7k R2.
Re: sanguino not connecting to computer
August 04, 2009 02:35AM
also, nothing's responding except for the thermistor. I can't jog any of the axes or turn the extruder on. The motor "glitches" when i try jogging it, but that's it. Strange, because I didn't change the hardware at all since I had the XY positioning system working.
Re: sanguino not connecting to computer
August 04, 2009 01:11PM
Check the temperature sensor wire with a voltmeter. It should read about 2.9 V at 100 C. If it reads something like 4.5 V, then you have something wrong in your temperature sensor. If it reads 2.9 V, then you have something wrong in your firmware.
Re: sanguino not connecting to computer
August 04, 2009 01:18PM
signal to ground was 5.11 volts, and power to ground was 5.14 volts. Could something software related be a problem? because I haven't changed anything since the temperature sensor, XY system and extruder motor were working, I'm just using a different computer with redownloaded software now. I guess I'll take a look at the sensor when I get home tonight, but I'm not sure what could have changed.
Re: sanguino not connecting to computer
August 04, 2009 02:18PM
Check for shorts. One of the leads to the thermistor should be at ground and the other should be close to 4.5 V at room temperature. Also make sure that the connectors to the thermistor board look right (GND, 5 V and approximately 4.5 V).

Check the resistance of the thermistor by disconnecting the thermistor board from ground and checking across the leads. It should be in the neighborhood of 100K at room temperature. Next check the resistance from the 5 V supply and the GND (with GND disconnected). It should be 4.7 K more than just the thermistor.
Re: sanguino not connecting to computer
August 04, 2009 07:14PM
hmm. both measurements are 93.3 - 93.5 kilo ohms. you're right, something is wrong with the temperature sensor.
what is the measurements - heights,weights - of the sanguino ?

and do you mind if i want you software help ! about sanguino and GPS (u-blox RCB-4h-0-000)

How will i the software of sanguino ? ,

thanks
Sorry, only registered users may post in this forum.

Click here to login