Show Posts
Pages: [1] 2 3 ... 29
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Error opening serial port '/dev/ttyUSBx' on Ubuntu on: December 03, 2008, 03:18:06 pm
Code:
dmesg

should show messages like these when you connect your device

Code:
usb 2-6: new full speed USB device using ohci_hcd and address 5
usb 2-6: configuration #1 chosen from 1 choice
ftdi_sio 2-6:1.0: FTDI USB Serial Device converter detected
ftdi_sio: Detected FT232RL
usb 2-6: FTDI USB Serial Device converter now attached to ttyUSB0
usb 2-6: New USB device found, idVendor=0403, idProduct=6001
usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-6: Product: TTL232R
usb 2-6: Manufacturer: FTDI
usb 2-6: SerialNumber: FTDxxxxx

Sometimes the device may not be ttyUSB0, it could be ttyUSB1 ttyUSB2 and so on

smiley
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Error opening serial port '/dev/ttyUSBx' on Ubuntu on: December 03, 2008, 03:15:29 pm
Also make sure /dev/ttyUSB0 exists and has the correct permissions so your account can access it

You can chown it if necessary

Code:
sudo chown username /dev/ttyUSB0

Code:
dmesg

will let you confirm the FTDI chip is getting detected correctly

smiley
3  Forum 2005-2010 (read only) / Troubleshooting / Re: Bootloader burning, bad signature,  -F on: November 02, 2008, 06:46:12 pm
Thank you lothar

+10 very informative smiley
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Bootloader burning, bad signature,  -F on: November 02, 2008, 06:35:04 pm
Interesting, it sure sounds like an issue with the bundled avrdude

smiley
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Can an Arduino be used as an Auto Cruise Control? on: November 01, 2008, 06:26:41 pm
I have used the Wulfden K107 which is very similar





The K107 Rev 4 has pads for an optional trimmer pot ( labeled R1a on the board ) for controlling the contrast

I think you would have to modify the board and use a current limiting resistor to control the backlight brightness

http://wulfden.org/TheShoppe/k107/about.shtml

http://wulfden.org/TheShoppe/k107/k107.shtml

It comes in 2400, 9600 and 19200 baud versions

Very cool stuff smiley
6  Forum 2005-2010 (read only) / Troubleshooting / Re: Can an Arduino be used as an Auto Cruise Control? on: November 01, 2008, 04:51:42 pm
It sounds like you found the K107 LCD driver board from Wulfden / Modern device which lets you drive your LCD with 3 pins ( 1 signal 1 PWR+ 1 GND )

There is an optional trimmer pot available for the K107 for contrast, I am not sure about brightness, you might have to hack the board to control the LED backlight

smiley
7  Forum 2005-2010 (read only) / Troubleshooting / Re: Can an Arduino be used as an Auto Cruise Control? on: November 01, 2008, 04:28:12 pm
There are some minor changes you have to make to get the arduino IDE to work with the 328 or 644 ( Sanguino )

Sanguino specs

# atmega644P core
# 32 total general purpose I/O pins (some are multipurpose)
# 8 analog pins
# 6 PWM pins
# 64K flash memory
# 4K RAM
# 2K EEPROM

http://sanguino.cc/useit has some installation instructions and information on how to get it working on Linux, Mac OS X and windows

Some code and library changes may be required

Wulfden and Modern Device may have some more info too, in fact Wulfden has BBB and Sanguino boards modified to program the chips in conjunction with an Atmel ISP programmer  --  they look very cool smiley

http://www.ladyada.net/library/arduino/upgrade.html has some info on the 328

There is a modified Arduino IDE for the 328 ( there's a link at the bottom of the page to the IDE for the 328  Danger, Will Robinson, the IDE is currently windows only and version 0011 )

If the 328 and 644 are not big enough you can upgrade to the ATNGW100 http://linuxdevices.com/news/NS2837651365.html which is a lot more powerful and still quite affordable

The ATNGW100 is AVR32 based and runs ucLinux

smiley
8  Forum 2005-2010 (read only) / Troubleshooting / Re: Can an Arduino be used as an Auto Cruise Control? on: October 30, 2008, 06:41:02 pm
You can get the ATmega328 which has twice the Flash and RAM ( 32K Flash, 2K RAM )

Or the 644 which has 64K Flash and 4K RAM and lots of extra pins



You may have some issues programming the 328 and 644, they are not 100% arduino compatible but are pretty close

smiley
9  Forum 2005-2010 (read only) / Troubleshooting / Re: Can an Arduino be used as an Auto Cruise Control? on: October 28, 2008, 08:00:02 pm
Quote

a. Can the Arduino read up to 200Hz on a digital input?

b. Can it count pulses for a fixed interval, and when an input goes high, store that value to a variable?

c. Can it use several interrupts at once?

d. Can it then perform simple math to determine error between that setpoint and the next interval count of pulses?

e. Has anyone done PID, or just PI control in the Arduino?


a. Yes I think so, some people have made oscilloscopes using 'duinos http://www.coolcircuit.com/gadgets/2008/02/19/arduino-based-oscilloscope/

b. Yes

c. I think so

d. Absolutely

e. Not sure



This is not what you're looking for but you may find it useful, it interfaces OBD to a 'duino

http://code.google.com/p/opengauge/wiki/OBDuino

smiley
10  Forum 2005-2010 (read only) / Troubleshooting / Re: Problem starting arduino IDE 0012 amd64 on: November 27, 2008, 11:27:34 am
Cool smiley

Have fun with arduino smiley
11  Forum 2005-2010 (read only) / Troubleshooting / Re: Problem starting arduino IDE 0012 amd64 on: November 26, 2008, 03:14:32 pm
Are you using an i386 or x86_64 java, libs, and tools?

You may need to manually replace lib/librxtxSerial.so

smiley
12  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino-0013, Fedora 10, Trouble Verifying Sketch on: February 12, 2009, 03:24:36 am
arduino-0013 32 should run fine on Fedora 10 x86_64

I am using arduino-0011 32 and arduino-0012 32 on Fedora x86_64, I just had to install a 32bit Java from sun and replace the librxtx library according to the Fedora instructions

Your compile seems to be failing due to the math library, the header warnings can probably be safely ignored

smiley
13  Forum 2005-2010 (read only) / Troubleshooting / Re: avr-gcc is missing from your PATH on: December 03, 2008, 12:00:58 pm
What madworm suggested should also work

smiley
14  Forum 2005-2010 (read only) / Troubleshooting / Re: avr-gcc is missing from your PATH on: December 02, 2008, 01:24:09 pm
What do you get when you run this on the command line?

Code:
avr-gcc --version
15  Forum 2005-2010 (read only) / Troubleshooting / Re: avr-gcc is missing from your PATH on: December 01, 2008, 03:09:27 pm
Edit ~/.bash_profile

The default .bash_profile looks something like this =>

Code:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

change it to =>

Code:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:/opt/cross/bin:$HOME/bin

export PATH
unset USERNAME

Log out of the GUI and log back in, then run "echo $PATH" to make sure /opt/cross/bin/ is in your $PATH and try it again

smiley
Pages: [1] 2 3 ... 29