Wires? Where this LED scroller is going we don’t need wires. Well, except for power but everything needs power. The 90×7 LED marquee hangs over the entrance to NYC Resistor’s laser cutter room. Thanks to a Spark Core and a bit of work from [Trammell Hudson], the sign is working and attached to the network.
The original unit called for an RS485 connection for input. Other than that there wasn’t really a reason it had been collecting dust. Closer inspection of the internals proved that the display is driven exactly as you would expect: transistors for the rows and shift registers for the columns. Well, actually the columns are split into separate shift registers for the even and odd but that doesn’t complicate things too much. GPIO takes the seven row-driving transistors, two shift register clocks, data, latch, and enable for a total of twelve pins.
The Spark Core completely replaces the Atmel 80C32X2 and its RTC by pinging the network for UTC time synchronization once per day.
[via NYC Resistor]
If this Internet of Things thing is gonna leave the launchpad, it will need the help of practical and semi-practical project ideas for smartifying everyday items. Part of getting those projects off the ground is overcoming the language barrier between humans that want to easily prototype complex ideas and hardware that wants specific instructions. A company called Things on Internet [TOI] has created a system called VIPER to easily program any Spark Core, UDOO or Arduino Due with Python by creating a virtual machine on the board.
The suite includes a shield, an IDE, and the app. By modifying a simple goose neck IKEA lamp, [TOI] demonstrates VIPER (Viper Is Python Embedded in Realtime). They opened the lamp and added an 24-LED Adafruit NeoPixel ring, which can be controlled remotely by smartphone using the VIPER app. To demonstrate the capacitive sensing capabilities of the VIPER shield, they lined the head of the lamp with foil. This code example will change the NeoPixels to a random color each time the button is pressed in the app.
Check out the lamp demonstration after the break and stay for the RC car.
Continue reading “IoT Chameleon Lamp Does It with Python”
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.
[David] loves to watch football. After his preferred team lost the playoffs, he wanted another reason to watch the big game last Sunday. He ended up building himself a football-shaped lamp that changes color based on who scored last.
[David] started with a Spark Core and a Spark Button. The Spark is the primary microcontroller and includes WiFi. The Spark Button is essentially a shield for the Spark that includes an accelerometer, some LEDs, and a few push buttons. The other part of this build was the housing. [David] used a toy football he got for free as swag from a parade.
As for the code, [David] started by first learning how to control the LEDs on the Spark Button. Then he wrote his own touchdown function to illuminate the football a specific color. Since the Spark uses the REST API, [David] is able to trigger this function by simply visiting the URL of his Spark. This makes it very simple to trigger the event.
The final part of this build was made easy thanks to IfThisThenThat (IFTTT). This is a web service that allows you to monitor and interact with various online web services. It can monitor one service, and then interact with another based on events that happen in the first service. In this case, [David] is using a “channel” added to IFTTT by ESPN. This channel can trigger when certain events happen for whatever team you specify. For this project [David] is monitoring touchdowns.
After combining all of these various services, [David] had a working light that would change colors based on which team scored. He did notice that IFTTT has anywhere between a 1 and 15 minute delay, and he hopes to improve upon this design by hooking directly to an API and skipping the extra service altogether.
When the first two prototype ingredients listed are paperclips and Post-it notes you know it’s going to be good. The problem: one shower stall at work with numerous co-workers who bike to the office. The solution: a occupancy monitor that is smart enough to know that someone is actually in the room. You know what we’re talking about, a sensor that knows more than whether the door is open or closed. [James] got wise and built a sensor to monitor whether the door is bolted or not. We think this method is far superior to motion-based systems.
This uber-smart sensor is simply a pair of paperclips anchored on a rolled Post-it note substrate and shoved in the receiver on the door jamb. When the bolt is locked from the inside it pushes the paperclips together completing the simple circuit. This is monitored by a Spark Core but will work with just about any monitoring system you can devise. What we’re trying to figure out is how to ruggedize the paper-clip hack which we can’t think will perform well for very long. It looks like there’s room to bore out a bit more inside the receiver hole. Perhaps leaf switch with a 3D printed mounting bracket?
Oh, and kudos on the Ikea food storage container for the enclosure. That’s one of our favorite tricks for hacks which are installed for the long-run.
Whilst the original Sting glowed blue as a defensive alert, Spark’s “WarSting” is all about aggression. The project hacks a toy Hobbit sword and teaches it to glow blue when vulnerable WiFi is detected. Once alerted, combat ensues. If its bearer slashes, the sword will battle the helpless network, swinging and clanging until it acquires an IP from the defeated DHCP server. Once conquered, the sword publishes a “Vanquished” message to Spark’s cloud, teaching the sword to ignore it from thenceforth.
While “wardriving” has not really been a thing since the first Lord of the Rings movie came out, the last time we saw someone do something similar the hardware was limited to detecting WiFi, not connecting.
Spark CEO [Zach] chose the particular sword because it could be disassembled without being cut apart and already came equipped with easily-hackable LEDs, motion control, and sound effects. Naturally he added one of his own products – the Spark Core – to the hilt to graft WiFi features onto the weapon (a cheaper alternative would be an MCU of your choice and the new ESP8266). The project then hijacks the LED lighting, sound, and hit detection sensor. Our readers can probably come up with some more imaginative actions to take once connected, though the project’s existing code for the Core is published on Github. As-is, in many jurisdictions even merely connecting to an unsecured WiFi these days is unlawful so beware your local restrictions.
Lots of companies could simply advertise the easy way and while obviously an ad, the WarSting is still a creative and fun hack.
See the video below for the sword in action and a Spark’s lore regarding the hack. Thanks [Chris] for the tip.
Continue reading “Hobbit Sword Glows Blue, Vanquishes Unprotected Wifi”
Building an LED cube usually means a heck of a lot of delicate soldering work. Bending jigs, assembly jigs, and lots of patience are the name of the game. The problem multiplies if you want to build with RGB LEDs. [Shawn and Alex] are hoping to change all that with their L3D cube. Yes, L3D is a Kickstarter campaign, but it has enough good things about it that we’re comfortable featuring it here on Hackaday. What [Shawn and Alex] have done is substitute WS2812b surface mount LEDs for the 5mm or 3mm through hole LEDs commonly used in cubes. The downside is that the cube is no longer visible on all sides. The upside is that it becomes a snap to assemble.
The L3D cube is open source hardware. The source files are available from separate software and hardware Github repositories. Not next week, not when they hit their funding goal, but now. We seriously like this, and hope all crowdfunding campaigns go this route.
The L3D cube uses an open source Spark Core as its processor and WiFi interface. Using WS2812b’s means less I/O pins, and no LED driver chips needed. This makes it perfect for a board like Spark or Arduino. On the software side, the team has created a Processing Library which makes it easy to create animations with no coding necessary.
L3D has all the features one would expect from an LED cube – a microphone for ambient sound visualizations, and lots of built in animations. It seems [Shawn and Alex] have also created some sort of synchronization system while allows multiple cubes to work together when stacked. The team is hoping someone will come up with a 3D printed light diffuser to make these cubes truly a 360 degree experience.
The L3D cube campaign is doing well, [Shawn and Alex] are close to doubling their $38,000 goal. Click past the break to check out their Kickstarter video!
Continue reading “L3D Cube Takes the Work out of Building an LED Cube”