ESP8266 BASIC Sets Up A Web Remote In No Time

One of the sticking points for us with our own Internet of Things is, ironically, the Internet part. We build hardware happily, but when it comes time to code up web frontends to drive it all, the thrill is gone and the project is only half-done.

Including some simple web-based scripting functionality along with the microcontroller basics is one of the cleverest tricks up ESP8266 BASIC’s sleeves. BASIC author [mmiscool] puts it to good use in this short demo: a complete learning IR remote control that’s driven through a web interface, written in just a few lines of BASIC.

Note that everything happens inside the ESP8266 here, from hosting the web page to interpreting and then blinking back out the IR LED codes to control the remote. This is a sophisticated “hello world”, the bare minimum to get you started. The interface could look slicker and the IR remote could increase its range with more current to the LED, but that would involve adding a transistor and some resistors, doubling the parts count.

For something like $10 in parts, though, this is a fun introduction to the ESP and BASIC. Other examples are simpler, but we think that this project has an awesome/effort ratio that’s hard to beat.

Giving Linux The Remote Boot

A lot of embedded systems are running Linux on platforms like Raspberry Pi. Since Linux is fully functional from a command line and fully network-capable, it is possible to run servers that you’ve never had physical access to.

There are a few problems, though. Sometimes you really need to reboot the box physically. You also need to be at the console to do things like totally install a new operating system. Or do you? Over on GitHub, user [marcan] has a C program and a shell script that allows you to take over a running system without using any software on the root filesystem. It starts an ssh server and you can remotely unmount the main drive, do any maintenance you want and –presumably–reboot into a new operating system.

Continue reading “Giving Linux The Remote Boot”

LoRaWAN And Raspberry Pi Compute Module For A Remote Display

We see a lot of Raspberry Pi projects on these pages featuring all variants of the little board from Cambridge, but with one notable exception. Surprisingly few of them have featured its industrial embedded cousin, the Raspberry Pi Compute Module. The Pi-on-a-SODIMM form factor is a neat idea, but we are guessing that the high price of the development board relative to that of a Model B or a Pi Zero has pushed most people in our community towards the latter choice.

[Andrew Back] has put up a straightforward demonstration project on the RS DesignSpark site that provides an introduction to the Compute Module 3, using it to run a remotely operated display. In addition it uses an RN2483 LoRaWan radio module and The Things Network for communication, which makes it worth a look even if the Compute Module wasn’t of interest. Continue reading “LoRaWAN And Raspberry Pi Compute Module For A Remote Display”

SDR And Node.js Remote-Controlled Monster Drift

Most old-school remote controlled cars broadcast their controls on 27 MHz. Some software-defined radio (SDR) units will go that low. The rest, as we hardware folks like to say, is a simple matter of coding.

So kudos to [watson] for actually doing the coding. His monster drift project starts with the basics — sine and cosine waves of the right frequency — and combines them in just the right durations to spit out to an SDR, in this case a HackRF. Watch the smile on his face as he hits the enter key and the car pulls off an epic office-table 180 (video embedded below).

Continue reading “SDR And Node.js Remote-Controlled Monster Drift”

Start Your Path To Becoming An Antenna Guru

We’ve known a few people over the years that have some secret insight into antennas. To most of us, though, it is somewhat of a black art (which explains all the quasi-science antennas made out of improbable elements you can find on the web). There was a time when only the hams and the RF nerds cared about antennas, but these days wireless is everywhere: cell phones, WiFi, Bluetooth, and even RF remote controls all live and die based on their antennas.

You can find a lot of high-powered math discussions about antennas full of Maxwell’s equations, spherical integration and other high-power calculus, and lots of arcane diagrams. [Mark Hughes] recently posted a two-part introduction to antennas that has less math and more animated images, which is fine with us (when you are done with the first part, check out part two). He’s also included a video which you can find below.

The first part is fairly simple with a discussion of history and electromagnetics. However, it also talks about superposition, reflection, and standing wave ratio. Part two, though, goes into radiation patterns and gain. Overall, it is a great gateway to a relatively arcane art.

We’ve talked about Smith charts before, which are probably the next logical step for the apprentice antenna wizard. We also covered PCB antenna design.

Continue reading “Start Your Path To Becoming An Antenna Guru”

Technically A Hack. Still Questionable. Remote Control Food.

We thought we were going to read an article about, perhaps, a quadcopter that could fetch beer, or donuts. What we got was more along the lines of a donut dragging itself across the floor, rendering it pitiful and advisibly indigestible.

Sometimes people joke about not wanting to get in mind of a crazy person. We understand. While we could certainly follow [Michael Kohn]’s logic, the motivation was alien. Either way, in a rare turn of events there was not a single Arduino to be seen; just reverse engineering, unique solutions, and even a custom board. This is what some of you have been asking for… we think.

The brain of the questionable contraption is a TI MSP430G2231 and a tiny forward only motor driver circuit. The MSP waits for a signal from a hacked IR remote control from a cheap RC car. It then turns those into the appropriate motor control signals which go to some of those nice tiny metal gearboxes.

There were, naturally, a lot of technical issues in mounting the electronics to the food that, well… they didn’t need to be solved, but they were solved. For example, masking tape apparently does not stick well to green peppers, so toothpicks must be employed to pin the tape in place. Hopefully knowledge like this is scheduled for the nightly wipe while we sleep, but we’ll probably hold onto  it till we die, unlike expensive piano lessons.

In the end we had a good laugh, and the idea is so dumb it will probably be an educational Kickstarter next week. Video after the break.

Continue reading “Technically A Hack. Still Questionable. Remote Control Food.”

Remote-Operated Gate On A Budget

Sometimes, a simple fix is the best solution. Lacking extra funds for a proper remote-controlled gate-opener after the recent purchase of their farm, redditor [amaurer3210] built one as a birthday gift for his wife.

Supported on pillow block housings, a 10″ wheel is connected to the motor by via a 3D printed pulley and a timing belt turned inside-out to allow for slippage — in case of obstacles or manual opening of the gate. If you’ve ever worked with belts in your builds, [amaurer3210] adds that during sizing he uses a few layers of fiberglass tape as a stand-in for the belt to avoid frustration over final belt size and tension.
Continue reading “Remote-Operated Gate On A Budget”