Show Posts
Pages: [1] 2 3 ... 7
1  Community / Products and Services / Universal Arduino and Breadboard Holder on: September 16, 2013, 09:25:38 pm
I was recently working on a project where mounting an Arduino and breadboard to a piece of wood helped me to keep my project together. This inspired me to release an Arduino mounting plate that could hold the Uno, Mega, and Due. As far as I could see in my research the only products out there only worked with the Uno.
The Universal Arduino and Breadboard Holder is a laser cut and etched acrylic platform that keeps Arduino projects sane!
http://www.amazon.com/Universal-Arduino-and-Breadboard-Holder/dp/B00F3T65J8/ref=sr_1_1?ie=UTF8&qid=1379384577&sr=8-1&keywords=universal+arduino+holder
I would love to have feedback from the community on this product. Is the price reasonable? Are there features that you would like to see? If more than five people give unique suggestions I will send a free mounting plate to one of you!
2  Community / Local Groups / Tacoma Makers group on: January 03, 2013, 10:42:45 am
Hey, I just wanted to let you guys in the arduino forum know about the Tacoma Electronic Makers group that has been meeting in Tacoma for a few years. We are a small group and would love to expand, so why don't you join us? We meet on the second Sunday of each month at FabLab Tacoma.
Signup to our mailing list or get connected on facebook through our website:
www.tacomamakers.com
Our next meeting is on the 13th at 1:30.
3  Using Arduino / Programming Questions / Cannot use the ArduinoISP to program attiny85. on: January 20, 2012, 06:02:11 pm
I am trying to use my Arduino Duemilanove to program a Attiny 85 microcontroller. I am running Arduino on my Windows 7 Toshiba laptop. I have done this before with a DIP in Arduino version 0022 but cannot seem to get it to work now.
I followed this tutorial: http://hlt.media.mit.edu/?p=1706
I connected all the pins (PWR, GND, SCLK, MISO, etc...) to the appropriate arduino pins and to the attiny through a header on the board it is affixed to. I double checked all the connections but still cannot get the chip to program. I tried to program it from arduino 0022 and 1.0 but to no avail.

The ISP programming sketch uploads fine but when I try to upload the code to the attiny this is the error message I get Arduino 1.0:
Code:
Binary sketch size: 818 bytes (of a 8192 byte maximum)
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

If someone could point me to a solution I would be greatly appreciative.
-Peter
4  Using Arduino / Interfacing w/ Software on the Computer / Python/Arduino interfacing issue. on: September 10, 2011, 09:40:29 pm
I have a sketch on my Arduino sending an analog pin value to the computer through serial.println.... It is working fine. I am trying to read that value through python using the PySerial library. My python code is this:
import serial
ser = serial.Serial('COM4', 9600)
while 1:
    ser.readline()
When I put the code in a line at a time through the python shell it works but if I try to run it from a saved file (F5) it gives me this error:
Traceback (most recent call last):
  File "C:\Users\Peter\Dropbox\3D printer\Python Interface.py", line 2, in <module>
    ser = serial.Serial('COM4', 9600)
  File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 30, in __init__
    SerialBase.__init__(self, *args, **kwargs)
  File "C:\Python27\lib\site-packages\serial\serialutil.py", line 260, in __init__
    self.open()
  File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 56, in open
    raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.WinError()))
SerialException: could not open port COM4: [Error 2] The system cannot find the file specified.


I am running the code on a win7 64 bit Toshiba laptop running win7 ultimate 32 bit. Python verision 2.7.2
Thanks in advance,
Peter
5  Community / Exhibition / Gallery / Re: Arduino Pocket Ossiliscope on: May 07, 2011, 09:46:39 am
Well cr0sh I agree with you on that. In the next version I would like to have dual trace and have better time info. Perhaps even some memory features.
@Onions: Using the library I have (also on my website peterdavenport.posterous.com) it is really simple to write code for the screen.
Code:
LCDSetLine(45, 5, 21, 130, BLACK);
Is basically the form all the screen commands are in with the numbers being ordered sets of the x and y positions of the object to be drawn. The library takes care of the LCD protocol stuff.
6  Community / Exhibition / Gallery / Arduino Pocket Ossiliscope on: May 06, 2011, 09:39:55 am
So I did this project a few months ago, actually probably almost eight. Anyway, time flew by and I finally got it posted up on the net.
Basically, this project uses SparkFun's Color LCD Shield to graph voltage on an analog pin in real time across the screen.
http://peterdavenport.posterous.com/2011/04/arduino-o-scope.html
7  Forum 2005-2010 (read only) / Troubleshooting / Re: Reversing a dc motor on: March 28, 2009, 01:09:46 pm
Why does the DC motor have 4 pins, or age you running two? Are you using a motor driver?
8  Forum 2005-2010 (read only) / Troubleshooting / Cant convert sring to float. on: March 28, 2009, 01:14:46 pm
I am trying to convert a string constructed by the textstring library into a float.

Code:
String xstr = String(10);
...
         float xwantedpos = float(xstr);
         Serial.println(xwantedpos);
...

I get this error message:
error: invalid cast from type 'String' to type 'float'


how can I convert these types of strings to floats/doubles.
9  Forum 2005-2010 (read only) / Troubleshooting / Re: Pyserial help on: January 31, 2009, 05:21:53 pm
I am on widows and i tried to use the COM_ But that wouldn't work either.  smiley-sad
10  Forum 2005-2010 (read only) / Troubleshooting / Pyserial help on: January 30, 2009, 07:49:30 pm
I am trying to recognize incoming signals coming from my arduino in pythion. I have this code :
import serial
ser = serial.Serial('/dev/tty.usbserial', 9600)
while 1:
    ser.readline()

But I get this error message:

Traceback (most recent call last):
  File "C:/Documents and Settings/ad/Desktop/test", line 2, in <module>
    ser = serial.Serial('/dev/tty.usbserial', 9600)
  File "C:\Python25\lib\site-packages\serial\serialutil.py", line 171, in __init__
    self.open()
  File "C:\Python25\lib\site-packages\serial\serialwin32.py", line 53, in open
    raise SerialException("could not open port %s: %s" % (self.portstr, msg))
SerialException: could not open port /dev/tty.usbserial: (3, 'CreateFile', 'The system cannot find the path specified.')



So any ideas of how to make it work?
11  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino IDE will not startup anymore in XP (SP3) on: January 13, 2009, 06:21:57 pm
Maker sure your java is updated and installed. I had that problem once and had to open it with the bat file.
12  Forum 2005-2010 (read only) / Syntax & Programs / Problem with greater than or equal to. on: May 06, 2009, 04:26:31 pm
I am making a G-code interpreter and have run into an issue in the positioning system.

This code works, but the stepper I am using isn't acreate down to 0.01 mm:
 
Code:

void xSmall(){
  if(abs( xCurrent - xDouble ) <= 0.005){
  //do nothing!!!
  }else{
    if(xCurrent < xDouble){  //Do we move up?
//Move tward xDouble by 0.01 units
  digitalWrite(x1, HIGH);
  delay(d);
  digitalWrite(x1, LOW);
  
  digitalWrite(x2, HIGH);
  delay(d);
  digitalWrite(x2, LOW);

  digitalWrite(x3, HIGH);
  delay(d);
  digitalWrite(x3, LOW);
  
  digitalWrite(x4, HIGH);
  delay(d);
  digitalWrite(x4, LOW);

      xCurrent = xCurrent + 0.01; //write in current location
    }else{
 //Move tward xDouble by 0.01 units
  digitalWrite(x4, HIGH);
  delay(d);
  digitalWrite(x4, LOW);
  
  digitalWrite(x3, HIGH);
  delay(d);
  digitalWrite(x3, LOW);

  digitalWrite(x2, HIGH);
  delay(d);
  digitalWrite(x2, LOW);
  
  digitalWrite(x1, HIGH);
  delay(d);
  digitalWrite(x1, LOW);

     xCurrent = xCurrent - 0.01; //write in current location
    }
  }
}
 
This code compensates for the inacreasy but is Doesn't work:

 
Code:
void xSmall(){
  if(abs( xCurrent - xDouble ) <= 0.25){
  //do nothing!!!
  }else{
    if(xCurrent < xDouble){  //Do we move up?
 // Move tward zDouble by 0.25 mm
  digitalWrite(x1, HIGH);
  delay(d);
  digitalWrite(x1, LOW);
  
  digitalWrite(x2, HIGH);
  delay(d);
  digitalWrite(x2, LOW);

  digitalWrite(x3, HIGH);
  delay(d);
  digitalWrite(x3, LOW);
  
  digitalWrite(x4, HIGH);
  delay(d);
  digitalWrite(x4, LOW);

      xCurrent = xCurrent + 0.25; //write in current location
    }else{
 // Move tward zDouble by 0.25 mm
  digitalWrite(x4, HIGH);
  delay(d);
  digitalWrite(x4, LOW);
  
  digitalWrite(x3, HIGH);
  delay(d);
  digitalWrite(x3, LOW);

  digitalWrite(x2, HIGH);
  delay(d);
  digitalWrite(x2, LOW);
  
  digitalWrite(x1, HIGH);
  delay(d);
  digitalWrite(x1, LOW);

     xCurrent = xCurrent - 0.25; //write in current location
    }
  }
}

I don't see any logical reason why it wouldn't work?  :-?
13  Forum 2005-2010 (read only) / Syntax & Programs / Re: If statement seeming to not work? on: April 23, 2009, 03:52:34 pm
YEAY, i messed with it for about 10 min and now it is working!!!!

Thanks to everyone who posted!!! smiley-wink
14  Forum 2005-2010 (read only) / Syntax & Programs / Re: If statement seeming to not work? on: April 22, 2009, 07:57:33 pm
abs is available but is still doesn't work.
15  Forum 2005-2010 (read only) / Syntax & Programs / Re: If statement seeming to not work? on: April 22, 2009, 07:25:19 pm
Yea that looks like the issue. I tried the epsilon method but now the two variables being compared are thought to be equal when they are not. :-?
Pages: [1] 2 3 ... 7