[Home]Raspsberry Pi

HomePage | RecentChanges | Preferences | My Website home page

Revision 7 not available (showing current revision instead)

This page was moved on 2026-08-16 to https://www.dougrice.co.uk/cgi-bin/wiki.pl?Raspberry_Pi

http://ccgi.dougrice.plus.com/cgi-bin/wiki.pl?Raspsberry_Pi

has moved to

https://www.dougrice.co.uk/cgi-bin/wiki.pl?Raspberry_Pi on 2026-08-16.

ccgi.dougrice.plus.com is being shut down.

Some information

The Raspberry Pi

https://www.raspberrypi.com/

https://www.hostinger.com/tutorials/linux-commands - has a summary of useful commands.

I like the PC version that runs off a USB memory stick in an old laptop.

some Raspberry Pi enabled ideas

The Raspberry Pi seems an ideal board for some home logging.

I use it headerless so use:

 ssh pi:raspberrypi

or if I have changed the hostname to rpiw.

 ssh pi@rpiw

The logger is summarised as:

So I need a script on the Raspberry Pi that:

I need to download the measurements to a PC. I can use:

It would be nice if these could be started when I reboot the Raspberry Pi.

Cheat Sheet

https://opensource.com/article/19/11/awk-to-python

  Using a batch file called do.bat 

I use do.bat to put commands I run often.

 rem
 rem do.bat
 rem

 cd 
 pause 

Open some windows command ,

CD to working directory

copy files from Rapsberry Pi

 scp <source> <dest>

 scp pi@rpiw:capture.csv .

 scp pi@rpiw:capture.csv capture_.csv

  remote log into Raspberry Pi Zero W 

 ssh pi@rpiw

  list files using tree 
 tree
 tree - help

  list files in the folder 
 ls
 ls /dev

 ls -l 
 ls -l /dev

 ls -l /dev/tty*

  concaionate contents of files 
 cat readme.txt
 cat nohup.out

  concatonate Serial Port - XY-M01 temp sensor 
 echo "AUTO" > /dev/ttyACM0 

 date >> serialLog.txt
 cat /dev/ttyACM0 >> serialLog.txt
 echo "AUTO" > /dev/ttyACM0 

  concatonate contents of files 
 more cat readme.txt
 cat nohup.out
 cat cat serialLog.txt

 more cats file page by page 
 more -h
 more cat serialLog.txt

 edit a file 
 nano -h
 nano filename
 nano -l filename

Conclusion

Some ideas. It is not that simple, but the Raspberry Pi and Arduino boards make it much simpler.


HomePage | RecentChanges | Preferences | My Website home page
This page is read-only | View other revisions
Last edited September 3, 2026 4:20 pm by dougrice.plus.com (diff)
Search: