I am doing a project for smart fruit fly trap/ detection with Thingy91 and the camera to take a picture periodically. There are no nrf9160 I/Os left on the Thingy 91 board. Could you please explain me how to add one or is it not possible to do it?
I am doing a project for smart fruit fly trap/ detection with Thingy91 and the camera to take a picture periodically. There are no nrf9160 I/Os left on the Thingy 91 board. Could you please explain me how to add one or is it not possible to do it?
Do you know nRF9160 Feather ?
The Thingy:91 is great to be used "out of the box", but as you wrote, no direct I/O are available. You may try to connect something at the nRF52840 (USB+BLE Mikro-Controller on the Thingy:91), and forward the data to the nRF9160. Or you switch to the nRF9160 Feather (or one of the variants of it.).
Hi Parishad,
It is possible to use Thingy:91 for prototyping. However, for general and convenient development we recommend the nRF9160 DK. As Achim points out, there are also other options for compact prototyping. I have not yet tested the nRF9160 Feather myself although it is likely also a good option.
Anyhow, if you prefer to proceed with Thingy:91 the schematic for Thingy:91 is available here. Make sure to download the correct files for your HW version, for example for HW v1.6.0 . Schematic for older versions are available here.
Please see the following discussions regarding how to get access to various pins of Thingy:91.
https://devzone.nordicsemi.com/f/nordic-q-a/68213/thingy91-uart-external-communication
https://devzone.nordicsemi.com/f/nordic-q-a/74083/thingy-91---i2c-pins-voltage-level
https://devzone.nordicsemi.com/f/nordic-q-a/64459/can-the-spi-pins-be-used-as-gpio-on-thingy-91
By the way, here is a nRF Connect SDK sample demonstrating the Arducam Mega camera sensor. The Arducam Mega module is unfortunately not yet released. However, some concepts might be relevant for your project.
If you want to keep using the Thingy:91, you must also take care of the IO voltage level. The Thingy:91 may supply 1.8V and 3.3V, but the IOs are 1.8V.
AFAIK, the camera runs on 3.3V (or 5v), you may connect the camera to the 3.3V supply, but you need to check, if it works with the 1.8V I2C, or if you need a level shifter (e.g. Adafruit 757, Bidirektionaler Logikpegelkonverter BSS138).
The nRF9160-DK can be switch to 3.3V IO level, and the feather nRF9160 v5 uses already the 3.3 V for IO.
Thank you, Achim, for highlighting this very important detail. Yes, as mentioned in one of the links provided, the IOs voltage for nRF9160 on Thingy:91 is fixed at 1.8V, so a level shifter will be required.
Parishad, which specific camera module are you looking at using? I would recommend checking with the module manufacturer regarding IO voltage. They might have some tip or trick or another module available compatible with IO voltages down to 1.8V.
(By the way, I noticed that the Arducam Mega module might already be available now, as a free sample to students. This module, however, also requires 3.3V IOs)