We recently headed out to Palo Duro canyon for a few days of tent camping in the cold, coyote-infested wilderness. I thought perhaps it might be a little hard to get our phone batteries to last the duration of the trip. Luckily, I had some random leftover parts laying around from various dumpster dives and such, and ended up having everything I needed to build the circuit! The whole thing required pretty minimal soldering, which would be nice if I wasn’t itching to use the Weller (!) I got as a Christmas gift.
The whole circuit goes from solar panel to a USB/DC/Lipo solar charger board. The Lipo load is connected to one 2200Mah Lipo battery, but those things are typically at 3.7V- 4.50V, and I wanted it to be useable to either charge a phone directly or another, larger battery in tandem. I used the Adafruit Powerboost to kick the voltage up enough to adequately charge the phone.
Now a big battery lives in my backpack and is charged as the days go on by sunlight. Since I usually only use the big battery less than once a week, this a pretty nice setup, almost guaranteeing I’lll have charge when I need it!
Yes duct tape was used liberally in the creation of this project.
The Avengers are sweeping across theaters everywhere these days, and ever since Iron Man came out, I knew who I wanted to be. JARVIS, Tony Stark’s personal assistant, keeps everything running smoothly for him. He responds to audio cues, much like a Google Home, or Alexa, (Or homepod at this point). I wanted to make one of these guys and use it as a long work in progress.
I had built a GroupMe chatbot a while ago using Machine Learning, natural language analysis, and reverse naive Bayesian filtering. It was actually pretty helpful! The bot could get me bus times and calendar events, as well as respond to input in whatever fashion I desired.
I thought I’d marry this bot to the Google AIY kit, and then give the thing eyes. Essentially I want a sassy version of Tony Stark’s camera buddy. This guy: (I think his name is DUMB_E?)
Anyways, the cardboard kit that came with AIY just wasn’t good enough, so I thought I’d print my own enclosure.
I decided on the name “Ava” for Autonomous Vocal Assistant. Clean and catchy.
Used the Concepts app again to gather measurements, take notes, and draft ideas.
Once I settled on something I moved into Fusion 360:
I actually printed these pieces at the local library!
I got everything done but the body. They emailed me all in a tizzy that it was ‘giving them problems’ and I didn’t understand what they meant. Then they sent me this picture:
So Idk what I’m gonna do about that. Once I have the enclosure complete, though, I’ll get to work giving it a personality and skillset.
I definitely think an annoying alarm clock would be great, or for the bot to tell me when the bus is getting close, among other things. More to come!
I finally got the whole rainbow to work! I ended up using an ATTINY85, as it had the perfect number of PWM pins for the application. I’m considering upgrading to an ESP later so I can control the thing over wifi like it was originally meant to be controlled.
Firstly, the wall wart itself is 12V and the LED’s will draw way too many amps to run the power through the attiny. My solution here was actually to rip the 5V regulator out of one of those cheap-o cigarette-outlet chargers that I found, broken, in my girlfriend’s car. The regulator, however worked fine. Thank you, charger, for donating your body to science.
Then I needed two more N-Channel power MOSFETS in order to safely drive the voltage on the G and B pins independently. These came from an old, broken macbook charger:
After that, I expertly drew a little schematic to work off of. Very professional stuff.
And finally, here is the completed breaboard and a gif of the operation. Success never felt so colorful. I’ll be excited to put this in my room when I switch houses in the fall!
So since it’s the end of the semester and all, kids are moving out of the dorms and leaving all of their weird things behind. In one night we found two microwaves, four car batteries, a Keurig, several lamps, and some kind of wifi-connected RGB LED reel with a power unit. Upon closer inspection, the reson they were thrown out is becase the unit didn’t have a control module. The power unit just ended in a barrel jack and the strip had a 4-wire connector. What a better candidate for some hackery?
After splicing the power cable, I still only had two wires- power and ground. After verifying that it was still spitting out 12V with my multimeter, I soldered some header pins onto the ends of the wires and tested the terminals on the LED strip. None of the myriad configurations worked. Then I tried joining all of the misc wires to power, then to ground. That didn’t work either.
I was about to give up when I decided to pull back the heatshrink tubing covering the LED connection. The pins were labeled! +12v, R, G, B. I hadn’t noticed up until this point that these could’ve been RGB strips.
One high-wattage N-channel MOSFET later, and the thing is up and running. I used the +12V on the Vin terminal of my old arduino and just sent a PWM slow pulse through to the MOSFET, then paired R, G, and B to the drain.
The MOSFET in question is a 2KS2645. It was just a random piece of silicon I had in a junk bin. I think it was from a printer-scanner I tore apart my senior year of high school. The only reason I picked it is because it had a heatsink, and the datasheet showed it could more than handle the strip (50W!)
I’ll probably go and find some more somewhere so that I can control all three channels except for one. I’m moving out right now, but this will be a nice addition to the room I’ll move into come fall.
More updates to come, I’m sure!
So I owe my friend a gift for his birthday. Years ago, I promised him I would build one of his zanier inventions: A hat that always points north. However, due to school, injury, and various setbacks / distractions, I never really built it. Then I ordered the parts but got the wrong magnetometer, and then the microcontroller I was going to use actually ended up being bricked. However, I persevered, and might actually get the thing done this time.
I had to take into consideration a couple things: The type of servo, the configuration upon the head, and how to best avoid the thing pulling hair out of the user’s scalp. I did a lot of my design work in the ‘Concepts’ app for the iPad pro. Great little tool. Very fun to work with.
Building the thing proved harder than expected. Mounting all the pieces on the motor was a little difficult, and testing the magnetometer sensor was hard until I built a janky prototype for some quicker testing.
I had a great time testing this one, and actually implemented my own PID control for the thing, so it behaves quite accurately and doesn’t overshoot like it did at the beginning of the process. Perhaps PID is a little overkill, but honestly this gu deserves the best we engineers have to offer.
I still have to solder in a few switches and complete the enclosure, but it’s done for the most part! Look out, world. Perhaps you’ll see it on Shark Tank sometime soon lol
Still in the enclosure design phase! I think I’ve printed like 6 or 7 prototypes at this point. Really struggling with warping, since I don’t always get the heated buildplate on the university printers. It’s first-come-first-serve there. On the bright side, the iPad Pro is great for annotating images in the design phase. Much better than a notebook.
EDIT: I’ve actually totally updated this enclosure design after watching more Fusion 360 videos. More to come. It’s a lot, lot better now!
For my upcoming ArtsEngine Microgrant project, I’ve been featured on the Electrical and Computer Engineering website. I’ll be attaching a sensor array to the ‘Cube’ (Alamo) statue on campus. Using some physics and the parallel axis theorem I’ll be doing my best to compute realtime velocities. Hopefully the pi-zero can keep up.
Here’s the link to the full article.
Here’s a small preview:
CE junior Keenan Rebera wants to make the Michigan Union’s famous Cube sculpture even more interesting with the power of technology. The spinning metal art installation nestled on central campus draws a lot of curious eyes, but Rebera thinks he can take the experience to the next level.
Rebera has designed a small sensor array and display device that attaches magnetically to the Cube. When active, it can detect the velocity of the Cube when a person spins it and generate any number of fun factoids to show off. How fast did you just spin this thing? How many times has it been spun today? If The Cube were a generator, how much power would it be producing right now?
Well, I had a solid half-hour before practice and decided to build a twitterbot.
(You can follow him at @trumpybot)
I had him set up on a crontab but then decided to make my own little menu system so I could cycle through the poorer generated tweets.
(Following this tutorial closely.
Essentially, the code takes 20 or so trump-isms, goes through some adjective and noun repositories on GitHub, and then creates a madlib with some random generation, spitting out interesting results.
From there, tweepy handles the rest. Doing this in Python made things really easy!
My tiny python menu system:
And the end result:
I started by shopping a case out of wood, sanding some of the rougher edges into rounded sides, and carving in an indent to mount the screen. Ended up using those little picture frame clasps to secure the screen.
From there I spray painted the body and cut out a stencil for some sticker paper and sprayed down a piece of plexiglass that I sanded with fine sand paper for diffusion.
I was able to tie all the components together and have a generally operational setup:
Then I shoved it all into the case, added a kickstand and clasps to secure the screen:
So I started to test the thing, and I realized that there was a colored square in the upper right corner of the screen when running the device. I read that this was a sign of low power. I went and designed another case in Sketchup to see if I could manage some better spacing and heat dissipation:
And that was actually pretty fun because I have minimal experience in CAD programs. Didn’t struggle too much with this though because I have hefty experience in Blender3D.
So I redid the power circuit to see if my switching mechanism was weird and struggled alot with the new design. I kept having odd issues, and eventually consulted a forum. We settled on this solution:
Used some time this weekend to get a shield ready on some protoboard for the Arduino. It connects the correct pins for In-System Programming of an Atmel attiny avr. There are circuit diagrams all over the place for building these. I wanted a permanent and quick solution for programming and reprogramming.
In hindsight, a heartbeat and positive connection LED would be great for some feedback during programming. An exposed reset button extension would be great too, as time-sync errors happen all the time with the Arduino-as-ISP. Luckily, solder isn’t permanent.
Most of what I worked off of came from the great information over at High-Low Tech:
The shield:
The programmed chip in action: