Process of building an Airplane Engine monitor. It will connect a Arduino to an Android phone or Tablet.
Showing posts with label Note. Show all posts
Showing posts with label Note. Show all posts
Sunday, September 22, 2013
Samsung isn't Great
I was all excited about the Samsung infrastructure, but I see some big cracks. I've got the Galaxy NoteII and the Galaxy Note 10.1. My wife also has the Galaxy NoteII. Don't get me wrong, Samsung builds great hardware.
Samsung software is not so great! They go a real strong 90% of what someone needs. I think as long as you stay in the Samsung family, things get along. Once outside, well, that is when the trouble starts. I've never signed up for any of the Samsung services, since I was already signed up for the Google services that meet my needs.
Things like Peel, gosh what a great little app for knowing what is happening on the TV networks. Easy to program and easy to get all setup. They sent out an update (I didn't think it needed it, but I took the update, and then the IR didn't work so well on one TV. I reset up that TV, and then it worked again, but why did the update break things???
The other feature of the Notes, are the pens. Wow, how cool is that. There have been no updates to the SNote software since I got the units, and the software is almost there. The text recognition is wonderful, no training, and it was recognizing my chicken scratches almost perfect. My problem is with the text boxes. Why can't the text boxes be more automatic. They come up small, and aren't easy to resize, and don't always put spaces between words. That makes the software, close to unusable.
I use the SNotes to take written notes, and don't bother to convert to text. That removes the search capability. I say I'll get to converting the written text to either a blog post or a wiki entry for my work documents. But that will add work, and may not help long term.
I feel Samsung pollutes the systems with crapware too. The AllShareCast dongle app is probably really useful if you have an AllShareCast dongle, but I don't. Why can't they make that an optional app instead of requiring it on all devices. ChatOn, SamsungLink and SamsungPushService all seem benign, but I need to keep those things up to date, in case there are exploits in the current version. (If you want a laugh, look in the playstore for reviews of SamsungLink). Why don't they make their services compelling, rather than same or worse than what I have today.
So now Samsung releases Gear. What a bad joke! It only works with the newest Samsung devices (for now??). The NoteIII and the newest Note 10.1. Dang you mean I need to update all my hardware to use a watch that might work for a day? I don't think so. This silly watch can't be very useful, since it has a tiny screen, and can't really talk to the outside world without a tablet or phone. Battery life of 25hours, well, hmmm... I better not spend the night at a friends house unless I brought a charger. And why not a wireless charger?
Now Samsung wants to start a whole new infrastructure. They want people to look at Tizen as a replacement for Android. Cool! their apps are so good, why not have me looking at devices based on Tizen, they will be better than...a sharp stick in the eye, I guess. (where is that sarcasm tag??)
No, I think my next device will NOT be Samsung. They don't have to do much to fix things in the next year, they only need to make what they have usable. Going for the next big thing is great, if they did it great. They haven't done anything great so far, and I don't seem 'em going that way. They will continue to do things that look like they could do things great, and will continue to disappoint. Unless they actually do great things, they will start being another mediocre phone company.
Samsung will need to support current devices, and make improvements. The Note line is clearly different than any other phone/tablet available, and they can build on that by fixing the software! Samsung has a reputation of crapifying phones, and if they quit doing that going forward that would help their reputation. By removing the crap, they may have an incentive to make their apps compelling, and people will want them, and actually install them. Today, all the owners of Samsung devices are forced to have the crap preloaded, and all we want to do is remove it!
It is up to you Samsung!
Tuesday, July 9, 2013
I Am Having Fun Now
Okey doke, I am just trying things, and well, it is working. Kinda silly, but at the same time, my juices are starting flowing. The bluetooth is pretty reliable, once I figure out the switches, and such. I've tweaked the Arduino code, and have it doing something interesting.
First the bluetooth, I have the iTead Studio v2.1 bluetooth shield, which seems to be obsolete. There are two switches on the board, voltage selection, and serial port selection. The voltage selection seems to work in either 3.3V or 5V on the Arduino Mega that I am using. The input MUST be set to FT232 for uploading sketches, and in the "To Board" setting to communicate with the Android. Handy to know.
Just as a datapoint, the phone (Samsung Galaxy Note II) seems to pair with the Arduino shield better than the tablet (Samsung Galaxy Note 10.1). I don't know why. The tablet works well once connected, it is just sometimes it is finicky.
I tweaked the sketch to read from the LM34 that I have on the prototyping board from before. This is connected to the A15 pin on the Mega. I have the get data read the value and convert the voltage into something like a temprature. It is running probably 20 degrees warmer than reality if I assume the analog reference is 5V or 10 degrees cool if I assume 3.3V. All I did was put a 1K bias resistor on it, which may be too much, the datasheet shows 50-75ohm. Probably that 3.3V is fine.
Here is my tweaked code:
Whatcha think, any thing I ought to be fiddling with?
First the bluetooth, I have the iTead Studio v2.1 bluetooth shield, which seems to be obsolete. There are two switches on the board, voltage selection, and serial port selection. The voltage selection seems to work in either 3.3V or 5V on the Arduino Mega that I am using. The input MUST be set to FT232 for uploading sketches, and in the "To Board" setting to communicate with the Android. Handy to know.
Just as a datapoint, the phone (Samsung Galaxy Note II) seems to pair with the Arduino shield better than the tablet (Samsung Galaxy Note 10.1). I don't know why. The tablet works well once connected, it is just sometimes it is finicky.
I tweaked the sketch to read from the LM34 that I have on the prototyping board from before. This is connected to the A15 pin on the Mega. I have the get data read the value and convert the voltage into something like a temprature. It is running probably 20 degrees warmer than reality if I assume the analog reference is 5V or 10 degrees cool if I assume 3.3V. All I did was put a 1K bias resistor on it, which may be too much, the datasheet shows 50-75ohm. Probably that 3.3V is fine.
Here is my tweaked code:
/* PROJECT: Andruino 0.1 Alpha PROGRAMMER: Hazim Bitar (techbitar at gmail dot com) DATE: July1, 2013 FILE: Andruino.ino LICENSE: Public domain */ #define START_CMD_CHAR '*' #define END_CMD_CHAR '#' #define DIV_CMD_CHAR '|' #define CMD_DIGITALWRITE 10 #define CMD_ANALOGWRITE 11 #define CMD_TEXT 12 #define CMD_READ_ARDUINO 13 #define MAX_COMMAND 20 // max command number code. used for error checking. #define MIN_COMMAND 10 // minimum command number code. used for error checking. #define IN_STRING_LENGHT 40 #define MAX_ANALOGWRITE 255 #define PIN_HIGH 3 #define PIN_LOW 2 String inText; void setup() { Serial.begin(9600); Serial.println("Andruino 0.1 Alpha by Tommyb (2013)."); Serial.flush(); } void loop() { Serial.flush(); int ard_command = 0; int pin_num = 0; int pin_value = 0; int temp = 0; // temprature float a15 = 0; // analog pin 15 input. float maxAnalog = 1024; float trueTemp = 0.0; char get_char = ' '; //read serial // wait for incoming data if (Serial.available() < 1) return; // if serial empty, return to loop(). // parse incoming command start flag get_char = Serial.read(); if (get_char != START_CMD_CHAR) return; // if no command start flag, return to loop(). // parse incoming command type ard_command = Serial.parseInt(); // read the command // parse incoming pin# and value pin_num = Serial.parseInt(); // read the pin pin_value = Serial.parseInt(); // read the value // 1) GET TEXT COMMAND FROM ANDRUINO if (ard_command == CMD_TEXT){ inText =""; //clears variable for new input while (Serial.available()) { char c = Serial.read(); //gets one byte from serial buffer delay(5); if (c == END_CMD_CHAR) { // if we the complete string has been read // add your code here break; } else { if (c != DIV_CMD_CHAR) { inText += c; delay(5); } } } } // 2) GET digitalWrite DATA FROM ANDRUINO if (ard_command == CMD_DIGITALWRITE){ if (pin_value == PIN_LOW) pin_value = LOW; else if (pin_value == PIN_HIGH) pin_value = HIGH; else return; // error in pin value. return. set_digitalwrite( pin_num, pin_value); // Uncomment this function if you wish to use return; // return from start of loop() } // 3) GET analogWrite DATA FROM ANDRUINO if (ard_command == CMD_ANALOGWRITE) { analogWrite( pin_num, pin_value ); // add your code here return; // Done. return to loop(); } // 4) SEND DATA TO ANDRUINO if (ard_command == CMD_READ_ARDUINO) { // char send_to_android[] = "Place your text here." ; // Serial.println(send_to_android); // Example: Sending text a15 = analogRead(A15); // Serial.print(" Analog 15 = "); // Serial.print(a15); // Example: Read and send Analog pin value to Arduino trueTemp = maxAnalog; trueTemp = (a15 / trueTemp); Serial.print(" Temp = "); Serial.println(trueTemp*330.0); return; // Done. return to loop(); } } // 2a) select the requested pin# for DigitalWrite action void set_digitalwrite(int pin_num, int pin_value) { switch (pin_num) { case 13: pinMode(13, OUTPUT); digitalWrite(13, pin_value); // add your code here break; case 12: pinMode(12, OUTPUT); digitalWrite(12, pin_value); // add your code here break; case 11: pinMode(11, OUTPUT); digitalWrite(11, pin_value); // add your code here break; case 10: pinMode(10, OUTPUT); digitalWrite(10, pin_value); // add your code here break; case 9: pinMode(9, OUTPUT); digitalWrite(9, pin_value); // add your code here break; case 8: pinMode(8, OUTPUT); digitalWrite(8, pin_value); // add your code here break; case 7: pinMode(7, OUTPUT); digitalWrite(7, pin_value); // add your code here break; case 6: pinMode(6, OUTPUT); digitalWrite(6, pin_value); // add your code here break; case 5: pinMode(5, OUTPUT); digitalWrite(5, pin_value); // add your code here break; case 4: pinMode(4, OUTPUT); digitalWrite(4, pin_value); // add your code here break; case 3: pinMode(3, OUTPUT); digitalWrite(3, pin_value); // add your code here break; case 2: pinMode(2, OUTPUT); digitalWrite(2, pin_value); // add your code here break; // default: // if nothing else matches, do the default // default is optional } }
Whatcha think, any thing I ought to be fiddling with?
Tuesday, April 23, 2013
EBay is Trustable
So much for that tablet. The one I ordered never showed up. The seller had pictures of the Blackberry Tablet on that auction, and when I sent questions to the seller, I got no response. After two weeks, I gave up, and filed a claim on ebay buyer protection program. After a week, they got me my money back.
So I started shopping again. Sunday there was a Galaxy Note 10.1 listed. The price was really good, not the same as the Galaxy Tab, but I thought what the heck. The Note is the tablet I really wanted, so I got it. It was a whole different experience. The seller contacted me after coming back from the post office telling me about their experience. It should show up tomorrow.
I've also started a new blog. The Flying and Technology blog will be more about education related to the technology and flying. Opinions will slip in, just like this blog.
I am not really keeping up on any building of this or any other projects. I've been fixing my pool, and working hard at my real job.
Life is good, lets keep things that way
So I started shopping again. Sunday there was a Galaxy Note 10.1 listed. The price was really good, not the same as the Galaxy Tab, but I thought what the heck. The Note is the tablet I really wanted, so I got it. It was a whole different experience. The seller contacted me after coming back from the post office telling me about their experience. It should show up tomorrow.
I've also started a new blog. The Flying and Technology blog will be more about education related to the technology and flying. Opinions will slip in, just like this blog.
I am not really keeping up on any building of this or any other projects. I've been fixing my pool, and working hard at my real job.
Life is good, lets keep things that way
Subscribe to:
Posts (Atom)