Skip navigation
1 2 3 Previous

Project14

73 posts
  This project is only free for personal and non-commercial use   AC loads live with us! Because they are everywhere around us and at least home appliances are supplied with the mains power. Many types of industrial equipment are also powered with the single-phase 220V-AC. Therefore, we frequently face situations that we need to have full control (dimming) over an AC load, such as a lamp, an AC motor, a vacuum cleaner, a drill, … etc. We should know that controlling an AC loa ...
I received an Intel NCS 2 from the Hackster Deep Learning Giveaway.  I've used the original NCS on the PYNQ-Z2 and the Ultra96v2 using the NCSDK toolkit and I've just tried the NCS and NCS 2 on a RPi4 using the OpenVINO toolkit.     I ran a quick performance check on my RPi4 using the "benchmark_app" that is provided with the toolkit.  The app just loads an image or images and runs inference continuously for a minute and measures the equivalent frame rate. Here are the resu ...
  Inrush current/Switch-ON surge is the maximal instantaneous input current drawn by an electrical device when first turned on. Inrush current is much higher than the load’s steady-state current and that’s the source of many problems such as fuse blowing up, load failure, load’s lifetime reduction, sparks at the switch contacts … etc. The figure below shows the inrush current phenomenon captured on the Siglent SDS1104X-E oscilloscope. The long spike is clear. In th ...
I've written third tutorial for PYNQ: https://rk.edu.pl/en/managing-machine-vision-project-pynq/ Distributing notebooks via github repositories Testing within notebooks with ipytest Face comparison (no accelerated) Face detection meme generator Comic Sans in a machine vision project!   So face detection isn't anything new: But it's get much better if you make a meme out of it:   So let say a HDMI camera is seeing some faces, like a TV display even: And that PYNQ-Z2 reads ...
I'm finally getting around to doing my homework from session 3.  I decided to do a simple modification of adding an AXI4-Stream Switch so that I could select between video sources, in this case between the HDMI camera and the TPG (test pattern generator).   I started with the overlay from session 3 and added back the TPG and added an AXI4-Stream Switch.  Seems very straightforward but I encountered a problem that I didn't expect.  The TPG apparently only uses a single clock ...
TL;DR: Debugging a CAN board with PYNQ-Z2's logictools and WaveDrom ->              -> A lot faster than debugging Assembly!   This blog is long overdue, I hope your tea did not get stale in the meantime;) I am finally caught up with all of the university assignments, really starting to believe I was a turtle in the previous life, and dive into the "homework" in between the ongoing exams as much as I can. As I certainly ...
This past Tuesday was the final session in the Pynq-Z2 workshop series.  This session completed the embedded vision project by adding an interface for an HDMI camera and using it to read barcodes.   The HDMI interface was was brought in as a hierarchical block called "frontend" which was exported from the base overlay.   Here is the upper level block diagram with the frontend block highlighted: A closer look at the frontend block showing the camera interface IP dvi2rgb and th ...
The webinar focused on video processing while the PYNQ-Z2 board has additional features that can be used when making an edge-processing prototype. You can use the USB host connector to connect a UART serial/RS232 adapter to then control some electronics or a microcontroller board with it logic that can be accessed/controlled via a serial connection You can use the GPIO on the board to play with some electronic components but also to control an optocoupler or a SSR to emulate button presses on ...
I was somewhat inspired by beacon_dave 's post on his overlay modification so I decided to do something very similar.  I'm adding the Button interface to the overlay we created in Session 2 so that I can control the pattern that is displayed by the TPG based on the value read from the buttons.   This involves adding the AXI GPIO as Dave demonstrated.  And connecting it to the Button interface.   Here's the modified Block Diagram: And a closeup of the modified section: ...
Another great workshop with Adam Taylor today.  Adam went through creating a new Pynq overlay in Vivado.  The workshop created an overlay with a VDMA element to interface the TPG (test pattern generator) with the Processing system.   The version of the TPG IP used with the 2019.1 tools is v8.0:  https://www.xilinx.com/support/documentation/ip_documentation/v_tpg/v8_0/pg103-v-tpg.pdf   It can generate a number of interesting video patterns:   After the overlay w ...
In session #1 of the workshop, i have learned a coupled of new things   -the Linux that runs on the PYNQ-Z2 is PetaLinux -we can do RISC-V overlay on it   Adam Taylor has provided a concise introduction about PYNQ-Z2 with sufficient information in the first session and i do want to try out some simple overlay that does IO with the existing connector on the board, including using PMOD for 485 i also find it nice that there are people who can answer the questions during the webinar altho ...
I have recently been exploring the possibility of using FPGA SoC devices and toolchains for experimenting on video signal processing. I tried Xilinx ZCU104, and found that the development process is not straightforward involving a complicated design flow which needs a repetitive trial and error process. Although it is recommended that the most recent tools of Xilinx Vivado 2019.2 + PetaLinux SDK 2019.2 + Vitis 2019.2 are used but no clear step by step guidelines is available for the ZCU104 board ...
As we all know, the COVID-19 outbreak hit the world and changed our lifestyle. In this condition, Alcohol and hand sanitizers are vital fluids, however, they must be used properly. Touching alcohol containers or hand sanitizers with infected hands can spread the virus to the next person. In this article, we will build an automatic hand sanitizer dispenser that uses IR sensors to detect the presence of a hand and activates a pump to pour the liquid on the hand. The intention was to find the cheap ...
There is a lot of electronics or IoT connection points for Python developers or just makers playing with their Micro:Bit, Raspberry Pi or other board powered by Zerynth, TinkerForge, MicroPython, CircuitPython and alike. Among all of those there is no FPGA or anything close. There are edge NPU like Google Coral, Intel Movidius or Rockchip 3399 Pro and it standalone NPU, or Nvidia with their Jetson and alike boards. Those can do machine learning and alike, yet they don't cover the gap completely ...
PYNQ-Z2: Embedded Vision Workshop Series with Adam Taylor   Getting Started | Getting Up and Running  | Unlocking Your Inner PYNQ Hero  | Project14 | PYNQ Workshop   Session 1 of the workshop covered two overlays that are included in the standard PYNQ image - the Base overlay and the Logictools overlay.   The base overlay provides the ability to work with all of the hardware interfaces on the PYNQ board, including the HDMI, Audio, Pmod, RPI and Shield Connector. ...