Pages: [1]   Go Down
Author Topic: could i use an arduino for this  (Read 989 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 main idea-
hi im working on a project that came together in like 5 min from recycled parts,its a simple circuit . tiny 12v battery,a strum switch from an old gh controller,11ft of phone cord and a rgb led. the switch goes hot when the the mailbox is opened(the flag raises with it as the door opens)and lights up the led inside the house.as long as the flag is up the led stays lit.,,now im wanting to go a little higher tech and have a txt sent to me when the flag is raised,i would like to use the original design.the way im thinking,the switch activates the board and the board sends pulses to differnt keys on an old cellphone like>menu>messeges(2 on my keypad)>outbox(have a blank message with the signature"you have mail")>it would send message only once per activation and go to standby afterward and shut off after i lower the flag.  i would kind of like a versatile board in case i want to add more or use it somewhere else.
 Another idea for the power-
 depending on the voltage of the board i can use my solar pathlight circuit ..any suggestions
Logged

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I imagine you definetly could use an arduino to electrically "press"  the buttons, hardest part would probably be wiring that, and including a delay after every press to make sure it has time to respond
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have (or can get) a handset that has a serial port, I think you'd find that easier to drive using the AT-based control protocol. I haven't used one, but I would be surprised if there wasn't a standard shield to do this sort of thing.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

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

I imagine you definetly could use an arduino to electrically "press"  the buttons, hardest part would probably be wiring that, and including a delay after every press to make sure it has time to respond

when you say delay do you mean through code in the board. sorry im kind of new to using and programming boards.
« Last Edit: January 06, 2012, 01:29:17 pm by monstermind » Logged

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

If you have (or can get) a handset that has a serial port, I think you'd find that easier to drive using the AT-based control protocol. I haven't used one, but I would be surprised if there wasn't a standard shield to do this sort of thing.

i might be able to find one. could you give me more info on the protocol and shield
Logged

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes a delay in the code,
for example even tho you know what buttons to press to get a certain menu on your phone, you can't just pjnch them in as fast as u can or the phone may or not get there because most phones aren't the fastest devices,
just take a not how long it takes for the screen to respond andd then wait that long after electrically pressing the buutons
Logged

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

Yes a delay in the code,
for example even tho you know what buttons to press to get a certain menu on your phone, you can't just pjnch them in as fast as u can or the phone may or not get there because most phones aren't the fastest devices,
just take a not how long it takes for the screen to respond andd then wait that long after electrically pressing the buutons


i understand,u wouldnt happen to know of any premade code off hand that might help me would u
Logged

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It would really depend on how you tap into the buttons, either transistors or mosfets doing the switching,  or if you can just put 5 volts on a side of the button to trigger it
it would all depend on your phone, best thing to do would be to directly send commands to the module inside, but  again that depends on the phone
look and see if anyone has done something similar with your phone, not neccesarily with an arduino but any microcontroller
Logged

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

ok will do,i dont have a set phone to use right now but i usually find what i need through recycleing friends old junk they have sitting in a closet.is there a "better choice" when it comes to cheap phones doing what i need or are they all basicly the same   .
Logged

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ethernet Shield.
Logged

Pages: [1]   Go Up
Jump to: