Notes

From Wiki at Neela Nurseries
Revision as of 20:30, 26 October 2021 by Ted (talk | contribs)
Jump to: navigation, search

Neela Nurseries notes jump point started 2019-09-16



2021-10-26 - thingy91_nrf9160 overlays:

Thingy91 board files located in [west_workspace_dir]/nrf/boards/arm/thingy91_nrf9160/:

file thingy91_nrf9160.overlay, and also thingy91_nrf9160ns.overlay:


&i2c1 {
        compatible = "nordic,nrf-twim";
        status = "okay";
        sda-pin = <26>;
        scl-pin = <27>;
/* See TN027-Power-On-Procedure.pdf for purpose of 0x1F and 0x1D
   Kionix sensor addresses here:
*/
        kionix_sensor: kx132_1211@1f {
                compatible = "kionix,kx132_1211";
                reg = <0x1F>;
                label = "KX132_1211";
        };
        kionix_sensor_flipped_i2c_addr: kx132_1211@1d {
                compatible = "kionix,kx132_1211";
                reg = <0x1D>;
                label = "KX132_1211";
        };
};


2021-10-20 Ait Benhaddou, Morocco


2021-10-15 Friday


2021-10-13 Wednesday

function set_aliases_local()
{
    alias gw='rm $HOME/.ssh/config; ln -s $HOME/.ssh/config--work $HOME/.ssh/config; echo "Setting git auth to work account . . ."'
    alias gp='rm $HOME/.ssh/config; ln -s $HOME/.ssh/config--personal $HOME/.ssh/config; echo "Setting git auth to personal account . . ."'
}


2021-10-05 Schematics and board files for LoRa radio module 915M30S, and Digikey "Product Index ==> Connectors, Interconnects ==> Rectangular Connectors - Headers, Male Pins ==> Harwin Inc. M20-9990445" . . .


2021-09-27

Hello World! sparkfun_thing_plus_nrf9160 - built via Segger Nordic Edition v5.60
main.c - Kionix sensor reports its manufacturer ID, as 32-bit integer 1852795211
main.c - sensor_value.val2 holds 0
main.c - value.val1 as bytes:  0x4B 0x69 0x6F 0x6E   " K  i  o  n "
main.c - Kionix sensor reports part ID of 317


2021-06-22

Topics noted:

gdbstl.cmd:

  target extended localhost:4242

toolchain.mk

APP_HEXFILE = $(BUILDDIR)/$(PROJECT).hex
GDB_ELF = $(BUILDDIR)/$(PROJECT).elf
OOCD_CFG = oocd.cfg
GDB_OOCD_CFG = gdboocd.cmd
GDB_STL_CFG = gdbstl.cmd
SERIAL_RAW != echo -e "$(SERIAL)"

write: $(APP_HEXFILE) write_ocd

write_ocd:
#	openocd -s $(BOARDDIR) -f $(OOCD_CFG) -c "hla_serial $(SERIAL); program $(APP_HEXFILE) verify reset exit"
	openocd -s $(BOARDDIR) -f $(OOCD_CFG) -d3 -c "hla_serial $(SERIAL); program $(APP_HEXFILE) verify reset exit"

write_stl:
	st-flash --serial=$(SERIAL_RAW) --reset --format ihex write $(APP_HEXFILE)

gdb: $(GDB_ELF) gdb_ocd

gdb_ocd:
	$(TRGT)gdb -q $(shell pwd)/$(GDB_ELF) -cd $(BOARDDIR) -ex "target remote | openocd -f oocd.cfg -c 'hla_serial $(SERIAL); gdb_port pipe'" -x $(GDB_OOCD_CFG)

gdb_stl:
	$(TRGT)gdb -q $(shell pwd)/$(GDB_ELF) -cd $(TOOLCHAIN) -x ./$(GDB_STL_CFG)

serial:
	picocom -b 115200 /dev/serial/by-id/usb-STMicroelectronics_STLINK-V3_$(SERIAL_RAW)-if02

gdboocd.cmd:

monitor stm32f0x.cpu configure -rtos chibios
monitor reset halt


--- 2021 mid-June ordered STM32 dev boards:

 2	NUCLEO-F401RE	3	$13.55	$40.65
 3	NUCLEO-L432KC	3	$10.54	$31.62

--- Python and barcode scanning,


  • Unix cut command example:
   $ grep -n zzz *cal-419* | grep 'NO2 averaged A-to-D' | cut -d" " -f 9
  $ grep -n zzz *cal-421* | grep 'NO2 averaged' >> z--cal-4-2-1--no2-averaged-a-to-d-counts-to-plot.txt



^ QCustomPlot references

Notes and links relating to QCustomPlot sofware, second link here is to the starting or main documentation page for QCustomPlot classes and their relation to Qt classes and code framework:

Code snippet from basic plotting tutorial:

// add title layout element:
customPlot->plotLayout()->insertRow(0);
customPlot->plotLayout()->addElement(0, 0, new QCPTextElement(customPlot, "Way too many graphs in one plot", QFont("sans", 12, QFont::Bold)));


2019-09-23 . . .


Plot building at community garden:


^ Local ecosystems and geology


2019-12-19 Thursday

https://www.stevesupergardens.com/shop/aloe-littlefawn-new-hybrid/



^ plant descriptions to move to NN page

Entry:

    French lavender starts in four-inch starter pots, for sale by Milwaukie area gardener. Selling for three dollars ($3) a start.

    A Mediterranean native, French lavendar (lavendula stoechas) once established is extremely drought tolerant. Under normal conditions in Portland area, no need to water or fertilize this plant after its first year in the ground.

    Likes full sun, and open space with good air circulation. Attracts bumble bees, honeybees, and orchard mason bees.

    This plant grows for several years, it is perennial. Older plants may need be replaced from time to time, if a larger branch or branches should break. Slow to moderate growth rate. Not always able to fill in a void if a branch breaks near the plant's base.

    Cash-only sales and PayPal accepted. If you have questions about these plants feel free to write us and ask.



^ Plant Cultivars of Note


^ Harry Potter and AllClassical dot Org

11:59 am - Sunday, November 3rd, 2019

Harry Potter and the Half-Blood Prince: Fawkes the Phoenix

Williams, John

Los Angeles Philharmonic

Gustavo Dudamel

DG 002993902
Purchase

11:54 am - Sunday, November 3rd, 2019

Harry Potter and the Sorcerer's Stone (Original Score): Har

Williams, John

Los Angeles Philharmonic

Gustavo Dudamel

DG 002993902
Purchase


^ movie and pop culture


^ Computer Security


^ Good lunch or dinner idea


^ 2021-06-30 docker how-to work

Wednesday docker work . . .


Padar Island, Indonesia Kogel Bay, South Africa


- - - top of page - - -