@EmbeddedJourneys

6 Followers
4 Following
24 Posts
I love making little machines tick—especially the smaller ones! The smaller they are, the cooler they get.

Added some oscilloscope measured waveforms to my blogpost about the hc-sr04 ultrasonic distance sensor. Trigger pulse width was off from the expected width on linux. Ultrasonic pulses clearly visual as well

https://embeddedjourneys.com/blog/sensor-hc-sr04/

#embedded #hc-sr04 #debugging #oscilloscope

Raspberry Pi + HC-SR04 Ultrasonic Distance Sensor: Wiring, Code and Accuracy Tips

Embedded Journeys

Expected to create a 10us pulse in python using time.sleep() on my raspberry pi:

GPIO.output(pin_trig, GPIO.HIGH)
time.sleep(10E-6)
GPIO.output(pin_trig, GPIO.LOW)

Only to see a 95.5us pulse with my #siglent scope

#GPIO #embedded #raspberrypi #debugging

Looking to turn my #Pico2 in a rudimentary #oscilloscope. Have been checking the ADC's samplerate and tried measuring an ultrasonic distance sensor's echo pulse. Not quite there yet, USB throughput is still a limiting factor.

https://embeddedjourneys.com/blog/pico-rudimentary-oscilloscope-1/

Using the Raspberry Pi Pico 2 as a rudimentary oscilloscope

Embedded Journeys
Lab upgrade! Finally better measurements, more insights!
#oscilloscope #siglent #SDS814X HD
Registers are just the API into your peripheral #insightoftheday #pico2 #embedded #mcu
Correct result came a bit faster then expected! Step response measured through RP2350 ADC from 3V3 to Ground. The transition in between is due to the ADC pin being floating for a brief moment in time #pico2 #embedded
ADC readouts on the #pico2 are coming together. Plot below for the visualization of MSB of the adc output (4 bits). Switching input from 3V3 to GND.
Mental note: adc input 3 (or GPIO29) can not be used to measure custom voltages on the #Pico 2 W board as it is already routed on the board to potentially measure Vsys/3.

Spent some time getting a usb bulk data stream working on a Raspberry Pico 2W using TinyUSB.

Biggest hurdles were device/configuration descriptor and realizing tud_task() needs to be called frequently.

https://embeddedjourneys.com/blog/first-time-usb-data-stream-on-pico/

#pico2 #tinyusb #embedded

First Time USB Data Streaming from the Raspberry Pico 2W Using TinyUSB

Embedded Journeys
Nice to see #bluetooth is still innovating, discovered about "bluetooth channel sounding", increased accuracy and security in distance measurement #embedded