Pages: [1]   Go Down
Author Topic: Arduino writing/reading eeprom with VB  (Read 214 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ive been searching for answers for the past few days and cant find exactly what Im looking for. Still a little new to arduino but play with it on some of my off time.

Basically, I would like to use arduino on my car to open and close a solenoid on my car by reading from the eeprom where I would set a value, but have the ability to change data on the eeprom when it opens and closes using a program that I create from visual basic. I cannot find any examples of how to wire it up, but have found some coding.

Example, when the car is above 3000 rpm, the solenoid would open. below 3000 rpm, the solenoid would close. Using my laptop and a program written in vb, I can read and change the value to 3400 in the eeprom. This would give me the ability to change settings for the conditions of the day. This is not for my daily driver but for my car I take to the track. I could buy some $600 or more program that could do this, but Id rather not.

Any input?
« Last Edit: September 26, 2013, 04:31:57 pm by V8_Kind_Of_Guy » Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 504
Posts: 19106
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have some sort of serial interface to the Arduino. If it finds incoming data (eg. you are connected to your PC) then it could update the EEPROM.

Look in the Playground for EEPROM examples.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ive looked around and still cant find anything. Is there an example anywhere?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are examples in the playground for reading and writing EEPROM, and examples for reading from the serial interface in the IDE.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: