

Levelsensor
Simple digital thermometer simulator based on Raspberry Pi Pico and a Sparkfun SSD1306-type OLED connected via I2C. Of course, the code's written in Python ;-)
- Size
- 43.2 × 17.8 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 9
- Nets
- 28
- Pads
- 40
- Tracks, vias
- 0, 0
- Routed
- Not yet
- KiCad
- KiCad 6 (file 20211014)
- Created
- 30 Jul 2022
- Updated
- 14 Nov 2024
Overview
Levelsensor is an open-source printed circuit board by cedarlakeinstruments, from the cedarlakeinstruments/theselittlemachines repository on GitHub. It is a 2-layer board of 43.2 × 17.8 mm with 9 parts on 28 nets.
Its parts include 3 connectors and 2 resistors.
README
README.mdThermometer simulator
Simple digital thermometer simulator based on Raspberry Pi Pico and a Sparkfun SSD1306-type OLED connected via I2C. Of course, the code's written in Python ;-)
You can download it here

The desire is to display a temperature that is adjustable in 0.1 degree increments by pushbuttons. The pushbuttons are connected between Ground and GP7 & GP8. At least, that was the intent. However, my ham-fisted soldering connected the common to GP9 instead of GND.
No problem, though. We'll just turn GP9 into an output and pull it to GND. Accomplishes the same thing and I don't have to fix my wiring :-)
# Code designed for Raspberry Pi Pico running CircuitPython 9.2
# Simulates a digital thermometer using an OLED for display
# Imports
import time
import random
import board
import busio
import digitalio
from adafruit_debouncer import Debouncer
import displayio
import terminalio
import adafruit_displayio_ssd1306 as ssd1306
from adafruit_display_text import label
# Compatibility with both CircuitPython 8.x.x and 9.x.x.
# Remove after 8.x.x is no longer a supported release.
try:
from i2cdisplaybus import I2CDisplayBus
print ("Imported from i2cdisplaybus")
except ImportError:
from displayio import I2CDisplay as I2CDisplayBus
print ("Imported from displayio")
Ball Speed Project
This project measures the speed of a ball and takes actions depending on how fast it's going. It plays audio feedback depending on the speed of the ball. Code is here
High/Low solenoid driver
Driving solenoids is pretty easy. Just need a single digital pin and a motor or solenoid driver. Since it takes more energy to activate the solenoid than to keep it on, we can apply this method if we need to save power. We'll activate the solenoid at full power for about a quarter second (or however long it takes it to move into position, then drop the output level by PWM).
You can download it here

Liquid Level Sensor
How to detect the liquid surface when filling a syrup bottle. Simple liquid level sensor senses conductivity using two food-safe stainless steel probes. An Arduino Nano drives the probes with a low-current signal, using the fluid to provide conductivity. Two analog inputs are used to detect the current flow through the liquid. By switching the current back and forth, we can prevent mineral buildup on the probes.
When the measured signal crosses a threshold, we turn on an output to indicate that the level is detected. The output can stop a pump, or trigger an indicator to the operator.
Download the code here
Schematic diagram


Contact me: littlemachines@cedarlakeinstruments.com
Parts
9| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole_65mil | Arduino_MountingHole:MountingHole_65mil | MH1, MH2, MH3, MH4 |
| 2 | 12k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2 |
| 1 | Analog | Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical | J1 |
| 1 | Conn_01x02_Male | Connector_Molex:Molex_SL_171971-0002_1x02_P2.54mm_Vertical | J3 |
| 1 | Digital | Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical | J2 |
Similar boards
- 2 layers103 × 30.5 mm

- 2 layers31.8 × 47.6 mm

- 2 layers24 × 27.3 mm

Expansion Card Retrofit
FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop
9 parts1.1kCC-BY-4.0 - 2 layers15.6 × 17.3 mm

SKR Mini TFT Thermistor Board
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
9 parts1.1kGPL-3.0 - 2 layers39.1 × 49.5 mm

Learnoliver
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
9 parts915 - 2 layers17.4 × 16.9 mm

- 2 layers9.8 × 108 mm

- 2 layers

Keyboard after
adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing
9 parts547GPL-3.0
Questions
How big is the Levelsensor PCB?
It measures 43.2 × 17.8 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Levelsensor use?
9 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Levelsensor KiCad files?
From the cedarlakeinstruments/theselittlemachines repository on GitHub, at the commit this page was made from: the board is LiquidLevelSensor/CAD/levelsensor/levelsensor.kicad_pcb and its schematic LiquidLevelSensor/CAD/levelsensor/levelsensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Levelsensor design in my own project?
Its repository states no licence, so its author keeps all rights: ask cedarlakeinstruments before reusing the design.
