Arduino programming combining debounce, blink and low power mode
- or -
Post a project like this2603
$20
- Posted:
- Proposals: 4
- Remote
- #1442605
- Awarded
Description
Experience Level: Intermediate
General information for the business: This is a hobby project but please browse my programming requirements and make your offer.
Kind of development: New program from scratch
Description of requirements/functionality: I need to get a arduino program made.
What the circuit and code should do: When a certain pin goes HIGH, the leds should start blinking @ 300ms ON and 300ms OFF (blink rate needs to customisable). Input from input pin needs to debounced (debounce interval should be customisable) and while the leds are not running the attiny chip should be in sleep mode/low power mode so as to maximise the battery life. It should also be under-clocked to a reasonable amount so that it can run the code, maintain a good battery life and provide sufficient LED brightness. LEDs should blink as long as the input is HIGH. If the input is LOW LEDs should stop blinking. If input remains high for more than 60 seconds than also LEDs should stop blinking and Attiny should go to sleep mode or low power mode (this 60 secs span should be customisable).
First of all, the circuit:
1. MCU: ATTINY 85 standalone microcontroller chip
2. Power: 3.7 volt lithium ion battery
3. Nine 1206 smd LEDs with resistors (forward voltage 2.0 and max current 20 mA)
Note: I will salvage the chip from a Digispark board after programming it. For your information, the Arduino window says "Digispark (Default -16.5 Mhz) on COM4"
What I need from you:
1. Information about resistor values/wattage etc and whether all the nine led and resistors should be powered by a single pin since the datasheet says max current per i/o pin 40mA?
2. A circuit diagram/sketch in which the Leds, resisitor and attiny pin connection should be shown. I want the LED brightness to be as bright as it runs on 15mA @ 2volts.
3. The arduino code to make the LEDs blink, while debouncing the input from input pin, attiny underclocked and going to sleep mode while not running.
4. This is electronics and lot can go wrong, if the code is not running at my end then you will need to demonstrate that the code is working by making a video of it on your arduino board or something like that (which wont happen likely).
5. Upon successful completion of transaction this the code will become my property and the programmer shall not disclose this code to anyone under any circumstances nor he/she will upload it on the internet and will delete from his computers/devices.
This large job description doesn't mean the code is very difficult. I am providing all the details possible to make the job simple. Please drop in your offers.
Thanks.
Extra notes:
Kind of development: New program from scratch
Description of requirements/functionality: I need to get a arduino program made.
What the circuit and code should do: When a certain pin goes HIGH, the leds should start blinking @ 300ms ON and 300ms OFF (blink rate needs to customisable). Input from input pin needs to debounced (debounce interval should be customisable) and while the leds are not running the attiny chip should be in sleep mode/low power mode so as to maximise the battery life. It should also be under-clocked to a reasonable amount so that it can run the code, maintain a good battery life and provide sufficient LED brightness. LEDs should blink as long as the input is HIGH. If the input is LOW LEDs should stop blinking. If input remains high for more than 60 seconds than also LEDs should stop blinking and Attiny should go to sleep mode or low power mode (this 60 secs span should be customisable).
First of all, the circuit:
1. MCU: ATTINY 85 standalone microcontroller chip
2. Power: 3.7 volt lithium ion battery
3. Nine 1206 smd LEDs with resistors (forward voltage 2.0 and max current 20 mA)
Note: I will salvage the chip from a Digispark board after programming it. For your information, the Arduino window says "Digispark (Default -16.5 Mhz) on COM4"
What I need from you:
1. Information about resistor values/wattage etc and whether all the nine led and resistors should be powered by a single pin since the datasheet says max current per i/o pin 40mA?
2. A circuit diagram/sketch in which the Leds, resisitor and attiny pin connection should be shown. I want the LED brightness to be as bright as it runs on 15mA @ 2volts.
3. The arduino code to make the LEDs blink, while debouncing the input from input pin, attiny underclocked and going to sleep mode while not running.
4. This is electronics and lot can go wrong, if the code is not running at my end then you will need to demonstrate that the code is working by making a video of it on your arduino board or something like that (which wont happen likely).
5. Upon successful completion of transaction this the code will become my property and the programmer shall not disclose this code to anyone under any circumstances nor he/she will upload it on the internet and will delete from his computers/devices.
This large job description doesn't mean the code is very difficult. I am providing all the details possible to make the job simple. Please drop in your offers.
Thanks.
Extra notes:
Gaurav J.
0% (0)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
27 Mar 2017
India
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies