Arduino 1 wire
https://www.instructables.com/1-wire-communication-interface/
https://martybugs.net/electronics/tempsensor/hardware.cgi. similar circuit
EASIER UART TO 1-WIRE INTERFACE

The 1-Wire protocol is usually found in temperature sensors, but you’ll also find it in chips ranging from load sensors, a battery sensor and LED driver that is oddly yet officially called a ‘gas gauge’, and iButtons. It’s a protocol that has its niche, and there are a few interesting application notes for implementing the 1-wire protocol with a UART. Application notes are best practices, but [rawe] has figured out an even easier way to do this.
The standard way of reading 1-Wire sensors with a UART is to plop a pair of transistors and resistors on the Tx and Rx lines of the UART and connect them to the… one… wire on the 1-Wire device. [rawe]’s simplification of this is to get rid of the transistors and just plop a single 1N4148 diode in there.
This would of course be useless without the software to communicate with 1-Wire devices, and [rawe] has you covered there, too. There’s a small little command line tool that will talk to the usual 1-Wire temperature sensors. Both the circuit and the tool work with the most common USB to UART adapters.
The simplest one:-
https://github.com/dword1511/onewire-over-uart
https://github.com/mikaelpatel/Arduino-OWI/blob/master/examples/ATtiny/Search/Search.ino
https://github.com/joeyoung/DS2482
https://github.com/alitekin2fx/stm32_ds2480_emu. not cost effective, simply buy a dongle
https://github.com/collin80/DS2480B
https://www.artekit.eu/doc/guides/ak-ds2480b-uart/
https://www.midondesign.com/Guides/1WireToday.html Raspi
https://github.com/ioBroker/ioBroker.owfs. setup in linux
https://www.owfs.org/. official OWFS site
https://www.mankier.com/1/owhttpd. refreshes the memory
Digitemp command line
root@debian:~# digitemp_DS9097 -s /dev/ttyUSB0 -I
digitemp_DS9097: invalid option -- 'I'
DigiTemp v3.7.2 Copyright 1996-2018 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Compiled for DS9097
Usage: digitemp [-s -i -I -U -l -r -v -t -a -d -n -o -c]
-i Initialize .digitemprc file
-I Initialize .digitemprc file w/sorted serial #s
-w Walk the full device tree
-s /dev/ttyS0 Set serial port
-l /var/log/temperature Send output to logfile
-c digitemp.conf Configuration File
-r 1000 Read delay in mS
-v Verbose output
-t 0 Read Sensor #
-q No Copyright notice
-a Read all Sensors
-d 5 Delay between samples (in sec.)
-n 50 Number of times to repeat
0=loop forever
-A Treat DS2438 as A/D converter
-O"counter format string" See description below
-o 2 Output format for logfile
-o"output format string" See description below
-H"Humidity format string" See description below
Logfile formats: 1 = One line per sensor, time, C, F (default)
2 = One line per sample, elapsed time, temperature in C
3 = Same as #2, except temperature is in F
4 = Same as #2, except elapsed time since (1970-01-01 00:00:00)
5 = Same as #4, except temperature is in F
#2 and #3 have the data separated by tabs, suitable for import
into a spreadsheet or other graphing software.
The format string uses strftime tokens plus 5 special ones for
digitemp - %s for sensor #, %C for centigrade, %F for fahrenheit,
%R to output the hex serial number, and %N for seconds since Epoch.
The case of the token is important! The default format string is:
"%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F" which gives you an
output of: May 24 21:25:43 Sensor 0 C: 23.66 F: 74.59
The counter format string has 2 special specifiers:
%n is the counter # and %C is the count in decimal.
The humidity format uses %h for the humidity in percent
The logfile may contain strftime pattern to format the filename
root@debian:~# digitemp_DS9097 -s /dev/ttyUSB0 -i
DigiTemp v3.7.2 Copyright 1996-2018 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
Searching the 1-Wire LAN
FHEM
How-to setup FHEM to run on Alt-F
Contributed by Gaël Bringout
What is FHEM ?
From the official web site : Fhem is a GPL'd perl server for house automation. It is used to automate some common tasks in the household like switching lamps / shutters / heating / etc. and to log events like temperature / humidity / power consumption.
The program runs as a server, you can control it via web-frontends, telnet, command line program or TCP/IP directly. In order to use fhem you'll need a 24/7 server (PC, MacMini, Fritz!Box, NAS, etc) with a perl interpreter and some attached hardware like the CUL, FHZ1300PC, etc. to access the actors and sensors.
In my case, I use a DNS-323 from Dlink as perl server to run this software.
What do I need to run FHEM ?
This tutorial cover the installation of FHEM using a CUL device. Note that this is not the only solution to control your house automation system with the FHEM server, but it is the only one covered in this tutorial. So you need :
- Basic knowledge of linux system (connect via Telnet or SSH, copy files etc.)
- A Dlink DNS-323 with ALT-F on it. I tested this method with the flashed version. Your user and everything has to be setup.
- A CUL dongle, flashed with the correct firmware (see appendix 1 to have more information)
- The build version of the perl package Device::SerialPort (see appendix 2 to build it yourself with your box). You can download my version here : http://goo.gl/TA5f2
- Around 1 hour if you don't build yourself the Device::SerialPort (around 4 hour if you do build it)
- Some 824 Mhz, FHEM compatible gadgets (like FHT 80b, FHT8V, S300 TH or KS300)
- One USB key (optional)
- One USB Hub (optional)
But what is a CUL device ?
A CUL device is basicly a usb dongle produced by BusWare used to send and receive data on the 868MHz or 433MHz frequency band. It exist different version of the CUL device. I personnally have the v3.
How does this works ?
So basicaly, their is 2 basic fonction : receive data and sens data. (We suppose that all your gadget are suported by FHEM and the CUL device.) The receive data part consiste mainly in logging everything. So it work like that :
- Your gadget send some data
- The CUL device received them
- FHEM read the data received by the CUL device
- FHEM save the data in a files, according to the data's source (if the source wasn't known before, FHEM can create automaticaly all what is needed to received and send data from/to this new device)
- FHEM read the file and display the data in a conviene way
To send some data to a device (basicly, a command): - FHEM have to know the device before
- FHEM send the command to the CUL device
- The CUL device send the command to the target device
Of course, some programmation can be done to react on some event. Like to turn the heating system one every day at 5:00. Or to close the windows and/or shutter 15min after the sunset. etc.
Details of my installation
My installation combine 2 objectif :
- to control my system 24h/24h,
- use as less energie as possible.
The first goal is obvious to achieve with a NAS system running Alt-F RC2. To meet the second point, the whole system (including Alt-F package) are installed on a USB key. The most important point here, is to give a label to the usb key, in order to surivive correctly any reboot situation. To do so, go to Disk/Filesystem and put the name of the device (here "ExtUSB" whithtout the "") in the box "Label" and select "Set Label" from the column named "FS Operation"
Setup
So here, the whole system will be setup on :
/mnt/ExtUSB
My user folder is
/mnt/ExtUSB/Users/gael
Then, from the web interface, install :
- Alt-F Packages
- perl (5.16.0-1)
kernel-modules 2.6.35.14-2
If you have downloaded the perl package Device::SerialPort, please extract it somewhere on the NAS. Supose you have extracted to "/mnt/ExtUSB/Users/gael/arch". Then create the directories and copy the file whith the following command :aufs.sh -n # always use this command first when directly modifying files under the /Alt-F directory
mkdir -p /Alt-F/usr/lib/perl/auto/Device/SerialPort
cp /mnt/ExtUSB/Users/gael/arch/auto/Device/SerialPort/SerialPort.bs /Alt-F/usr/lib/perl/auto/Device/SerialPort
cp /mnt/ExtUSB/Users/gael/arch/auto/Device/SerialPort/SerialPort.so /Alt-F/usr/lib/perl/auto/Device/SerialPortmkdir -p /Alt-F/usr/lib/perl/Device/
cp /mnt/ExtUSB/Users/gael/arch/Device/SerialPort.pm /Alt-F/usr/lib/perl/Device
Good, you have just finished to install the SerialPort package for perl !
Then, download and extract the FHEM package (note that as today (January 2013) the last stable release is the 5.3.)
cd /mnt/ExtUSB/Users/gael/
wget http://fhem.de/fhem-5.3.tar.gz
tar -zxvf fhem-5.3.tar.gz
Now, you will have to update the Makefile from FHEM to adapt it to Alt-F. It is situated here : /mnt/ExtUSB/Users/gael/fhem-5.3/Makefile. Open the Makefile with your prefered files editing program. The first line are :
RELATIVE_PATH=YES
BINDIR=/opt/fhem
MODDIR=$(BINDIR)
VARDIR=$(BINDIR)/log
MANDIR=$(BINDIR)/docs
ETCDIR=$(BINDIR)
change them for something like:
RELATIVE_PATH=YES
BINDIR=/mnt/ExtUSB/Users/gael/software/fhem
MODDIR=$(BINDIR)
VARDIR=$(BINDIR)/log
MANDIR=$(BINDIR)/docs
ETCDIR=$(BINDIR)
(note that you may have to change the permission to the file to be able to save the change) To change the permission on the file :
chmod 777 /mnt/ExtUSB/Users/gael/fhem-5.3/Makefile
Then, we will install FHEM with the pgm2 interface :
cd /mnt/ExtUSB/Users/gael/fhem-5.3/
make
Now, load the driver in order to use the CUL device :
insmod /mnt/ExtUSB/Alt-F/usr/lib/modules/2.6.35.14/kernel/drivers/usb/class/cdc-acm.ko
Configure the fhem.cfg files as you want it. Use the next command in the fhem.cfg to correctly load the CUL device in FHEM :
define CUL1 CUL /dev/ttyACM0@9600 1422
[...]
Finally, launch FHEM (assuming you saved the fhem.cfg files at the same position as I do)
perl /usr/bin/fhem.pl /mnt/ExtUSB/Users/gael/FHEM/fhem.cfg
Enjoy your fully fonctionnal FHEM installation !
Appendix
1 : Flash your new CUL device on a Windoes PC
Download and install the FLIP software from ATMEL website: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886
Plug your CUL device in the pc usb port. When prompted for the driver install, do not install windows default driver. Choose the driver from FLIP's '/usb' directories
Download the good firmware from : http://culfw.de/culfw.html
Follow this tutorial to flash the device : http://code.google.com/p/micropendous/wiki/LoadingFirmwareWithFLIP
Refer to this page to choose the proper Atmel references : http://busware.de/tiki-index.php?page=CUL . The firmware should be in the Device folder of the downloaded archive.
Done !
2 : Build yourself the Device::SerialPort
Once you have installed the perl package, you will have to install additional Alt-F packages to build the perl module. Namely, you have to install :
- kernell-modules
- make
- gdb
- libgpg
Then, you will have to configure the CPAN module in order set the correct folder name. Basicly, every time you can change the folder to download, build etc. you have to set a new folder, otherwise perl is going to compile everythings using the root directory, i.e. the internal memory of the DNS-323. And you don't want that.
So, type in a console :
perl -MCPAN -e shell
or, if you it is not the first time you run this wizard, you can type
perl
o conf init
Here, you will have a lot of question. Basicly put the default choice everytime, if there is nothing said about a folder or a directorie. If the settings is about a directorie, just add the correct command to put the files in your user folder. In my case that was :
/mnt/ExtUSB/Users/gael/
Here is exactly what I did for my setup :
Would you like to configure as much as possible automatically? [yes] -> No
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual') [local::lib] -> enter
CPAN build and cache directory? [/root/.cpan] -> /mnt/sdb1/Users/gael/.cpan/
Download target directory? [/mnt/sdb1/Users/gael/.cpan/sources] -> enter
Directory where the build process takes place? [/mnt/sdb1/Users/gael/.cpan/build] -> enter
Store and re-use state information about distributions between CPAN.pm sessions? [no] -> enter
Directory where to store default options/environment/dialogs for building modules that need some customization? [/mnt/sdb1/Users/gael/.cpan/prefs] -> enter
Always commit changes to config variables to disk? [no] -> yes
Cache size for build directory (in MB)? [100] -> enter
Let the index expire after how many days? [1] -> enter
Perform cache scanning ('atstart', 'atexit' or 'never')? [atstart] -> enter
Cache metadata (yes/no)? [yes] -> enter
Use CPAN::SQLite if available? (yes/no)? [no] -> enter
Policy on building prerequisites (follow, ask or ignore)? [follow] -> enter
Policy on installing 'build_requires' modules (yes, no, ask/yes, ask/no)? [yes] -> enter
Always try to check and verify signatures if a SIGNATURE file is in the package and Module::Signature is installed (yes/no)? [no] -> enter
Generate test reports if CPAN::Reporter is installed (yes/no)? [no] -> enter
Do you want to rely on the test report history (yes/no)? [no] -> enter
Which YAML implementation would you prefer? [YAML] -> enter (you will get an warning, it is ok)
Do you want to enable code deserialisation (yes/no)? [no] -> enter
Where is your make program? [/usr/bin/make] -> enter
Where is your bzip2 program? [] -> /usr/bin/bunzip2
Where is your gzip program? [/bin/gzip] -> enter
Where is your tar program? [/bin/tar] -> enter
Where is your unzip program? [/usr/bin/unzip] -> enter
Where is your gpg program? [] -> enter
Where is your patch program? [/usr/bin/patch] -> enter
Where is your applypatch program? [] -> enter
Where is your wget program? [/usr/bin/wget] -> enter
What is your favorite pager program? [/bin/more ] -> enter
What is your favorite shell? [/bin/sh] -> enter
Use the external tar program instead of Archive::Tar? [yes] -> enter
Tar command verbosity level (none or v or vv)? [none] -> enter
Verbosity level for loading modules (none or v)? [none] -> enter
Verbosity level for PERL5LIB changes (none or v)? [none] -> enter
Do you want to turn this message off? [no] -> enter
In case you can choose between running a Makefile.PL or a Build.PL, which installer would you prefer (EUMM or MB or RAND)? [MB] -> enter
Parameters for the 'perl Makefile.PL' command? [] -> enter
Your choice: [] -> enter
<make_install_make_command> or some such. Your choice: [/usr/bin/make] -> enter
<make_install_arg> Your choice: [] -> enter
Parameters for the 'perl Build.PL' command? [] -> enter
<mbuild_arg> Your choice: [] -> enter
<mbuild_install_build_command> or some such. Your choice: [./Build] -> enter
<mbuild_install_arg> Your choice: [] -> enter
Timeout for inactivity during {Makefile,Build}.PL? [0] -> enter
Timeout for parsing module versions? [15] -> enter
Do you want to halt on failure (yes/no)? [no] -> enter
<ftp_proxy> Your ftp_proxy? [] -> enter
<http_proxy> Your http_proxy? [] -> enter
<no_proxy> Your no_proxy? [] -> enter
Shall we always set the FTP_PASSIVE environment variable when dealing with ftp download (yes/no)? [yes] -> enter
Preferred method for determining the current working directory? [cwd] -> enter
Do you want the command number in the prompt (yes/no)? [yes] -> enter
Do you want to turn ornaments on? [yes] -> enter
Do you want to turn on colored output? [no] -> enter
Your terminal expects ISO-8859-1 (yes/no)? [yes] -> enter
File to save your history? [/mnt/sdb1/Users/gael/.cpan/histfile] -> enter
Number of lines to save? [100] -> enter
Always try to show upload date with 'd' and 'm' command (yes/no)? [no] -> enter
Show all individual modules that have no $VERSION? [no] -> enter
Show all individual modules that have a $VERSION of zero? [no] -> enter
If no urllist has been chosen yet, would you prefer CPAN.pm to connect
to the built-in default sites without asking? (yes/no)? [yes] -> enter
Would you like me to automatically choose some CPAN mirror sites for you? (This means connecting to the Internet) [yes] -> enter (will go on internet on download some stuff, downloading stuff for around 2 hours)
Now, you want to build the module. As it may be long (especially if you have to re-download and re-do all the metadata), you want to be able to close your telnet/ssh command. Otherwise, it will just take around 15 minutes to build everything. To be able to close your consol, used this command :
nohup cpan Device::SerialPort > /mnt/ExtUSB/Users/gael/PerlReport.txt
This will put all the consol output to the file PerlReport.txt
Then, your files are there :
/mnt/sdb1/Users/gael/.cpan/build/Device-SerialPort-1.04-RANDOMLETTER/blilb/arch/auto/Device/SerialPort/SerialPort.bs
and
/mnt/sdb1/Users/gael/.cpan/build/Device-SerialPort-1.04-RANDOMLETTER/blilb/arch/auto/Device/SerialPort/SerialPort.so
and
/mnt/sdb1/Users/gael/.cpan/build/Device-SerialPort-1.04-RANDOMLETTER/blilb/arch/Device/SerialPort.pm
Your are done ! Congratulation!
3 : Example of my fhem.cfg file
attr global autoload_undefined_devices 1
attr global logfile /mnt/ExtUSB/Users/gael/FHEM/log/fhem/fhem-%Y-%m.log
attr global modpath /mnt/ExtUSB/Alt-F/usr/share/fhem
attr global port 7072
attr global statefile /mnt/ExtUSB/Users/gael/FHEM/log/fhem/fhem.save
attr global userattr Haus building room structexclude webCmd
attr global verbose 3
define CUL1 CUL /dev/ttyACM0@9600 1422
define WEB FHEMWEB 8083 global
define Logfile FileLog /mnt/ExtUSB/Users/gael/FHEM/log/fhem/fhem-%Y-%m.log fakelog
define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate disable 1
attr autocreate filelog /mnt/ExtUSB/Users/gael/FHEM/log/fhem/%NAME-%Y-%m.log
attr autocreate weblink 1
attr autocreate weblink_room Plots
#############
# Rooms #
#############
define FHT.Bureau FHT xxxx
attr FHT.Bureau retrycount 3
attr FHT.Bureau room Bureau
define FileLog_FHT.Bureau FileLog /mnt/ExtUSB/Users/gael/FHEM/log/fhem/FHT.Bureau-%Y-%m.log FHT.Bureau
attr FileLog_FHT.Bureau logtype fht:Temp/Act,text
attr FileLog_FHT.Bureau room Bureau
define weblink_FHT.Bureau weblink fileplot FileLog_FHT.Bureau:fht:CURRENT
attr weblink_FHT.Bureau label "FHT.Bureau Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_FHT.Bureau room BureauDashboard
Yes — for something as resource-constrained as a Raspberry Pi 1 and an STM32 Nucleo board, you’ll want a dashboard solution that’s extremely lightweight, can run on minimal RAM/CPU, and ideally supports serial or simple network communication.
Here are some good options:
1. PiDashboard (Custom Python + Flask + Lightweight JS)
- Why: You can run a minimal Flask server on the Pi 1, serving a very basic HTML/JS dashboard.
- How:
- Pi reads data from STM32 via UART, USB CDC, or SPI.
- Flask serves a static HTML page with minimal JavaScript (e.g., Chart.js or even plain SVG).
- No heavy frameworks — keeps CPU usage low.
- Pros: Fully customizable, very low footprint, works offline.
- Cons: Requires some coding.
2. Node-RED (with minimal nodes)
- Why: Node-RED can run on Pi 1 if you strip it down — disable unused nodes and avoid heavy dashboards.
- How:
- Use
serialnode to read STM32 data.
- Use
uidashboard nodes for simple charts and gauges.
- Pros: Visual programming, quick to prototype.
- Cons: Still heavier than pure Python, so you must optimize.
https://mischianti.org/waveshare-rp2040-zero-high-resolution-pinout-and-specs/#google_vignette
3. Kiosk-style Static Dashboard (HTML + Auto-refresh)
- Why: The lightest possible — no backend logic on Pi except a script writing JSON/CSV to disk.
- How:
- STM32 sends data to Pi.
- Pi writes it to a file.
- A static HTML page (opened in a lightweight browser like Midori) reads the file and updates via JavaScript.
- Pros: Almost zero CPU load, works even on Pi Zero.
- Cons: No fancy interactivity unless you add it manually.
💡 Tip for STM32 side: You can use STM32CubeProgrammer or a simple UART printf to send sensor data in CSV/JSON format — makes parsing on the Pi trivial.
If you want, I can sketch you a minimal Python+Flask dashboard that will run on a Pi 1 and display live STM32 data without stressing the CPU. Would you like me to do that?
Build a Simple Custom Raspberry Pi Dashboard for Your Desk - Geeky Gadgets
https://github.com/TechTalkies/Pi-Dashboard/. codes here. Pi + 3.5" touch screen
Build Interactive Dashboards with Flask and Plotly | Step-by-Step Guide | Codez Up
How to Build a Real-Time Data Dashboard with Python and Flask in 2025 | by mimo | Medium
Creating Interactive Dashboards With Flask And Sqlalchemy – peerdh.com comprehensive guide
https://www.geeksforgeeks.org/javascript/charts-js-installation-guide/. how to chart.js
GitHub - giampaolo/psutil: Cross-platform lib for process and system monitoring in Python
Building and monitoring Flask Application - Notch
GitHub - ivl02/monitoring-quote-application: Monitoring Quote application with Prometheus and GrafanaFlask
https://github.com/ivl02/monitoring-quote-application
https://github.com/ivl02/monitoring-quote-application. quote + Prometheus+flask+grafana
How to Add Graphs to Flask apps - GeeksforGeeks
Flask HTML CSS Template - Volt Dashboard
https://github.com/AashiDutt/Arduino_Python_Flask_Dashboard. lack of html , notebook page only
https://learn.sparkfun.com/tutorials/iot-weight-logging-scale/all
https://blog.arduino.cc/2023/11/03/5-ways-to-visualize-your-arduino-or-esp-sensor-data/
https://randomnerdtutorials.com/esp32-websocket-server-sensor/. websocket with esp32
https://forum.arduino.cc/t/how-to-create-the-serial-connection-to-arduino-in-flask/943615
https://www.geeksforgeeks.org/python/how-to-add-graphs-to-flask-apps/
https://www.electronicsforu.com/electronics-projects/graphical-data-display-arduino-html5. HTML5
https://github.com/chillibasket/processing-grapher using processing
https://hackaday.com/2021/01/31/serial-studio-easily-visualise-and-log-serial-data/. using QT framework
https://github.com/Serial-Studio/Serial-Studio. create dashboard without writing codes
QT creator for embedded
https://hackaday.com/2016/07/08/join-the-gui-generation-qtcreator/. qt creator
https://openc3.com/. open source canvas creator
https://docs.openc3.com/docs/getting-started/gettingstarted
https://hackaday.io/project/5334-serialplot-realtime-plotting-software. serial plot qt
https://github.com/hyOzd/serialplot. no arm64 only amd64 candidate , i compiled aach64 myself
https://kst-plot.kde.org/. app in form of standlone running version. no arm6
https://github.com/farrellf/TelemetryViewer
http://www.farrellf.com/TelemetryViewer/
https://x-io.co.uk/serial-oscilloscope/. serial oscilloscope
https://github.com/xioTechnologies/Serial-Oscilloscope. 12yrs ago
https://www.youtube.com/watch?v=o458gSr9m3I
https://projecthub.arduino.cc/ansh2919/serial-communication-between-python-and-arduino-663756
https://github.com/swharden/SeriPlot
https://github.com/swharden/ADC-10-F103C. 10 ADC channels. windows only
modified hardware increased baudrate
amazon sells it at $10
https://www.instructables.com/Plotting-and-Graphing-Live-Data-from-Arduino-using/ metplotlib
https://github.com/di3go-sona/aws-iot-sensors. flask json boto3 db api
https://medium.com/@diego.sonaglia/build-an-iot-system-with-arduino-aws-and-flask-f3b787f263d5
https://gist.github.com/brandoncurtis/33a67d9d402973face8d. codes . but don't work.view on notebook
https://medium.com/@amelie_yeh/data-visualization-on-the-web-with-flask-11a3b1f7a476
https://github.com/hsuanyuyeh/StockInvest-realtime-dashboard
https://matt-popovic-2.medium.com/chart-js-flask-create-beautiful-interactive-charts-with-python-9568edfd10fc not much to get
https://github.com/crysthianzaar/FlaskSerialIO. pretty simple flask using the library. -- stop---
https://github.com/iskandarputra/Real-Time-Py-Serial-Plotter. simple enough, may take a look later
https://www.tinkerassist.com/blog/arduino-data-gui
https://pythonspot.com/flask-and-great-looking-charts-using-chart-js/
https://github.com/hase3b/Flask-Dash-Interactive-Dashboard
https://github.com/grebtsew/Visualize-Realtime-Data-Stream-Chart-in-Flask. 5yrs ago. seems ok
https://www.youtube.com/watch?v=fEowPL9zZYs. Arduino data go into excel with data streamer
https://github.com/TechTalkies/Pi-Dashboard/. Pi + 3.5" touch screen
https://medium.com/@jannelson36/build-engaging-and-interactive-charts-using-flask-and-d3-js-7652a3647ee4. flask and d3.js
https://www.learnrobotics.org/blog/arduino-data-logger-csv/. codes available
https://github.com/ifsvivek/Plot-Arduino-Data-in-Real-Time.
https://github.com/HighVoltages/Python-arduino-realtime-graph
plotted using matplotlib
RealtimePlotter. use processing gui
https://github.com/Nirvan007/Smart_Health_Monitoring_System?tab=readme-ov-file#Software-Requirements. mobile app flutter, firebase, arduino
https://github.com/Tornado025/Real-time-Data-Plotting-with-Arduino/. matplotlib + arduino
https://github.com/MSZ98/serial-readline. serial.readline()
filesystem - Not enough space on /tmp - Ask Ubuntu increase /tmp
sudo mount -t tmpfs -o size=1G,mode=1777 overflow /tmp
https://www.instructables.com/Controlling-Arduino-with-python-based-web-API-No-p. pyduino
https://www.instructables.com/Controlling-Arduino-with-python-based-web-API-No-p/ flask
https://github.com/hamzashaikh8/Arduino-serial
https://github.com/ramanakshay/arduino-greenhouse-monitoring/tree/main. this one suits my taste
Dakboard
https://www.airdroid.com/mdm/minimal-kiosk-browser/. kweb kiosk web browser 2025 article
https://github.com/ekapujiw2002/raspberry_pi_arch_linux_how_to/blob/master/en/33-kweb%20kiosk%20browser.md?plain=1. kweb in loop howto
https://forums.raspberrypi.com/viewtopic.php?t=40860
https://studylib.net/doc/18445597/minimal-kiosk-browser. user manual pdf
https://piaustralia.com.au/blogs/news/launching-a-browser-in-raspbian-without-the-full-window-environment-a-step-by-step-guide simple setup without openbox and other desktop managers
Setup a Raspberry Pi to run a Web Browser in Kiosk Mode
https://core-electronics.com.au/guides/raspberry-pi-kiosk-mode-setup/. newer setup for pi 4
Raspberry Pi Zero Dashboard Using DAKBoard : 5 Steps - Instructables kiosk mode
Setup a Raspberry Pi to run a Web Browser in Kiosk Mode Kiosk mode on Pi zero
Setup a Raspberry Pi Zero W to run a Web Browser in Kiosk Mode as a free personal Dashboard
Install packages in a virtual environment using pip and venv - Python Packaging User Guide VENV
Setup a Raspberry Pi Zero W to run a Web Browser in Kiosk Mode with Dakboard : r/dakboard
https://forums.raspberrypi.com/viewtopic.php?t=267939. enable GPU
GitHub - DanTappan/Pi-Kiosk: Yet another simple Raspberry Pi based kiosk 512mb ram
https://reelyactive.github.io/diy/pi-kiosk/. use matchbox
https://forums.raspberrypi.com/viewtopic.php?t=87719. refresh key
https://forums.raspberrypi.com/viewtopic.php?t=87719. midori
https://forums.raspberrypi.com/viewtopic.php?t=267939. enable gpu
https://hackaday.com/2022/04/28/a-real-gpu-on-the-raspberry-pi-barely/
https://www.raspberrypi.com/documentation/computers/config_txt.html. important config doc for pi
https://www.raspberrypi.com/documentation/computers/legacy_config_txt.html. likely for pi one
sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox -ysudo apt-get install xfonts-basemidori -a "https://example.com" --inactivity-reset=1800 -e Fullscreen. refresh screen
Nucleo F401re
Mbed os end of life at july 2026
Mbed CE is still active. CE means Community Edition.
lastest links here:
https://mischianti.org/stm32-ethernet-enc28j60-with-plain-http-and-ssl-https/#google_vignette
https://shawnhymel.com/1795/getting-started-with-stm32-nucleo-usb-virtual-com-port/. USB
https://community.simplefoc.com/t/pin-configuration-to-enable-spi-on-stm32-nucleo/1259. SPI
https://github.com/stm32duino/Arduino_Core_STM32/wiki/Upload-methods/fe6c84b4d67b1b06db6b7b1378828cc67a920bd3. upload methods.
nucleo_f401re.html. PlatformIO setup
usb virtual port
https://os.mbed.com/teams/ST/wiki/Use-of-D0D1-Arduino-pins
flash boot loader
https://myembeddedsystems.com/how-to-tutorials/how-to-implement-stm32-uart-bootloader-for-
firmware-updates-on-nucleo-boards/
https://nextw.com.tw/public/downloads/STM32%20Setup%20Instruction(NUCLEO-F401RE).pdf cube
https://www.instructables.com/Quick-Start-to-STM-Nucleo-on-Arduino-IDE/. it may suit my board
f401re_map came from here.
micropython
https://github.com/leosok/mp_builder/. mp compressor ?
https://docs.micropython.org/en/latest/reference/filesystem.html
reduce modules and save flash space.
https://docs.micropython.org/en/latest/develop/optimizations.html. optimization, memory allocation
https://github.com/orgs/micropython/discussions/11612 a lot of info for rebuilding custom firmwares
https://docs.micropython.org/en/latest/reference/manifest.html. manifest frozen python codes
https://github.com/glenn20/mp-image-tool-esp32
docker builds custom micropython firmware:
https://github.com/leosok/mp_builder/
https://deepwiki.com/shariltumin/esp32-cam-micropython/3.3-build-configuration
https://www.horan.hk/blog/micropythonesp32/
https://github.com/george-hawkins/micropython-notes/blob/master/tools-filesystem-and-repl.md
Setup and Using MicroPython for Beginners - SparkFun Learn good tutorial
sparkfun-python/examples/mpy_tmp117_web_server at main · sparkfun/sparkfun-python *socket*
joewez/MPRemoteEditor: A simple Windows IDE for developing with MicroPython MPRemote devices mpremote for windows
Try Jupyter! jupyter notebook online
MicroPython remote control: mpremote — MicroPython 1.18 documentation
Some use cases and small talk for the mpremote tool. · micropython · Discussion #9096 cheat sheet
Ping Testmcauser/awesome-micropython: A curated list of awesome MicroPython libraries, frameworks, software and resources. - a collection of micropython libraries
Raspberry Pi Forums ping test script
W5100S-EVB-Pico | WIZnet Document System wiznet examples for pico micropython
more likely the above library can be adopted to Mbed nucleo-f401re
yeranosyanvahan/micronet: Micronet Micropython library for networking micronet too
ljanyst/pico-enc28j60: A RaspberryPi Pico driver for the ENC28J60 controller pico with pictures
Raspberry Pi Pico ethernet Over Esp12 and Enc28j60 - Raspberry Pi Forums esp12+enc28j60
In Nucleo F401RE has multiple SPI pins which are: In CN7: In CN10: In CN5: There are multiple pins for I 2 C protocol. It is based on two pins with a clock and a data pin. These pins can communicate with external I 2 C modules. In STM32 Nucleo F401RE both types of headers support I 2 …
likely the pin information listed on below:
https://github.com/lime7git/flash-loader-example-stm32f4. GUI bootloader for f401re
https://www.sgbotic.com/index.php?dispatch=pages.view&page_id=49
repeated post, but a lot of good information
https://mobilewill.blogspot.com/2015/06/stm32-nucleo-and-dfu-usb-bootloading.html
Keil IDE tutorial
https://microcontrollerslab.com/led-blinking-tutorial-stm32f4-discovery-board-gpio-hal-library/
class Pin – control I/O pins — MicroPython latest documentation get pin information on REPL
micropython/ports/stm32/boards/NUCLEO_F401RE/pins.csv at master · micropython/micropython
micropython's pin.csv table
stm32-enc28j60
stm32-community/stm32-enc28j60: An ENC28J60 (cheap ethernet module) library for STM32 projects
Arduino_STM32/STM32F1/libraries/Serasidis_EtherCard_STM at master · rogerclarkmelbourne/Arduino_STM32 ethercard ported to stm32 F1
Home · rogerclarkmelbourne/Arduino_STM32 Wiki read the wiki
https://mischianti.org/stm32-ethernet-enc28j60-with-plain-http-and-ssl-https/#google_vignette etherENC
https://mischianti.org/stm32-programming-stm32f1-stm32f4-via-usb-with-hid-boot-loader-3/. HID bl
https://github.com/microtechnics-main/stm32-ethernet-1-enc28j60
may use the original ethernet library for rp2040 zeroenc28j60
Juddling/pi-pico-enc28j60: Bring Ethernet to the Pi Pico via SPI with stack
https://www.carminenoviello.com/2015/08/28/adding-ethernet-connectivity-stm32-nucleo/
http://blog.boochow.com/article/453856306.html. links talking about tcp
https://gist.github.com/nebelgrau77/62916ed8d52007991f9be3eb6c5b09e2. flash micropython
https://github.com/Nastrawww/STM32F401RE/blob/main/NUCLEO-F401RE_Schematic.pdf
https://techtutorialsx.com/2017/05/23/esp32-micropython-parsing-json/. parsing json
https://github.com/prfraanje/edukit-micropython. micropython project
https://github.com/yeranosyanvahan/micronet. mcronet
https://github.com/tai/micropy-ENC28J60. library for micropython
https://forums.raspberrypi.com/viewtopic.php?t=339067. ping test using above
https://github.com/ljanyst/pico-enc28j60. for pico
https://github.com/Juddling/pi-pico-enc28j60. brings ethernet to pico. c cmake
https://github.com/tai/micropy-ENC28J60. python micropython
https://randomnerdtutorials.com/raspberry-pi-pico-microsd-card-micropython/
https://randomnerdtutorials.com/raspberry-pi-pico-files-directories-micropython/. files and directories
https://docs.micropython.org/en/latest/esp8266/tutorial/filesystem.html
https://os.mbed.com/users/hudakz/code/WebSwitch_ENC28J60/
http://www.tuxgraphics.org/electronics/200611/embedded-webserver.shtml. atmega 8
https://www.14core.com/wiring-the-enc28j60-ethernet-module-on-arduino-with-relay/#google_vignette
https://www.youtube.com/watch?v=vJdbZcbCRiI. youtube
https://github.com/Networking-for-Arduino/ENC28J60-EMAC. arduino
https://github.com/turicas/Ethernet_ENC28J60
. arduino c c++
https://github.com/Wiznet/Loopback_LPC11E36_LPCXpresso. iot http ftp c c++
ADC
https://os.mbed.com/users/hudakz/code/TcpServer. _ENC28J60/file/60ca1737aa47/main.cpp/. MBED
https://github.com/SimoneMaragliulo/NucleoF401RE_HighAccuracyPWMreader. PWM read
https://github.com/RoanFourie/STM32-Nucleo-F411RE-MicroPython-Quick-Start. micropy quick
https://github.com/sriksh9/STM-Nucleo-ADC. uvision keil
https://blog.embeddedexpert.io/?p=172. stm32duino ultrasonic sensor
https://github.com/topics/enc28j60. github searches
https://github.com/khoih-prog/EthernetWebServer. great amount of information
https://github.com/Nastrawww/STM32F401RE/blob/main/NUCLEO-F401RE_Schematic.pdf
https://os.mbed.com/platforms/ST-Nucleo-F401RE/. pinout diagrams
https://danieleff.github.io/STM32GENERIC/board_Nucleo_F401RE/. pinout lists out spi i2c uarts
https://github.com/hase3b/Flask-Dash-Interactive-Dashboard
https://github.com/kiranj26/STM32-Nucleo-F401RE-Projects. cube IDE
https://maker.wiznet.io/scott/projects/nucleo-f401re-ethernet-w5100-micropython%E3%81%A7%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88%E6%8E%A5%E7%B6%9A/. Japanese does it with wz5100
https://docs.cirkitdesigner.com/component/f991d0d6-9a3d-4ff1-b0b4-e54015685a4f/stm-32-nucleo-f401re
https://docs.zephyrproject.org/latest/boards/st/nucleo_f401re/doc/index.html. diagrams and pinouts
https://github.com/zephyrproject-rtos/zephyr/tree/main. zephyr is a RTOS plot
https://docs.zephyrproject.org/latest/samples/index.html. examples and demos
https://github.com/thunderace/NUCLEO-F401RE-W5100-ioLibrary_Driver. wz5100
https://www.open-electronics.org/lets-code-with-stm32-nucleo/. what you can do
https://github.com/jomaway/nucleo-f401re-examples. setup examples
https://microcontrollerslab.com/stm32-nucleo-arduino-ide-tutorial/. getting stm32duino
https://www.hackster.io/nucleo/projects. projects on Hacker.io
https://os.mbed.com/forum/helloworld/topic/5343/. two links telling successful Mqtt on w5100
posts. codes https://os.mbed.com/users/highroads/code/Embedded_web_wiznet/
https://os.mbed.com/users/hillkim7/notebook/ibmiotclientethernetexample_w5200/
https://github.com/topics/stm32f401re. projects on GitHub
RP2040 zero pico/pico2 like

![]()
Wiring Diagram
| I/O | Pin Name | Description |
|---|---|---|
| I | GPIO16 | Connected to MISO on W5100S |
| O | GPIO17 | Connected to CSn on W5100S |
| O | GPIO18 | Connected to SCLK on W5100S |
| O | GPIO19 | Connected to MOSI on W5100S |
| O | GPIO20 | Connected to RSTn on W5100S |
| I | GPIO21 | Connected to INTn on W5100S |
// The Pico has two SPI peripherals, SPI-0 and SPI-1. Either (or both) can be used.
// The are no default pin assignments so they must be set explicitly.
// According to the RP2040 data sheet, section 1.4.3 ”GPIO Functions” page 13,
// you have the following choices for SPI pins:
// SPI-0_SCK IO-Pins: 2, 6, 18, 22
// SPI-0_MOSI (SPI0 TX) IO-Pins: 3, 7, 19, 23
// SPI-0_MISO (SPI0 RX) IO-Pins: 0, 4, 16, 20
// SPI-0 CS IO-Pins: 1, 5, 17, 21
// SPI-1_SCK IO-Pins: 10, 14, 26
// SPI-1_MOSI (SPI1 TX) IO-Pins: 11, 15, 27
// SPI-1_MISO (SPI1 RX) IO-Pins: 8, 12, 24, 28
// SPI-1_CS IO-Pins: 9, 13, 25, 29
| Pi Header | Module | Module | Pi Header |
|---|---|---|---|
| – | CLK | INT | Pin 22 (GPIO25) |
| – | WOL | MISO | Pin 21 (GPIO9) |
| Pin 19 (GPIO10) | MOSI | SCK | Pin 23 (GPIO11) |
| Pin 24 (GPIO8) | CS | RST | – |
| Pin 17 (3.3V) Pin 2 (5V) | VCC | GND | Pin 25 (Gnd) |
https://mischianti.org/raspberry-pi-pico-and-rp2040-board-ethernet-w5500-with-plain-http-and-ssl-https-requests/. the similar approach one
https://mischianti.org/raspberry-pi-pico-w-and-other-rp2040-boards-pinout-specs-and-arduino-ide-configuration-1/ how to set in arduino IDE
littleFS write up
Adding Ethernet to a Pi Zero - Raspberry Pi Spy
How To Add Ethernet On Raspberry Pi PICO
which spi 0 set on PICO
| ENC28J60 Module | RP2040 Board | Notes |
|---|---|---|
| VCC | 3V3 | requires up to 180 mA |
| GND | GND | |
| SCK | GP10 | SPI1 SCK |
| SI | GP11 | SPI1 MOSI/TX |
| SO | GP8 | SPI1 MISO/RX |
| CS | GP13 | SPI1 CSn |
| INT | GP15 | Optional |
GitHub - przemobe/micropy-ENC28J60: ENC28J60 Ethernet chip driver for MicroPython (RP2) · GitHub
https://github.com/KevinTetreault/RP2040-Zero-Blink. blink example
https://files.waveshare.com/upload/4/4c/RP2040_Zero.pdf. schematic
https://www.waveshare.com/wiki/RP2040-Zero#FAQ
demo projects
GitHub - raspberrypi/pico-playground · GitHub
a shared project called justusb
https://files.waveshare.com/upload/9/9d/Hardware_design_with_rp2040.pdf. hareware manual
weather station, mini
https://github.com/hongloan/RP2240-Zero-air-monitor
game cube controller
https://github.com/riguetti/RP2040-Zero-gamecube-controller
https://github.com/zwenergy/CPAK2040-Zero
https://github.com/mcore1976/rp2040-meteo-station
https://github.com/CoretechR/SPINC
https://bikerglen.com/blog/rp2040-midi-soundboard-player-for-live-streaming/
installing pico-sdk, follow the steps below:
1. https://github.com/pimoroni/pimoroni-pico/blob/main/setting-up-the-pico-sdk.md
2. https://piers.rocks/2023/09/05/installing-pico-sdk-and-picotool.htmlhttps://github.com/mars-low/scoppy-pico. pico tool here
https://hackaday.io/project/202576/instructions
scoopy front end,, a series of articles --------
https://www.pcbway.com/project/shareproject/Analog_Frontend_for_Scoppy_Scope_RP2040_c53564f4.html. pcbway has the frontend project.
https://github.com/zaheeroz/scoppy-pico-Oscilloscope. 3yrs ago.
Portable-Oscilloscope-using-Raspberry-Pi-pico no codes, just introduction
https://github.com/Saltybukket/scoppy-pico-Oscilloscope. another fork. cited v10
https://forums.raspberrypi.com/viewtopic.php?t=329015 important thread about assert errors.
https://pip-assets.raspberrypi.com/categories/610-raspberry-pi-pico/documents/RP-008354-DS-1-raspberry-pi-pico-c-sdk.pdf?disposition=inline. here is the doc
https://vanhunteradams.com/Pico/Setup/PicoCSDK.pdf. sdk v1.0~1.2. the present version is 2.2
https://github.com/dgatf/oscilloscope_rp2040. amperage does not wok in my Debian vm
https://github.com/dgatf/OpenHantek6022. source code for compilation on linux
https://github.com/xrip/RP2040-OpenHantek6022/tree/main. that one may be the real deal
https://www.eevblog.com/forum/testgear/six-software-apps-to-use-with-the-hantek-6022be/ android too
https://www.eevblog.com/forum/testgear/saintsmart-dds120-software-download/. DDS120
https://andykong.org/blog/rp2040_bringup/. hardware hack
https://github.com/raspberrypi/usb-pid. pico usb pid listings
https://github.com/benjaminaigner/Joystick. joystick
https://github.com/sm00th/rp2040-oled. oled
Factory reset after uf2 uploaded badly.
https://gist.github.com/DeflateAwning/cfc26095d25390fcd3c619176c7bf23e vscode setup
https://www.waveshare.com/wiki/RP2040-Zero. official waveshare documentation
https://www.pythontutorials.net/blog/waveshare-rp2040-zero-micropython/
Testing onboard RGB python codes:-
--------------------------------------------------------------------
import time
from machine import Pin
import rp2
max_lum =100
r=0
g=0
b=0
@rp2.asm_pio(sideset_init=rp2.PIO.OUT_LOW, out_shiftdir=rp2.PIO.SHIFT_LEFT, autopull=True, pull_thresh=24)
def ws2812():
T1 = 2
T2 = 5
T3 = 3
wrap_target()
label("bitloop")
out(x, 1) .side(0) [T3 - 1]
jmp(not_x, "do_zero") .side(1) [T1 - 1]
jmp("bitloop") .side(1) [T2 - 1]
label("do_zero")
nop() .side(0) [T2 - 1]
wrap()
# Create the StateMachine with the ws2812 program, outputting on Pin(4).
sm = rp2.StateMachine(0, ws2812, freq=8_000_000, sideset_base=Pin(16))
# Start the StateMachine, it will wait for data on its FIFO.
sm.active(1)
# Color change
while True:
for i in range(0,max_lum):
r=i
b=max_lum-i
rgb =(g<<24) | (r<<16) | (b<<8)
sm.put(rgb)
time.sleep_ms(10)
time.sleep_ms(300)
for i in range(0,max_lum):
g=i
r=max_lum-i
rgb =(g<<24) | (r<<16) | (b<<8)
sm.put(rgb)
time.sleep_ms(10)
time.sleep_ms(300)
for i in range(0,max_lum):
b=i
g=max_lum-i
rgb =(g<<24) | (r<<16) | (b<<8)
sm.put(rgb)
time.sleep_ms(10)
time.sleep_ms(300)
------------------------------------------------------------------------
https://github.com/Alwinator/JustUSB. custom keyboard using rp2 zero
https://github.com/raspberrypi/pico-playground/tree/master?tab=readme-ov-file#sleep. playground
https://www.instructables.com/Raspberry-Pi-Pico-200Khz-Digital-Oscilloscope/
https://how2electronics.com/diy-smartphone-oscilloscope-using-raspberry-pi-pico/. playground
https://github.com/waveshareteam/Pico_MircoPython_Examples. game examples
https://github.com/MakerBotics/RP2040. Arduino IDE OLed library
https://github.com/rppicomidi/rp2040-mcp4728-lib. mcp4728 library
https://wiki.seeedstudio.com/XIAO-RP2040-with-MicroPython/. seed studio demo
https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-data-logger/ adc data logger
https://github.com/openmv/openmv/. very powerful vision platform micropython
https://github.com/openmv/openmv-boards
https://docs.arduino.cc/tutorials/portenta-h7/getting-started-openmv-micropython/
https://github.com/openmv. open mv GitHub
https://github.com/Finomnis/circuitpython-waveshare-rp2040-zero. CircuitPython support
https://github.com/adafruit/awesome-circuitpython. CircuitPython education
https://learn.adafruit.com/circuitpython-libraries-on-micropython-using-the-raspberry-pi-pico/installing-blinka-and-libraries. upload circuitpython library to Thonny.
https://www.instructables.com/Digital-Watch-Display-MicroPython/. colorful watch display
https://spotpear.com/index/study/detail/id/636.html. example codes
Ethernet Example Getting Started [.md]. go ethernet with wiz5000
https://www.instructables.com/Ternary-RGB-LED-Clock-With-RP2040-Matrix-and-Micro/
https://forums.pimoroni.com/t/tiny-2040-rgb-led-control-tutorial/16604/8
pico-circuitpython-examples. project examples
https://www.whypi.org/raspberry-pi-pico-micropython-examples/. project examples
rp2040-examples. quite a lot
https://www.analog.com/en/resources/technical-articles/how-to-create-an-oscilloscope-using-python-and-adalm2000.html examples. analog device has a software called scope free download
It should use the hardware called adalm200 worth $210 sold on DigiKey, mouser, etc
https://analogdevicesinc.github.io/scopy/user_guide/build_instructions/linuxBuild.html. source codes available
https://www.reddit.com/r/diyelectronics/comments/16qqwd3/scoppy_sourcecode/
https://www.pcbway.com/project/shareproject/Scoppy_Front_End_Mostly_Through_Hole_0575305f.html
https://oshwlab.com/fruitloop57/scoppy-oscilloscope-analog-front-end-5
https://github.com/analogdevicesinc/scopy-android-deps. analog device
weather api 16a1818b32b87f72928286aba06dd71c
https://github.com/jklomp/pico-RP2040-oscilloscope. also 4 yrs old. zip and uf2 available.
https://github.com/Ansem-SoD/Picofly. 2yrs old may have some good info.
https://www.hackster.io/sandy-roberts2/quadrupling-the-sample-rate-of-an-rp2040-oscilloscope-5f9a74
https://github.com/AgainPsychoX/picOOscilloscope. it sounds like more robust
https://github.com/ela-project/elascope/. software not scoppy but datascope
https://github.com/AV-Martinez/PicoScope. Arduino?
https://github.com/AV-Martinez/PicoScope/wiki. wiki
https://hackaday.com/2022/03/02/need-a-logic-analyzer-use-your-pico/. logic analyzer with pulseview
https://github.com/fhdm-dev/scoppy/discussions/150 firmware v18 with gpis setting in Scoppy
https://forums.raspberrypi.com/viewtopic.php?t=330316. pico with sigrok
https://github.com/pico-coder/sigrok-pico. it seems like mainstream
https://stackoverflow.com/questions/15223779/cmake-when-to-use-add-definitions-instead-of-set-target-propertiestarget-prope. good post about Cmake errors,...
https://stackoverflow.com/questions/71365643/how-to-properly-use-cmake-in-embedded-rp2040-project-structure. proper cmakefile.txt
https://jondleary.github.io/jekyll/update/2025/01/18/testing-jekyll-github-pages.html code snippets
https://forum.lvgl.io/t/100-msps-oscilloscope-with-rp2040-and-lvgl-complete-documentation/10100
https://github.com/MaJerle/stm32-cube-cmake-vscode develop stm32 in vscode
https://github.com/vxj9800/bareMetalRP2040. a proof of concept ?
https://www.martinloren.com/hs10x-diy-oscilloscopes/ openhantek for android example diy
master. HScope GitHub source codes are there
https://oscilloscope.fhdm.xyz/app-help/rp2040-max-sample-rate-setting
https://oscilloscope.fhdm.xyz/wiki/firmware-versions firmware downloads
https://www.hackster.io/sandy-roberts2/quadrupling-the-sample-rate-of-an-rp2040-oscilloscope-5f9a74
https://forums.raspberrypi.com/viewtopic.php?p=2194037. overclock the rasp
https://oscilloscope.fhdm.xyz/wiki/Installation-&-Getting-Started. installation guide
https://hackaday.com/2022/03/02/need-a-logic-analyzer-use-your-pico/. pico logic analyzer
https://github.com/fhdm-dev/scpdl1/tree/master/a. official fw download links
https://www.waveshare.com/wiki/RP2040-Zero
https://docs.zephyrproject.org/latest/boards/waveshare/rp2040_zero/doc/index.html
https://github.com/topics/rp2040-zero
https://www.instructables.com/Air-Monitor-With-RP2040-Zero-SSD1306-Oled-Screen-a/
https://docs.cirkitdesigner.com/component/ce870f67-a9d7-4fff-910e-6083773a1ab1/rp2040-zero-Zero-air-monitor
https://github.com/kiranj26/Raspberry-Pi-Pico-RP2040-Projects
https://hackaday.com/tag/rp2040/
https://www.libhunt.com/topic/rp2040
https://pico.nxez.com/2023/08/06/raspberry-pi-pico-200khz-digital-oscilloscope.html
https://github.com/jklomp/pico-RP2040-oscilloscope this one has a zip and a uf2
https://github.com/AV-Martinez/PicoScope?tab=readme-ov-file 200k bandwidth
ESP32 Oscilloscope
https://github.com/BojanJurca/Esp32_oscilloscope/
https://github.com/BojanJurca/Esp32_oscilloscope
https://circuitdigest.com/microcontroller-projects/diy-esp32-oscilloscope
https://easyvolts.com/other-projects/espscope-opensource-esp32-wireless-oscilloscope/
https://easyvolts.com/2018/08/14/esp32-40msps-oscilloscope-project-is-closed-and-here-is-why/ dead
https://www.hackster.io/MakerIoT2020/rp2040-oscilloscope-analog-front-end-ec443a
https://oscilloscope.fhdm.xyz/wiki/front-end-design-3
https://github.com/fhdm-dev/scoppy/discussions
https://github.com/hrvach/deskhop mouse and keyboard hopped to 2 computers.r
raspberry-pi-rp2040-features-boards-projects
https://all3dp.com/2/raspberry-pi-pico-projects/#google_vignette
https://github.com/fhdm-dev/scoppy/discussions/150 scoopy frontend
STM-32 Ocilloscope
DIY STM32 Scope Is Simple, Cheap, And Featureful | Hackaday
Raspberry Pi Pico Oscilloscope | Hackaday android app called scoppy
https://github.com/fhdm-dev/scoppy
Building A Pocket Sized Arduino Oscilloscope | Hackaday
GitHub - Seeed-Studio/DSO_Nano
GitHub - diegoherranz/steppenprobe: Open Source Hardware JTAG/SWD/UART/SWO interface board
Extracting firmware from devices using JTAG - sergioprado.blog nice tutorial
The Newbie’s Guide To JTAG | Hackaday introduction with links
More JTAG stuffs
Wireless Programming and Debugging with STM32 and RPi | by Marcin Twardak | Medium
J-link
https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
official j-link to st boards. a lot of options.
https://github.com/RusikOk/-BluePill-to-J-Link-OB-v1.0/tree/main/4_firmware
https://github.com/jamesy0ung/STM32-BluePill-JLink
https://github.com/rbaron/b-parasite/issues/43. a whole lot of information
https://www.eevblog.com/forum/microcontrollers/segger-j-link-edu-alternative/
https://github.com/VDowbensky/DAPlink/tree/main/J-Link%20Bluepill%20compatible
https://github.com/VDowbensky/DAPlink
CK Link
https://www.elektroda.com/rtvforum/topic4120455.html
FPGA jtag tutorials using dirtyjtag pico and openFPGA
https://deepbluembedded.com/openfpgaloader-dirtyjtag-pi-pico-jtag-tutorial-windows/?t=381559
https://github.com/ThisIsCheez/J-Runner-with-Extras-DirtyPico360. dirtyjtag pico with Irunner
https://github.com/f3nter/HardBreak/blob/main/hardware-hacking/basics/firmware-extraction-methods.md. debugging jtag
https://riverloopsecurity.com/blog/2021/07/hw-101-jtag-part3/
https://sergioprado.blog/2020-02-20-extracting-firmware-from-devices-using-jtag/. use urjtag
dirtyjtag pico with I-runner forum with video
Versalon with openOCD to troubleshoot openwWRT Tplink ar17 router
https://github.com/aalm/stlinkswim. for flashing and debugging stm8
blue pill projects
https://gojimmypi.blogspot.com/2017/07/BluePill-STM32F103-to-BlackMagic-Probe.html blackmagic
https://github.com/dohack/STM32F103C8-Blue-Pil-Projects
troubleshooting TDO stuck to 0 or 1
https://github.com/tigard-tools/tigard/issues/55
a long blog about debugging esp32 no good, black magic to stm32 is fine
https://satoshinm.github.io/blog/171223_jtagswdpillblink_jtagswd_debugging_via_black_magic_probe_on_an_stm32_blue_pill_and_blinking_a_led_using_stm32cubemx_libopencm3_and_bare_metal_c.html. a lot of information bluepill jtag and programming
http://www.dangerousprototypes.com/docs/Bus_Blaster_urJTAG_guide. urJTAG guide
https://www.bsdl.info/index.htm. BSDL library https://urjtag.sourceforge.io/book/_jtag_commands.html JTAG commands overview
https://urjtag.sourceforge.io/book/_usage.html. Usage : some useful examples
https://sergioprado.blog/2020-02-20-extracting-firmware-from-devices-using-jtag/ detailed steps
https://github.com/tomverbeure/jtag_gpios. need further readings. unfinished writing, not much use
https://wrongbaud.github.io/posts/jtag-hdd/. great blog,,, excellent demonstration.GitHub - jeanthom/openocd-dirtyjtag: OpenOCD fork with DirtyJTAG support (WIP) openocd for dirtyjtag
openFPGALoder has a lot of information on how to use jtag
Troubleshooting — openFPGALoader: universal utility for programming FPGA latest documentation
dirtyJTAG usb not found in accordance to udev rules usb issues
unable to open ftdi device: -4 (usb_open() failed) · Issue #245 · trabucayre/openFPGALoader
Segger J-link bluepill writeup
https://kb.segger.com/Blue_Pill
https://www.segger.com/downloads/jlink/. J-link download
sagger provides j-link functions on ST-link boards. this is a good one.
https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
https://github.com/jbilander/JTAG-Connect. DIY pogo pin jig, clip on pcb,
https://github.com/blinkinlabs/jtag_hat
https://shop.blinkinlabs.com/collections/development-tools/products/jtag-hat. Pi add-on Jtag header bd
https://sysprogs.com/VisualKernel/tutorials/raspberry/jtagsetup/ Pi 1 setup diy hat
https://www.segger.com/products/debug-probes/j-link/ Segger is also a great game player
https://github.com/mschwingen/hardware/tree/master/JTAG_hat. for pi 1-4 , suitable for my case
https://www.schwingen.org/jtag-hat/. writer's website. . J1 is the connector for 26pins plugin.
https://shop.blinkinlabs.com/collections/development-tools/products/jtag-hat $28.50 plus shipping
https://github.com/antijn/jtaghat. pi 1 HAT diy route
https://forums.raspberrypi.com/
https://www.openocd.org/doc/html/Debug-Adapter-Hardware.html. some good hardware info
https://github.com/dirtyjtag/DirtyJTAG. revisit for the stlinkv2 dag Jtag clone Ditry Jtag
flashing using usb serial adapter
https://github.com/dirtyjtag/DirtyJTAG/blob/master/docs/install-bluepill.md. this is the usb flashing
https://stm32-base.org/guides/connecting-your-debugger.html. stink v2 hookup for stm32 bd.
https://hackaday.com/2022/04/11/need-a-jtag-adapter-use-your-pico/. pico Jtag xilinux
https://github.com/kholia/xvc-pico/. repo
https://blog.inoki.cc/2022/02/22/My-journey-on-raspberrypi-jtag-debugging/index.html pi experience
Grand Idea Studio: JTAGulator voltage level shifter
Embedded Analysis · cyphunk/JTAGenum Wiki · GitHub useful doc on JTAG scanning
https://elinux.org/JTAG_Finder
6 parts tutorials
https://www.fpga4fun.com/JTAG2.html JTAG explanation
https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-protocol-part-1-overview-fbdc428d3a16
https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-protocol-part-2-debugging-56a566db3cf8
https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-part-3-boundary-scan-17f9975ecc59
https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-protocol-part-4-bsdl-29fc4081502c
https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-part-5-usage-scenarios-6fd8eda00e08
https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-part-6-security-d40f1e84e6ba
Clone disassembly:
GitHub - devanlai/dap42: CMSIS-DAP debugger firmware for STM32F042Fx and STM32F103xx
Dumping the original firmware/bootloader · Issue #1 · RadioOperator/CMSIS-DAP_for_STLINK-V3MINICustom ST-Link V2.0 / V2.1 / V3.0 | Details | Hackaday.io
GitHub - Santaclowns/St-toJ-Link: Convert your ST-LINK/V2 (STM8/STM32 v2) CLONE into a Segger J-Link
STLink V3-MINIE | David Albert
DIY STM32 Programmer (ST-Link/V2-1) - Stm32World Wiki
Making ST-Link V2.1 from Chinese ST-Link V2 / Sudo Null IT News
GitHub - User420t/V2_1 achieved v2-1
Jolt Connect - STM32 Programmer (ST-Link/V2-1) - Stm32World Wiki
GitHub - currentmakers/blackmagic: In-application debugger for ARM Cortex and RISC-V processors.
Jolt Connect - STM32 Programmer (ST-Link/V2-1) - Stm32World Wiki
Black Magic Probe - Stm32World Wiki j connect one how to compile bmp
https://stm32world.com/wiki/Main_Page
JTAG Diagnostic blogs:
https://blog.oxplot.com/debrick-wrt54gl-raspberrypi/
https://github.com/oxplot/tjtag-pi
https://wiki.dd-wrt.com/wiki/index.php/Recover_from_a_Bad_Flash#Recovery_by_JTAG_cable
https://www.segger.com/products/debug-probes/j-link/technology/interface-description/
toy for small gadgets:
https://wiki.postmarketos.org/wiki/Devices
STM32F103C8T6 clone playground aka Bull Pill
project examples
https://controllerstech.com/stm32-tutorials/#google_vignette
https://embeddedthere.com/stm32-adc-tutorial-using-dma-with-hal-code-example/. cube IDE
https://simple-circuit.com/blue-pill-stm32-ssd1306-oled-i2c-mode-interface/
https://circuitdigest.com/microcontroller-projects/stm32-spi-communication-tutorial. SPI. look
https://hackaday.com/2023/02/27/diy-stm32-scope-is-simple-cheap-and-featureful/
stm32duino dfu flashing write up
https://github.com/rogerclarkmelbourne/STM32duino-bootloader/issues/135. bootloader issue
STM32 Blue Pill Board - A Complete Guide. bluepill
Upload STM32F103C8T6 USB Bootloader | Program STM32 via USB Port
STM32 Blue Pill USB bootloader DFU - Stack Overflow outdated
STM32 BluePill - USB SOFTWARE IDENTIFIER ISSUE and FEW QUESTIONS... - Page 1
usb bootloader problem
STM32 BluePill - USB SOFTWARE IDENTIFIER ISSUE and FEW QUESTIONS... - Page 1
30KB Blue-Pill USB Binary testing image. - Page 1
https://mecrisp-stellaris-folkdoc.sourceforge.io/projects/bluepill-bmp/README.html
Bluepill Diagnostics — Mecrisp Stellaris Unofficial 1.0 documentat
Bluepill Diagnostics V1.6 User Guide — Mecrisp Stellaris Unofficial 1.0 documentation
user guide:
Bluepill Diagnostics V1.6 User Guide — Mecrisp Stellaris Unofficial 1.0 documentation
download page:
Mecrisp-Stellaris Unofficial User Doc - Browse Files at SourceForge.net
Bluepill Diagnostics V1.6 User Guide — Mecrisp Stellaris Unofficial 1.0 documentation
Projects list:
GRBLl for controlling 3axis step motors. 3d printer
grbl stm32f103c8 · djabi/grbl_stm32f103c8 Wiki · GitHubST-Link/V2 (or clone) to Black Magic conversion [philpem.me.uk - Phil Pemberton's website]
https://mjoldfield.com/atelier/2018/08/nucleo-bmp.html openOCD nuclear
JTAG
https://acassis.wordpress.com/2012/01/25/converting-a-stm32vldiscover-on-versalon-programmer/
https://acassis.wordpress.com/2012/02/21/getting-stlink-with-versalon-firmware-working-with-openocd/
https://github.com/hasaranga/STM32-Blue-Pill-Guide
https://github.com/jsnyder/stm32loader
https://medium.com/@paramaggarwal/converting-an-stm32f103-board-to-a-black-magic-probe-c013cf2cc38c
some instructions to burn black magic probe into ST link clone
ST-Link/V2 (or clone) to Black Magic conversion [philpem.me.uk - Phil Pemberton's website]
https://wiki.philpem.me.uk/elec/stlink-blackmagic
https://ciesie.com/post/black_magic_probe_stlink/
https://andy-preston.github.io/blue-pill-black-magic-probe/. a good one
https://www.elektroda.com/rtvforum/topic4120455.html#google_vignette
https://www.elektroda.com/rtvforum/topic4123724.html flash tool for small cam A9
https://www.tindie.com/products/johnnywu/cklink-lite-debugger-probe/.
cklink-lite-fw-convertor. CK-Link debugger for sky ... something
a cheap one, buy better make
Blackmagic probe
https://slemi.info/2018/08/14/making-your-own-st-link-v2/
Black magic probe out of cheap STLink programmers clone convert
IDing STM32 Clones, and Setting Up a Black Magic Probe – Andy Makovec – Hardware Engineer in San Francisco, CA good recommendations
GitHub - mmoskal/blackmagic-bluepill ready compiled for bluebill this one is I'm using
STM32
Using formal stm32 tools
https://www.ampheo.com/blog/what-is-the-difference-between-stm32cubemx-and-stm32cubeide
https://controllerstech.com/interface-sd-card-with-stm32-via-spi-dma/#google_vignette
https://onlinedocs.microchip.com/oxy/GUID-F9FE1ABC-D4DD-4988-87CE-2AFD74DEA334-en-US-3/GUID-48879CB2-9C60-4279-8B98-E17C499B12AF.html. microchip waveforms illustrate
https://lastminuteengineers.com/arduino-micro-sd-card-module-tutorial/. MISO 12, MOSI 11
For st-link v2 and blue pillHow to flash
---- make a note here
https://alexbirkett.github.io/microcontroller/2019/03/30/flash_bluepill_using_ST_link.html
https://github.com/zoobab/versaloon/blob/master/README.md. Versaloon flashing guide
https://d1.amobbs.com/bbs_upload782111/files_29/ourdev_553638.pdf. versaloon pdf
blackmagic/src/platforms/stlink at main · blackmagic-debug/blackmagic · GitHub
flash stm32duino for Arduino IDE. usb id leaf maple as comport
https://circuitdigest.com/microcontroller-projects/programming-stm32f103c8-board-using-usb-port
OpenOCD usb rules problem see below: pi forum
https://forums.raspberrypi.com/viewtopic.php?t=312867
https://www.electronicshub.org/getting-started-with-stm32f103c8t6-blue-pill/
OpenOCD + Versaloon example config file
https://acassis.wordpress.com/2012/02/21/getting-stlink-with-versalon-firmware-working-with-openocd/
JTAG FINDER - what the heck is that. I guess pin by pin guessing which is Jtag probe
https://elinux.org/JTAG_Finder#The_Hardware
Black Magic Probe
Getting Started - Black Magic Debug
How to use the command 'st-flash' (with examples) st-flash is a linux utility apt-get
Programming STM32 Microcontroller Flash in Windows
DirtyJTAG/docs/install-bluepill.md at master · dirtyjtag/DirtyJTAG · GitHub full picture tutorial
GitHub - stlink-org/stlink: Open source STM32 MCU programming toolset
DirtyJTAG/docs/install-bluepill.md at master · dirtyjtag/DirtyJTAG · GitHub
Versalon JTAG
https://github.com/zoobab/versaloon?tab=readme-ov-file
https://acassis.wordpress.com/2012/02/21/getting-stlink-with-versalon-firmware-working-with-openocd/
https://acassis.wordpress.com/2012/01/25/converting-a-stm32vldiscover-on-versalon-programmer/
Raspian PI
GPIO
https://discourse.osmc.tv/t/how-to-use-harware-buttons-on-raspberry-pi-zero-with-gpio-key/86594
https://blog.geggus.net/category/raspberry-pi/
https://discourse.osmc.tv/t/how-to-docker-couchpotato/20539
OSMC samba setup
https://discourse.osmc.tv/t/configuring-fstab-based-samba-share-mounts/38167
Docker run couchpotato
https://discourse.osmc.tv/t/how-to-docker-couchpotato/20539
Wifi dongle
https://discourse.osmc.tv/t/install-and-configure-wifi-usb-receiver/87831
Libre computer
Latest forum posts. Libre computer
https://hub.libre.computer/latest
Pogoplug
https://sensepeek.com/. pictures make sense.
amazon has it..
https://www.printables.com/model/1370439-flywire-probing-tool-pcb-probe. 3d print files
https://www.youtube.com/playlist?list=PL2GALWZIiXOCgRfWSQpIFc4QfINjOvsYr. video shows
https://forum.doozan.com/read.php?3,21789,139949. Debrick v4 attempt
https://hackaday.com/2017/04/24/pogoplug-hacking-a-step-by-step-guide-to-owning-the-device/
https://wiki.exploitee.rs/index.php/PogoPlug_Mobile
http://storepeter.dk/linux/home-automation
https://www.ietfng.org/nwf/sysadmin/embcomp/pogo4-hardware.html
https://hackaday.com/2017/04/24/pogoplug-hacking-a-step-by-step-guide-to-owning-the-device/
https://hackaday.com/2014/09/15/hacking-a-pogoplug-into-a-20-pbx/
https://github.com/cellularmitosis/pogoplug_mobile_uboot_installer
https://github.com/ebbes/u-boot-pogoplugv4
https://archlinuxarm.org/forum/viewtopic.php?t=6040
HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD jtag pogo
Recovering a Corrupted Debian RootFS on a Pogoplug
If your Pogoplug’s Debian rootfs is corrupted, you can’t usually fix it in‑place — the safest route is to replace the rootfs with a known‑good image from the official Bodhi/Community sources .
1. Prepare a working environment
Access the device: Connect via serial console (115200 8N1, 3.3 V) or Ethernet if DHCP/static IP is set .
Backup: If possible, copy
/etcand other important configs from the failing device to a safe location.Tools: You’ll need a PC with a Linux OS,
dd,tar, and the correct rootfs tarball for your Pogoplug model (V3/Oxnas or V4/Kirkwood).
2. Get the correct rootfs image
For Pogoplug V3/Oxnas: Use the “ALARM” or Bodhi’s Debian rootfs for Oxnas .
For Pogoplug V4/Kirkwood: Use Bodhi’s Debian rootfs for V4, e.g.
Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2or the ready‑to‑use V4 image from cellularmitosis/pogoplug-v4-bodhi-rootfs-debian .Always match the rootfs to your hardware and kernel version.
3. Write the new rootfs to the device
Option A – SD card method (recommended)
Write the rootfs tarball to an SD card:
(Replace
/dev/sdXwith your SD card device.)Grow the partition if needed:
Insert SD card into Pogoplug and boot.
Option B – Direct flash via serial
If you can boot into a root shell:Mount the rootfs partition (often
/dev/mmcblk0p1or/dev/mtd1for flash).Erase the partition:
Write the new rootfs image over it.
4. Verify and reboot
Boot the Pogoplug and check
uname -rmatches the kernel in the rootfs.If the system boots and services start, the recovery is complete.
5. If you need to keep data
The rootfs replacement will overwrite the filesystem.
If you need to preserve files, mount the rootfs read‑only and copy data before flashing, or use a live Debian environment to mount and extract the rootfs before replacing it .
Tip: Always use the exact rootfs for your hardware; mismatched kernels or rootfs images can brick the device .
References:
Juul’s Pogoplug Pro Debian guide
Bodhi’s V4 Debian rootfs and forum instructions
cellularmitosis’s ready‑to‑use V4 rootfs
Howtoforge’s clean Debian install on Pogoplug V3




沒有留言:
發佈留言