Skip navigation
Introduction: Now a day mostly mass produced vegetables and fruits are GMOs, contaminated with dangerous chemical pesticides and traces of chemical fertilizers. And mostly products labeled as organic, are not 100% organic. So the best and most cost effective option to obtain organic vegetables is to produce them at your home. So now question arises how can you grow vegetables at home without spending too much? Another problem is you can't have a same environmental conditions around the year and ...
Being an ultra low power device OLED display is perfect combo for RSL10 to display necessary information. C version of well know U8G2 library is used to interface this 0.96" OLED display with On-Semi RSL10-Sense-Gevk board.   // U8G2 display structure static u8g2_t u8g2; // u8x8_byte_rsl10_hw_i2c and u8x8_gpio_and_delay are hardware related functions. u8g2_Setup_ssd1306_i2c_128x64_noname_1(&u8g2, U8G2_R0, u8x8_byte_rsl10_hw_i2c, u8x8_gpio_and_delay); u8g2_InitDisplay(&u8g2); u8g2_ ...
ADS1115 C library and main.c is attached below OnSemi RSL-10 module has 4 ADC inputs but on RSL10-Sense-GEVK only one ADC input is available. Due to the availability of only 1 ADC pin user has only 2 options either use this single analog input with any analog mux (i.e. CD4051BE) or use an external ADC to measure multiple analog inputs. And here ADS1115 16-bit ADC is used to measure up to 4 single ended or 2 differential analog signals. Details: In order to use I2C interface of RSL10 module we ...
  MCP23017 c library and main.c is attached below Additional Code included in main.c  The Code to initialize the GPIO_SPARE as output at maximum drive strength and onboard button (PB1) as input using SDK function.   Sys_DIO_Config(PIN_GIO_SPARE, DIO_6X_DRIVE | DIO_NO_PULL | DIO_MODE_GPIO_OUT_1); Sys_DIO_Config(PIN_BUTTON0, DIO_NO_PULL | DIO_LPF_ENABLE | DIO_MODE_GPIO_IN_0);   Code to change the output state of GPIO_SPARE without using interrupts when button (PB1) is press ...