I made a cell phone [video]
youtube.com
youtube.com
I'll post some photos of the current version and more details on my twitter (@lynaghk) tomorrow (in 10 hours).
Software is all on an 8-bit Atmel microcontroller, written in C in the style of Harel Statecharts (http://www.inf.ed.ac.uk/teaching/courses/seoc/2005_2006/reso...).
The lines are drawn and then certain constraints must be applied: These points must be coincident, these lines must be parallel, these must be perpendicular and several others. Dimensional constraints are then applied. The program informs the designer when the drawing is "fully constrained" meaning that the parametric solver can only find a single solution for the given set of constraints.
For example to center a hole inside a brick: Guide lines are drawn to be along the center. At there intersection a point is constrained. The hole is then extruded (or made using the hole tool) at this point.
This allows for making programmable drawings. For example one drawing can generate several pieces of documentation for different parts, but with different dimensions, thread types and so on.
In the extreme end of this we have OpenSCAD[1] in which models are defined purely by code.
Could you list the name of the various CAD packages you used? (For the PCB layout and modelling the box)?
For the PCB, I tried using Eagle (very tedious / confusing) and KiCAD (couldn't figure out how to install on OS X without compiling from source) and ended up using Altium Designer via a friend's dad, who is an electrical engineer. Unlike Inventor / SolidWorks, Altium was very tedious and confusing and I was stuck until I bought an excellent video course on the topic: http://www.fedevel.com/academy/
Also a fun video to watch, but he kind of skips over some of the most interesting technical details (like writing the software).
On a serious note, though, I hope a write up with more details pops up.
VLC -> Media -> Open Network Stream, paste in the youtube URL.
VLC -> Tools -> Effects and Filters -> Audio Effects -> Compressor.
Enable the compressor. Here's where I moved the sliders: http://i.imgur.com/fGlPM5R.png
I basically followed the advice given here: http://lifehacker.com/5920290/how-to-fix-movies-that-are-rea...
The last 10 seconds of the video is the best way to verify it is working. Without compression, the clapping is ear-drum-splitting-loud compared to the speakers voice.
Also, I learned VLC will just happily play a YouTube video right from the page's URL.
Back in 2010 I was using a computer I built in 2004, which had a single-core athlon64 3200. Watching standard definition video in Hulu was a blocky slideshow, totally unusable. But I could watch 720p h264 video at a decent bitrate, with mplayer, with no hardware acceleration.
One of the bigger differences is that browsers/flash have to put the video output as a surface that they composite with the controls on top and the rest of the page behind. Old-style video players actually render to a different hardware "overlay" plane and don't mix anything with it in software, and it makes a huge difference.
(My mplayer example is from linux, but I've also used MPC on windows a lot. You can change the renderer in the settings, and "overlay" doesn't support showing subtitles, but has noticeably faster/smoother performance. Well, back on windows XP.)
I also have no doubts that an Athlon64 could decode 720p h264 completely in software. You'd be pegging that single core pretty high, but it could do it.
In addition, decoding VP9 in software is actually faster than H.264 with ffmpeg, the decoding library that VLC uses.
"As you can see, I got a G-" <HAHAHAHAH>, "that's like ... a good grade" <HAHAHAHAHAHAH>, "of course, an E is for excellent" <BAHAHAHAHAHAHAH!!!! ::standing ovation::>
... why am I so cynical? ;_;
Agreed though, the actual concept was really cool! Maybe to the author, try subtitling the video given the bad audio? Then we could just watch the video muted, and the (minor) problem would be solved :)
(and feel free to downvote this, I know I sound like a monster, complaining about laughter >_>;)
Is it because of the regulations that we don't see lots of cell phone manufacturers? If it wasn't for that, from this presentation I get the feeling that cellphones could be made to spec quite easily, say, by your regular hardware Kickstarter campaign: at least, the cellular modem shown in the presentation looks really self-contained.
Modules are based around the chipsets but they do the most expensive certification (both FCC and Carrier) work for you. As a purchaser of the module, you pay for this on each module.
Certifying a cellular end device is usually <$50K (depending on number of bands, # of carriers, fallback, etc.). Certifying a new chip-down cellular design can easily exceed $1-2M in just certification and testing costs. Development costs and complexity will also be increased.
Suppose the author wants to (completely legally) use the phone he just built.
Does he have to go through this "end device" certification? Or does "end device" mean something else here?
what if he wanted to sell the phone?
I was wondering what the regulatory landscape looks like during the last portion of the talk -- it'd be a real shame if he put all this time into designing a beautiful phone and couldn't (legally) use it!
https://www.sparkfun.com/tutorials/398
In this guys case there is an FCC allowance that you can build up to five devices for personal use that this cellphone project might fall under. Building a bunch to sell is a different matter though, especially since this is an intentional radiator vs. a unintentional one.
I get the sense that it's a bit of a taboo topic to talk about publicly in the opensource / hobbyist world. Adafruit and Sparkfun, the two major outlets for hobby electronics in the USA, for example generally won't discuss publicly what the companies stance on their FCC rules compliance obligation is.
My feeling based on reading a bit about it is that until you reach a certain scale the cost of FCC testing is prohibitive. So when companies like Sparkfun and Adafruit were starting out they simply followed best design practices and fudged a little on the FCC side of things by saying that their products fell under one of the exceptions or that they use a pre-certified module. Now that they are bigger it seems a small number of their products actually do get certified. It's a mess for sure.
Carriers have paid big bucks for exclusive licenses to useful swaths of the spectrum, and in return they get enforcement to make sure only devices they control can transmit on their spectrum. The FCC would not license a radio capable of transmitting on Verizon spectrum not approved by Verizon.
But this is specific to the radio - the FCC doesn't care about the rest of the phone (or whatever device it is). You can buy a cellular radio chip for your Arduino because it is FCC certified and you can only provide inputs like SMS and audio, not an arbitrary signal to transmit.
Does there exist a sub 500$ cnc router that you can actually build interesting stuff with and interface with a computer?
[1]http://www.shopbottools.com/mProducts/basicPRSsystems.htm
Shapeoko 3[1] is $1000 USD
X-Carve[2] kits are $800 (upgrade to the Shapeoko2)
3020 Clones[3] are around $500-800 (all over ebay)
[2]https://www.inventables.com/technologies/x-carve
[3]http://www.aliexpress.com/wholesale?SearchText=3020+cnc+rout...
Take a look at the X-Carve [0] for a cheaper alternative.
There's also the Othermill [1].
[0]: https://www.inventables.com/technologies/x-carve [1]: https://othermachine.co/othermill/features/
If your budget is limited but you still want to get a sense of designing/making physical objects, buy a lot of Renshape foam, x-acto knife, and laser print designs to trace/cut.
Once you do that for a few hundred hours on your designs, shoot me an email and I'll be happy to mill them out for you = )
If you want a more step-by-step tutorial, Ben Heck's youtube channel is a very good source. He specifically has a DIY cellphone
> Hi! I shot the video. We had some problems with the mic hookup on stage so I was using a mic all the way back at the camera that wasn't nearly as directional as I hoped. Apologies to everyone's eardrums !
I tried Googling "!!Con" and obviously the exclamation marks don't count as part of the search term. Apparently Google doesn't know what I mean by "exclamation mark exclamation mark con" either. There's also no link in their YouTube channel...
I'm wondering if anyone's used an SDR to make a cellphone, as I've seen GSM base stations implemented with SDR, but not cellphones before.
Well, he's probably nearly 4% expert by now. Presumably it depends on if the problem occurs with something within that 4% or not... ;)
Two large bits of chippery, both of which will talk (relatively) directly to a PC if needed. If it's a software problem, he'll probably be ok.
If it's an RF problem, maybe not. From what I hear, that's a nightmare.
"If it's a bug in my application I can probably fix it. If the origin of the bug is the OS kernel I might need some time. If something's wrong with hardware I'm probably screwed." Which is to say that, in some sense, the answer to the grandparent's question for a simple HTML page is quite obviously no, even for the most experienced web developer.
Except of course that this guy is probably less screwed than the typical software engineer because he (at least physically) connected the hardware components.
He pretty much admits during the whole talk that he doesn't really know what he's doing. But he's doing it nevertheless. He's learning. And he's encouraging others to try and do stuff they don't know much about. And to celebrate small victories.
Also, I never ever have proper diagnostic skills to figure out the problem when I'm doing something I've never done before.
I'd bet the phone he made isn't going to be the last phone he makes. He'll make more. He'll learn more. Maybe he'll talk more, or write something up and then we all will know more.
Hell, after watching the video I was like "I gotta make me one of those. But with Slackware!!!" :)
Don't feel bad about a few downvotes. I just think you missed the point. (Also, I didn't downvote).