Find Jobs
Hire Freelancers

Embedded software - nRF5 chip - 2 BUTTON press functioning

$15-25 USD / hour

Opravljeno
Objavljeno pred več kot 5 leti

$15-25 USD / hour

~Just I am working with nrf52 chip, playing with buttons and leds, ~I am able to press 1 button at a time and obtain a output(say blinking LED) which I want, ~Also, I worked with long press of one button ( SAY ONE BUTTON PRESSED FOR MORE THAN 2 SECONDS) and made an distinguish between the outputs obtained depending on whether it is short push or long push on button. **~ Now, I facing difficulties while I want to obtain an output ONLY WHEN TWO BUTTONS ARE PRESSED. In detail, i WANT TO BLINK LED only when 2 BUTTONS ARE PRESSED FOR 2 SECONDS, So this is the task. other info: I previously used BSP button handler, I have ideas of how to implement my task, but I am not good at coding, so need your help. I think if you can use CLOCK, TIMER, and create an Event for storing the status of buttons in a flag, the task is completed. Also, bit masking helps in detection of 2 buttons. I can provide you user state diagram and also my sample lopps, Just need the help for implementing.
ID projekta: 17538416

Več o projektu

10 ponudb
Projekt na daljavo
Aktivno pred 6 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
Hi, Actually I never touch nrf52 chip and it's BSP right now. But I'm Familiar with the problem you are faced now. Actually you don't have to use any peripheral from NRF52 chip, maybe you just need accurate delay from it. You just need to change the read button style. I have faced this problem in some occasion, and the way I solve this is use non blocking way to scan state of button, rather than using blocking way to read button state. This is my propposed method(we could applied it to NRF52 BSP after this, just chat me): let's say that delay_ms() function is delay system 1ms. #define ScanButtonTimeOut 200 //2 seconds mean 200 * 10ms enum buttonstate{ release,pressed } typedef struct button_struct{ //some state struct buttonstate b_state; int pressedcount; //count how long it's already pressed }button_struct; void main() { button_struct b1,b2; //struct for button1 and button2 state while(1) { if(button1 == Pressed){ b1.pressedcount++; if([login to view URL]>200) b1.b_state = pressed; //change the state of button1 }else{ [login to view URL] = 0; //reset prssed count } //Do the same for Button 2 //Set Led on if button 1 & button 2 state is pressed delay_ms(10); } } For the detail, lets discuss it over chat. I could do it over NRF52 BSP too, so, don't worry. Best regards, Rijal
$22 USD v 20 dneh
4,4 (19 ocen)
4,6
4,6
10 freelancerjev je oddalo ponudbo s povprečno vrednostjo $19 USD/uro za to delo
Avatar uporabnika
Good day, I have read the details of your work and I am confident that I can help you with this. Please contact me so that we can go over the details of your job, thank you.
$16 USD v 40 dneh
4,8 (44 ocen)
6,3
6,3
Avatar uporabnika
Hi Sir, We have read your project and we are able to do this project for you. Lets talk to us. We are professional engineers and developers who do such projects from the last eight years. We offer you our skills for this project at very low rates comparatively without compromising the quality of work. Let me introduce you to our company TURKTRONICS. We are TURKTRONICS. We are professionals with 8+ years of experience in Circuit designs, PCB designs, embedded system solutions, mobile app development, programming and software development. We provide complete end to end solutions for all kind of development projects. IOT is our strong point. In this bid, prototyping and shipping cost is not included however paying extra slight of money to include prototypes. We have the manufacturing facility and we produce the very high standard PCB boards and send ready products to customers doorsteps via DHL. We care about our clients and help them to get out of any potential problem throughout the projects and also give post completion technical support if ever required. We are very much looking forward to hear from you on this in coming days! Cheers!!! Ahmad Lead Technical Engineer TURKTRONICS An Internet of Things Company !
$20 USD v 40 dneh
4,7 (20 ocen)
6,1
6,1
Avatar uporabnika
Hello, Deep is here from India. I can help you to develop logic for long press button press detection.
$15 USD v 25 dneh
5,0 (30 ocen)
5,3
5,3
Avatar uporabnika
Hello Bro , How are you? , Hope all is fine !! I have worked on many applications using Nordic nRF52 chip (in particular the D52 Kit). I develop using KEIL IDE and I deliver on time . -------------------------------------------------------------------------------------------------------------------------------------------- I have long experience with 8-bit , 16-bit and 32-bit micro-controllers. I work with Microchip (PIC) , Atmel (AVR , SAM) , ST (STM) , TI (MSP) and NXP (LPC) micro-controllers. I use KEIL IDE , Atmel Studio , Code Composer Studio and MPLABX IDE . I deliver tested , neat and well-commented code that can be reused or modified for future development. More to be discussed once you contact me . BR, M.T.
$16 USD v 40 dneh
4,8 (25 ocen)
5,6
5,6
Avatar uporabnika
hello i am a computer engineer,i have masters in computer engineering,i have experience for more than 7 years in arduino and electronics
$15 USD v 40 dneh
4,9 (15 ocen)
4,7
4,7
Avatar uporabnika
I have an more than 5 years experience in embedded systems and also o worked on nfr52 beacon with segger studio or keil . so I can do your job within the time limit with your satisfaction.
$38 USD v 30 dneh
5,0 (6 ocen)
4,1
4,1
Avatar uporabnika
Hello there I am a professional embedded systems engineer and i can help you out Please contact me ASAP Best regards
$16 USD v 3 dneh
5,0 (1 ocena)
2,2
2,2

O stranki

Zastava SWEDEN
KARLSKRONA, Sweden
5,0
6
Plačilna metoda je verificirana
Član(ica) od nov. 11, 2017

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.