Show Posts
Pages: 1 [2] 3
16  Community / Exhibition / Gallery / did I do well? on: August 14, 2013, 07:28:53 pm
I did this:

www.BTInterface.com

I mean, you can get your arduino to speak! to play sounds! you can control it wirelessly over bluetooth.

did I do well?

17  Community / Products and Services / Willing to sell my body and/or skills in Android apps on: June 11, 2013, 11:19:17 am
Probably best the latter.

Having an Android app can

Boost your sales.

The simplest of apps that just points to your website.

It's out there, for all the many millions of Android users to see.

I can make your first app in a day!

like here http://tinyurl.com/omm8ryo

or here http://tinyurl.com/qxr652u

or even this: http://tinyurl.com/nzg7qoe

Interested?

Sales orientated?

Shhhh, don't tell anyone but look here: http://www.engadget.com/2013/05/15/900-million-android-activations/

Reply to this ad for more info.

Ian

Android App Maker
18  Community / Products and Services / Easily write apps in Android to communicate with your Arduino! on: May 25, 2013, 08:26:38 am
I have to say that I am totally in love with Basic4android so I hope its ok that I tell you all about it... again smiley

You can knock up an app from scratch in about a minute! http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/29596-super-quick-way-knock-up-test-app.html#post171797

Totally from scratch without having to load up anything you've saved previously etc.

You can sell your apps on the Google Play Store and on Amazon!

B4a has ways to communicate with the Arduino via Bluetooth and via the USB cable etc. Fantastic!

The forum on the B4a website is full of friendly people ready and willing to help and guide you, like me smiley

I have written an app that communicates with the Arduino via Bluetooth but its not very good at the moment, i'm busy writing the next version which is much better.

See my forum post on how to save more than 50% on your purchase of B4a !!!

http://btinterface.com/BTInterface/forum/viewtopic.php?f=2&t=27&p=39#p39

I get between 14 and 20 dollars for everyone who uses my discount code which I will put to use for fuel (food) and beer smiley to allow me to continue writing my app for the Arduino (and others)

Let's face it, who doesn't totally LOVE the Arduino ?

I thank you.

19  Community / Products and Services / BTInterface - Control your doohickeys via bluetooth on Android on: April 16, 2013, 05:36:34 am
Still in Beta with over 1000 downloads on the Google Play Store and over 1000 downloads on Amazon.com BTInterface is an app for Android that allows you to control your Arduino over Bluetooth.

Please see my website www.BTInterface.com

Any help with coding issues in the Arduino section of my forum is most welcome

Product Features
  • Developers Wirelessly control your PC or device over Bluetooth for Tablets and Phones
  • For devices with Phone Functions Easily send SMS texts and receive them too! Act on commands inside a received SMS!
  • Configure the controls on the fly with easy commands making it Tremendous fun to use and program
  • Use it as the hard drive and real time clock etc. for your micro controller projects!
  • The super easy commands include 'say' enabling your PC or device to speak! 'sms 012345678 this is a text message'
  • 'sfx1 - 16' for sound effects, 'hide' to move BTInterface to the background but its still working! and 'screen1' to bring it back.




20  Using Arduino / Programming Questions / Re: Stepper Moves, IR Flashes, Repeat... How? on: March 23, 2013, 03:54:12 pm
Hi again, if you come over to our forum (see my signature for the link) and post your code I'm sure we can help, we have some good Arduino coders.

Please note also that the newest version of BTInterface works slightly differently.

Regards

ian
21  Community / Products and Services / Re: Where to advertise my android bluetooth interface software? on: March 20, 2013, 06:10:36 pm
V 1.06 is now out.

A search on google play store for arduino bluetooth finds it straight away smiley

It is still called BTInterface but I found that a lot more people can find it if I have words like arduino and bluetooth in the title.

I have re-designed the way in which BTInterface processes commands.

This is still Beta and I have a ways to go before it is perfect so please keep that in mind as you try it out and please keep those suggestions for improvements coming.

Thanks!

22  Community / Products and Services / Re: Where to advertise my android bluetooth interface software? on: February 26, 2013, 04:39:52 am
Thanks tack! that's exactly what I need.

It requires v1.6 and above which is Donut according to Wikipedia Android Version history so it should be able to work with some really old devices smiley

Yes you need to configure the controls each time you run BTInterface so you'd probably write small functions/subroutines to do that and then you can further configure the controls on the fly.

When you first connect BTInterface sends the string

btinterface

your sketch would be looking out for that to know that its connected so you might write (pseudo code)

if command = btinterface then call screenconfig1

if command = b1 then someone pressed button1 so call b1Sub

if command =  sb with a number between 0 and 100 (slidebutton) then someone has altered the value of the slidebar
(I believe I uploaded a sketch on my forum at btinterface.com that shows how to read and deal with this)

screenconfig1
screen1  // change to screen1 (the one with the controls)
hide some buttons
pad hide //hide the gamepad buttons
change some button text
write some text in a label
set the slidebar to position 50
say Ok the screen is configured now. //use the text to speech engine to speak the words 'Ok the screen is configured now.'
sms 0123456789 This is a text from your doohickey just to let you know that screen1 is configured and ready
sfx10 //play a Bell sound effect
var screenstate = 1

b1Sub
if screenstate = 1 then turn on the motor
change b1 text to 'Motor Off'

etc .etc. etc. etc .

It's tremendous fun smiley

See my link about how to get it to work with a PC / Laptop just for trying it out smiley
23  Community / Products and Services / Re: Get big discounts off Basic4android write Android apps to interface Arduino on: February 26, 2013, 02:43:55 am
Really?

Can you prove it? ;-)

It works by the way, stick a VAT number in there and that charge goes right away.

I, of course, used my bonefide company VAT number but just to test I tried Tesco's VAT number, available online and it removes the charge before you get to the bit where you input your credit card details.

I mean, seriously, if you can get out of paying sales tax to some other country so easily then who's not going to do that?

In that other country its not even called VAT, for example in Scandinavia its called MOMS. Don't know what its called in other countries.

The rule is that anyone purchasing software online in Europe is supposed to also pay this sales tax but the authorities have no way to enforce this recent ruling and the only thing they can do is put the onus on the one collecting the money, all he does is to ensure that there is a field into which the purchaser can type a tax number, then if they do he doesn't have to charge them the sales tax and he's covered.

When I had my international card payment system running all I did was put a checkbox 'Are you in Europe?' if they ticked it then I had to pay the VAT man his share for that particular purchase, I was covered as far as the VAT man was concerned and I took the loss so that my customers weren't confused by different payment amounts.

I have a sneaky suspicion that others using this system would re-calculate the price and that when people ticked that box and saw the price go up, they unticked it again smiley

I don't think they would send the A-team out to another country to get anyone who didn't tick this box and I don't think they'll do it for anyone who puts in the wrong number either.
24  Community / Products and Services / Re: Where to advertise my android bluetooth interface software? on: February 25, 2013, 06:21:28 pm
Quick update.

I have uploaded a new version that allows tablet owners to install it.

Plus I have figured out how to get it to work with PCs and Laptops!

http://btinterface.com/BTInterface/forum/viewtopic.php?f=2&t=23&p=40#p40

Yay!

25  Community / Products and Services / Get big discounts off Basic4android write Android apps to interface Arduino on: February 25, 2013, 03:00:16 pm
Hi all, I wrote in another thread about my Android program BTInterface (website is btinterface dot com) and I have been asked what language I used to develop it in.

I used B4a  (Basic4android) which is actually the only language specifically designed for Android!
It can do everything that Eclipse/Java can do but a whole lot quicker!, no runtimes or anything, it compiles android .apk files ready to put on to the Google Play Store.

I thought I'd let you know that I got into their affiliate program and if you purchase it I'd recommend the Enterprise version where you get updates for 2 years, because Erel, the guy who invented it keeps making it better and better, i've had about 5 updates since I started in November!

If you do purchase it then use my affiliate coupon word:

Farstand

(capital F then lowercase)
You have to choose the 'Plimus' purchase option (you can use card or paypal or whatever but this option gives you the option to input a coupon code to get a discount).
I'm not sure what I get out of it, I've only just done it.

You get 30% off straight away by using my coupon code.

Another tip is that for me in the UK it asks for a VAT number otherwise it'll add on sales tax! but if you do input a sales tax number then you don't get charged that.
Sales tax numbers can be found on receipts or on company websites etc.

Not sure if its ok for me to tell you that but hey....

Basic4android is really easy to get to use and it has a great community ready to help you out, just like this one!

Cheers!

ian


26  Using Arduino / Programming Questions / Re: Stepper Moves, IR Flashes, Repeat... How? on: February 14, 2013, 12:23:33 pm
Yes Tom, you just need the push switch wired to the input pin (in my code this is set to pin 3 and I call it ButtonPin) and to Gnd (ground or zero volts).

The INPUT_PULLUP causes the pin (pin 3) to normally be set to high via an internal pullup resistor and the reason for this is that it makes it more stable because if you don't do this and you use electric motors then it can spontaneously change with the electronic noise from the motors.

Here's the tutorial about INPUT_PULLUP   http://arduino.cc/en/Tutorial/InputPullupSerial

Cheers

ian
27  Using Arduino / Programming Questions / Re: Stepper Moves, IR Flashes, Repeat... How? on: February 14, 2013, 06:02:45 am
Hi Tom, that's weird.

Can you post your code please.

(worked on mine).

28  Using Arduino / Programming Questions / Re: Stepper Moves, IR Flashes, Repeat... How? on: February 10, 2013, 11:51:47 am
Oh yeah  smiley-red

Absolutely right PaulS.

Lets get the basics up and running first, here's a sketch that I did actually try out on my Arduino smiley
Code:
int ledPin =  13;    // LED connected to digital pin 13 You will need to change this.
int NumberOfPictures = 5;  // How many pictures should we take?
int NumberOfPicturesTaken = 5;  // I'll use this to keep a tab on how many pictures we've taken so far. I've set this to 5 already so nothings going to happen until its reset to 0
int ButtonPin = 3; // you'll need to change this.

void setup()   {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Start!");  
  pinMode(ledPin, OUTPUT);
  pinMode(ButtonPin, INPUT_PULLUP);
}

void loop() {
  if (digitalRead(ButtonPin) == LOW) NumberOfPicturesTaken = 0; // the magic line, if the button is pressed then the count is set to 0 so it all begins.
  if (NumberOfPicturesTaken >= NumberOfPictures) return; // Stop now as NumberOfPicturesTaken indicates that we have taken the correct NumberOfPictures
  
  NumberOfPicturesTaken ++;  
  Serial.print("NOPT = ");
  Serial.println(NumberOfPicturesTaken);
  
  digitalWrite(ledPin, HIGH);
  delay(500);
  digitalWrite(ledPin, LOW);
  delay(500);
}  // at this point it will go to the top of the loop at the void loop() line and start again.

// everything below this is nicely hidden away :)
29  Using Arduino / Programming Questions / Re: Stepper Moves, IR Flashes, Repeat... How? on: February 09, 2013, 07:43:58 pm
Ah, okay,  I was doing it from memory. It's late here. I'll have a go tomorrow and do some testing on my system. Sorry it doesn't work yet but I think we're close!

One thing though. Try using pin 3 for the button instead of pin 2 as pin 2 is the main serial port.
30  Using Arduino / Programming Questions / Re: Stepper Moves, IR Flashes, Repeat... How? on: February 09, 2013, 07:21:08 pm
Hi Tom,

You need to set the pinMode to INPUT_PULLUP because otherwise you will get problems when using things like a stepper motor or a servo.

See if this works, all I'm doing here is first setting the counter to the max so nothing happens in the loop and then when the user presses the button it resets the counter to 0 so that the loop begins the processing.
Gets rid of enclosing everything in an if statement:

Code:
#include <AFMotor.h>
int IRledPin =  12;    // LED connected to digital pin 12
AF_Stepper motor(200, 1);
int NumberOfPictures = 5;  // How many pictures should we take?
int CountVariable = 5;  // I'll use this to keep a tab on how many pictures we've taken so far. I've set this to 5 already so nothings going to happen until its reset to 0
int ButtonPin = 2; // needn't be a const
// int ButtonState = 0; // don't need this line

void setup()   {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Start!");  
  pinMode(IRledPin, OUTPUT);
  pinMode(ButtonPin, INPUT_PULLUP); // you hadn't set the pin mode in your example, you need to wire the button between pin 2 and Gnd
  motor.setSpeed(5);
}

// you also need to use digitalRead(ButtonPin) to get the value of the pin.

void loop() {
  if (digitalRead(ButtonPin) == LOW) CountVariable = 0; // the magic line, if the button is pressed then the count is set to 0 so it all begins.
  if (CountVariable == NumberOfPictures) return; // Stop now as CountVariable indicates that we have taken the correct NumberOfPictures

 RotateTT();
 delay(1000); // 1000 milliseconds = 1 second
 SendNikonCode();
 delay(1000); // 1000 milliseconds = 1 second
 CountVariable ++; // increment the count variable so it is actually counting :)
}  // at this point it will go to the top of the loop at the void loop() line and start again.

// everything below this is nicely hidden away :)

// This procedure sends a 38KHz pulse to the IRledPin
// for a certain # of microseconds. We'll use this whenever we need to send codes
void pulseIR(long microsecs) {
  // we'll count down from the number of microseconds we are told to wait
 
  cli();  // this turns off any background interrupts

  while (microsecs > 0) {
    // 38 kHz is about 13 microseconds high and 13 microseconds low
   digitalWrite(IRledPin, HIGH);  // this takes about 3 microseconds to happen
   delayMicroseconds(10);         // hang out for 10 microseconds, you can also change this to 9 if its not working
   digitalWrite(IRledPin, LOW);   // this also takes about 3 microseconds
   delayMicroseconds(10);         // hang out for 10 microseconds, you can also change this to 9 if its not working
 
   // so 26 microseconds altogether
   microsecs -= 26;
  }
 
  sei();  // this turns them back on
}
 
void SendNikonCode() {
  Serial.println("Fire Camera!");
  pulseIR(2080);
  delay(27);
  pulseIR(440);
  delayMicroseconds(1500);
  pulseIR(460);
  delayMicroseconds(3440);
  pulseIR(480);
 
  delay(65); // wait 65 milliseconds before sending it again
 
  pulseIR(2000);
  delay(27);
  pulseIR(440);
  delayMicroseconds(1500);
  pulseIR(460);
  delayMicroseconds(3440);
  pulseIR(480);
  
  delay(55);
}


void RotateTT() {
  Serial.println("6 Double coil steps");
  motor.step(6, FORWARD, DOUBLE);
}
Pages: 1 [2] 3