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:

[url removed, login to view]

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/[url removed, login to view] 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

Ver 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

31 freelancers estão ofertando em média $612 para este 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
(53 Comentários)
6.8
theenggprojects

Hi, I am a Mechatronics and Control Engineer, you can check my work on my blog [url removed, login to view] , 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
(33 Comentários)
5.2
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
(9 Comentários)
5.2
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
(10 Comentários)
5.1
EEmbedded

Hello Sir, We have completed several Arduino projects on [url removed, login to view], 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
(12 Comentários)
4.8
betaenergy

Dear Sir, We are Reserach and Development company whose working area are : -Digital Motor Control -Analog Design -Electronic Design -Power Electronics -PCB design -Embedded system -Matlab -Simulation of ha Mais

$526 USD in 3 dias
(17 Comentários)
4.8
cloudline

Hi, I am an electronics engineer experienced in embedded systems and power electronics. I have completed similar projects in Arduino working with switches, ethernet modules, and interrupts.. Please see my profile Mais

$377 USD in 5 dias
(3 Comentários)
4.5
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
(3 Comentários)
4.4
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
(14 Comentários)
4.4
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
(3 Comentários)
4.2
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
(2 Comentários)
4.1
AliMushtaq12

Hi! I am an Electrical Engineer. I am an expert in Arduino Due Programming. MY last project was the development of a UAV Autopilot. I can easily write the sketch that you need. I am interested in your project. Wait Mais

$300 USD in 5 dias
(7 Comentários)
4.1
oobretenov

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

$333 USD in 3 dias
(7 Comentários)
4.0
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
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
(8 Comentários)
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
(6 Comentários)
3.8
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
ud2

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

$277 USD in 5 dias
(2 Comentários)
3.4
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
(2 Comentários)
3.0
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