The 2G Raspberry Pi Smartphone

For [Tyler]’s entry to the Hackaday Prize, he’s making something that just a few years ago would be unheard of in a homebrew build. He’s making a DIY smartphone. Yes, with cheap single-board Linux computers, GSM modules, and SPI touchscreen displays, it’s possible to build your own smartphone.

Inside [Tyler]’s DIY smartphone is a Raspberry Pi Model A, a 3.5 inch touchscreen PiTFT with 480×320 resolution, and an Adafruit FONA module The connections are simple enough; the TFT is connected over SPI, and the GSM module over serial. The entire device is powered by a 1200mAh LiIon battery, charged with a powerboost board, runs an operating system written in Python capable of making calls, sending texts, and takes pictures with a Pi camera.

This is not what you would normally call a smartphone. The FONA module is 2G only, meaning you’re limited to 2G speeds and 2G networks. AT&T will be shutting down 2G networks in a little bit, although T-Mobile will be keeping them up for anyone who still has an old Nokia Brick.

That said, [Tyler]’s phone is still exactly what you want in a minimal phone: it just makes calls and receives texts, it has a camera, and unlike the Nokia, you can take it apart and repair it easily. Not that you ever had to do that with a Nokia…

Spark Goes Cellular With The Electron

A few years ago, small and cheap WiFi modules burst onto the scene and with that the Spark was born. It’s a tiny dev board with a TI CC3000 WiFi module, capable of turning any device into an Internet-connected device. It’s only the very beginning of the Internet of Things, yes, but an important step in the right direction. Now, Spark is unshackling itself from WiFi networks with the Spark Electron, a dev kit that comes with a cellular radio and data plan.

If you’ve ever tried to build a high altitude balloon, a project that will be out of range of WiFi, or anything else where cellular data would be a godsend, you’ll quickly realize Verizon, AT&T, Sprint, and all the other carriers out there don’t necessarily care about your project. As far as we can tell, Spark is the first company to fix this gaping hole in what cellular can do by offering their own service – 20,000 messages for $3/month and no contracts. Officially, that’s 1MB of data spread over 20k messages that are about 50 bytes in length.

There are a few dozen companies and organizations working on the next generation of The Internet Of Things, but these require completely new silicon and spectrum allocations or base stations. Right now, there’s exactly one way of getting a Thing on the Internet without WiFi, and that’s with cellular data. We have to hand it to Spark for this one, and can’t wait to see the projects that will be possible due to a trickle of Internet everywhere.

MacGyver, Jedi Knights, Ammo Stockpiles, And Candy Crush

Everyone’s favorite machinist, tinkerer, YouTube celebrity, deadpan comedian, and Canadian is back with a tale of popping a few benzos, stumbling around Mexico, and wondering why everyone else on the planet is so stupid.

The hero of our story considered the feasibility of one hundred and eighty-sixth trimester abortions as he stood outside a Mexican airport watching a stockbroker complain about the battery in his cellphone. Meanwhile, cars drove by.

Here’s how you charge a phone with a car battery and an ‘ol Dixon Ticonderoga.

To charge a battery, all you really need to do is connect the terminals to a power source with the right voltage. A cell phone battery needs about three volts, and a car battery has twelve. You need a voltage divider. You can get that with a pencil. Take out a knife, get to the carbon and clay wrapped in wood, and wire the battery up. Make a cut a quarter of the way down this rather long resistor, and there you will find something around three volts.

Does it work? Yeah. It works even better if you have some tape to hold wires onto the cell phone battery when charging. Is it smart? It is if there is no other conceivable way of charging your cell phone. Should you do it? Nah. Video below. Thanks [Morris] for the link.

Continue reading “MacGyver, Jedi Knights, Ammo Stockpiles, And Candy Crush”

Towards A Reverse Engineering Of Samsung’s S-Pen

A few years ago, Wacom, the company behind all those cool graphics tablets, teamed up with Samsung to create the S Pen, a rebirth of that weird pen computing thing that happened in the 90s and a very interesting peripheral if only someone would write some software for it. [Kerry D. Wong] was wondering how the S Pen worked and wired up some hardware to take a look at how the pen communicates with the phone.

It was already known that the S Pen was powered by an RF field, and works somewhat like RFID. Listening in on the communication would require a coil of some type, so [Kerry] disassembled a small speaker and connected it to a scope.

A look at the captured waveforms from the S Pen reveled the carrier frequency appears to be in the range of 550 to 560kHz, outside the range of standard RFID. He doesn’t have the equipment to decode the complete protocol, but a few things can be deduced – the screen senses the location of the pen by detecting a dip in the RF field strength. The only information that is transferred between the pen and phone is the 11-bit pressure sensitivity and a 1-bit value that signals the button is on or off.

[Kerry] put the waveform data up on his site should anyone want to make an attempt at decoding the protocol.

Hack Your Phone: Turn Your Volume Buttons Into GPIO Ports

Internet connected cameras are mighty useful, specially in situations requiring some form of remote monitoring. An always-on camera that is available over an internet connection, is cheap, and uses re-purposed  hardware – that’s what the Gonzo project hopes to achieve. To accommodate these requirements, the Exploratory Engineering program team in Telenor Digital are using off-the-shelf phone hardware running on top of a fork of Firefox OS. You hang the Gonzo where you want to monitor a situation, after which it will function for up to one month before needing a recharge, sending data to a designated public URL over the 2G network.

A big downside with using such hardware is that it is not designed for the task at hand, and offers no expansion ports that may be needed for certain functions. In this particular case, the designers needed a couple of output ports to drive some LED’s. The hardware guys got a bit creative,  and re-mapped the volume buttons of the phone into generic GPIO ports. On the software side, they looked at where the button GPIO’s were referenced, and located how they are mapped to a keymap. They then added a device driver that maps the GPIO ports to be generic ports instead. Modding the hardware needed a little bit more hard work, figuring out which traces connected to the two volume buttons, adding series resistors, and then wiring the LED’s in place. The project itself is still a work in progress, and you can read more about it at the Gonzo website.

If you’re like one of us and have a box full of old phones lying around, take a look at some creative suggestions here for some Arduino controlled robots.

Thanks for the tip [pb] !

Teardown: The Android-powered IPhone Case

Cellphones! Cellphone cases! Now that Radio Shack is kaput we need to pick up the slack!

A company named Oaxis has been making cell phone cases for a while now, and they’ve recently rolled out something rather interesting – a cell phone case with an e-ink screen. It’s an interesting idea and [Anton] did a teardown on two new releases. The first one just sends an image to an e-ink screen, and on paper, that’s all the second one does as well. There’s something special hidden under the hood, though: a low-end Android system. What an age to live in.

Something interesting happened when [Anton] was futzing with the battery for the e-ink iPhone case. Somehow, the device booted into recovery mode. Android recovery mode. Yes, iPhone cases now run Android.

Inside the e-ink iPhone case, [Anton] found a board with a Rockchip RK2818 SoC. This is the same chip that can be found in cheap Android cell phones. There’s only one button on the cell phone case, and connectivity is only provided by Bluetooth LE, but the possibilities for modding a cell phone case are extremely interesting.

Build Your Own Gear VR

With Samsung’s new Gear VR announced, developers and VR enthusiasts are awaiting the release of the smartphone connected VR headset. A few people couldn’t wait to get their hands on the platform, so they created, OpenGear, a Gear VR compatible headset.

The OpenGear starts off with a Samsung Galaxy Note 4, which is the target platform for the Gear VR headset. A cardboard enclosure, similar to the Google Cardboard headset, holds the lenses and straps the phone to your face.

The only missing part is the motion tracking electronics. Fortunately, ST’s STM32F3 Discovery development board has everything needed: a microcontroller with USB device support, a L3GD20 3 axis gyro, and a LSM303DLHC accelerometer/magnetometer. These components together provide a USB inertial measurement unit for tracking your head.

With the Discovery board strapped to the cardboard headset, an open-source firmware is flashed. This emulates the messages sent by a legitimate Oculus Rift motion tracker. The Galaxy Note 4 sees the device as a VR headset, and lets you run VR apps.

If you’re interested, the OpenGear team is offering a development kit. This is a great way for developers to get a head start on their apps before the Gear VR is actually released. The main downside is how you’ll look with this thing affixed to your face. There’s a head-to-head against the real Gear VR after the break.

[via Road To VR]

Continue reading “Build Your Own Gear VR”