Sound to RC Servo Driver v2.0 – Arduino Compatible

The project presented here is made for applications such as Animatronics, Puppeteer, sound-responsive toys, and robotics. The board is Arduino compatible and consists of LM358 OPAMP, ATMEGA328 microcontroller, microphone, and a few other components. The project moves the RC servo once receives any kind of sound.  The rotation angle depends on the sound level, the higher the sound level the biggest the movement, in other words, the movement of the servo is proportional to the sound level. The microphone picks up the soundwave and converts it to an electrical signal, this signal is amplified by LM358 op-amp-based dual-stage amplifier, D1 helps to rectify the sinewave into DC, and C8 works as a filter capacitor that smooths the DC voltage. ATmega328 microcontroller converts this DC voltage into a suitable RC PWM signal.

The project is Arduino compatible and an onboard connector is provided for the boot-loader and Arduino IDE programming. Arduino code is available as a download, and Atmega328 chips need to be programmed with a bootloader before uploading the code. Users may modify the code as per requirement. More information on burning the bootloader is here: https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoToBreadboard

Direct Audio Input: The audio input signal should not exceed 5V, It is important to maintain the input audio signal at this maximum level, otherwise it can damage the ADC of ATMEGA328.

Features

  • Supply 5V to 6V DC (Battery Power Advisable)
  • RC Servo Movement 180 Degrees with Loud sound
  • Direct Sound Input Facility Using 3.5MM RC Jack
  • On Board Jumper Selection for Micro-Phone Audio or External Audio Signal
  • On Board Trimmer Potentiometer to Adjust the Signal Sensitivity
  • Flexible Operation, Parameters Can be Changed using Arduino Code
  • PCB Dimensions 44.45 x 36.20 mm

Connections and Other Details

  • CN1 Arduino Programming and Boot-Load Connector: Pin 1 = TX, Pin 2 = RX, Pin 3 = Reset, Pin 4 = GND, Pin 5 = VCC 5V DC, Pin 6 = D11, Pin 7 = D12, Pin 8 = D13
  • CN2 Direct Audio Input: Optional, Pin 1 Audio from External Speaker, Pin 2 = GND
  • CN3 Stereo EP 3.5MM Female Connector for External Audio Signal Input from Speaker
  • CN4 DC Input: Pin 1 VDD 5V to 6V DC, Pin 2 GND
  • CN5: No USE – Optional
  • CN6: RC Servo
  • Jumper J1: Input Signal Source Selection (External Audio Signal or Microphone)
  • PR1 Trimmer Potentiometer: Audio Signal Level Adjust
  • MK1: Condenser Microphone

Arduino Programming

Schematic

Parts List

NOQNTY.REF.DESC.MANUFACTURERSUPPLIER SUPPLIER PART NO
11CN18 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5321-ND
21CN22 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5315-ND
31CN3STEREO SOCKET 3.5MM FEMALECUI DEVICESDIGIKEYCP1-3525N-ND
41CN42 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
51CN53 PIN MALE HEADER PITCH 2.54MM WURTHDIGIKEY732-5316-ND
61CN63 PIN MALE HEADER PITCH 2.54MM WURTHDIGIKEY732-5316-ND
71C110uF/10V CERAMIC SMD SIZE 0805MURATA/YAGEODIGIKEY
86C2,C3,C5,C12,C4,C6100nF/50V CERAMIC SMD SIZE 0805MURATA/YAGEODIGIKEY
91SHUNTSHUNT FOR JUMPERSULLINS CONNCTDIGIKEYS9001-ND
103U3,C7,R10DNP
111C810uF/50V SMD ELECTROLYTICWURTHDIGIKEY732-8451-1-ND
121C9470uF/16V SMD ELECTROLYTICELITEDIGIKEY4191-CEE1C471MCB08A5CT-ND
132C10,C1122PF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
142D1,D21N4148 SMDONSEMIDIGIKEYFDLL4148CT-ND
151D3LED RED SMD SIZE 0805LITE ON INCDIGIKEY160-1427-1-ND
161J13 PIN MALE HEADER PITCH 2.54MM WURTHDIGIKEY732-5316-ND
171MK1CONDENSOR MICEPUI AUDIODIGIKEY668-1484-ND
186R1,R2,R5,R6,R7,R1110K 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
193R3,R4,R131K 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
201R824K 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
211R91E 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
221R12 1M 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
231U1LM358 SMD SOIC8TIDIGIKEY296-18457-1-ND
241U2ATMEGA328TQPF-32MICROCHIPDIGIKEYATMEGA328PB-AURCT-ND
251X116MhzECS INCDIGIKEYX1103-ND
261PR110K TRIMMER POTKYOCERADIGIKEY478-601030-ND

Connections

Gerber View

[PCBGerberVTool url=”https://www.electronics-lab.com/wp-content/uploads/2023/05/GERBER-3.zip”]

Code

/*
 Controlling a servo position using a potentiometer (variable resistor)
 by Michal Rinott <http://people.interaction-ivrea.it/m.rinott>

 modified on 8 Nov 2013
 by Scott Fitzgerald
 http://www.arduino.cc/en/Tutorial/Knob
*/
  
#include <Servo.h>

Servo myservo;  // create servo object to control a servo

int potpin = A2;  // analog pin used to connect the potentiometer
int val;    // variable to read the value from the analog pin

void setup() {
  myservo.attach(6);  // attaches the servo on pin 6 to the servo object
}

void loop() {
  val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 60)
  val = map(val, 0, 60, 0, 180);     // scale it for use with the servo (value between 0 and 180)
  myservo.write(val);                  // sets the servo position according to the scaled value
  delay(15);                           // waits for the servo to get there
}

 

Photos

 

Video


Atmega328 Datasheet

LilyGO TTGO T5-4.7 E-Paper Weather Station

The LILYGO T5 4.7 inch E-Paper ESP32 Development Board is an exciting 4.7″ e-paper display integrated with an ESP32 WiFi/Bluetooth module. The board’s processor is ESP32-WROVER-E with 16MB of FLASH memory and 8MB of PSRAM. The ESP32 module supports Wi-Fi 802.11 b/g/n and Bluetooth V4.2+BLE and can easily be programmed with Arduino IDE, VS Code, or ESP-IDF. The board can be purchased on Alliexpress for 38.33 EUR + shipping or Tindie for 28.13 + shipping. This display is ideal for building a weather station that will fetch weather data from OpenWeatherMap via simple API usage. So in this tutorial, we will follow the steps to make a weather station like the photo above. We will work on a Windows PC to program the display, but the same can be done in Linux or Mac OS.

Specifications

  • MCU: ESP32-WROVER-E (ESP32-D0WDQ6 V3)
  • FLASH: 16MB
  • PRAM: 8MB
  • USB to TTL: CP2104
  • Connectivity: Wi-Fi 802.11 b/g/n & Bluetooth V4.2+BLE
  • Onboard functions: Buttons: IO39+IO34+IO35+IO0, Battery Power Detection
  • Power Supply: 18650 Battery or 3.7V lithium Battery (PH 2.0 pitch)
  • Driver IC: GDEH0213B72
  • 4.7 inches, 540(H)X960(V) resolution, , supports partial refresh
  • 6pin FPC touchscreen expansion connector
  • 16 Gray Level ED047C1
  • 4-pin 2.0 Molex 4 p 53015-0410 x 3
  • RST button x 1
  • Custom button x 3
  • USB: TYPE-C
  • Battery charge and discharge protection chip
  • USB input power 5V@1A
  • 4pin expansion interface output is 3.3V
  • Sleep mode current@~170uA

Requirements

First of all, we will need to install the USB to Serial (CH343) Drivers if we don’t have this done previously. Depending on your Windows version you will need:

Download and install Arduino IDE 2.0

Arduino IDE Configuration

Add ESP32 boards support

Click File, click Preferences, and select the Settings tab. Enter the following URL to Additional boards manager URLs: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Click Ok.

Next click Tools, and select Boards:  -> Boards Manager . It will open the left pane with a list of boards. Type ESP32 into the search field. Find ESP32 by Espressif Systems, and click Install.

Preparing the Code

Download LilyGo-EPD47 library to the C:\Users\YOUR_USERNAME\Documents\Arduino\libraries folder on your system:

Download and extract LilyGo-EPD-4-7-OWM-Weather-Display to your directory with Arduino projects. This directory is normally located in C:\Users\YOUR_USERNAME\Documents\Arduino.

The project folder name should match the name of the source code file (OWM_EPD47_epaper_v2.5). This is done to avoid the unnecessary step of moving the files later.

Open Arduino IDE 2.0, click File, -> Sketchbook, -> OWM_EPD47_epaper_v2.5.

The sketch requires ArduinoJson Library to successfully build.

Click Tools, ->Manage libraries. The pane with Library Manager will open, then type ArduinoJson into the search field. Find ArduinoJson by Benoit Blanchon, click Install.

Then click the tick button on the top menu to compile the code. If everything is successful it should show:

Once you verify that the code is compiled you can move on to the next step.

Configuring Parameters

Open the file owm_credentials.h and configure ssid, password, apikey, City, and Country.

The project is fetching data from openweathermap.org so you will need to create a new free account in order to get API key.

Power Saving

The project code supports power saving, so if you’re flashing in the early before 08.00 or after 23.00, you might notice that nothing appears on the display.

To change the power-saving options open file OWM_EPD47_epaper_v2.5.ino and change WakeupHour and SleepHour to a value that suits your schedule.

Uploading the Code

Connect the LilyGO T5 4.7-inch e-paper display to your PC-> Select the board from the dropdown in the toolbar. Search for the ESP32 Wrover module and click Ok.

Click the Upload button.

If the flashing is successful, your weather will be displayed on the e-paper like the photos below.

Photos



References

SafeBee – A GPS Tracker for Beehives

This is an original design of a GPS tracker designed on Elab and it is intended to be used as a security device for beehives, but it is not limited to this. It can be used everywhere a motion-activated GPS tracker is needed, like your car, bike, or even your boat. It is a GPS tracker controlled by simple SMS commands and designed for reliability, low power consumption, and ease of use. It features a MEMS accelerometer that is used to intelligently detect movement and once triggered it will power on the GPS module and will try to acquire the current coordinates. The location details will be transmitted to the owner’s smartphone via a simple SMS and then follow update the coordinates at predefined intervals.

Key Features:

  • Remote management via simple SMS commands
  • High reliability – no need to babysit the tracker due to crashes and resets
  • Long battery life – over 1 year standby on a single charge (2500mAh battery)
  • 3-axis high-sensitivity MEMS Accelerometer
  • Intelligent Triggering – it will not be triggered by accidental movement
  • Selectable Trigger Sensitivity Level

Description of Operation

The tracker has 3 main modes of operation, detailed below:

  1. Standby
  2. Ready
  3. Tracking

Standby mode

In standby mode, the GSM and GPS modules are powered down and the microcontroller is in sleep mode, resulting in a current draw of approximately 70uA, mainly by the accelerometer (MMA7660). The accelerometer is used to detect movement caused by a possible thief. If the accelerometer is triggered 1 or 2 or 3 times (depending on the sensitivity level) inside of a 60-second window then the device will enter tracking mode. While in standby mode the tracker will also enter ready mode approximately every 12 hours, triggered by the microcontroller’s internal RTC. This is to check for incoming commands and battery status etc.

Ready mode

The ready mode is entered by the microcontroller’s internal RTC and when the tracker is first powered on. In this mode, the tracker will power up the GSM module and wait for any SMSs to come in and process them. The tracker will stay in ready mode for 5 minutes before returning to standby mode unless an SMS command has instructed the device to enter tracking mode (BEE+TRIGGER).

Tracking mode

Tracking mode is entered when manually instructed to by the BEE+TRIGGER command or after the accelerometer triggers (1 or 2 or 3 movements detect depending on sensitivity level) within a 60-second window, from either standby or ready modes. In tracking mode, the tracker will power up both the GSM and GPS modules and begin to send tracking alert SMSs to the number configured by the BEE+NUMBER command. The device will continue to stay in tracking mode until the BEE+CLEAR command is received or while the accelerometer is detecting movement and/or the GPS module has a lock and the speed is greater than 10KPH. If neither of these conditions is met for 6 minutes then the tracker will send a tracking stopped SMS and return to standby mode, or ready mode if the RTC was triggered within the last 5 minutes.

Power up and Battery Status

In ready and tracking modes if the battery voltage falls below the threshold voltage (3650mV default) then a low battery alert SMS will be sent to the number configured by BEE+NUMBER. Approximately every 30 days (60 RTC triggers) an automated status SMS is also sent to the number configured by BEE+NUMBER.

When power is first applied to the device the tracker will be in ready mode and it will check for incoming SMS and then go to sleep. This is the ideal time to configure the tracker with the BEE+NUMBER number. This is the number that tracking messages, monthly status reports, and low battery alerts will be sent. The phone number is stored in the microcontroller’s FLASH memory and it will be permanently saved, even if battery power is removed. At power-up, the tracker will send a status SMS and also ignore any movement detected by the accelerometer for the first 60 seconds.

The Hardware

 

Hover images for details

Block Diagram

MCU

STM32F030K6

The tracker uses an ST STM32F030K6 microcontroller (ARM Cortex-M0, 32-bit RISC core), with 32KB of flash, and 4KB of RAM, and operates at up to 48MHz. The STM32F030K6 microcontroller operates in the -40 to +85 °C temperature range from a 2.4 to 3.6V power supply. A comprehensive set of power-saving modes allows the design of low-power applications. Currently, the firmware is taking roughly 24KB of flash (with debugging output enabled) and 1.7KB of RAM. The microcontroller is running at 8MHz and is supplied with 3V.

GSM module

SIMCom SIM800C
SIMCom SIM800C

The GSM module is a SIMCom SIM800C and uses the UART bus to communicate with the MCU. The GSM module is power-gated with a P-MOSFET, controlled by the MCU, as its own low-power modes are not sufficient for this project. SIM800C supports Quad-band 850/900/1800/1900MHz, it can transmit Voice, SMS and data information with low power consumption. With a tiny size of 17.6*15.7*2.3mm, it can smoothly fit into our small board. The module is controlled via AT commands and has a supply voltage range 3.4 ~ 4.4V.

GPS module

u-blox NEO-6M

The GPS module is a u-blox NEO-6M and uses the I2C bus to communicate with the MCU. There is also a UART connection to the microcontroller as a fallback if the I2C interface does not work (usually the case with Chinese fakes). So, the tracker will work with the original NEO-6M as well as Chinese fake modules. The microcontroller implements the UART interface in software (via timer interrupts), operating at 9600 baud. The GPS module is power-gated with a P-MOSFET, controlled by the MCU, as its own low-power modes are not sufficient. The NEO-6M is powered in the range of 2.7 – 3.6V and has a size of 12.2 x 16 x 2.4mm. More details and design considerations can be found in the Hardware Integration Manual of NEO-6 GPS Modules Series and u-blox 6Receiver Description.

Supported GPS modules:

  • U-blox NEO-5M
  • U-blox NEO-6M
  • U-blox NEO-7M
  • U-blox NEO-M8N
  • Various Chinese fakes using AT6558 and similar (if the PCB footprint is the same then it will probably work)

Accelerometer

MMA7660FC

The accelerometer IC is the MMA7660FC and uses the I2C bus to communicate with the MCU. The MMA7660FC is a ±1.5 g 3-Axis Accelerometer with Digital Output (I2C). It is a very low power, low profile capacitive MEMS sensor featuring a low pass filter, compensation for 0g offset and gain errors, and conversion to 6-bit digital values at a user-configurable sample per second. In OFF Mode it consumes 0.4 μA, in Standby Mode: 2 μA, in Active mode 47 μA and is powered in the range 2.4 V – 3.6 V. The accelerometer is always active, set up to create an interrupt whenever a shake or orientation change is detected, and is configured with a sampling rate of 8Hz (higher sampling rates improve detection, but also increase power consumption). The interrupt will wake up the microcontroller, where it will run through the main loop. In this loop it checks the interrupt status, and if set it will clear the interrupt and increment a counter at a maximum of once per second. The counter is reset every minute. If the counter reaches 3 the tracker is activated.

Battery Charger

MCP73832

The Li-Ion battery charging IC is MCP73832, which has a user-programmable charge current and the battery charge rate is set to 450mA. It includes an integrated pass transistor, integrated current sensing, and reverse discharge protection. It is usually recommended to charge Lithium batteries at no more than 0.5C, so the recommended minimum battery capacity to use with the tracker is 900mAh.

Schematic

Parts List

ItemRef.MPNLCSC.comQuantity
1R1, R5, R6, R7, R8, R9, R10, R160805W8J0472T5EC260228
2R2CR0805J80222GC1019701
3R3, R4, R11, R12, R15, R17, R18, R22, R23RC0805JR-0710KLC1000479
4R13RTT0510R0FTPC1039251
5R140805W8J0102T5EC256231
6R19, R20, R21RC0805JR-0722RLC1084063
7C1, C2, C21CL21A475KAQNNNEC17793
8C3, C4CC0805KKX7R8BB105C911862
9C5, C6, C7, C9, C10, C11, C13, C15, C17, C19TCC0805X7R104K500DTC28273210
10C8CC0805KRX7R9BB472C1071531
11C12SS-101M1ASA-0605C3116761
12C16DON’T PLACEDON’T PLACE0
13C180805CG101J500NTC820281
14C200805CG220J500NTC246581
15Q1, Q2DMP2035U-7C1104992
16Q3PUMD13,115C1931711
17U1STM32F030K6T6C468301
18U2MCP1700T-3002E/TTC622441
19U3DON’T PLACEDON’T PLACE0
20U4MCP73832T-2ACI/OTC380661
21U5PESD5V0L5UYC3300931
22U6SIM800C 24MbitC691191
23U7MMA7660FCR1 https://www.aliexpress.com/item/32834701234.html1
24LED1, LED2, LED3, LED4FC-DA1608HRK-620DC842634
25D1BZT52H-B5V1,115C1793751
26L1AISC-0805-R056J-TC1869561
27GPS/GSM Antenna connectorU.FL-R-SMT-1(80)C883742
28SIM1Micro SIM Slothttps://www.aliexpress.com/item/32786308183.html1
29USBmicro USB socket 5pinhttps://www.aliexpress.com/item/32768317385.html1
30P1JST 2PIN CONNECTORhttps://www.aliexpress.com/item/5-SETS-Mini-Micro-JST-2-0-PH-2-Pin-Connector-plug-with-Wires-Cables-120MM/32711927418.html1

Battery Life

With a 2500mAh battery, standby current of 70uA, and waking up every 12 hours for 5 minutes with an estimated average current of 15mA the battery life should be approximately 1.5 years. A poor GSM signal can reduce battery life.

Status LEDs

LEDDescriptionStates
LED1Battery charging stateOFF: Battery not charging (no USB power or battery fully charged)
ON: Charging
LED2GSM stateOFF: GSM is powered off
FAST BLINK: GSM is not connected to a network (usually no signal or no SIM)
SLOW BLINK: GSM is connected to the network
LED3MCU Operating modeOFF: Standby mode
ON: Ready or tracking mode
LED4GPS stateOFF: GPS is powered off
FAST BLINK: GPS is acquiring a lock
SLOW BLINK: GPS has a lock

SMS Commands

CommandDescription
BEE+STATUSReturns battery voltage - temperature - GSM signal strength - tracking enabled - is tracking - last GPS coordinates -sensitivity level.
BEE+CLEARIf the tracker has been triggered this will clear it and stop tracking until the next trigger.
BEE+TRIGGERManually trigger tracking (will trigger even if disabled with BEE+DISABLE). Tracking will stay enabled until BEE+CLEAR is received.
BEE+ENABLEEnable tracking triggers
BEE+DISABLEDisable tracking triggers.
BEE+NUMBER=0123499988This sets the mobile number to send tracking - low battery warning and monthly status SMSs to. Other command replies are sent to the number that the command was sent from.
BEE+NUMBER=+441234999888International numbers must start with + then the country code.
BEE+SENSE=1/2/3This is the sensitivity level - 1 high sensitivity - 2 medium sensitivity - 3 low sensitivity.

SMS SENT BY THE TRACKER

SMSFormatExample
Status (BEE+STATUS and automated status)BAT: (batt level)% (batt voltage)mV (low batt thres mV)
TMP: (temperature)C
TRK: (is tracking) ()
SIG: (signal)/31
GPS: (status) (lon,lat - speed KPH - time date)
NUM: (SMS number)
SEN: (Sensitivity Level)
BAT: 90% 4020mV (3650mV)
TMP: 23C
TRK: Y (Y)
SIG: 18/31
GPS: LOCKED (11.12345,8.05234 - 64 KPH - 23:10:09 18-09-21)
NUM: 01234567890
SEN: 1
TrackingTRK: (status: LOCKED | NO LOCK | STOP) https://maps.google.com/maps?q=loc:lon,lat - speed KPH - time dateTRK: (LOCKED) https://maps.google.com/maps?q=loc:11.12345,8.05234 - 64 KPH - 23:10:09 18-09-21
Low BatteryLOW BATTERY: (battery voltage)mV (threshold voltage mV)LOW BATTERY: 3400mV (3650mV)

Programming

The device firmware can be programmed via the SWD interface, which is the 4-pin programming header on the PCB marked RST (reset), SWD (SWDIO), SWC (SWCLK) and GND (ground). An ST-LINK/V2 USB adapter is needed to program the device, which is available from ebay, aliexpress, and other places for less than £3.

3D Render

3D Render of the board on KeyShot 11 Pro

Debugging

Debugging data is sent out of the UART interface through the TX pin of the debugging header on the PCB, at 115200 baud. This pin is also shared with the SWD interface (SWC). The RX pin is unused but made available for possible use in the future.

Format

(<time>)(<module>)<message>
“time” is in milliseconds and only increments while the microcontroller is not in standby mode. “module” is either “DBG” (general messages), “TRK” (tracker), “GSM”, “GPS”, “SMS”, “MGR” (MGR is the SMS manager which controls when queued SMSs are sent, retried etc.)

START
SafeBee Tracker
http://zakkemble.co.uk
FW: 1.0.0 180407 (Built: Apr 7 2018 16:38:32)
(1634)(TRK)CONFIG
(1636)(TRK)Number: (Type: 129) "0000000000"
(1640)(TRK)Track interval: 180
(1643)(TRK)Wake duration: 300
(1647)(TRK)Trig idle: 360
(1649)(TRK)Low batt thres: 3650
(1654)(TRK)TRIG SECS: 1
(1657)(GSM)** ON **
(4000)(GSM)** POWERON **
(4502)(GSM)** CMDDELAY **
(4505)(GSM)CMD DELAY
(4507)(GSM)PWR SAVE OFF (5007)(GSM)CMD SEND

Enclosure

A 3D model of the enclosure is designed using Solidworks with overall dimensions of 60 x 20 x 112 mm. The enclosure has two holes, one for the charging micro USB connector and one to fit a mini rocker power switch. The provided design files (download .STEP and .STL files below) can be used to print your own enclosure in your desired color and material. The screws used to secure the enclosure are M3 x 10mm countersunk screws. Design is made by professional engineer janangachandima and you can find his services on the Fiverr page.


3D Enclosure View

Code

The source code and .hex file are available as a download below. Also, the Eagle design files are available.

12V to 24V @ 1A Step-up switching regulator using LM2585

Schematic

Description

This is a DC-DC step-up converter based on LM2585-ADJ regulator manufactured by Texas Instruments. This IC was chosen for its simplicity of use, requiring minimal external components and for its ability to control the output voltage by defining the feedback resistors (R1,R2). NPN switching/power transistor is integrated inside the regulator and is able to withstand 3A maximum current and 65V maximum voltage. Switching frequency is defined by internal oscillator and it’s fixed at 100KHz.

LM2585_pinout
The power switch is a 3-A NPN device that can standoff 65 V. Protecting the power switch are current and thermal limiting circuits and an under-voltage lockout circuit. This IC contains a 100-kHz fixed-frequency internal oscillator that permits the use of small magnetics. Other features include soft start mode to reduce in-rush current during start-up, current mode control for improved rejection of input voltage, and output load transients and cycle-by-cycle current limiting. An output voltage tolerance of ±4%, within specified input voltages and output load conditions, is specified for the power supply system.

Specifications

  • Vin: 10-15V DC
  • Vout: 24V DC
  • Iout: 1A (can go up to 1.5A with forced cooling)
  • Switching Frequency: 100KHz

Schematic is a simple boost topology arrangement based on datasheet. Input capacitors and diode should be placed close enough to the regulator to minimize the inductance effects of PCB traces. IC1, L1, D1, C1,C2 and C5,C6 are the main parts used in voltage conversion. Capacitor C3 is a high-frequency bypass capacitor and should be placed as close to IC1 as possible.

All components are selected for their low loss characteristics. So capacitors selected have low ESR and inductor selected has low DC resistance.

At maximum output power, there is significant heat produced by IC1 and for that reason, we mounted it directly on the ground plane to achieve maximum heat dissipation.

Block Diagram

Measurements

CH1: Output Voltage ripple with 12V Input and 24V @ 500mA output – 5.3 Vpp – CH2: voltage at PIN 4 of IC1
CH1: Output Voltage ripple with 12V Input and 24V @ 1A output – 4.6Vpp – CH2: voltage at PIN 4 of IC1

Thermal Performance

Vin= 12V , Vout = 24V @ 500mA
Vin= 12V , Vout = 24V @ 1A

Photos

If you would like to receive a PCB, we can ship you one for 6$ (worldwide shipping) click here to contact us

Parts List

PartValuePackageMPNMouser No
C1 C233uF 25V 1Ω6.3 x 5.4mmUWX1E330MCL1GB647-UWX1E330MCL1
C30.1uF 50V 0Ω1206C1206C104J5RACTU80-C1206C104J5R
C41uF 25V1206C1206C105K3RACTU80-C1206C105K3R
C5 C6220uF 35V 0.15Ω10 x 10.2mmEEE-FC1V221P667-EEE-FC1V221P
D10.45 V 3A 40V SchottkySMBB340LB-13-F621-B340LB-F
IC1LM2585S-ADJTO-263LM2585S-ADJ/NOPB926-LM2585S-ADJ/NOPB
L1120 uH 0.04Ω30.5 x 25.4 x 22.1 mmPM2120-121K-RC542-PM2120-121K-RC
R128 KΩ1206ERJ-8ENF2802V667-ERJ-8ENF2802V
R2 R31.5 KΩ1206ERJ-8ENF1501V667-ERJ-8ENF1501V
R41 KΩ1206RT1206FRE07931KL603-RT1206FRE07931KL
LED1RED LED 20mA 2.1V0805599-0120-007F645-599-0120-007F

Connections

 

Gerber View

Simulation

We’ve done a simulation of the LM2585 step-up DC-DC converter using the TI’s WEBENCH online software tools and some of the results are presented here.

The first graph is the open-loop BODE graph. In this graph, we see a plot of GAIN vs FREQUENCY in the range 1Hz – 1M and PHASE vs FREQUENCY in the same range. This plot is useful as it gives us a detailed view of the stability of the loop and thus the stability and performance of our DC-DC converter.

simulation_1

Bode plot of open control loop

What’s interesting on this plot is the “phase margin” and “gain margin“. The gain margin is the gain for -180deg phase shift and phase margin is the phase difference from 180deg for 0db gain as shown in the plot above. For the system to be considered stable there should be enough phase margin (>30deg) for 0db gain or when phase is -180deg the gain should be less than 0db.

On the plot above we see that the phase margin is ~90deg and that ensures that the DC-DC converter will be stable over the measured range.

The next simulation graph is the Input Transient plot over time.

simulation_2

Input Transient simulation

In this plot, we see how the output voltage is recovering when the input voltage is stepped from 10V to 15V. We see that 4ms after the input voltage is stepped the output has recovered to the normal output voltage of 24V.

The next graph is the Load Transient.

simulation_3

Load Transient simulation

Load transient is the response of output voltage to sudden changes of load or Iout. We see that the output current suddenly changes from 0,1A to 1A and that the output voltage drops down to 23,2V until it recovers in about 3ms. We also see that when the load is reduced from 1A to 0,1A, output voltage spikes up to ~25,5V, then rings until it recovers to 24V in about 4ms.

The last graph shows the Steady State operation of DC-DC converter @ 1A output.

simulation_4

This graph shows the simulated output voltage ripple and inductor current. We see that output voltage ripple is ~0,6Vpp and the inductor current has a peak current of 2,4A. The inductor we used is rated at max 5,6A DC so it can easily withstand such operating current and without much heating of the coil.

Operating point data (Vin=13V, Iout=1A)

Operating Values
Pulse Width Modulation (PWM) frequency Frequency 100 kHz
Continuous or Discontinuous Conduction mode Mode Cont
Total Output Power Pout 24.0 W
Vin operating point Vin Op 13.00 V
Iout operating point Iout Op 1.00 A
Operating Point at Vin= 13.00 V,1.00 A
Bode Plot Crossover Frequency, indication of bandwidth of supply Cross Freq 819 Hz
Steady State PWM Duty Cycle, range limits from 0 to 100 Duty Cycle 48.3 %
Steady State Efficiency Efficiency 93.2 %
IC Junction Temperature IC Tj 65.2 °C
IC Junction to Ambient Thermal Resistance IC ThetaJA 34.9 °C/W
Current Analysis
Input Capacitor RMS ripple current Cin IRMS 0.14 A
Output Capacitor RMS ripple current Cout IRMS 0.48 A
Peak Current in IC for Steady State Operating Point IC Ipk 2.2 A
ICs Maximum rated peak current IC Ipk Max 3.0 A
Average input current Iin Avg 2.0 A
Inductor ripple current, peak-to-peak value L Ipp 0.50 A
Power Dissipation Analysis
Input Capacitor Power Dissipation Cin Pd 0.01 W
Output Capacitor Power Dissipation Cout Pd 0.035 W
Diode Power Dissipation Diode Pd 0.45 W
IC Power Dissipation IC Pd 1.0 W
Inductor Power Dissipation L Pd 0.16 W

Configuring Output Voltage

The output voltage is configured by R1, R2 according to the following expression (Vref=1,23V)

VOUT = VREF (1 + R1/R2)

If R2 has a value between 1k and 5k we can use this expression to calculate R1:

R1 = R2 (VOUT/VREF − 1)

For better thermal response and stability it is suggested to use 1% metal film resistors.

Measurements

measurements_1

measurements_2

Video

LM2585-ADJ Datasheet

HV Nixie DC-DC Switching Power Supply

Nixie tubes need about ~180Vdc to light up and thus on most devices, a DC-DC converter is needed. Here we designed a simple DC-DC switching regulator capable of powering most of Nixie tubes. The board accepts 12Vdc input and gives an output of 150-250Vdc. The board is heavily inspired by Nick de Smith’s design.

Description

The module is based on the MAX1771 Step-Up DC-DC Controller. The controller works up to 300kHz switching frequency and that allows the usage of miniature surface mount components. In the default configuration, it accepts an input voltage from 2V to Vout and outputs 12V, but in this module, the output voltage is selected using the onboard potentiometer and it’s in the range 150-250Vdc. The maximum output current is 50mA @ 180Vdc.

The MAX1771 is driving an external N-channel MOSFET (IRF740) and with the help of the inductor and a fast diode, high voltage is produced.

MOSFET has to be low RDSon, the diode has to be fast Mttr, typically < 50nS, and capacitors have to be low ESR type to have good efficiency.

Precautions must be taken as this power supply uses high voltages. Build it only if you know what you are dealing with. Don’t touch any of the parts while in use.
Pay attention on the placement of C1 tantalum capacitor, as the bar indicates the anode (positive lead)

Schematic

Parts List

PartValueLCSC.com
R11.5M - 0805 SMDC118025
R310k 0805C269724
R45k trimmer SMDC128557
Rs0.05 Ohm - 0805 SMDC149662
C1100uF Tantalium SMDC122302
C2, C3100nF - 0805 SMDC396718
C44.7uF / 250V SMDC88702
C5100nF / 250V SMD 1210C52020
ICMAX1771 SO-8C407903
L1100uH / 2.5 AC2962892
Q1IRF740 D2PAK (TO-263-2)C39238
D2ES2F-E3, ES2GBC145321, C2844160
X1, X2Screw Terminal - P=3.5mmC474892

Oscilloscope Measurements

Yellow is the MOSFET Gate voltage and Green the output high voltage (~180Vdc). We see that the transistor switches with a low frequency of 146Hz and with a peak gate voltage of 12.8V
zoom in to the above short pulses reveals 3x pulses with 48.7Khz frequency to the gate of MOSFET. Also, the peak to peak ripple on output is 6V
further zoom to the output ripple reveals some short ringing and the peak ripple voltage.

Efficiency

The module’s efficiency is calculated for two output currents (50mA and 25mA) at 180Vdc voltage output and 12V input. In the first case, the Pout = 8.1W while the Pin=10.96W, so efficiency is calculated at 73.9%. In the second case, the Pout = 4.1W while the Pin=5.52W, so efficiency is calculated at 74.2%. We see that for lower currents efficiency is a little greater than for the maximum current of 50mA.

Gerber View

[PCBGerberVTool url=”https://www.electronics-lab.com/wp-content/uploads/2020/06/EL35901_GERBERS.zip”]

Photos

If you would like to receive a PCB, we can ship you one for 6$ (worldwide shipping) click here to contact us

MAX1771 Datasheet

7-segment Mini Clock using PIC16F628A and DS1307 RTC

This is a minimal and small clock based on PIC16F628A microcontroller and DS1307 RTC IC. It is able to only show the time on a small 7-segment display with a total of 4 segments. The display we used is a 0.28″ SR440281N RED common cathode display bought from LCSC.com, but you can use other displays as well such as the 0.56″ Kingbright CC56-21SRWA. This project is heavily inspired by the “Simple Digital Clock with PIC16F628A and DS1307” in the case of schematic and we also used the same .hex as”Christo”.

Schematic

The schematic is straight forward. The heart is the PIC16F628A microcontroller running on the internal 4MHz oscillator, so no external crystal is needed. This saves us 2 additional IOs. The RESET Pin (MCLR) is also used as input for one of the buttons. All display segments are connected to PORTB and COMs are connected to PORTA. The RTC chip is also connected to PORTA using the I2C bus.

The refresh rate of the digits is about 53Hz and there is no visible flickering. The display segments are time-multiplexed and this makes them appear dimmer than the specifications. To compensate we are going to use some low resistors on the anodes. “Christo” tested it with different values for current limiting resistors R1-R7 and below 220Ω the microcontroller starts to misbehave (some of the digits start to flicker) above 220 Ohm everything seems OK. On the display we used the two middle dots are not connected to any pin on the package, so for the seconds’ indicators, we used the “comma” dots. These pins are connected to the SQW pin of the DS1307, which provides a square wave output with 1 sec period. The SQW pin is open drain, so we need to add a pull-up resistor. Τhe value of this resistor is chosen at 470Ω, after some trial and error testing. On the input side of the MCU, there are two buttons for adjusting the MINUTES and HOURS of the clock as indicated on the schematic. Onboard there is also an ICSP Programming connector, to help with the firmware upload. Finally, there is one unused pin left (RB7), which can be used for additional functionality, like adding a buzzer or an additional LED.

The DS1307 RTC needs an external crystal to keep the internal clock running and a backup battery to keep it running while the main power is OFF. So, the next time you power ON the clock the time would be current. To keep the overall board dimensions small we used a CR1220 battery holder with the appropriate 3V battery. Power consumption is about 35-40mA @ 5V input.

Code

According to the author, the code is written and compiled with MikroC Pro and uses the build-in software I2C library for communicating with RTC chip. If you want to use MPLAB IDE for compiling the code you should write your own I2C library from scratch. For programming the board we used PICkit 3 programmer and software. In this case, in the “Tools” menu check the option “Use VPP First Program Entry“.

PIC Programmer Configuration

The code for this project is listed below. Additionally, you will need the “Digital Clock (PIC16F628A, DS1307, v2).h” file which can be found on the .zip in downloads below. Compiled .hex file is also provided on the same .zip file.

#include "Digital Clock (PIC16F628A, DS1307, v2).h"
#define b1 RA6_bit
#define b2 RA5_bit

// b1_old, b2_old - old state of button pins
// hour10, hour1 - tens and ones of the hour
// min10, min1 = tens and ones of the minutes
byte b1_old, b2_old, hour1, hour10, min1, min10;

// definitions for Software_I2C library
sbit Soft_I2C_Scl           at RA0_bit;
sbit Soft_I2C_Sda           at RA7_bit;
sbit Soft_I2C_Scl_Direction at TRISA0_bit;
sbit Soft_I2C_Sda_Direction at TRISA7_bit;


//  correct bits for each digit
//     RB6 RB5 RB4 RB3 RB2 RB1 RB0
//     g   f   e   d   c   b   a
//  0: 0   1   1   1   1   1   1   0x3F
//  1: 0   0   0   0   1   1   0   0x06
//  2: 1   0   1   1   0   1   1   0x5B
//  3: 1   0   0   1   1   1   1   0x4F
//  4: 1   1   0   0   1   1   0   0x66
//  5: 1   1   0   1   1   0   1   0x6D
//  6: 1   1   1   1   1   0   1   0x7D
//  7: 0   0   0   0   1   1   1   0x07
//  8: 1   1   1   1   1   1   1   0x7F
//  9: 1   1   0   1   1   1   1   0x6F
// BL: 0   0   0   0   0   0   0   0x00

const byte segments[11] = {0x3F, 0x06, 0x5B, 0x4F, 0x66, 0x6D, 0x7D, 0x07, 0x7F, 0x6F, 0x00};


//***********************************************//
//   Sets read or write mode at select address   //
//***********************************************//
void DS1307_Select(byte Read, byte address) {
     Soft_I2C_Start();
     Soft_I2C_Write(0xD0);       // start write mode
     Soft_I2C_Write(address);    // write the initial address
     if (Read) {
        Soft_I2C_Stop();
        Soft_I2C_Start();
        Soft_I2C_Write(0xD1);    // start read mode
     }
}

//********************************//
//   Initialize the DS1307 chip   //
//********************************//
void DS1307_Init() {
     byte sec, m, h;
     DS1307_Select(1, 0);                 // start reading at address 0
     sec = Soft_I2C_Read(1);              // read seconds byte
     m = Soft_I2C_Read(1);                // read minute byte
     h = Soft_I2C_Read(0);                // read hour byte
     Soft_I2C_Stop();
     if (sec > 127) {                     // if the clock is not running  (bit 7 == 1)
        DS1307_Select(0, 0);              // start writing at address 0
        Soft_I2C_Write(0);                // start the clock (bit 7 = 0)
        Soft_I2C_Stop();
        DS1307_Select(0, 7);              // start writing at address 7
        Soft_I2C_Write(0b00010000);       // enable square wave output 1 Hz
        Soft_I2C_Stop();
     }
     m = (m >> 4)*10 + (m & 0b00001111);  // converting from BCD format to decimal
     if (m > 59) {
        DS1307_Select(0, 1);              // start writing at address 1
        Soft_I2C_Write(0);                // reset the minutes to 0
        Soft_I2C_Stop();
     }
     if (h & 0b01000000) {                // if 12h mode (bit 6 == 1)
        if (h & 0b00100000)               // if PM (bit 5 == 1)
           h = 12 + ((h >> 4) & 1)*10 + (h & 0b00001111);
        else
           h = ((h >> 4) & 1)*10 + (h & 0b00001111);
     }
     else
        h = ((h >> 4) & 3)*10 + (h & 0b00001111);
     if (h > 23) {
        DS1307_Select(0, 2);              // start writing at address 2
        Soft_I2C_Write(0);                // reset the hours to 0 in 24h mode
        Soft_I2C_Stop();
     }
}


void incrementH() {     // increments hours and write it to DS1307
     hour1++;
     if ((hour10 < 2 && hour1 > 9) || (hour10 == 2 && hour1 > 3)) {
        hour1 = 0;
        hour10++;
        if (hour10 > 2)
           hour10 = 0;
     }
     DS1307_Select(0, 2);
     Soft_I2C_Write((hour10 << 4) + hour1);
     Soft_I2C_Stop();
}


void incrementM() {     // increments minutes and write it to DS1307
     min1++;
     if (min1 > 9) {
        min1 = 0;
        min10++;
        if (min10 > 5)
           min10 = 0;
     }
     DS1307_Select(0, 0);
     Soft_I2C_Write(0);                       // reset seconds to 0
     Soft_I2C_Write((min10 << 4) + min1);     // write minutes
     Soft_I2C_Stop();
}

void main(){
     // pos: current digit position;
     // counter1, counter2: used as flag and for repeat functionality for the buttons
     // COM[]: drive the common pins for the LED display
     byte pos, counter1, counter2, COM[4] = {0b11101111, 0b11110111, 0b11111011, 0b11111101};
     CMCON = 0b00000111;             // comparator off
     TRISA = 0b01100000;
     TRISB = 0b00000000;
     b1_old = 1;
     b2_old = 1;
     counter1 = 0;
     counter2 = 0;
     pos = 0;
     Soft_I2C_Init();
     DS1307_Init();
     while (1) {
           DS1307_Select(1, 1);      // select reading at address 1
           min1 = Soft_I2C_Read(1);  // read minutes byte
           hour1 = Soft_I2C_Read(0); // read houts byte
           Soft_I2C_Stop();
           min10 = min1 >> 4;
           min1 = min1 & 0b00001111;
           hour10 = hour1 >> 4;
           hour1 = hour1 & 0b00001111;
           if (b1 != b1_old) {        // if the button1 is pressed or released
              b1_old = b1;
              counter1 = 0;
           }
           if (!b1_old) {             // if the button1 is pressed
              if (counter1 == 0)
                 incrementH();        // increment hour
              counter1++;
              if (counter1 > 50)      // this is repeat functionality for the button1
                 counter1 = 0;
           }
           if (b2 != b2_old) {        // if the button2 is pressed or released
              b2_old = b2;
              counter2 = 0;
           }
           if (!b2_old) {             // if the button2 is pressed
              if (counter2 == 0)
                 incrementM();        // increment minutes and reset the seconds to 0
              counter2++;
              if (counter2 > 50)      // this is repeat functionality for the button2
                 counter2 = 0;
           }

           TRISA = TRISA | 0b00011110;       // set all 4 pins as inputs
           switch (pos) {                    // set proper segments high
             case 0: PORTB = segments[hour10]; break;
             case 1: PORTB = segments[hour1]; break;
             case 2: PORTB = segments[min10]; break;
             case 3: PORTB = segments[min1]; break;
           }
           TRISA = TRISA & COM[pos];         // set pin at current position as output
           PORTA = PORTA & COM[pos];         // set pin at current position low
           pos++;                            // move to next position
           if (pos > 3) pos = 0;
     }
}

PCB

PCB is designed with Autodesk EAGLE and design files are available in downloads below. The overall dimensions of the board are 35.56 x 36.61 mm and we used almost SMD components.

Spare PCBs are available for shipment around the world. If you would like to get some drop us a line.
PCB top side

 

PCB bottom side

Autodesk EAGLE file Viewer

Parts List

PartValueSize
R1 to R7220Ω0805
R8-R910k0805
R10470Ω0805
R11-R1210k0805
C1-C2100nF0805
C3100uF/16VSMD
Q132768Hz CrystalTH
IC1PIC16F628A-I/SSSSOP20
IC2DS1307Z+SO8
LED DisplaySR440281N0.28"
BT1CR1220 BAT holderBS-1220-2
JP1PIN Header6 PINs
CN1JST PH Connector2 PINs
ButtonsPTCF-V-T/R4.7*4.5*1.67

Photos

Video

PIC16F628A Datasheet

DS1307 Datasheet

60V to 5V @ 3.5A Buck converter with USB output

This is a 60V to 5V – 3.5A step down DC-DC converter based on TPS54360B from Texas Instruments. Sample applications are: 12 V, 24 V and 48 V industrial, Automotive and Communications Power Systems. The TPS54360 is a 60V, 3.5A, step down regulator with an integrated high side MOSFET. The device survives load dump pulses up to 65V per ISO 7637. Current mode control provides simple external compensation and flexible component selection. A low ripple pulse skip mode reduces the no load supply current to 146 μA. Shutdown supply current is reduced to 2 μA when the enable pin is pulled low.

Under-voltage lockout is internally set at 4.3 V but can be increased using the enable pin. The output voltage start up ramp is internally controlled to provide a controlled start up and eliminate overshoot. A wide switching frequency range allows either efficiency or external component size to be optimized. Frequency fold back and thermal shutdown protects internal and external components during an overload condition.

Note: The output voltage is set by a resistor divider from the output node to the FB terminal. It is recommended to use 1% tolerance or better divider resistors, choose R5, R6 for other output voltages.

It is strongly recommended to use adequate air flow over the board to ensure it doesn’t go at thermal shutdown. See thermal profile below.

Setting Output Voltage

The following table lists the R5 values for some common output voltages assuming R6= 10.0kΩ

Features

  • Supply Input 8.5V-60V
  • Output 5V (Output Voltage adjustable with R5, R6)
  • Output Current 3.5A
  • 100 kHz to 2.5 MHz Switching Frequency
  • Optional JST connector for 5V Fan
  • Current Mode Control DC-DC Converter
  • Integrated 90-mΩ High Side N-Channel MOSFET
  • High Efficiency at Light Loads with Pulse Skipping Eco-mode™
  • Low Dropout at Light Loads with Integrated BOOT Recharge FET
  • 146 μA Operating Quiescent Current
  • 1 µA Shutdown Current
  • Internal Soft-Start
  • Accurate Cycle-by-Cycle Current Limit
  • Thermal, Overvoltage, and Frequency Fold back Protection
  • PCB Dimensions 55.50mm x 24.64mm

Schematic

Parts List

PCB

Thermal Image

You can see on the thermal images below that at 60V input – 5V @2A output the IC gets too hot (>105ºC) and if we go for higher outputs (2.5-3A) the IC gets in thermal cut-off. To avoid this situation you can use a small 5V FAN to blow air on the board or probably use a heatsink attached to the board.

60V input – 5V @1A output
60V input – 5V @2A output
60V input – 5V @3A output cooled with a small FAN

Measurements

The efficiency is calculated based on the (Pout/Pin)*100%. For 60V input and 5V @3A output the input current is 0.32A, so Pin=19.38W. Pout=5V*3A=15W, so e=77.39% with Pdis = 4.58W

Output Ripple 60V input – 5V @1A output
Output Ripple 60V input – 5V @3A output
CH1: SW pin – CH2: Vout (60V input – 5V @3A output)
CH1: Vin – CH2: Vout (60V input – 5V output no load) – Start up
CH1: Vin – CH2: Vout (60V input – 5V @3A output) – Start up

Video

Photos

TPS54360B Datasheet

Board Viewer

50V – 10A Bidirectional DC Motor Driver Using A3941

This tiny board is designed to drive a bidirectional DC brushed motor of large current. DC supply is up to 50V DC. A3941 gate driver IC and 4X N Channel Mosfet IRLR024 used as H-Bridge. The project can handle a load of up to 10A. Screw terminals are provided to connect the load and load supply, and 9 Pin header connector is provided for easy interface with the microcontroller. An on board, shunt resistor provides current feedback.

The A3941 is a full-bridge controller for use with external N-channel power MOSFETs and is specifically designed for automotive applications with high-power inductive loads, such as brush DC motors. A unique charge pump regulator provides full (>10 V) gate drive for battery voltages down to 7 V and allows the A3941 to operate with a reduced gate drive, down to 5.5 V. A bootstrap capacitor is used to provide the above-battery supply voltage required for N-channel MOSFETs. An internal charge pump for the high-side drive allows DC (100% duty cycle) operation.

The full bridge can be driven in fast or slow decay modes using diode or synchronous rectification. In the slow decay mode, current recirculation can be through the high-side or the low side FETs. The power FETs are protected from shoot-through by resistor R7 adjustable dead time. Integrated diagnostics provide an indication of under voltage, over temperature, and power bridge faults, and can be configured to protect the power MOSFETs under most short circuit conditions.

The A3941 is a full-bridge MOSFET driver (pre-driver) requiring a single unregulated supply of 7 to 50 V. It includes an integrated 5 V logic supply regulator. The four high current gate drives are capable of driving a wide range of N-channel power MOSFETs, and are configured as two high-side drives and two low-side drives. The A3941 provides all the necessary circuits to ensure that the gate-source voltage of both high-side and low-side external FETs are above 10 V, at supply voltages down to 7 V. For extreme battery voltage drop conditions, correct functional operation is guaranteed at supply voltages down to 5.5 V, but with a reduced gate drive voltage. The A3941 can be driven with a single PWM input from a Microcontroller and can be configured for fast or slow decay. Fast decay can provide four-quadrant motor control, while slow decay is suitable for two-quadrant motor control or simple inductive loads. In slow decay, current recirculation can be through the high-side or the low-side MOSFETs. In either case, bridge efficiency can be enhanced by synchronous rectification. Cross conduction (shoot through) in the external bridge is avoided by an adjustable dead time. A low-power sleep mode allows the A3941, the power bridge, and the load to remain connected to a vehicle battery supply without the need for an additional supply switch. The A3941 includes a number of protection features against under voltage, over temperature, and Power Bridge faults. Fault states enable responses by the device or by the external controller, depending on the fault condition and logic settings. Two fault flag outputs, FF1 and FF2, are provided to signal detected faults to an external controller.

Features

  • High current gate drive for N-channel MOSFET full bridge
  • High-side or low-side PWM switching
  • Charge pump for low supply voltage operation
  • Top-off charge pump for 100% PWM
  • Cross-conduction protection with adjustable dead time
  • 5 to 50 V supply voltage range
  • Integrated 5 V regulator
  • Diagnostics output
  • Low current sleep mode

Schematic

Parts List

Connections

 

Truth Table

Photos

6V Lead Acid Battery Charger using BQ24450

6V Lead acid (SLA) battery charger project is based on BQ24450 IC from Texas instruments. This charger takes all the guesswork out of charging and maintaining your battery, no matter what season it is. Whether you have a Bike, Robot,  RC Car,  Truck, Boat,  RV, Emergency Light, or any other vehicle with a 6v battery, simply hook this charger maintainer up to the battery. The BQ24450 contains all the necessary circuitry to optimally control the charging of lead-acid batteries. The IC controls the charging current as well as the charging voltage to safely and efficiently charge the battery, maximizing battery capacity and life. The IC is configured as a simple constant-voltage float charge controller. The built-in precision voltage reference is especially temperature-compensated to track the characteristics of lead-acid cells, and maintains optimum charging voltage over an extended temperature range without using any external components. The low current consumption of the IC allows for accurate temperature monitoring by minimizing self-heating effects.  In addition to the voltage- and current-regulating amplifiers, the IC features comparators that monitor the charging voltage and current. These comparators feed into an internal state machine that sequences the charge cycle.

For low charging current, you can use SMD Q1 transistor on the bottom of PCB, for higher charging currents you should use a through-hole (TO247) transistor, like TIP147 on the top of PCB.

The circuit has been designed for PNP transistor (Q1) that’s why the PCB jumper is shorted to R8 by default. You can also use an NPN transistor, in this case, Omit R6, Use R2, Jumper has to be shorted the other way.

Features

  • Supply 10V DC
  • Screw Terminals For DC Supply Input & Battery
  • Supply Current 1Amp
  • Charging Current 500mA
  • Regulate Voltage & Current during charging
  • Precision Temperature-Compensated Reference

Schematic

Parts List

Photos

 

BQ24450 Datasheet

+9V to 60V PWM 2.3A Solenoid Valve Driver using DRV101

The DRV101 is a low-side power switch employing a pulse-width modulated (PWM) output. Its rugged design is optimized for driving electromechanical devices such as valves, solenoids, relays, actuators, and positioners. The DRV101 module is also ideal for driving thermal devices such as heaters and lamps. PWM operation conserves power and reduces heat rise, resulting in higher reliability. In addition, an adjustable PWM potentiometer allows fine control of the power delivered to the load. Time from dc output to PWM output is externally adjustable. The DRV101 can be set to provide a strong initial closure, automatically switching to a soft hold mode for power savings. The duty cycle can be controlled by a potentiometer, analog voltage, or digital-to-analog converter for versatility. A flag output LED D2 indicates thermal shutdown and over/under current limit. A wide supply range allows use with a variety of actuators.

Features

  • HIGH OUTPUT DRIVE: 2.3A
  • WIDE SUPPLY RANGE: +9V to +60V
  • COMPLETE FUNCTION
  • PWM Output
  • Internal 24 kHz Oscillator
  • Digital Control Input
  • Adjustable Delay (Capacitor C1)
  • Adjustable Duty Cycle P1 Potentiometer
  • Over/Under Current Indicator
  • FULLY PROTECTED
  • Thermal Shutdown with Indicator
  • Internal Current Limit

Applications

  • ELECTROMECHANICAL DRIVERS:
  • Solenoids Positioners
  • Actuators High Power Relays/Contactors
  • Valves Clutch/Brake
  • FLUID AND GAS FLOW SYSTEMS
  • INDUSTRIAL CONTROL
  • FACTORY AUTOMATION
  • PART HANDLERS
  • PHOTOGRAPHIC PROCESSING
  • ELECTRICAL HEATERS
  • MOTOR SPEED CONTROL
  • SOLENOID/COIL PROTECTORS
  • MEDICAL ANALYZERS

Schematic

Parts List

Measurements

Photos

 

 

 

DRV101 Datasheet

Heat Activated Cooling Fan Controller

002

Heat activated cooling fan controller is a simple project which operates a brushless fan when the temperature in a particular area goes above a set point, when temperature return normal, fan automatically turns off. The project is built using LM358 Op-amp and LM35 temperature Sensor. Project requires 12V DC supply and can drive 12V Fan. This project is useful in application like Heat sink temperature controller, PC, heat sensitive equipment, Power supply, Audio Amplifiers, Battery chargers, Oven etc

The SMD SO8 LM35 used as temperature sensor, LM358 act as comparator and provides high output when temperature rise above set point, high output drive the Fan through driver transistor. The LM35 series are precision integrated-circuit temperature devices with an output voltage linearly-proportional to the Centigrade temperature. The LM35 device has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from the output to obtain convenient Centigrade scaling. The LM35 device does not require any external calibration or trimming to provide typical accuracy of ±¼°C at room temperature. Temperature sensing range 2 to 150 centigrade. LM35 provides output of 10mV/Centigrade.

Features

  • Supply 12V DC 1Amps
  • Fan 12V DC , 500mA
  • Range : 2 °C to 150 °C
  • Open Collector Output
  • It can drive PC fan
  • Onboard preset to set the Fan trigger level
  • Onboard Power LED
  • Onboard Output LED
  • Output Driver Transistor
  • Header Connector for Supply and Fan
  • PCB dimensions 59.85 mm x 12.70 mm

Schematic

SCH

Parts List

bom

Connection

WIRING

Photos

001

IMG_5491

IMG_5492

Video

NanoCell V2.1 is A ESP32-C3 IoT dev board for Home Assistant

NanoCell V2.1 a ESP32-C3-based dev board by Frapais' lab in Greece. Preloaded with ESPHome, and includes BMS IC for low-power apps.

The NanoCell V2.1 is an ESP32-C3 powred dev board designed by Frapais’ lab in Greece. The board comes preloaded with ESPHome and features a battery management IC for battery-based low-power applications.

The board has A buck-boost converter that has been developed to minimize standby current consumption to 66uA, with the exclusion of the current drawn by the ESP32 module. Furthermore, the integrated battery management system (BMS) offers precise capacity measurement and safeguards attached Lithium batteries from potential hazards like overcharging. Additionally, the board features two LEDs functioning as power and charging indicators to communicate the board’s status effectively.

Previously we have written about many ESP32-C3-Based development boards like the SparkFun Pro Micro – ESP32-C3, Olimex ESP32-C3-DevKit-LiPo, and many others feel free to check those out if you are interested in the topic.

NanoCell V2.1 specifications:

  • Microcontroller – ESP32-C3 RISC-V microcontroller @ 160MHz, with Wi-Fi and Bluetooth 5 (LE)
  • Battery Management
    • battery capacity measurement IC
    • Li-ion/Li-po battery charging & protection ICs
    • Accurate battery capacity measurement IC (MAX17048), accessible via I2C on pins 2 and 3.
  • USB – USB Type-C for charging and uploading firmware
  • Buttons – Reset and Boot
  • LEDs – Charging and USB power LED indicators
  • Breadboard-compatible pin headers break out all the pins of ESP32-C3, USB, battery, and VCC voltage.

The NanoCell V2.1 is designed to work seamlessly with Home Assistant and ESPHome automation systems. A setup guide is available in the NanoCell-C3 GitHub repository.

NanoCell V2.1 integrates smoothly with Home Assistant and ESPHome automation systems. You can find a setup guide in the NanoCell-C3 GitHub repository. Priced at $14.49 on Tindie and $14.90 on Elecrow with bulk discounts available, it’s fully open-source, offering hardware schematics and initialization firmware in the GitHub repository.

Raspberry Pi Compute Module 4S Gets 2GB, 4GB, and 8GB Memory Upgrade

Raspberry Pi Compute Module 4S with expanded RAM options (2GB, 4GB, 8GB) featuring BCM2711 SoC, starts at $25, but minimum order is 200 units.

Raspberry Pi has recently announced the release of three new Raspberry Pi Compute Module 4S(CM4S) with expanded  RAM options now offering 2GB, 4GB, and 8GB variants. These new modules feature the same Broadcom BCM2711 quad-core Cortex-A72 SoC used in Raspberry Pi 4 and Raspberry Pi CM4 and have a starting price of only $25. The only odd thing about this is that Raspberry Pi Foundation did not make this for a single purchase, and you have to buy a minimum quantity of 200 to get your hand on one of these modules.

The CM4S stands out from other Compute Modules in a few ways. It keeps the same size and shape as the CM3+ but has a faster processor called the BCM2711 chip. It doesn’t have some features found in the CM4, like Wi-Fi, Bluetooth, USB 3.0, and PCI Express.

The reason for creating the CM4S is to help industrial users who are using CM3-based designs but can’t find the parts they need. The CM4S is designed to be an easy upgrade for these users because it fits into the same slot as the CM3+ while offering improved performance.

Raspberry Pi Compute Module 4S Specifications:

  • SoC:
    • Broadcom BCM2711
      • CPU: Quad-core 64-bit Cortex-A72 processor @ 1.5 GHz
      • GPU: VideoCore VI GPU
      • 3D Graphics: Supports OpenGL ES 3.0 and Vulkan 1.1
  • Video:
    • H.265 (HEVC) decoding up to 4Kp60
    • H.264 decoding up to 1080p60 and encoding up to 1080p30
  • Memory:
    • LPDDR4-3200 SDRAM with ECC, available in 1GB, 2GB, 4GB, and 8GB configurations
  • Storage:
    • eMMC flash options: 8GB, 16GB, or 32GB
    • CM4S Lite variant offers an option for 0GB eMMC Flash
  • Ports and Interfaces:
    • Display interfaces:
      • HDMI 2.0 port supporting up to 4Kp60
      • 2-lane and 4-lane MIPI DSI display interfaces
      • Composite TV out (PAL or NTSC)
    • Camera interfaces:
      • 2-lane and 4-lane MIPI CSI camera interfaces
    • USB:
      • 1x USB 2.0 port (high speed)
    • Other I/Os:
      • 46x GPIO signals
      • 1x SDIO 2.0 (available on CM4S Lite variant)
  • Supply Voltage:
    • Requires VBAT (2.5V to 5V) and +3.3V supplies
    • +1.8V is no longer used but can be supplied for backward compatibility
  • Dimensions:
    • 67.6mm × 31.0mm, compatible with JEDEC MO-224 mechanical specification for 200-pin DDR2, but not electrically compatible with DDR2 SODIMM modules
  • Production Lifetime:
    • Raspberry Pi Compute Module 4S will remain in production until at least January 2034.

The new Raspberry Pi CM4S, now with built-in eMMC storage, is available for purchase through Raspberry Pi Resellers (you can find a list on their website). If you’d prefer a version without the eMMC storage, the CM4S Lite is also an option. For more details and the latest information, visit the Raspberry Pi press release page.

Waveshare ESP32-S3-Tiny Board Cost $5 and Measures Only 23.50 x 18 mm

Waveshare ESP32-S3-Tiny Board is an ESP32-S3-powered development board in a 23.50 x 18 mm from factor. What makes this board different from the Waveshare RP2040-Tiny is that it features 34 multi-function GPIO pins compared to 23 found on the RP2040-Tiny board.

On the board, you have an ESP32 chip, an LDO, an FPC Connector, a WS2812B RGB LED, and a 3D chip antenna. You will not find any USB to UART convert on the board because it gets connected to the board via the onboard FPC connector, this unique approach saves cost and time. Additionally, it has Wi-Fi, BLE, SPI, I2C, UART, ADC, PWM, and more.

You can buy either the ESP32-S3-Tiny or the ESP32-S3-Tiny-Kit with the USB-C board directly from Waveshare’s website. If you’re developing a product, you might start with a kit and later order individual MCU boards as needed.

The board is compact, and the inclusion of the ESP32-S3 makes it an ideal choice for IIoT applications. For those looking to get started with the board, the company provides detailed onboard parts lists to help you get started.

Waveshare ESP32-S3-Tiny Board Specifications

  • MCU: Espressif Systems ESP32-S3FH4R2
  • CPU: Dual-core Tensilica LX7 @ up to 240 MHz with vector instructions for AI acceleration
  • Memory: 512KB RAM, 2MB PSRAM
  • Storage: 4MB QSPI flash
  • Connectivity: 2.4 GHz WiFi 4 and Bluetooth 5.0 LE with support for long-range and mesh network
  • GPIO Pins: 34 multi-function GPIO pins via 20x through and castellated holes, and 14 pads
  • Peripheral Interfaces: SPI, I2C, UART, ADC, PWM
  • FPC Connector: 8-pin FPC connector for adapting to USB Type-C port via optional adapter board
  • Antenna: 3D PCB Antenna
  • Power Management: ME6217C33M5G low dropout LDO capable of delivering 800mA (Max)
  • Additional Features: WS2812 RGB LED, power indicator, RESET button, and BOOT button
  • Physical Dimensions: 23.5 x 18 mm
Adapting USB Type-C Port Via Adapter Board with FPC Cable

This compact board measures a mere 23.5 x 18mm with a slim 2.45mm thickness. Its versatile 2.54mm pin pitch wraps around three sides, making it easy to integrate into your projects. You have excellent programming flexibility with support for ESP-IDF, Arduino IDE, and MicroPython. To get started, you’ll find all the necessary documentation (including pinout diagrams, installation guides, and resource links) conveniently located on the board’s wiki page.

 

The board is cleverly designed to add more I/O within its compact form factor. Waveshare has added solderable pads just beside the pins of the dev board, increasing the I/O pin count to 34.

Waveshare’s ESP32-S3-Tiny board is available for purchase on a few different platforms. You’ll find both the standalone board and the ESP32-S3 Tiny-Kit on Amazon for $11.49 and $12.49 (with shipping included). If you’re looking to save a little, try checking Aliexpress or shopping directly from the Waveshare store, where prices begin at a budget-friendly $4.99 that of course does not include shipping.

Waveshare UGV Rover is Powered By a Raspberry Pi

The Waveshare UGV Rover is an open-source educational and commercial platform that can be used for remote exploration, object recognition, autonomous navigation, and more. The Rover is built around a Raspberry Pi and can be configured with A Pi5 or Pi4B. There are also two additional boards within the rover, one is an ESP32 power driver and control board that controls the wheel the Pan-Tilt module, and many other things. There is also an audio board that handles all the Audio processing tasks. The Pi sits on top of these two boards, sends out the control commands, and does the AI and Image Recognition tasks if configured.

The rover has a 2mm thick aluminum body and six 80mm shock-absorbing tires, but it gets a four-wheel drive system controlled by the ESP32 sub-controller. The sub-controller also handles sensors, LiDAR, cameras, and more.

Previously we have written about other rover modules like the Turtle Rover, the Makeblock MBot Neo Rover, the open-source Tele-Robotics platform and more feel free to check those out if robots like this interest you.

ESP32 powred sub-controller

ESP32 powred sub-controller

The ESP32 powred sub-controller supports different communication protocols, including serial port, HTTP request, and ESP-NOW. The module supports ESP-NOW meaning it can communicate with other nearby rovers while allowing 4G/5G module expansion for communication. other than that the sub-module performs basic tasks like high-frequency PID controller, high-frequency inverse kinematics calculations, position interpolation, Pan-Tilt angle control, OLED screen control, read data from IMU, and battery voltage sensor.  Additionally, it can automatically achieve the camera vertical stabilization function.

Waveshare UGV Rover Audio Controlee and Processing Board
Audio Controlee and Processing Board

The audio driver board is specifically designed for a robot’s main controller, with a built-in USB interface that works well with various motherboards including Raspberry Pi 4B and Raspberry Pi 5, among others. It utilizes the SSS1629A5 audio control chip, that ensures a hassle-free plug-and-play interface. Additionally, it has an APA2068 audio amplifier chip to drive the speakers on the rover. Moreover, it integrates FE1.1S USB 2.0 HUB and CH340 chips, facilitating seamless data transfer from serial peripherals like Lidar to the main controller via a USB cable, without burdening the resources of the main controller excessively.

Now we know about all the features but we don’t know about the console mechanism of the rover for that the company provides a web interface through which you can control the rover with a PC, phone, or tablet.

Waveshare UGV Rover Specifications:

  • Core Control & Processing
    • Raspberry Pi 4B or 5 for computer vision and machine learning
    • ESP32 sub-controller for dedicated tasks
    • High-frequency PID controller for precise movement
    • Closed-loop speed control for consistent wheel speeds
  • Movement and Navigation
    • 6-wheel, 4-wheel drive for superior terrain handling
    • High-torque motors with encoders for accurate motion
    • IMU for orientation and balance sensing
  • Sensing & Feedback
    • Pan/tilt servo system with feedback for camera control
    • OLED screen for system status
    • Battery voltage monitoring for power management
    • Audio system: speaker, microphone, audio jack, text-to-speech
  • Connectivity
    • Fast networking on Raspberry Pi (Gigabit Ethernet, WiFi 5, Bluetooth 5)
    • ESP32 with 2.4GHz WiFi, Bluetooth, and ESP-NOW support
    • Optional 4G/5G for expanded communication range
  • Camera & Expansion
    • Pan-tilt module with 360°/120° motion, 5MP camera, stabilization
    • Mounting plate for LiDAR, battery, or custom devices
    • Optional rail and servo for tactical upgrades
  • Control & Power
    • Wireless gamepad for remote operation
    • Hotspot auto-creation for network flexibility
    • 3x 18650 UPS module for reliable power
    • Optional battery set
  • Construction
    • Sturdy 2mm aluminum chassis
    • Shock-absorbing 80mm tires
    • High-brightness LED for low-light vision

The UGV Rover boasts additional AI capabilities such as object, gesture, and face detection, motion tracking, vision line tracking, color recognition, and auto-targeting, all powered by multi-threaded computer vision. Additionally, the company plans to offer Ngrok tutorials, although they won’t provide accounts or servers. Compatibility extends to Debian Bookworm, ROS2-HUMBLE-LTS, and JupyterLab, with forthcoming guides and tutorials for all software features.

Waveshare offers customizable options for the UGV rover, allowing users to order without a Raspberry Pi if they already own one and to include the Pan-Tilt Module. Power plug options include US, EU, and UK variants. This Raspberry Pi 4/5-based robot promises enjoyable experiences, although documentation might be more comprehensive for other models like the SunFounder PiCar-X 2.0.

The UGV Rover PT PI5 AI Kit or UGV Rover PT PI4B AI Kit, including the Pan-Tilt Module, can be found on Amazon for $292.99 (including shipping). Waveshare also offers a UGV Rover base kit (without Pi or Pan-Tilt Module) for $244.99 in their store. More details can be found on there Wiki page.

SBC Case Builder v3.0: Design Your Custom Case for SBCs and Standard Motherboards

SBC Case Builder v3.0 is the latest iteration of the versatile case design utility, offering users the ability to create thousands of cases for popular single-board computers (SBCs) and standard motherboards. This new version boasts an impressive library of over 1,000 standard cases, with the option for further customization to suit individual needs.

The utility supports a wide range of SBCs, including those from Raspberry Pi, Hardkernel, Orange Pi, Radxa, and others. Additionally, it accommodates standard motherboards following form factors such as Mini-ITX, Pico-ITX, NUC, Nano-ITX, and more. Notably, SBC adapters adhering to these standards enable users to seamlessly integrate SBCs into cases designed for larger form factors, allowing for unique configurations such as installing a Raspberry Pi 5 into a mini-ITX case.

Originally starting as a command-line utility relying on OpenSDAD for DIY case design in April 2022, SBC Case Builder has evolved significantly. Edward Kisiel, also known as hominoids, swiftly introduced a GUI with the release of version 2 in October of the same year. Now, with the launch of SBC Case Builder v3.0, the utility has undergone further enhancements to provide users with a more intuitive and feature-rich experience.

ODROID-M1S and UPS Kit housed in a standard mini-STX

Specifications:

  • Hardkernel ODROID-C1+, ODROID-C2, ODROID-C4, ODROID-XU4, ODROID-XU4Q, ODROID-MC1, ODROID-HC1, ODROID-HC4, ODROID-N1, ODROID-N2, ODROID-N2+, ODROID-N2L, ODROID-N2LQ, ODROID-M1, ODROID-M1S, ODROID-H2, ODROID-H2+, ODROID-H3, ODROID-H3+, and ODROID-Show2
  • Raspberry Pi Pico, Pi Pico W, Pi Zero, Pi Zero 2 W, Pi A+/B+, Pi 3A+/3B/3B+, Pi 4B, Pi 5, CM1, CM3, CM3L, CM3+, CM4, CM4L, and CM4 IO Board
  • Pine64 Rock64, RockPro64, Quartz64 Model A and B, H64 model B, and Star64
  • Radxa ROCK4A, ROCK4A+, ROCK4B, ROCK4B+, ROCK4C, ROCK4C+, ROCK5B-v1.3(pre-release), ROCK5B, and the new Radxa NIO 12L
  • Khadas VIM1, VIM2, VIM3L , VIM3, VIM4
  • ASUS Tinker board, Tinker board-S Tinker board 2, Tinker board 2S, Tinker board R2, Tinker board S R2.0
  • Orange Pi 5, Orange Pi Zero, Orange Pi Zero2, Orange Pi R1/R1+ LTS
  • Libre Computer LePotato, SweetPotato, Tirtium-H2+, Tritium-H3, Tritium-H5, Solitude, Alta
  • NVIDIA Jetson Nano
  • Sipeed Lichee RV and Dock
  • StarFive VisionFive2 SBC
  • Digital Loggers, Inc Atomic Pi, an ultra-cheap x86 SBC from a defunct project. Probably out of stock forever now.
  • RAKwireless WisBlock RAK19007 base board for IoT prototyping
  • Standard motherboard form factor – SSI-EEB, SSI-CEB, ATX, Micro-ATX, DTX, Flex-ATX, Mini-DTX, Mini-ITX, thin Mini-ITX, Mini-STX, thin Mini-STX, Nano-ITX, NUC, Pico-ITX

Once you have generated a case design, you can use the resulting OpenSCAD file with a 3D printer or CNC machine to build the enclosure. More information is available on GitHub.

image: www.cnx-software.com

Radxa Unveils AICore SG2300x Module: Powering Edge AI with 32 TOPS Performance

Radxa’s AICore SG2300x Module Brings 32 TOPS to Bear on Edge AI, On-Device Generative AI

Radxa, a leading name in embedded computing, is set to revolutionize edge artificial intelligence (AI) with its latest offering: the AICore SG2300x system-on-module (SOM). Promising an impressive 32 tera-operations per second (TOPS) of compute performance, this module is poised to drive on-device AI to new heights.

At the heart of the AICore SG2300x lies the SOPHON SG2300x system-on-chip, boasting eight Arm Cortex-A53 processor cores clocked at up to 2.3GHz. Augmenting this processing power is a dedicated tensor processing unit (TPU) coprocessor, delivering a claimed 32 TOPS at INT8 precision, with capabilities extending to 16 TOPS in FP16/BF16 precision and 2 TOPS at FP32 precision. Complementing this computational prowess is a generous 16GB of LPDDR4X RAM and a 64GB eMMC storage module, expandable via an SDMMC interface.

Radxa’s AICore SG2300x Module

The AICore SG2300x is engineered to handle the demands of on-device AI, including large language models (LLMs) and generative AI models, with ease. Radxa highlights its compatibility with popular generative AI models such as generative pre-trained transformers (GPTs), the Stable Diffusion image generation model, and the ChatDOC model. For scenarios requiring even greater processing power, the module supports the “cascading” of two units to achieve up to 64 TOPS.

Radxa ensures seamless integration with leading machine-learning frameworks, including TensorFlow and PyTorch, through its BMNNSDK software development kit. The toolkit facilitates model optimization, and efficient runtime support, and provides access to a model zoo featuring pre-trained models like YoloV8, ResNet, PP-OCR, DeepSORT, and OpenPose.

In terms of connectivity, the module offers robust peripheral support, including one PCI Express 3.0 four-lane root complex and endpoint, up to three UART and three I2C buses, and 32 general-purpose input/output (GPIO) pins with two pulse-width modulation (PWM) channels. Additionally, it features dual gigabit Ethernet PHYs and hardware decoding for 32 channels of H.264/H.265 video at 1080p25, alongside encoding for 12 channels of H.264/H.265 at the same resolution and refresh rate.

While pricing and availability details are yet to be disclosed on the Radxa website, plans to release an open-source carrier board design and a design guide document for enthusiasts keen on building their systems.

Introducing the Banana Pi BPI-M5 Pro: A Next-Generation AIOT Platform

Banana Pi BPI-M5 Pro

The Banana Pi BPI-M5 Pro presents a cutting-edge solution for AIOT (AI + IoT) applications, boasting the advanced features of the second-generation 8nm high-performance Rockchip RK3576 chip design. This powerhouse is equipped with a 6 TOPS computing power NPU (Neural Processing Unit) and supports up to 32GB of expansive memory, ensuring seamless performance for a wide range of tasks.

One of the standout features of the BPI-M5 Pro is its support for 8K video encoding and decoding, pushing the boundaries of multimedia capabilities. Moreover, it offers a plethora of connectivity options with dual gigabit Ethernet ports, WiFi 6, and BT5, enabling high-speed data transfer and seamless networking. Additionally, it provides various video outputs, ensuring versatility in display options for different applications.

Block Diagram
Block Diagram

Hardware Specifications:

  • SoC: Rockchip RK3576
  • CPU: Integrated with four Cortex-A72 cores @ 2.2GHz and four Cortex-A53 cores @ 1.8GHz, along with a separate NEON co-processor.
  • GPU: ARM Mali G52 MC3 GPU
  • NPU: Up to 6 TOPs computing power (INT8), supports INT4/INT8/INT16 mixed operations.
  • VPU/Encoding & Decoding:
    • Hardware Decoding: Supports H.264, H.265, VP9, AV1, and AVS2 up to 8K@30fps or 4K@120fps.
    • Hardware Encoding: Supports H.264 and H.265 up to 4K@60fps, high-quality JPEG encoder/decoder supports up to 4K@60fps.
  • RAM: 8/16GB 32-bit LPDDR4x, default is 16GB. RK3576 supports a maximum of 16GB.
  • Flash: 32/128GB eMMC, default is 128GB eMMC.
  • Operating Voltage: Wide input voltage range, from 4.5V to 23V (voltage error ±5%).
  • Operating Temperature: 0°C to 80°C
  • Operating Systems:
    • Official Rockchip Support: Android 14, Debian 11, Buildroot
    • Third-party Support: Armbian
  • PCB: 8-layer PCB board design
  • Weight: 43g
  • Dimensions: 92mm × 62mm

The Banana Pi BPI-M5 Pro is not for sale on SinoVoIP’s Aliexpress store just yet possibly because the OS images are not available yet, but you’ll find the ArmSom Sige5 Pro Max for pre-order for $148 with 16GB RAM and 128eMMC flash. It does not seem particularly good value as the Orange Pi 5 Pro with similar features (but only one GbE port) and a more powerful Rockchip RK3588S processor goes for $128 on Amazon in the same 16GB/128GB configuration. Maybe it is still worth it for use cases where the low-profile design is important.

Louder Raspberry Pi – Home Media Center powered by Raspberry Pi and TAS5805M DAC

Louder Raspberry Pi

Louder Raspberry Pi is an open-source home media center, developed by Andriy Malyshenko of Sonocotta, built on the Raspberry Pi Zero W or Zero 2 W and Texas Instruments TAS5805M DAC. It’s a compact audio entertainment platform designed for ease of use.

Louder Raspberry Pi combines the computing power of the Raspberry Pi Zero and the audio processing capabilities of the TAS5805M DAC in a sturdy aluminum case. It delivers up to 25W per channel stereo output and is powered by a 65W+ USB-C PD3.0 adapter, suitable for medium-to-large speaker systems. It supports both Wi-Fi and Ethernet connectivity.

The Raspberry Pi Zero was chosen for its simplicity in development and compact size, making it ideal for a home media center.

Louder Raspberry Pi incorporates the computing power of the Raspberry Pi Zero and the Hi-Fi audio processing capabilities of TI’s TAS5805M DAC in a compact, aluminum case.
Louder Raspberry Pi incorporates the computing power of the Raspberry Pi Zero and the Hi-Fi audio processing capabilities of TI’s TAS5805M DAC in a compact, aluminum case.

Key specifications of Louder Raspberry Pi include:

  • Single-board computer (SBC): Raspberry Pi Zero W or Raspberry Pi Zero 2W
  • Digital-to-analog converter (DAC): Texas Instruments TAS5805M  with integrated D-Class amplifier
  • Ethernet: Wiznet W5500 SPI Ethernet
  • USB: 1x USB-C PD3.0 for power delivery and serial port
  • Audio Output: 2x 22W at 20V input over USB-PD
  • Additional features: 1x IR reader, 2-pin speaker terminal
  • Power: 65W+ USB-C power adapter
  • Dimensions: 88 x 38 x 100mm

Louder Raspberry Pi is part of Sonocotta’s line of Raspberry Pi-based media center devices, including Loud Raspberry Pi and Hi-Fi Raspberry Pi. It can be configured with Volumio, Mopidy, or other music player software, with instructions available in the Sonocotta media center repository on GitHub repository.

The device costs $35 for the base board and DAC on Tindie. The Raspberry Pi Zero W version costs $55, and the Zero 2 W version is $60. Adding a Lenovo 32GB Class 10 SD card costs an additional $10. Detailed information, including board schematics and PCB designs, is available in the Sonocotta media center repository for those interested in building their own Louder Raspberry Pi.

ArmSoM SIGE7 SBC Giveaway – Rockchip RK3588 SBC with 8K and 2x 2.5GbE

The ArmSoM Sige7 is a compact single-board computer (SBC) powered by an octa-core 64-bit SoC with a 6TOPS NPU for AI tasks and supports up to 32GB of LPDDR4x RAM and 128GB of eMMC flash storage. It includes an M.2 2280 socket for NVMe SSDs. It offers three display interfaces (HDMI, USB-C, MIPI DSI) and two camera connectors. Connectivity options include dual 2.5GbE, WiFi 6, and Bluetooth 5.2, plus multiple USB ports and a 40-pin GPIO header for expansion.

Are these specs exactly what you’ve been looking for? If you’re ready to upgrade, get excited! We’re hosting a giveaway for this amazing product, and we will give away 1 x Sige7 to our readers. Check out the instructions below to enter for your chance to win!

The give away ends in:

02Days 07Hours 56Minutes 21Seconds

ArmSoM SIGE7 Specifications:

  • CPU: Quad-Core [email protected]+Quad-CoreCortex-A55@ 1.8GHz,8nm process
    • 6 TOPS@INT8(3 NPU core)
  • GPU&VPU: GPU Mali-G610 MP4 (4x256KB L2 Cache)
    • Decode: 8K@60fps
    • Encode:8K@30fps H.265 / H.264
  • Storage: 8GB LPDDR4x + 64bit 64GB eMMC 5.1
  • Interface: 2x 2.5G Ethernet
    • Onboard IEEE 802.11a/b/g/n/ac/ax WIFI6 and BT5 (AP6275P)
    • 1x HDMI 2.1, supports 8K@60fps
    • 1x DP 1.4 up to 8192×4320@30Hz
    • 1x MIPI DSI up to 4K@60Hz
    • 2x 2-lane MIPI CSI, up to 2.5Gbps per lane

Board Layout

Giveaway Prize:  ArmSoM Sige7  (basic model worth $165)

Ready to win? Here’s how to enter our awesome giveaway:

  • Drop a comment! Tell us your country and anything else you’d like to share (but please, no links!). Missing your country will mean your entry won’t count.
  • One entry per person, please. We’ll be keeping an eye out for duplicate entries.
  • The winner will be chosen randomly and announced in the comments section. We’ll contact you by email, so make sure to use a real one – you’ll have 24 hours to respond!

Top 10 Most Popular Hobby Electronic Components for 2024

Some people enjoy sketching, some prefer writing, and others are drawn to knitting. People like us, find joy in building and creating electronic devices. The common thread among all these crafts is that they require some basic tools to get started. And for us engineers and hobbyists, the prerequisite is electronic components. So in this article, we will tell about the Top 10 Hobby Electronic Components that every beginner should have in his stash.

Now when we are talking about tools and components used in electronics, there are so many components that it can be overwhelming for beginners. But, not to worry – because in this post we have compiled a list of certain tools and components that we think are essential for every beginner electronics hobbyist and tinkerer. so without further ado let’s get right to it.

1. Resistors, Capacitors, Inductors, Breadboards, and Perfboards

Resistors, capacitors, and inductors are the most basic components you should have in your arsenal when starting. For resistors, you should aim to have the most common values available, up to 100K, as well as some higher values like 1M and 2.2M. This range will cover all your resistor needs. You can find resistor kits on Amazon that contain several values, making them a great starting point.

Similarly, for capacitors, the 10nF and 100nF values are lifesavers, they are used as decoupling capacitors to reduce noise they are also used as filters. so they are useful in many applications. Additionally, having values like 2.2uF, 4.7uF, 10uF, 47uF, and 100uF is recommended. It’s also beneficial to keep some higher values like 1000uF and 4700uF on hand as they can come in handy. Kits available on Amazon can cover most of your capacitor needs.

While inductors may not be needed in every basic circuit, they are indispensable when required. Keeping values ranging from 10uH to 1000uH is advisable. These inductors are inexpensive, and you can also purchase packs from Amazon to ensure you have a variety of values available when needed.

Breadboards and Perfboards are also essential components in your toolkit. While basic circuits can be easily assembled on a breadboard, more complex circuits requiring over 20 or 30 connections are better suited for a surfboard.

2. Voltage Regulator IC 78xx Series and LM317T

Voltage regulator ICs like the LM78xx series and LM317T are essential components in electronics. The LM78xx features 5V, 9V, 12V,15V, and 18V constant voltage regulator ICs where the 5V ICs can be used for logic level circuits, others can be used to power relays, drive motors, etc. Meanwhile, the LM317T offers adjustable output voltage from 1.2V to 37V, making it versatile for various applications. Both are easy to use and widely used in hobbyist projects.

But nowadays most of the MCUs we use are 3.3V logic so keeping some additional 3.3V regulators like the LM1117-3.3 would be good for your stash.

3. 1N4007, 1N4148 and 1N5819 Diodes

Diodes are key components of any electronic project. They are used in rectification, voltage regulation, noise suppression, and can also protect your circuit from high-voltage spikes. So, Keeping some in your stash is a good idea. The most common ones are,

The 1N4007 is a general-purpose rectifier diode capable of handling voltage up to 1000V, making it suitable for converting alternating current (AC) to direct current (DC) in power supply circuits and other applications where rectification is required.

The 1N4148 is a small-signal switching diode with a fast switching speed and low forward voltage drop. It is commonly used in signal processing, digital logic circuits, and high-frequency applications due to its fast response time and low power dissipation.

The 1N5819 is a Schottky diode known for its low forward voltage drop and fast switching characteristics. It is commonly used in low-voltage, high-frequency circuits, voltage clamping, and reverse polarity protection applications.

There are also Zener diodes that are used to regulate voltage, but they can also protect your circuit from unwanted high voltage or serve as a voltage reference.

4. Bipolar Transistors and MOSFETs (2N547, 2N222, BS170 IRF540, IRLZ44N)

Bipolar transistors and MOSFET are your best friends when you are working with electronics, Whether you’re controlling a simple light or managing high-current applications like motors and bulbs, these components are essential. Keeping a selection of generic values in your stash is invaluable as it enables you to turn things on and off, adjust power levels, and amplify signals. Transistors are the classic choice, while MOSFETs offer advantages such as high input impedance and efficiency in specific scenarios. Together, they form the fundamental building blocks for a wide range of electronic projects.

5. Op-Amps(LM324N and LM358)

Op-amps, like the LM324N and LM358, are the workhorses of analog electronics. They’re like tiny amplifiers that help you manipulate signals in all sorts of ways. With op-amps, you can boost tiny voltages from sensors, filter out noise, or shape sound waves. They’re incredibly versatile building blocks, essential for any project that involves working with analog signals.

6. SN74HC595N  8-Bit Shift Register

The SN74HC595N 8-bit Shift Register is like a magic trick for your electronics projects. It lets you control a bunch of outputs (like LEDs or sensors) using only a few pins on your microcontroller. This saves you valuable space and makes wiring a lot simpler, especially when you need to control a lot of things at once. Think of it as the perfect tool for expanding your project’s possibilities!

7. ATMEGA328P-PU Microcontroller

The ATMEGA328P-PU Atmel Microcontroller is the brain of your electronics project. It’s a tiny but powerful computer that lets you program the behavior of your circuits. With its flexibility and plenty of input/output pins, this microcontroller gives you the ability to make your project sense its surroundings, control lights and motors, and even communicate with other devices. It’s the key to bringing your electronics ideas to life!

8. ATTINY85-20PU Microcontroller

The ATTINY85-20PU may be small, but it’s a surprisingly mighty microcontroller! It’s a good choice when you need a simple brain for your project and want to keep things compact. This little chip provides enough power to handle basic tasks, making it perfect for adding intelligence to smaller projects where size and simplicity are important.

9. CH32V003 Microcontroller

The CH32V003 is a super budget-friendly microcontroller that packs a punch! It’s based on the RISC-V architecture, offering a slightly different experience compared to traditional chips. This little powerhouse is great for projects where cost is a major concern, or when you want to experiment with a new type of microcontroller. It could be your gateway to low-cost but capable electronics!

10. The ESP32 and ESP8266 Microcontrollers

The ESP32 and ESP8266 are like the superheroes of the hobby electronics world! They both offer built-in WiFi (and the ESP32 adds Bluetooth), making them perfect for connected projects. Think smart home devices, wireless sensors, or even tiny web servers. The ESP8266 is super affordable, while the ESP32 brings more power and features. If you want your projects to talk to the internet, these are your go-to chips!

You should note that this is just a general list of essentials. As your projects get more complex, you might find yourself needing specialized tools or components. The fun is in discovering what you need as you go! But, these essentials will give you a solid base to grow. Now, get out there, explore what you can create, and have fun tinkering!

  • Data about the most popular electronic components was provided by PartsBox, based on real usage.
TOP PCB Companies