Go Down

Topic: interface Visual Basic to arduino (Read 830 times) previous topic - next topic

amitshishodia

Hello All,

 I want whatever i change in my arduino code (like delay or other) through visual basic it permanently upload in my board till until again change.

eg: 1. when led is turn on with visual basic then disconnect the device after that reconnect the device led remains in on condition.
eg: 2. I want a change sampling rate, i upload change in sampling rate through visual basic and disconnect the device after some time again ON my device it should acquire data same sampling rate which i upload through VB. If i want again change in sampling rate again change through VB.

spycatcher2k

OK - You have permission to write the code to do this!

I see no question here!

It's not an interfacing problem, just save any changes on the computer to a file, and to EEPROM on the Arduino.
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

amitshishodia

Quote
It's not an interfacing problem, just save any changes on the computer to a file, and to EEPROM on the Arduino.
Sir when I upload my final program again i have not to use Arduino ide for changing the sampling rate of my program. I want to change through GUI after changing i remove the USB cable and again ON the device through the battery and start data acquiring. if again i want to change in sampling rate repeat the same process.

so i simply want my GUI directly change in EEPROM Of BOARD.

spycatcher2k

I'm NOT A SIR  >:(

You have permission to write the firmware to do this.
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

amitshishodia

I'm NOT A SIR  >:( 
Sorry ...
Quote
You have permission to write the firmware to do this.
can you send me some useful link or code on how to get permission to write the firmware?

spycatcher2k

Write your VB app to send the data.

Write the Arduino firmware to accept  input from the serial port, save the data to EEPROM and update variables.

Google :

How do I send data to Arduino with Serial
How do I save data to EEPROM on Arduino
How do I set variables from EEPROM on Arduino

I can write code for you, but unlike others, I do charge for my time.
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

Go Up