Instead of ‘nxdemo’, we now build the camera example. In the previous section, we have wired up a display and verified it works. |0%-50%-100%|Īfter the nuttx.spk file has been flashed to the Spresense board,Ĭonnect to it via minicom again, and run ‘nxhello’. Make: Entering directory '/home/kjell/spresense/nuttx/graphics' Make: Leaving directory '/home/kjell/spresense/sdk/apps' Make: Leaving directory '/home/kjell/spresense/sdk/apps/builtin' Make: Entering directory '/home/kjell/spresense/sdk/apps/builtin' Make: Leaving directory '/home/kjell/spresense/sdk/apps/platform' Make: Entering directory '/home/kjell/spresense/sdk/apps/platform' Make: Entering directory '/home/kjell/spresense/sdk/apps' Make: Leaving directory '/home/kjell/spresense/nuttx/boards' Make: Entering directory '/home/kjell/spresense/nuttx/boards' Make: Entering directory '/home/kjell/spresense/nuttx' : ~ $ tools/config.py examples/nxhello device/lcd_ili9341_on_sp5 & make -j & tools/flash.sh -c /dev/ttyUSB0 -b 460800 nuttx.spk Using the default speed of 115600 did not work reliable,īut with a higher speed of 460800 (or other high values), flashing works quite reliable.ĭon’t forget to source ~/spresenseenv/setup, as described in the Spresense getting started documentation. IfĪll was successful, we flash the board. WeĬonfigure it to build the nxhello example and our custom ili9341 setup. With the config file in place, we can now build the kernel and flash the Spresense board. Still fast enough for our purpose at 320x200x16 But signal quality on the breadboard and the wires can # The display can run at much higher speeds. # spresense/sdk/configs/devices/ili9341_on_spi5/defconfig If all looks good, we should be able to connect with minicom. The board should be visible as “Silicon Labs CP210x” with lsusb when the board is connected. If you are also using a VM, make sure that both, host and guest machine have the “dialout” groupįor your user account, so you can access the Spresense board when connected to USB.
Getting startedįor testing, we have set up Ubuntu 21.04 VM and prepared the Software Development Kit with the See the Spresense developer site for more details. Also, it has a 3.5mm headphone output, up to fourĭigital microphone inputs, an extra USB connector, and general IO headers. It adds LTE capabilities to the main module. It connects to the SpresenseĪnd then there is the CXD5602PWBLM1 board, the LTE extension. The third module is the 5MP camera board. It adds Audio input for up to 8 channels, 3.5mm headphone output, an SD-Card slot,Īn extra USB connector, and the well-known Arduino shield headers. Together with GPS, LTE, Wifi, BLE extensions, this makes them suitable for IoT and AI applications. There is a great choice of libraries supported, including Python, TensorFlow,Įdge Impulse, Java, JavaScript, and Circuit Python for low power consumption. The low power consumption makes it suitable for battery-dependent use cases. įirst, there is the main module: Sony’s CXD5602 microcontroller runs a Cortex-M4F CPU with 6 cores, GPS. Recommend using Fritzing with a version >= 0.9.7.
The parts are included with recent versions of Fritzing. We will deploy a Hello World and a Camera example application. In this post, we will have a closer look at the Spresense board. We added Sony’s Spresense modules for Fritzing.Īltogether, there are four new parts: the mainboard, the Arduino extension, the LTE extension, and the camera. Compatible with various microcontrollers like Arduino. KY-015 Temperature and Humidity Sensor Module The KY-015 Temperature and Humidity Sensor module provides a digital serial interface to measure environment humidity and temperature.KY-013 Analog Temperature Sensor Module The KY-013 Analog Temperature Sensor module can measure ambient temperature based on the resistance of the thermistor on the board.
KY-008 Laser Transmitter Module The KY-008 Laser Transmitter module can be used as a laser pointer.