Em Andamento

Arduino programming

This is a simple project. I need an arduino to monitor 2 light towers.

I have already set up an arduino Due connected to the signal tower as shown in the attached image.

Here is a summary of how it works in case the picture isnt clear.

Each light tower has 3 24v lamps.

These lamps are turned on and off externally.

I have tapped into each lamp's power, and each wire runs to a 24v reed relay.

Each relay pulls down a pin on the arduino.

I have also attached an ethernet module as shown here:

[login to view URL]

A lamp can be in one of 3 states: on, off, or flashing.

Each time the state of any single lamp changes, the tower's states needs to be sent to the server.

(ex. http://server01/[login to view URL] 0 is off, 2 is flashing, 1 is on)

This should happen as the unit turns on as well.

If flashing, it would be at a rate of two flashes per second (at 500ms intervals).

I had tried to write the code myself using interrupts to monitor these pins but I keep getting strange results as soon as I wanted to monitor more than one pin.

My interrupt routine would check if the last flash was between 400ms and 600ms ago. If it was, it would set the state to 2 (flashing) and a flag so the loop will post to the server.

I also set a flag so that the loop will check back in 600ms. If (now - lastcheck) > 600. we would catch a 'solid on' or 'solid off' state. This wouldn't trigger if it was flashing, because every ~500ms 'lastcheck' would be reset.

I have attached my sketch (very inefficiently written) for reference.

For testing, just set up another arduino as a test flasher or get a flashing relay.

Anyway, this is very basic and should be easy for someone who has done this before.

The only deliverable here is a sketch/libraries etc. I already have the boards hooked up.

Thanks! I need this urgently so please only quote if you have time this week or early next week.

I don't need any assistance with server code. I just need you to make the request and the server can return anything you want (for confirmation).

Habilidades: Arduino, Programação C, Engenharia Elétrica, Eletrônica, Microcontrolador

Veja mais: write programming code, strange engineering, solid works engineering, sketch programming, programming monitor, programming module, programming loop, programming libraries, programming arduino in c, power up case, module programming, loop programming, lamp programming, how programming works, get into programming, get c programming done, get arduino, for loop in c programming, for loop c programming, electrical engineering com, c programming reference, c programming power, c programming for loop, clear wire, case power up

Acerca do Empregador:
( 0 comentários ) Pompano Beach, United States

ID do Projeto: #5007404

30 freelancers estão ofertando em média $610 para esse trabalho

MikroStar

hi, i am an electrical engineer. i have expertise in embedded system design.i can help you with this project.

$2500 USD in 45 dias
(75 Comentários)
7.8
EEmbedded

Hello Sir, We have completed several Arduino projects on Freelancer.com, So we can help you to do your required sensing part completely. Please see our profile and past feedbacks to understand our capability. We Mais

$388 USD in 5 dias
(33 Comentários)
7.0
shahbaz1980

Hi, I can help you. i have gone through the schematics you uploaded. this could be done easily. Please feel free to contact. Regards. Shahbaz.

$677 USD in 7 dias
(53 Comentários)
6.9
theenggprojects

Hi, I am a Mechatronics and Control Engineer, you can check my work on my blog [login to view URL] , I have done many projects on Arduino and can do this one as well quite easily within 5 days. Thanks.

$1000 USD in 5 dias
(45 Comentários)
6.6
oobretenov

I could help you with this project . . . . .

$333 USD in 3 dias
(38 Comentários)
5.4
scribblerspk

I can do this project as I have 12 years of design and development experience. My deliverables shall be following: 1. requirement specification document. 2. Schematics 3. simulation 4. source code delivery. Th Mais

$684 USD in 30 dias
(12 Comentários)
5.5
ranganathp

Can help... I am an Expert... Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...

$1000 USD in 15 dias
(14 Comentários)
5.1
grrod

Hi there I can do it. Ive done a lot of similar projects before. Im a telecommuncation engineer. Ive studied a lot of subjects of embbebded systems (watchdog, scheduling, interrupts, timers, etc). I own hardware to Mais

$555 USD in 45 dias
(11 Comentários)
5.1
akramkarimi1036

Electrical Engineer (Gold-Medalist) from the oldest and the most reputable engineering institute of Pakistan (UET, Lahore). Done my internship @ US based R&D embedded company “Mentor Graphics” and currently working as Mais

$998 USD in 40 dias
(10 Comentários)
4.3
LuisMa

I have working with Arduino projects the last three years. The type of work described by you is within my skills. I am very interested to assist you in your development needs.

$400 USD in 5 dias
(4 Comentários)
4.3
buxusa

Very easy project. I will be glad to help! I am free today, so if you award me the project within today I will probably make it work in about 24 hrs. As I understand from the code and description, you need just the "de Mais

$250 USD in 4 dias
(4 Comentários)
4.2
jegajith

HI I can help you . I have good experience with Arduino and Ethernet based project basically client server application in Embedded System.

$666 USD in 38 dias
(1 Comentário)
3.9
verges2612

Hello: I'm a Mechatronics Technologist with a wide experience working with microcontrollers such as PIC, ARDUINO (AVR) and FREESCALE, feel free to contact me to talk about the project and optimize it.

$500 USD in 5 dias
(5 Comentários)
3.6
IlyaSpivak

I believe I can solve your problem with timing and interrupts. I think this can be done by attaching interrupts, catching an interrupt, disable interrupts while processing, process pulses with pulsein (detect pulse or Mais

$555 USD in 10 dias
(1 Comentário)
3.5
jordicook

Hello, I have done similar projects to what you what to do. I have an Arduino Mega and a W5100 shield so I can test the code, just give me the URL of your server and I could send the values. I can work in your project Mais

$250 USD in 3 dias
(5 Comentários)
3.1
nikhiltechnology

Hello I can do this work as per requirement . I am Embedded programmer. I can control it form Ethernet port and send the required information to the server through URL I can start the today and finish asap. R Mais

$666 USD in 10 dias
(2 Comentários)
3.1
osalahuddin

Hi, I am an Expert in Embedded Systems. I have experience with various microcontrollers including ARM, AVR ,PIC, Arduino, 8051 etc. I have extensive experince with Arduino I can do this task for you. (update) O Mais

$250 USD in 10 dias
(3 Comentários)
3.8
ud2

I can do this project for you........................................................................

$277 USD in 5 dias
(2 Comentários)
3.4
studioprog

Hi, Choose my bid. I can do [login to view URL], Choose my bid. I can do [login to view URL], Choose my bid. I can do [login to view URL], Choose my bid. I can do it.

$833 USD in 30 dias
(1 Comentário)
1.4
jainvikas8

Hi, I can help you fix problems with your code and complete the project with requirements mentioned below. Experienced in Arduino programming, also have an Arduino DUE with me, so that testing would be done w Mais

$555 USD in 5 dias
(1 Comentário)
2.8