Arduino programming combining debounce, blink and low power mode
- or -
Post a project like this2598
$40
- Posted:
- Proposals: 4
- Remote
- #1469859
- Awarded
Description
Experience Level: Intermediate
This is a hobby project but please browse my programming requirements and make your offer.
Description of requirements/functionality: I need to get a arduino program made and its pcb schematic designed
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 while 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 15 seconds than also LEDs should stop blinking and Attiny should go to sleep mode/low power mode (this 15 secs span should be customisable).
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 attiny 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. I want to use a transistor to act as switching device to turn on the LEDS
5. The final PCB schematic should be using the surface mount components, while for prototype normal through hole components can be used for testing,
6. 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.
Please drop in your offers.
Thanks.
Description of requirements/functionality: I need to get a arduino program made and its pcb schematic designed
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 while 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 15 seconds than also LEDs should stop blinking and Attiny should go to sleep mode/low power mode (this 15 secs span should be customisable).
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 attiny 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. I want to use a transistor to act as switching device to turn on the LEDS
5. The final PCB schematic should be using the surface mount components, while for prototype normal through hole components can be used for testing,
6. 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.
Please drop in your offers.
Thanks.
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