Waveshare XNUCLEO-F030R8 Скачать руководство пользователя страница 21

Xnucleo User Manual   

 

 

21 

V2.6.1, Apr. 25

th

 2015 

share awesome hardware

At the same time, relative data will be outputted: 

/*----------------------*/ 

T: 23 C            H: 34 

D: 3868      A: 3.116      S: OFF 

Rot: 227            SW: 52 

R: 20        G: 6        B: 105 

RTC: 12:1:4        KEY: 10 

/*----------------------*/ 

4.2.2

 

THE MEANINGS OF THE  RETURNED DATA  

Table 13: The meanings of relative symbols 

Symbol 

Meanings 

Remarks 

Temperature 

Unit: Degrees Celsius 

Humility   

Air humility percentage (%) 

AD value 

Voltage value in the format of 12 BIT. It can be converted to actual value by 

linear transformation. 

DA value 

Voltage value 

State 

There are two states: ON and OFF 

Rot 

Rotation count 

for rotation 

encoder 

For clockwise rotation, the counter value is incremented by 1; for anticlockwise 

rotation, the counter value is decremented by 1. The count can be a minimum of 

0 and maximum 255. 

SW 

Button press 

count for 

rotation 

encoder 

It supports single click, double click, long press and continued shot 

Red value 

Users can get the actual color on the basis of the RGB value. For more 

information, please refer to Color Sensor User Manual 

Green value 

Users can get the actual color on the basis of the RGB value. For more 

information, please refer to Color Sensor User Manual 

Содержание XNUCLEO-F030R8

Страница 1: ...or Leonardo Arduino ICSP interface Yes None ICSP is required by certain kinds of shields USB connectivity Yes None The USB connector of NUCLEO is for debugging ONLY not available for USB connection U...

Страница 2: ...connecting with an Arduino shield if it were close to the PCB edge ST LINK Separated Integrated ST LINK can be used anywhere else Comes with USB cable Yes None ORDERING INFORMATION Table 1 Xnucleo se...

Страница 3: ...tting started 5 1 2 1 Hardware configurations 6 1 2 2 Observing the actions 6 2 Hardware configuration 7 2 1 Power supply settings 7 2 1 1 Power supply input from the USB connector 7 2 1 2 Using CN2 V...

Страница 4: ...SPI connector 12 2 8 USB connector 13 2 9 Solder bridges 13 2 10 Extension connector 13 3 How to use mbed on STM32 Xnucleo platform 16 3 1 How to compile and download program under mbed 16 3 1 1 Prog...

Страница 5: ...user tools STM32 ST LINK Utility STM32 ST LINK Utility_v3 4 0 exe For more detailed information about installation and usage of STM32 ST LINK Utility please refer to the document provided by ST Xnucle...

Страница 6: ...r supply connect the power supply socket CN2 on the Xnucleo board to a 6 12V power adapter 3 Connect the ST LINK V2 mini debugger programmer to the SWD connector Notices It is recommended to plug in t...

Страница 7: ...In case the ST LINK V2 mini USB connector is used to power the Xnucleo board the host PC will provide 150mA current at maximum as 3 3V voltage is outputted from the ST LINK V2 mini USB connector to th...

Страница 8: ...mini to the PC to ensure that the Xnucleo board can work properly Table 3 External power source parameters Name Pins Voltage range Max current Limitations CN2 CN2 6V 12V 800mA The inputted current is...

Страница 9: ...power source specified in Table 3 needs to be respected The 3 3 V CN6 pin 4 or CN7 pin 12 16 can be used also as power supply output The current is limited by the maximum current capability of the re...

Страница 10: ...ted to the I O PC13 pin 2 of the targeted MCU by setting JP6 to ON 2 3 2 RESET BUTTON This RESET button is connected to NRST and is used to reset the targeted MCU 2 4 JP6 IDD JUMPER SETTINGS 2 4 1 JP6...

Страница 11: ...Connect the TX PC10 PC6 of JP4 to RXD Connect the RX PC11 PC of JP4 to TXD Here is the jumper setting for connecting to XNUCLEO F030R8 Connect the TX PA9 of JP4 to RXD Connect the RX PA10 of JP4 to TX...

Страница 12: ...ired you can connect the ADC interface or the I2C interface to the Arduino connector or the ST Morpho connector by setting the JP5 Here are the relative settings to JP5 The pins A4 and A5 of JP5 shoul...

Страница 13: ...tion SB74 ON IOREF is connected to 3 3V OFF IOREF unconnected SB75 ON IOREF is connected to 5V OFF IOREF unconnected SB45 VBAT VLCD ON VBAT or VLCD on STM32 MCU is connected to VDD OFF VBAT or VLCD on...

Страница 14: ...Xnucleo User Manual 14 V2 6 1 Apr 25 th 2015 share awesome hardware Figure 1 XNUCLEO F030R8 Figure 2 XNUCLEO F103RB Figure 3 XNUCLEO F302RC...

Страница 15: ...Xnucleo User Manual 15 V2 6 1 Apr 25 th 2015 share awesome hardware Figure 4 XNUCLEO F401RE Figure 5 XNUCLEO F411RE...

Страница 16: ...ing the development environment So users should operate according to the actual conditions 3 1 HOW TO COMPILE AND DOWNLOAD PROGRAM UNDER MBED In this section we only present the ways to compile and do...

Страница 17: ...program runs since 1 second This program runs since 2 seconds This program runs since 3 seconds This program runs since 4 seconds This program runs since 5 seconds At this time the USER LED is blinkin...

Страница 18: ...EMO Besides Nucleo Demos the Demos for different periphery modules provided by Waveshare are supported by Xnucleo series as well The corresponding devices to the periphery module Demos include but not...

Страница 19: ...B10 D6 PB10 D6 PB10 D6 PB10 D6 Color Sensor LED 3 3V 3 3V 3 3V 3 3V 3 3V OUT PC7 D9 PA1 A1 PA1 A1 PA1 A1 PA1 A1 S3 PA9 D8 PA9 D8 PA9 D8 PA9 D8 PA9 D8 S2 PA8 D7 PA8 D7 PA8 D7 PA8 D7 PA8 D7 S1 NC NC NC...

Страница 20: ...O Expansion Shied User Manual Some of the sensors may only lead out the pin AOUT or the pin DOUT In this case the additional reserved pin s of IO Expansion Shied can be left unconnected One IO Expansi...

Страница 21: ...sformation A DA value Voltage value S State There are two states ON and OFF Rot Rotation count for rotation encoder For clockwise rotation the counter value is incremented by 1 for anticlockwise rotat...

Страница 22: ...Users can get the actual color on the basis of the RGB value For more information please refer to Color Sensor User Manual RTC Real time clock The outputted time information from RTC KEY USER button...

Отзывы: