NordicSemiconductor / Nordic-Thingy52-FW

Nordic Thingy:52 software development kit. This kit is designed to assist users in developing their own custom firmware for Thingy. Please see http://www.nordicsemi.com/thingy for the latest news and software releases.
Other
210 stars 133 forks source link

How to use the android app control expansion pin(Nordic Thingy:52) #42

Closed nilesh1011 closed 4 years ago

nilesh1011 commented 4 years ago

I want to implement, how to change the state of these four Mosfets in UI service: "EXT pin characteristic" (0303) using Nordic-Thingy52-FW android project here

koffes commented 4 years ago

If you download nRF connect Android nRF Connect iOS you can connect to Thingy:52 and write values to the EXT pin characteristic. This will change the mosfet states. You can also use nRF Connect for PC if you have a connected Bluetooth LE dongle, internal dongle or a nRF development kit.

Unfortunately, there is no support for changing mosfet states within the Thingy app.

nilesh1011 commented 4 years ago

If you download nRF connect Android nRF Connect iOS you can connect to Thingy:52 and write values to the EXT pin characteristic. This will change the mosfet states. You can also use nRF Connect for PC if you have a connected Bluetooth LE dongle, internal dongle or a nRF development kit.

Unfortunately, there is no support for changing mosfet states within the Thingy app.

Do you have any idea how do I implement changing mosfet states within the Thingy App-52?

koffes commented 4 years ago

I would recommend starting with one of these two projects: https://github.com/NordicSemiconductor/IOS-Nordic-Thingy https://github.com/NordicSemiconductor/Android-Nordic-Thingy

For the code itself I would imagine that adding Mosfets is relatively simple if you have some Android or iOS coding experience.

nilesh1011 commented 4 years ago

I would recommend starting with one of these two projects: https://github.com/NordicSemiconductor/IOS-Nordic-Thingy https://github.com/NordicSemiconductor/Android-Nordic-Thingy

For the code itself I would imagine that adding Mosfets is relatively simple if you have some Android or iOS coding experience.

Thanks for responding!! I did implement successfully, changing of Thingy-52 MOSFET pin states on button press+hold{sets MOS pin high(255)} and button release{sets MOS pin low(0)} in Android-Nordic-Thingy application. Cheers!!

koffes commented 4 years ago

Great to hear that! If you feel like it, you can submit a pull request for the changes you have made.