test arduino uno to the limits

can’t seem to get logged in the arduino puter so i gotta cut and paste this been working on compileing this for 3 nights now so her goes it does look sloppy and it’s alot of copied work ty all, but thats why we make arduino work right

#include <PS2Keyboard.h>
#include <SparkSoftLCD.h>
#include <Stepper.h>
#include <TTS.h>

char text [50];
boolean state=0;

TTS text2speech; // speech output is digital pin 10

int speakerPin = 10;

int length = 16; // the number of notes

int beats = { 5, 5, 1, 1, 1, 5, 5, 1, 1, 1, 3, 3, 1, 1, 1,8 };
char notes = "cgfedCgfedCgfefd} "; // a space represents a rest

int tempo = 200;

void playTone(int tone, int duration) {
for (long i = 0; i < duration * 1000L; i += tone * 2) {
digitalWrite(speakerPin, HIGH);
delayMicroseconds(tone);
digitalWrite(speakerPin, LOW);
delayMicroseconds(tone);
}
}

void playNote(char note, int duration) {
char names = { ‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘a’, ‘b’, ‘C’ };
int tones = { 1915, 1700, 1519, 1432, 1275, 1136, 1014, 956 };

// play the tone corresponding to the note name
for (int i = 0; i < 8; i++) {
if (names == note) {
_ playTone(tones*, duration);_
_
}_
_
}_
_
}_
int fdir;
int rdir;
int pos;
_
#define STEPS 200*_
Stepper stepper(STEPS, 2, 8, 6, 12);
int pre = 0;
int previous = analogRead(A1);
int pin = A3; // analog pin
int tempc = 0,tempf=0; // temperature variables
int samples[8]; // variables to make a better precision
int maxi = -100,mini = 100; // to start max/min temperature
int i;
#define KBD_CLK_PIN 3
#define KBD_DATA_PIN 4
PS2Keyboard keyboard;
#define LCD_TX 11
#define LCD_WIDTH 16
byte cur_bkl = 30;
boolean upd_disp = true;
SparkSoftLCD lcd = SparkSoftLCD(LCD_TX, LCD_WIDTH);
int row = 1;
int col = 1;
String d = “”;
void setup() {
* keyboard.begin(KBD_DATA_PIN);
_
Serial.begin(9600);_
_
delay(1000);*_

* pinMode(LCD_TX, OUTPUT);
_
lcd.begin(9600);_
_
lcd.cursor(1);_
_
delay(1000);_
_
lcd.clear();*_

* pinMode(13, OUTPUT);*
* pinMode(speakerPin, OUTPUT);*
* }*
#define is_printable(c) (!(c&0x80)) // don’t print if top bit is set
void loop() {

* if(keyboard.available()) {*
* // reading the “extra” bits is optional*
* byte extra = keyboard.read_extra(); // must read extra before reading the character byte*
* byte c = keyboard.read();*
if (c == 138) {for (int i = 0; i < length; i++) {
_ if (notes == ’ ') {
delay(beats * tempo); // rest
* } else {_
playNote(notes, beats _ tempo);
* }
// pause between notes*

* delay(tempo / 2);
}
}*_

if (c==12) {
* text2speech.setPitch(6); //higher values = lower voice pitch*
strcpy(text, “Hello misty”);
text2speech.say(text);
delay(500);
text2speech.setPitch(1); //lower values = higher voice pitch
strcpy(text, “I am fine, thankyou.”);
text2speech.say(text); }

if (c == 137) { String me = “car” ;
* lcd.print (" car forward ");*
* digitalWrite(13, HIGH); }*

*if ( c == 136) { digitalWrite(13, LOW); *
* lcd.print (" car stop ");}*

if ( c == 134) {
* lcd.clear();*
* lcd.print("analyzing ");*
* for(i = 0;i <=7;i++){ // gets 8 samples of temperature*

samples = ( 5.0 * analogRead(pin) * 100.0) / 1024.0;
_ tempc = tempc + samples*;
delay(1000);
}
tempc = tempc/8.0; // better precision
tempf = (tempc * 9)/ 5 + 32; // converts to fahrenheit
if(tempf > maxi) {maxi = tempf;} // set max temperature
if(tempf < mini) {mini = tempf;} // set min temperature
Serial.write(tempf);
lcd.print(tempf );
lcd.print(" f");
tempc = 0;
}
boolean ctrl = extra & 1; // is bit 0*

* boolean alt = extra & 2; // is bit 1*_

* if (ctrl) {*
* Serial.print(’^’);*
* lcd.clear(); } *
* if (alt) Serial.print(’’);
if (c==PS2_KC_UP) Serial.print(“up\n”);
else if (c==PS2_KC_DOWN) Serial.print(“down\n”);
else if (c==PS2_KC_BKSP) {*

* Serial.print(“backspace\n”);
lcd.moveCursor(false);
}_

else if (c==PS2_KC_ESC) { Serial.print(“escape and reset\n”); keyboard.reset(); }
else if ( is_printable(c) ) {
_ Serial.print(c); // don’t print any untrapped special characters*
* if (c!=’\n’) {
lcd.print(c);
d = d + c; }
else {
lcd.clear();*_

* d = d + “e”;*

* }*
* }*
* }*

}
and the processing part seemed the most difficuilt to deal with
import processing.serial.*;
import twitter4j.conf.*;
import twitter4j.internal.async.*;
import twitter4j.internal.org.json.*;
import twitter4j.internal.logging.*;
import twitter4j.http.*;
import twitter4j.api.*;
import twitter4j.util.*;
import twitter4j.internal.http.*;
import twitter4j.*;
static String OAuthConsumerKey = ";
static String OAuthConsumerSecret = “”;
static String AccessToken = “-”;
static String AccessTokenSecret = “”;
Serial arduino;
Twitter twitter = new TwitterFactory().getInstance();
void setup() {
* size(125, 125);*
* frameRate(10);*
* background(0);*
* println(Serial.list());*
* String arduinoPort = Serial.list()[1]; //where i changed from 0 to 1*
* arduino = new Serial(this, arduinoPort, 9600);*
* loginTwitter();*
}
void loginTwitter() {
* twitter.setOAuthConsumer(OAuthConsumerKey, OAuthConsumerSecret);*
* AccessToken accessToken = loadAccessToken();*
* twitter.setOAuthAccessToken(accessToken);*
}
private static AccessToken loadAccessToken() {
* return new AccessToken(AccessToken, AccessTokenSecret);*
}
void draw() {
* background(0);*
* text(“simpleTweet_00”, 18, 45);
text("@msg_box", 30, 70);
_ listenToArduino();
}
void listenToArduino() {
String msgOut = “”;
int arduinoMsg = 0;
if (arduino.available() >= 1) {
arduinoMsg = arduino.read();
String am = " pm";
int s = second();
String ss = str(s); // Values from 0 - 59*

* int m = minute();
String mm = str(m); // Values from 0 - 59*

* int h = hour();
if( h > 12 ) {
h = h - 12;*_

* } else {*
* am = " am";*
* }*

* String hh = str(h); // Values from 0 - 23*

* if( m < 10 ) {*
* mm = “0” + mm;*
}
* if( s < 10 ) {*
* ss = “0” + ss;*
}
* if( h < 12 ) {*
* hh = " " + hh ;*
* }*

* msgOut = hh +":"+ mm +":"+ ss + am + " " + arduinoMsg;*
* println(msgOut);*
* postMsg(msgOut);*
* }*
}
void postMsg(String s) {
* try {*
* Status status = twitter.updateStatus(s);*
* println(“new tweet --:{ " + status.getText() + " }:–”);*
* }*
* catch(TwitterException e) {*
* println("Status Error: " + e + "; statusCode: " + e.getStatusCode());*
* }*
}
any questions please comment, but all i ask is for some one to tell me why i cant get arduino to get along with my alltel “verizon” razor alltel internet ty ty
and i again i’m sorry for cutting out all the donators

k still can't sleep and 3 more hours tell daylight, gonna be a long 100 degree day on the field

  1. car is a an old "mad max" replica
  2. tts library has a propitory pin ( why proporitize???? )
  3. ther has to be a ps2 rf keybord somewhere? thats rf control with 100+ switches
  4. no more buying this stuff when all we gotta do is scanvenge from the waste, besides the arduino of course
  5. alot of people have spent alot of free hours in devolping this and hand it to us
  6. why try to capitolize on it
  7. my soon to be wife...... maybe i should leave this part out lol
  8. when i say the word arduino within 60 miles of me they think i'm cussing at them lol

A whole new stream of consciousness style of posting.

any questions please comment,

How about putting your code into proper code boxes?
(use the # icon on the editor's toolbar)

had to copy and paste over network arduino puter popped up with java errors of some sort could u fix the post for me

No, I'm sorry, I don't understand you.
Is there a forum further down for your language?

opps looked over my first post and can't get arduino hooked to my main puter with the teathered net, tried it on all three for the last 3 months at leaste but they fight

like to push uno but it has library conflicts, like tvout is dependent on 3, and tts on 6 , like to tie all the sketches togother and then i got a cnc and ice house to run

temp sensor is time dependent but i think i can fix that by "overrunning arrys" ?
but baby steps right?

if u can't offer comment why talk?????

it would help if you used language the rest of us understand
also, if you ask questions rather than make odd statements it's a lot easier to respond
finally (actually should be first)
your code is a lot easier to read if you enclose it in # tags

code

it then appears in a scrolling code box with no italics or smileys!

if u can't offer comment why talk?

I might comment if you can't string words into sentences why post?

I can't understand anything you are asking. I can't spot a question. I can't even understand what your set up is.

You say:-

why i cant get arduino to get along with my alltel "verizon" razor alltel internet

I assume that means you are having trouble with your "alltel "verizon" razor alltel internet" but I have no idea what that might mean. I suspect I am not alone in this incomprehension.

You seem perfectly coherent in this post:-

So maybe it is the arduino community that you are testing to the limits?

opps im i lifer lurker then bye

Have you got some crumbs jammed in your keyboard?