by
jjm » Thu Aug 18, 2016 6:18 am
bkaankuguoglu wrote:Hi, I've just received my NanoPi M1 and I'm currently working on a project that involves measuring temperature, humidity, moisture and sunlight via sensors. Since I'm planning to place my pi outside, I'm looking for a solution to power my device.
First of all, how strict is 5V rule for NanoPi M1? From my earlier experiences, some devices may have some tolerance when it comes to Voltage, e.g. Particle Photon works perfectly between 3.6-5.2V.
Secondly, how do you connect your power source without using mini usb port? Can you show me an example of how to add an external battery to the circuit, feel free to use the image below?

Lastly, I'm so confused with the ports/pins on the board. I have literally no idea how I plug my sensors into these ports. Each sensor have sig, vcc, nc, and gnd pins, and it is not very clear how to use them, in the code.
Thanks heaps in advance. Have a good one!
Hello,
There are more courses from FriendlyARM's wiki which use GPIO or IIC.
==Matrix Compact Kit B:A Good Kit for Starters==
* Matrix - Compact Kit B:[http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Compact_Kit_B click to visit]
* Matrix Modules & Wiki Sites:
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Button Button]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_LED LED]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Analog_to_Digital_Converter A/D Converter]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Relay Relay]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_3-Axis_Digital_Accelerometer 3-Axis Digital Accelerometer]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_3-Axis_Digital_Compass 3-Axis Digital Compass]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Temperature_Sensor Temperature Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Temperature_and_Humidity_Sensor Temperature & Humidity Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Buzzer Buzzer]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Joystick Joystick]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_I2C_LCD1602_Keypad I2C(PCF8574)+LCD1602]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Sound_Sensor Sound Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Ultrasonic_Ranger Ultrasonic Ranger]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_GPS GPS]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Compact_Kit Matrix - Compact Kit]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Fire_Sensor Fire Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_CAM500A CAM500A Camera]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_BAll_Rolling_Switch BAll Rolling Switch]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT 2'8 SPI Key TFT 2.8" SPI LCD]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_IR_Counter IR Counter]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_IR_Receiver IR Receiver]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_L298N_Motor_Driver L298N Motor Driver]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_MQ-2_Gas_Sensor MQ-2 Gas Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_MQ-3_Gas_Sensor MQ-3 Gas Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_One_Touch_Sensor One_Touch_Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Photoresistor _Photoresistor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Potentiometer _Potentiometer]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Pressure_and_Temperature_Sensor Pressure & Temperature Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_RGB_LED RGB LED]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_RTC RTC]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Rotary_Encoder Rotary Encoder]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Soil_Moisture_Sensor Soil Moisture Sensor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Thermistor Thermistor]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_USB_WiFi USB WiFi]
** [http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_Water_Sensor Water Sensor]