User:Bertrik Sikken: Difference between revisions
Line 42: | Line 42: | ||
Other radar stuff: | Other radar stuff: | ||
* [https://nl.aliexpress.com/item/4000019605145.html Yh-24g04, a 24 GHz quadrature doppler radar] (no CPU), has modulation input, for about E16,- | * [https://nl.aliexpress.com/item/4000019605145.html Yh-24g04, a 24 GHz quadrature doppler radar] (no CPU), has modulation input, for about E16,- | ||
* [https://nl.aliexpress.com/item/33063598872.html DM-39, a 24 GHz quadrature doppler radar] with CPU for about E32,-. The page shows a SRK1101 radar, with I/Q outputs and tune input. | * [https://nl.aliexpress.com/item/33063598872.html DM-39, a 24 GHz quadrature doppler radar] with CPU for about E32,-. The page shows a SRK1101 radar, with I/Q outputs and tune input. Mentions Cortex M0. | ||
* [https://nl.aliexpress.com/item/4000199485196.html DM-19, a 24 GHz quadrature doppler radar] with CPU for about E48,-. Appears similar in possibilities to DM-39. Mentions Cortex M3/M4 processor. | * [https://nl.aliexpress.com/item/4000199485196.html DM-19, a 24 GHz quadrature doppler radar] with CPU for about E48,-. Appears similar in possibilities to DM-39. Mentions Cortex M3/M4 processor. | ||
* [https://nl.aliexpress.com/item/33063634093.html another DM-19, 24 GHz quadrature doppler radar] | * [https://nl.aliexpress.com/item/33063634093.html another DM-19, 24 GHz quadrature doppler radar] | ||
* [https://nl.aliexpress.com/item/4000189129731.html FM-42, a 24 GHz FMCW radar] with CPU for about | * [https://nl.aliexpress.com/item/4000189129731.html FM-42, a 24 GHz FMCW radar] with CPU for about USD107,- | ||
* [https://nl.aliexpress.com/item/4000727301659.html 182MOD, a module outputting speed] for about USD28,- appears to use a 5-pin radar (Vcc,Gnd,I,Q,tune?) | |||
=== Blood pressure meter hacking === | === Blood pressure meter hacking === |
Revision as of 20:41, 3 May 2020
User info Bertrik Sikken | |
---|---|
Name | Bertrik Sikken |
Nick | bertrik |
Tagline | heb ik niet |
You can reach me at bertrik@sikken.nl or bertrik@gmail.com
Studied Electrical Engineering at Twente University.
Main interests:
- reverse-engineering things (USB stuff, mp3 players), working on http://rockbox.org
- studying bats and making electronics for recording/listening to bat sounds
- radio stuff, in particular software-defined radio
Projects I work(ed) on (refresh):
Project ideas
This is a list of ideas I'm thinking about, but have not fully developed into an actual project yet.
Zo'n ding 3d printen: https://twitter.com/MeOwOser/status/1250879531830915073
Smart radar modules
Nowadays you can find radar modules with integrated processor.
There's an FMCW radar available. These things can sense motion and range, interesting for tracking bats near a roost?
Interesting links:
- https://www.acconeer.com/products has a list of smart radar modules
- https://learn.sparkfun.com/tutorials/getting-started-with-the-a111-pulsed-radar-sensor/all
Other radar stuff:
- Yh-24g04, a 24 GHz quadrature doppler radar (no CPU), has modulation input, for about E16,-
- DM-39, a 24 GHz quadrature doppler radar with CPU for about E32,-. The page shows a SRK1101 radar, with I/Q outputs and tune input. Mentions Cortex M0.
- DM-19, a 24 GHz quadrature doppler radar with CPU for about E48,-. Appears similar in possibilities to DM-39. Mentions Cortex M3/M4 processor.
- another DM-19, 24 GHz quadrature doppler radar
- FM-42, a 24 GHz FMCW radar with CPU for about USD107,-
- 182MOD, a module outputting speed for about USD28,- appears to use a 5-pin radar (Vcc,Gnd,I,Q,tune?)
Blood pressure meter hacking
Apparently some blood pressure monitors can be hacked.
My goal is to be able to extract the list of the last 100 measurements somehow, so you don't have to type them over manually. Either using bluetooth (serial), or by adding something like an ESP8266 to sniff internally an make it available over WiFi.
- bluetooth GATT profile for blood pressure monitors https://www.bluetooth.com/specifications/gatt/
- hacking the UART on an Omron RS8 : https://blog.adafruit.com/2016/05/26/hacking-uart-to-an-omron-rs8-blood-pressure-sphygmomanometer/
- hacking a blood pressure monitor by monitoring i2c traffic to the EEPOM: https://www.edusteinhorst.com/hacking-a-blood-pressure-monitor/
Raspberry pi airplane tracking
Apparently now you can also participate in MLAT tracking of planes that don't transmit GPS coordinates themselves.
APRS gateway
JQ6500
Small inexpensive modules that play mp3 from an internal flash. Could be nice for a custom door bell for example.
More info at:
- https://www.elecfreaks.com/wiki/index.php?title=JQ6500_Mini_MP3_Module
- https://sparks.gogo.co.nz/jq6500/index.html
FPGA
Cheap FPGA boards and nice applications:
- https://bitbucket.org/appanp/artificial-neural-networks/wiki/Home/FPGAsAndNeuralNets.md#!sbcs-and-iot-boards
- inexpensive ep2c5t144 board
- http://land-boards.com/blwiki/index.php?title=Cyclone_II_EP2C5_Mini_Dev_Board
Neural networks on low-end hardware
Investigate if you can run a powerful neural network on relatively low-end/cheap/low-power hardware. For example a Raspberry pi. A RPI runs Linux, run python, just like some common neural frameworks. Do we need hardware acceleration from the GPU and does the RPI GPU support that?
Read list:
- https://www.zdnet.com/pictures/raspberry-pi-meets-ai-the-projects-that-put-machine-learning-on-the-35-board/
- https://www.pyimagesearch.com/2017/12/18/keras-deep-learning-raspberry-pi/
- https://www.indiegogo.com/projects/sipeed-maix-the-world-first-risc-v-64-ai-module#/
- https://ai.intel.com/intel-neural-compute-stick-2-smarter-faster-plug-and-play-ai-at-the-edge/
Bought a MaixPy:
- see https://maixpy.sipeed.com/en/
- see https://www.youtube.com/watch?v=KResVuAIMb4
- see http://educ8s.tv/sipeed-m1-dock-review/
- interesting? https://www.instructables.com/id/Transfer-Learning-With-Sipeed-MaiX-and-Arduino-IDE/
investigate quadcopter remote control
It turns out that the typical little cheap Chinese quadcopters use a remote-control protocol that can be easily recreated using the famous NRF24L01+ chip (< $1 and easily connected to an arduino). This gives nice opportunity to either:
- transmit our own control signal, to control a quadcopter from something different than the manual remote control, e.g. automatic control
- receive the control signal, so the manual remote control that comes with a quadcopter can be used to steer other things (like a model car).
I haven't found a good overview of quadcopter remote control protocol specifications yet, there seem to be plenty examples of "here-is-the-code" however.
mini word clock in dutch
Basically an monochrome 8x8 word clock, in Dutch, showing local time in the Netherlands.
This git repo has the current code.
See here for a demo running on an arduino nano.
The plan is to run this from an ESP8266 instead of an arduino nano, so it can get the time from the internet using NTP. Andreas Spiess demonstrated on youtube how existing libraries on the ESP8266 can be used to do the local time (including summer-time) calculations.
Cypress PSOC5
Play with the Cypress PSOC5 platform, which combines a ARM Cortex-m3 processor with configurable analog blocks. I'm thinking of combining it with a 24 GHz doppler radar sensor, to process the signal and present it as a USB audio device (stereo signal contains I and Q parts). See RadarOnAStick.
Simple Doppler motion sensors
You can find basic doppler microwave motion sensors based on a single transistor, with some weird traces on the PCB very cheaply, for example
Typically the microwave part of these consists of a single transistor with a rectangular area on one leg and a meandering trace (with lots of vias to the other side) on the other leg. The output of this circuit seems to go into a chip very much like the ones used in PIR sensors.
See also https://github.com/jdesbonnet/RCWL-0516 for a reverse engineering effort of these doppler radar modules.
Bare-bones Arduino bat detector
This is an idea for a very basic heterodyne bat detector, doing signal processing on an Arduino, requiring minimal external components.
The basic principle of a heterodyne detector is that it just mixes (multiplies) the audio signal with a square wave, low-pass filters the result and puts it on a speaker.
Multiplying with a square wave can also be considered to be just alternatively inverting and not-inverting the signal. So if you sample an ultrasonic signal at twice the rate you want to multiply, you can just subtract odd samples from even samples and low-pass filter that.
How this can be done in an AVR Arduino:
- sample the audio signal at twice the detection frequency, say 84 kHz. An AVR should just be able to do that.
- apply a 1-pole IIR high-pass filter to remove DC bias, this takes one shift instruction and one addition.
- multiply by the detection frequency, this means just inverting the odd samples.
- low-pass filter the signal, this can be done using a moving average filter, say 16 samples long (first null at 5.25 kHz). Theoretically, averaging 16 samples should result in two bits extra accuracy. This operation takes some storage, an addition and a subtraction.
- output the filtered signal using PWM, possibly at the same rate that we are sampling the input audio.
The microphone can be a 40 kHz piezo transducer, to keep it cheap (but also limited to 40 kHz). The pre-amplifier can be a single transistor with some resistors around it, providing about 40x gain. The arduino does the signal processing (mixing, low-pass filter) to shift the bat audio to human range. The speaker amplifier can just be a simple two transistor push-pull circuit, since the output from the Arduino is digital/PWM.
AVR Arduino sample rate
As far as I understand, the ADC clock can be set to 1 MHz. Conversion takes 13 cycles, so this can be a problem to reach a sample rate above 80 kHz.
GPS repeater
This idea is about experimenting with a cheap GPS repeater built out of an "active" GPS antenna.
The problem this solves is that often indoors you have no GPS reception, but you like to have some signal to experiment with (e.g. a LoRa tracker).
Plan:
- get a cheap active GPS antenna from AliExpress (some as cheap as E2,- !), most just mention one frequency (1575.42 MHz)
- get a bias-T circuit to feed it the supply voltage (e.g. from a KOPPLA) and pass the RF signal onto an indoor antenna
- the indoor antenna may be as simple as a 1/4 wave coax dipole: center conductor sticking up (about 47 mm), coax shielding is divided into 3 of 4 ground radials sticking sideways
- build it and test it with a smart phone, tracker hardware, etc.
See also:
Indoor radar speed sign
This idea about placing a simple IQ-output radar sensor indoors in the hacker space, do some basic signal processing on the IQ doppler signal and determine movement speed and direction, then display this on a LED display. This is of no immediate practical use other than fun, but helps me to gain a bit more experience with microwave radar sensors and eventually build a more effective setup for detecting/counting bats flying in and out of a roost.
Implement this on a PSOC5 platform or on the STM32 using Arduino.