Solder a fused 12 V to 5 V power board on stripboard
Your first useful soldering project: a switched, fused board that turns 12 V into 5 V with its own voltmeter and plug-in outputs.
Shop by category
Shop all componentsIndustrial transmitters, VFDs and dimmers often output 0-10 V. The Waveshare 8-channel analog acquisition module measures eight such inputs and answers Modbus RTU requests over RS485. A USB to RS485 adapter connects it to a laptop. The script reads the eight input registers once a second and writes them to a CSV file. For a first test, a buck converter set to 10 V and a potentiometer make an adjustable signal.
Keep 0-10 V wiring separate from mains wiring in machines.
Tick anything you already have and the total updates.
Waveshare 8-channel 0-10 V analog input module (RS485)
Follow the colours: red is power, dark grey is ground, blue is a signal.
12 V adapter for the module and the test signal.
logger.pyimport csv, time, minimalmodbus
PORT = "/dev/ttyUSB0" # or "COM3"
dev = minimalmodbus.Instrument(PORT, 1) # default address 1
dev.serial.baudrate = 9600
dev.serial.timeout = 1
with open("analog_log.csv", "a", newline="") as f:
w = csv.writer(f)
while True:
mv = dev.read_registers(0, 8, functioncode=4) # input registers, millivolts
volts = [round(x / 1000, 3) for x in mv]
w.writerow([time.strftime("%Y-%m-%d %H:%M:%S")] + volts)
f.flush()
print(volts)
time.sleep(1)
A and B swapped, or the module's address or baud rate differs from the defaults.
Check the signal ground goes to AGND.
Check your module's manual for whether registers are mV or raw counts.
No, there is a separate 0-20 mA version for current loops.
Yes, any RS485 port that speaks Modbus RTU.
Many; give each a different address.
7 parts: Waveshare Industrial 8-Channel Analog Acquisition Module, 0–10V, RS485 Modbus, USB to RS485 Converter Adapter, Mini Buck Converter (MP1584 / Mini360), Rotary Potentiometer Module 10k (3-Pin), DC Power Adapter (5.5x2.1mm), Solderless Breadboard and Dupont Jumper Wires (40 pcs). Tools: Digital Multimeter. On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (logger.py).
About ₹3,132 for the parts at the prices on this page, plus tools if you do not have them. Quantity price breaks lower the cost when you build several.
0-10 V analog signals; Reading input registers over Modbus RTU; Logging to CSV.
Keep 0-10 V wiring separate from mains wiring in machines.
Your first useful soldering project: a switched, fused board that turns 12 V into 5 V with its own voltmeter and plug-in outputs.
Assemble a DSO138 kit and learn to read frequency, duty cycle and waveform shape on real signals.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.