软件无线电是桥接物理和数字并教授STEM的好方法

One of the magical technologies that makes an Open Source Artificial Pancreas possible is "Software-defined Radio" or SDR. I have found that SDR is one of those technologies that you've either heard of and agree it's amazing or you've literally never heard of it. Well, buckle up, friends

使“开源人工胰腺”成为可能的神奇技术之一是“软件定义的无线电”或SDR。 我发现SDR是您曾经听说过并同意它令人惊叹或您从未听说过的那些技术之一。 好吧,系好安全带,朋友们

There's an amazing write up by Pete Schwamb, one of the core members of the community who works on Loop full time now, on how Software Defined Radios have allowed the community to "sniff" the communication protocols of insulin pumps in the RF spectrum and reverse engineer the communications for the Medtronic and now Omnipod Eros Insulin Pumps. It's a fascinating read that really illustrates how you just need the right people and a good cause and you can do anything.

社区的核心成员之一,现在全职从事Loop的Pete Schwamb撰写了一篇惊人的文章,内容涉及软件定义的无线电如何使社区“嗅探”胰岛素泵在RF频谱中的通信协议并反向为Medtronic和现在的Omnipod Eros胰岛素泵设计通讯。 这是一本引人入胜的读物,真正说明了您如何需要合适的人选和良好的事业,并且您可以做任何事情。

In his post, Pete explains how he configured the SDR attached to his computer to listen into the 433MHz range and capture the RF (radio frequencies) coming to and from an insulin pump. He shows how the shifts between a slightly higher and slightly lower frequency is used to express 1s and 0s, just like a high voltage is a 1 and a low or no voltage is a 0.

在他的帖子中,Pete解释了如何配置与计算机连接的SDR,以侦听433MHz范围并捕获进出胰岛素泵的RF(射频)。 他展示了如何使用较高频率和较低频率之间的转换来表示1和0,就像高电压是1而低电压或没有电压是0一样。

软件无线电是桥接物理和数字并教授STEM的好方法

Then he gets a whole "packet," plucks it out of the thin air, and then manipulates it from Python. Insert Major Motion Picture Programmer Montage and a open source pancreas pops out the other side.

然后,他得到了一个完整的“数据包” ,凭空拔出它,然后从Python中对其进行操作。 插入Major Motion Picture Programmer Montage,另一端弹出开源胰腺。

软件无线电是桥接物理和数字并教授STEM的好方法

Lemme tell you, Dear Reader, Hello World is nice, but pulling binary data out of electromagnetic radiation with wavelengths in the electromagnetic spectrum longer than infrared light is THE HOTNESS.

Lemme告诉您,亲爱的读者, Hello World很不错,但是将电磁波中波长比红外光长的电磁辐射中的二进制数据提取出来的做法就是THE HOTNESS

From a STEM perspective, SDR is more fun than Console Apps when educating kids about the world and it's a great way to make the abstract REAL while teaching programming and science.

从STEM的角度来看,在教育孩子们有关世界的知识方面,SDR比Console Apps更有趣,这是在教授编程和科学知识时使抽象成为REAL的好方法。

You can get a SDR kit for as little as US$20 as a USB device. They are so simple and small it's hard to believe they work at all.

作为USB设备,您只需20美元即可获得SDR套件。 它们是如此简单小巧,简直让人难以置信。

Just plug it in and download Airspy (Formerly SDRSharp, there are many choices in the SDR space). and run the install-rtlsdr.bat to setup a few drivers.

只需将其插入并下载Airspy (以前是SDRSharp,在SDR空间中有很多选择)。 并运行install-rtlsdr.bat以设置一些驱动程序。

You'll want to run zadig.exe and change the default driver for listening to radio (FM, TV) over to something more low-level. Run it, select "List All Interfaces," and select "Bulk Interface 0"

您将需要运行zadig.exe,并将用于收听广播(FM,TV)的默认驱动程序更改为更底层的内容。 运行它,选择“列出所有接口”,然后选择“批量接口0”

软件无线电是桥接物理和数字并教授STEM的好方法

After you hit Replace Driver with WinUSB, you can close this and run SDRSharp.exe.

在用WinUSB替换驱动程序后,您可以关闭它并运行SDRSharp.exe。

I've set my SDRSharp to WFM (FM Radio) and turned the Gain up and OMG it's the radio.

我已经将我的SDRSharp设置为WFM(调频收音机),并打开了增益,而OMG是收音机。

软件无线电是桥接物理和数字并教授STEM的好方法

In this pic I'm listening to 91.5 FM in Portland, Oregon which is National Public Radio. The news is the center red line moving down, while the far right is 92.3, a rock station, and 90.7 on the far left is more jazz. You can almost see it!

在这张照片中,我正在收听俄勒冈州波特兰市的91.5 FM,这是国家公共广播电台。 新闻是中心的红线向下移动,而最右边的是92.3,是一个摇滚站,最左边的90.7是更多的爵士乐。 您几乎可以看到它!

AdaFruit has as great SDR tutorial and I'll use it to find the local station for National Weather Radio. This is the weather alert that is available anywhere here in America. Mine was Narrow Band (WFM) at 162.550 FM! It was harder to hear but it was there when I turned up the gain.

AdaFruit具有出色的SDR教程,我将使用它来查找National Weather Radio的本地电台。 这是美国任何地方都可以使用天气警报。 我的是162.550 FM的窄带(WFM)! 很难听到,但是当我调高增益时就在那里。

软件无线电是桥接物理和数字并教授STEM的好方法

But wait, it's more than radio, it's the whole spectrum!

但是,等等,不仅仅是广播,更是整个频谱!

Here I am sending a "Get Pump Model" command to my insulin pump in the 900Mhz range! The meaty part is in the red.

在这里,我要向900Mhz范围内的胰岛素泵发送“获取泵模型”命令! 肉质部分为红色。

软件无线电是桥接物理和数字并教授STEM的好方法

Here's the heartbeat and requests that are sent to my Insulin Pump from my Loop app through a RileyLink (BT to RF Bridge). I'm seeing the Looping communications of my Open Source Artificial Pancreas here, live.

这是通过RileyLink(BT到RF桥)从我的Loop应用程序发送到我的胰岛素泵的心跳和请求。 我正在现场观看我的开源人工胰腺的循环通讯。

软件无线电是桥接物理和数字并教授STEM的好方法

Next post or two I'll try to get the raw bits off of the RF signal of something interesting. If you haven't messed with SDR you should really give it a try! As I said before you can get a SDR kit for as little as US$20 as a USB device.

在下一两篇文章中,我将尝试从有趣的RF信号中获取原始位。 如果您还不习惯SDR,则应该尝试一下! 就像我之前说过的那样,您只需20美元就可以得到一个USB设备的SDR套件



Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!

发起人:是否对软件错误缺乏明确的了解? 通过Raygun.com进行错误监视,为您的客户提供应有的期望和期望的体验。 几分钟即可安装,立即尝试!

关于斯科特 (About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

软件无线电是桥接物理和数字并教授STEM的好方法
软件无线电是桥接物理和数字并教授STEM的好方法
软件无线电是桥接物理和数字并教授STEM的好方法
About   关于 Newsletter 时事通讯
Hosting By 主持人
软件无线电是桥接物理和数字并教授STEM的好方法

翻译自: https://www.hanselman.com/blog/software-defined-radio-is-a-great-way-to-bridge-the-physical-and-the-digital-and-teach-stem

相关文章:

  • 2021-12-19
  • 2021-11-19
  • 2021-12-04
  • 2022-12-23
  • 2021-10-23
  • 2022-03-03
  • 2021-12-28
  • 2021-12-21
猜你喜欢
  • 2021-06-30
  • 2021-07-24
  • 2021-08-13
  • 2021-11-04
  • 2021-11-22
  • 2022-01-04
  • 2022-12-23
相关资源
相似解决方案