Find Jobs
Hire Freelancers

Arduino Sketch

$30-250 USD

Terminado
Publicado hace casi 8 años

$30-250 USD

Pagado a la entrega
Circuit specifics Setup: 3 LEDs (1 green 530nm, 1 amber 590nm, 1 red 625nm) Cree xLamp XP-E2 Color High Power LED Star LEDS ([login to view URL]) 1 Driver – MicroPuck Boost DC LED Driver [login to view URL] ( I am not sure if this is completely necessary but was told by the LED dealer it was, in order to prevent damage to the LEDs, even though they will only be on for a short period of time) 3 push buttons 1 Arduino Uno ( I am open to not using an Arduino, but the ability to modify the circuit easily to change the duration the LED’s are on, is a priority) 4 AA NiMH batteries ( I am open to changing this if it increases LED intensity and/or battery life, however, it must be a standard battery, AA, 9V, i.e using more than 4 AA batteries) (Also, after further consideration, I would be open to running an external power source to the board, for extended proof of concept trials, if using battery supply doesn’t give me extended use. However, it must be able to run on batteries alone) Goal: The purpose of this sketch is a proof of concept and will not be the final configuration, should I proceed with this. However, the priority is a reliable sketch with maximum battery life and maximum brightness when the LEDs are activated. Sketch background: All three push buttons will be pressed one time during each sketch/cycle, but not always in the same order. It is important that the LEDs be turned on in the same order every cycle. First the green, then the amber, and finally, the red LED. It is important that a push button can remain depressed but only turn on the LED one time while also not consuming any additional power. (I am not sure if this is standard or something needed to be known) Also, it needs to be possible that a push button can be depressed while the next push button gets depressed, and not interfere with the second push button turning on the next LED in the progression. It is also a priority that the LEDs be as bright as possible when turned on during the cycle. With this sketch, ideally, I would like to get at least a week if not more days before the batteries need to be replaced. In a typical day, the sketch would run anywhere from 2-5 times in a day. I mention this because it seems, from my understanding, that while on standby, the arduino will draw power from the batteries while on standby. I am not sure if this is true but if so, I would like to be able to ensure this would run for a minimum of a week before battery depletion. If this means adding additional AA batteries, I would be willing to do so. Sketch: 1st push button is depressed = turns on green LED for 1 second or until ; 2nd push button is depressed = turns off the green LED (if still on) and instantly turns on the amber LED for 1 second or until; 3rd push button is depressed = turns off the amber LED and instantly turns on the red LED for 1 second (Note: I want the ability to modify the sketch to be able to increase or decrease the time the LEDs are on during the cycle, if 1 second is insuffient) The sketch/cycle is over one the 3rd push button is depressed/activation of the red LED. (Note: the 3rd push button may be continually depressed but I would like this to not affect the battery life, if possible)
ID del proyecto: 10962961

Información sobre el proyecto

21 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, I can provide you with a sketch that handles 3 button inputs and 3 LED outputs, as per your requirements. During standby it will only be on the lookout for button presses and nothing else. If I understand correctly, there will be three buttons. The buttons will not be pressed in any particular order. When the first button is pressed, the green LED turns on for 1 second or until the second button is pressed. When the second button is pressed, the amber LED turns on for 1 second or until the third button is pressed. When the third button is pressed, the red LED turns on for 1 second. After this the cycle repeats. You wil be able to easily change the duration from 1 second to any other amount. I can provide you also with a very basic circuit diagram (3 buttons and 3 LEDs) to test out the sketch. You will be responsible to create the circuit for your scenario (including your LEDs and your LED driver) Some additional notes based on your description: Arduino by default only turns a LED on or off and when it is on, it is at its brightest, as far as the sketch is concerned. There are ways to dim the LED by using arduino code, but the code cannot increase the intensity of the LED more than the default. The intensity of the LED really depends on the circuit the LED is in. Normally the brightness depends on the resistor in the circuit, however, since you have a LED driver, you don't need a resistor. The brightness is then determined by the LED driver, which is probably already set to the optimal LED output. It is correct that the LED driver, which supplies constant current to the LED, protects the LED from burning out. LEDs can burn out in a matter of milliseconds if they get too much current, so it is safer to use it instead of playing with different resistor values. I would probably go with a 9V battery, since the arduino can take it. If it doesn't last that long you can always add another one in parallel or even a third one. You can add as many batteries as you need as long they are all in parallel. Please note that any system, including Arduino, on standby uses power, even though this is normally very little. In your case, since you don't really need all the inputs/outputs of the Arduino Uno, you can see if you can find a smaller Arduino board which uses even less power than the Arduino Uno. Arduino has a range of boards. The only thing is that making the connections on these smaller boards may not be as easy as on the Arduino Uno, so you can still use the Arduino Uno to test it out. As long as it is Arduino, the sketch will work with pretty much any Arduino board. The main factor for power use is your physical circuit. For the buttons you will need to use resistors for these to work properly. Since it doesn't really matter which resistor value you use, use a high resistor value as this will limit the current and therefore saving you power.
$60 USD en 3 días
0,0 (0 comentarios)
1,8
1,8
21 freelancers están ofertando un promedio de $149 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$200 USD en 2 días
4,9 (116 comentarios)
7,4
7,4
Avatar del usuario
Hi Sir, We have previous experience with Arduino developments. Please see our profile for more information about the past projects. Best regards Lasantha Prasad
$111 USD en 5 días
5,0 (19 comentarios)
6,4
6,4
Avatar del usuario
hi i am an electrical engineer. i have vast experience related to micro controller and its programming. i have done many embedded system projects. i have hardware experience regarding Arduino. let me know if you are interested. we can discuss further on chat.
$250 USD en 3 días
4,8 (13 comentarios)
6,1
6,1
Avatar del usuario
Hello dear I have experience in designing electronics circuits and can make your project. I will make your project practically on breadboard and will provide you circuit and code. If you wish we can discuss in chat.
$200 USD en 7 días
5,0 (15 comentarios)
5,6
5,6
Avatar del usuario
Hello I have got your job posting “Arduino Sketch” and I am very much interested to work in your project. I am a circuit designer and have more than 5 years experience of working with the embedded systems(Arduino ,ARM processors ,PIC microcontrollers,All types of sensors and actuators). i have done tons of similar projects So, I think you’ll find, I have the skills you’re looking for. For more on my skills and successfully finished projects, please have a look on my Profile and Portfolio. I have all the components available here with me so i will develop a working prototype according to your specifications and then send you the code and schematics so things will work for sure. I am always available on Email and Skype. Please have a voice or video chat if necessary. I will be available more than 60 hours per week and able to start your project as soon as possible according to you. Thank you for your consideration, Best Regards, Haseeb Shafqat
$100 USD en 7 días
4,8 (38 comentarios)
5,5
5,5
Avatar del usuario
A proposal has not yet been provided
$500 USD en 30 días
5,0 (6 comentarios)
4,4
4,4
Avatar del usuario
I am an Electrical Engineer having specialization in Electronics and Control, teaching in Electrical Department at FAST National University Pakistan. I am also persuing my MS degree in Electrical Engineering with specialization in CONTROL. I have taught the followings courses, and also done many projects related to these subjects as well as related to consumer electronics products. 1. Control System Design & Modelling (Continuous, Discrete, Linear, Non-Linear, Optimal, Fuzzy Logic + Matlab & Simulink) 2. Digital System/Logic Design (Verilog, VHDL, Logisim) 3. Micro-controllers (8051, Arduino, PIC) 4. Power Electronics (PSIM, MATLAB, PSpice) 5. Control of Electric Machine Drives 6. Circuit Analysis and Designe etc 7. PCB Design (Proteous + Ultiboard + Altium Designer) I assure you, if you assign your project to me, you surely gonna work with me in future. Note: I also provide the solution of mechanical engineering related projects.
$200 USD en 3 días
5,0 (8 comentarios)
4,1
4,1
Avatar del usuario
First, LED driver is needed in yours is correct. But, there are two errors in your hardware setup - You need three drivers, not one - You need a power switch (fet/transistor) to turn on/off the driver (then it will turn on/off the leds). Arduino cannot turn on/off the driver. Second: you will receive - Guidance on hardware setup - Working sketch as your description. The Arduino will sleep/standby to reduce power consumption About power consumption, since Arduino is designed for fast prototype; not for power critical application. In sleep/standby, it still consume large power (compared with power critical application). I'll estimate the working time for you.
$100 USD en 5 días
5,0 (6 comentarios)
3,2
3,2
Avatar del usuario
Hello. My name is Roman and I am the head of a group of professionals engaged in the designing embedded system. We have good experience in programming arduino. And we can help you with your project. I hope we will have a good collaboration. Have a nice day. Best regards, Roman.
$133 USD en 5 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Using Arduino i have done almost k same work. Your project can be ready in less then the time mentioned.
$177 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
It won't let me bid less, but if you don't find someone to do this I can help you out. I probably have all of this already written for projects in haunted houses and such I have been working on for years.
$30 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I could help you make this run for weeks. we could turn off the voltage regulator itself, only turning on the power to the arduino when the button gets pressed. there are a multitude of different low power options. we can make the button use almost no power, and then only when it changes state from pressed to released or back. some arduinos have a low power mode. it depends on which arduino we use, as well as whether we want to add any electronics or fancy wiring of the arduino itself. I do electronics and firmware and would love to help you, thanks, Josh Valdes
$222 USD en 5 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$30 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
it is simple work with our experience, we r ready to complete ur project, accept us ! thank you
$100 USD en 4 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am an Egyptian Student studies in the US. I have been and Arduino Instructor in STEM Egypt FabLab for three years. I am much experienced with a variety of ideas and projects can be done using arduino so most of the needed codes and scripts are available fore immediate use which will make the project you need be done faster and with high quality. I can offer you the assistance you need for your project with any details and illustrations you need within the needed time. We can have further communication for later development or any hep we would need. Thanks for your time.
$122 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Dublin, United States
5,0
1
Miembro desde sept 10, 2015

Verificación del cliente

Otros trabajos de este cliente

Write some Software
$30-250 USD
¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.