Archive for the ‘MCU’ Category.

Raspberry pico W GUI (-O)

The Raspberry Pi Pico W is a microcontroller board that is based on the Raspberry Pi Pico, but with the addition of wireless connectivity features. Specifically, the Pico W includes built-in Wi-Fi and Bluetooth, which allows it to connect to the internet and communicate with other devices wirelessly.

The Pico W is powered by a dual-core Arm Cortex-M0+ processor, which runs at a speed of up to 133 MHz. It also includes 264KB of RAM and 2MB of flash memory, which can be used to store programs and data. Additionally, the board has a variety of input/output (I/O) pins, which can be used to connect to sensors, actuators, and other devices.

The Pico W can be programmed using a variety of programming languages and development environments, including MicroPython and C/C++. This makes it a flexible and versatile platform for a wide range of projects, including Internet of Things (IoT) devices, robotics, and more.

Here is one example how to use Raspberry Pi Pico W with micropython, one senzor connected via I2C and simple GUI on the android device using GUI-O via WiFi.

Read more

STLINK-V3-MODS Simple Breakout board

I bought few STLINKs V3 (MODS) modules. It is ST-Link module to be embedded on some target system. It can be used as any other ST-Link, but the pinout and castelated via contacts have 50 mils pitch. So I prepared very simple, single sided breakout board with 100 mils pitch. The most important signals are connected to larger pads:

  • SWD
  • VCP Rx/Tx
  • Bootloader Bridge via UART
  • Supply

The “toner transfer” pdf is here (with marked signals):

There is no schematic, just layout:

PCB


Tiny cable tester for UTP and other cables

I developed simple cable tester. The complete project is in my GitHUB repository:

https://github.com/s54mtb/cabletester

This is simple cable testing tool for checking your cables (e.g. ethernet patch cables or house installation). Complete tester consists of two modules and tested cable. Master (left) module is on the left. It is connected to the power supply (battery or wall adapter). Slave (right) is passive and has only LEDs.

Cable tester


Outdoor UV index sensor

Here are instructions for outdoor UV index and ambient light sensor.

Assembled UV index and ambient light sensor
Continue reading ‘Outdoor UV index sensor’ »

What is inside smart watch?

Amazfit pace went swimming and drowned 🙂 After unsuccessful warranty claim I put watch in the drawer and forget about it because it looks “unopenable”. Today I learned it could be opened easily when heated. So I decided to try it. I grabbed hot air gun and shot few blows into the housing heating up to 80°C. It is just below 85°C, which could be a limit for some electronic components.

The proper tool to open the smart watch

The disasembly was piece of cake. Just separate the two pieces.

Continue reading ‘What is inside smart watch?’ »

Preparing wine with IoT sensors

Every wine producer needs to know their temperature during fermentation. There are many small producers (like in our family) without high-end equipment for fermenting the grapes and must. We produce wine for our own use (around 1000 litres) and the technology relies mostly on experience and limited information about the fermentation process.  One of the most important paramters is temperature or more specifically, the temperature profile (time dependance), its gradient and maximum value as well. In the past I connected simple I2C sensor to raspberry pi and sent data to mysql database via WiFi connection. It is shame to mention the power consumption of such thermometer.

Loradunchy module on top of the low cost solar cell

Recently, I placed LoRaWAN gateway at the top of the vineyard to cover all future need for connecting winegrowing sensors in all neighbouring vineyards. The r.pi thermometer was upgraded to LoRa and I used my own design, the LoRaDunchy module with small LiPo battery, TMP75 as sensor element and small solar cell for supplying the power. Solar power is somehow overkill for this application, but I want to check the real life solar powered sensor. It would be good experience for future sensors which I intend to place in the field for monitoring the microclimatic conditions (and possible prediction of the vine diseases).

LoraDunchy Connection diagram for thermometer application

Continue reading ‘Preparing wine with IoT sensors’ »

Low cost single cell battery pack simulator

Modern battery operated portable devices use smart battery packs. Every new development of an electronic medical device must follow strict design flow defined by world-wide or local regulatory
directives. The development process of any such device using smart battery pack requires specific operating conditions to meet the testing criteria. When smart battery pack is one of the main power sources the host system should be tested with several battery states. The testing is necessary during development, validation and later in production testing.

Battery simulator block diagram

  Continue reading ‘Low cost single cell battery pack simulator’ »

Voluhar project – 3 axis camera stabilization

The Voluhar project will be / might be open hardware and open software project for any DIY and videographer enthusiast that would like to get those enviably steady smooth shots. Well, for now this statement is a bit of a long shot since I don’t really know what I don’t know about brushless gimbal systems.

Continue reading ‘Voluhar project – 3 axis camera stabilization’ »

From c source to cloud with ESP8266

There are many steps from c source code to cloud data storage. Let’s start…

“To get the end, you must go back to the start” – Grandmother Yelsh

In this contribution I will describe how I started using Espressif ESP8266 with Eclipse and some other details how to store data in “usual” web server. I will not talk about the hardware too much. To follow the tutorial it is enough to have any ESP8266 module connected to serial port on PC either via USB/UART virtual cvom port or directly (rare these days). Two most common possibilities are either module with the USB/UART integrated on-board or separated USB/UART + ESP8266-xx module (usually on breadboard with some additional periphery):

Two most common types of dev.boards for ESP8266

Continue reading ‘From c source to cloud with ESP8266’ »

Precision voltage source – voltage calibrator

_________________ Work in progress _______ Last change: 22.10.2017 ______________

 

What I missed in my workshop is nifty small programmable precision voltage source which can be used as calibration voltage source for testing and calibration purposes. I decided to make one, because instruments which have word “calibrator” have price with same digits as there is vocals in this magic word.

Let’s start with block diagram:

Voltage calibrator – Block diagram

Continue reading ‘Precision voltage source – voltage calibrator’ »