Re:Miscellaneous Arduino bits and pieces
by sleavey on Monday September 04, 2017 @06:43AM
(#15167201)
I love this kind of stuff. I recently built a slow cooker controller to make yogurt that essentially consisted of an Atmel ATmega328 (same as the Arduino Uno) controlling a relay using a DS18B20 digital thermometer. Then, when I was building it, I thought it'd be cool to have a touch screen display to set the desired temperature. Then, I figured that I might as well power the Arduino using the mains supply instead of having a separate 5V input on the box.
In the end, I learned about mains filtering, switch mode power supplies, safety clearances, fail-safety, microcontrollers and programming touch screens all at the same time. Despite there being cheaper, off-the-shelf solutions available, I preferred this approach.
Re:Miscellaneous Arduino bits and pieces
by sleavey on Monday September 04, 2017 @07:36AM
(#15167454)
One downside I've found with hobbies like this: milling enclosures for the electronics is expensive in terms of either money (to have it done externally) or in terms of favours from your machinist colleagues. For anything beyond holes drilled with a drill press, I have to ask a friendly technician where I work. If enclosures/panels could be milled as cheaply as PCBs can be printed, that would be awesome.
Re:Miscellaneous Arduino bits and pieces
by sokoloff on Monday September 04, 2017 @07:39AM
(#15167473)
You can use PCB as a front panel. It has arbitrary routing, colored soldermask (as background), silkscreen (as labeling).
Some enclosures are extruded aluminum with screw on end caps. If your device is suited to the endcap being made of PCB, you just have another PCB (printed end panel?) to layout.
Re:Miscellaneous Arduino bits and pieces
by moron4hire on Monday September 04, 2017 @08:37AM
(#15167797)
Laser cut acrylic is a lot cheaper and a lot easier. You can even make fairly complex designs in two dimensions if you're willing to layer "rings" of the acrylic.
Re:Miscellaneous Arduino bits and pieces
by sleavey on Monday September 04, 2017 @09:59AM
(#15168241)
CNC machines are also cheaper these days, but ones that can mill metal are more expensive ($2k+ as far as I've found). Too much for the casual hobbyist, I think.
Re:Miscellaneous Arduino bits and pieces
by TeMPOraL on Monday September 04, 2017 @01:00PM
(#15169433)
Check out if there's a Hackerspace in your city. There's a good chance they have a mill you could use - along of plenty of other people interested in these kinds of hobbies.
Re:Miscellaneous Arduino bits and pieces
by retSava on Monday September 04, 2017 @09:20AM
(#15168024)
seeedstudio offers cheap 3d-printing, acrylic laser cutting too. Haven't tried them though, so can't judge on the quality, but they do have a good reputation, and it is cheap, so that might be worth a shot.
Re:Miscellaneous Arduino bits and pieces
by retSava on Monday September 04, 2017 @04:14AM
(#15166567)
meta: I really like these kind of blogs which are more or less a braindump with heart to it. I'm sure there are many nice nuggets of wisdom and experience if you go through the posts.
Re:Miscellaneous Arduino bits and pieces
by dnel on Monday September 04, 2017 @06:08AM
(#15167055)
When the Web 5.0 is all hosted on Facebook, the best and more impassioned learning material will still be hand-written in HTML 4 on some old radio ham's personal web site that's been lovingly crafted for some 30 years.
"My old BBC Micro system" ... which kind of established his credibilities in my mind, and then I just kept going, devouring his entire channel. Recommended - this guy knows his stuff, and unlike certain other youtube channels in this genre there is no annoying bravado.
Re:Miscellaneous Arduino bits and pieces
by digi_owl on Monday September 04, 2017 @06:22AM
(#15167118)
Watching that BBC Micro video made me sorry i missed that era. Doing anything like that these days would be just, ugh, painful. Too many layers, both hardware and software, to dig through to get anything close to brass tacks, and we keep adding more every odd year or so...
Re:Miscellaneous Arduino bits and pieces
by retSava on Monday September 04, 2017 @06:42AM
(#15167199)
Don't be sad, there are plenty of opportunity still! And, there's much more easily found information and help :)
A suggestion is to buy eg a MSP430 Launchpad ($10) or STM8 development board (<$1 on Aliexpress) and write simple programs for those. Those cpus are very simple and great starting points.
Re:Miscellaneous Arduino bits and pieces
by bonzini on Monday September 04, 2017 @09:49AM
(#15168195)
One of my long-time project ideas is a BASIC interpreter (Commodore-style) for the ESP8266 or one of the more powerful Arduinos, with statements to control GPIO pins or I2C devices and a web-based REPL. It would be great for teaching.
Re:Miscellaneous Arduino bits and pieces
by bonzini on Tuesday September 05, 2017 @05:34AM
(#15173669)
That's pretty close indeed! Lost my idea (almost, the web-based IDE would be a bit easier to work with, and TinyBasic did not have strings or floating point), but on the other hand it must have been a good one. ;-)
Re:Miscellaneous Arduino bits and pieces
by retSava on Monday September 04, 2017 @04:16AM
(#15166576)
meta-meta: reading my own comment above, I can see how it is actually quite similar to those auto-generated spambot-comments in format, I hope it doesn't say much about my inner self :S. Then again, that's just what a spambot would say.
Re:Miscellaneous Arduino bits and pieces
by dnel on Monday September 04, 2017 @06:03AM
(#15167032)
You're in a desert walking along in the sand when all of the sudden you look down, and you see a tortoise, it's crawling toward you. You reach down, you flip the tortoise over on it's back. The tortoise lays on it's back, it's belly baking in the hot sun, beating it's legs trying to turn it'self over, but it can't, not without your help. But you're not helping. Why is that?
Re:Miscellaneous Arduino bits and pieces
by graystevens on Monday September 04, 2017 @04:56AM
(#15166739)
Thanks for picking this one out, it looks perfect to have a tinker with whilst trying to diagnose my wifi issue here at home. I suspect I have a tonne of interference, but the HackRF route seemed a little over the top. This is much better!
Re:Miscellaneous Arduino bits and pieces
by retSava on Monday September 04, 2017 @06:39AM
(#15167190)
Beware that depending on what kind of trouble you might have, the update rate of that analyzer might be several orders of magnitude too slow.
Interference is likely nowadays, with wifi in every apartment and everywhere, but one thing to consider is if you have any really old equipment on your wifi? If you have eg an 802.11b thing on the network, the router (perhaps the other devices too) downgrade to 802.11b too, to have a common denominator.
Interesting to hear your results, please do share later!
Re:Miscellaneous Arduino bits and pieces
by amelius on Monday September 04, 2017 @06:03AM
(#15167035)
I have a nice project idea: build a replacement for HP's iLO (integrated lights out) system. Basically, all it needs to do is provide remote power and reset buttons for a server. An advanced version could also provide a remote keyboard, mouse, video, and port for an USB stick. The main reason why I'd want this is because HP's support system is a mess, iLO is expensive, and restricted to HP servers.
I think it could be done with a Raspberry Pi, and hopefully with minimal soldering inside the server itself.
Re:Miscellaneous Arduino bits and pieces
by amelius on Monday September 04, 2017 @09:28AM
(#15168068)
That's nice.
However, I'd need it to be open-source, because connecting it to a HP Proliant server is probably not trivial (these beasts have two power supplies). Also, I need it to work over ethernet.
Re:Miscellaneous Arduino bits and pieces
by jacquesm on Monday September 04, 2017 @07:17AM
(#15167350)
The minimal version doesn't even require a CPU. All you'd need is a way to tap the audio from a phone and a DTMF decoder, a couple of latches for the PIN and two 5V reed relays to activate the buttons. If you want to do it using a CPU you could probably get by with a PIC chip, a simple AD converter and the two reed relays.
A Raspberry Pi would be so overpowered it is almost comical, but then again, for the money it is still a great solution.
Re:Miscellaneous Arduino bits and pieces
by TeMPOraL on Monday September 04, 2017 @07:26AM
(#15167399)
Initial action, like sharing the idea with a knowledgeable community in an appropriate moment (like here, now), to gather feedback on both usefulness to other people and viability of the proposed path of execution.
Re:Miscellaneous Arduino bits and pieces
by Chris2048 on Monday September 04, 2017 @09:30AM
(#15168088)
Before investing in execution, why wouldn't you weight it up with cheap talk? You think people should dive into execution straight away without forethought?
Re:Miscellaneous Arduino bits and pieces
by Chris2048 on Monday September 04, 2017 @01:41PM
(#15169686)
The post you originally responded to didn't seem to "count" anything, so what is your point in mentioning this? It was a idea with not much worth, as yet, but your own response has as little worth, but less potential.
Re:Miscellaneous Arduino bits and pieces
by falsedan on Tuesday September 05, 2017 @06:18PM
(#15179560)
Your post?
> every valuable project starts with an idea though
It's a tautology which adds nothing to the understanding of the reader: of course every valuable project starts with an idea, just like every great human being started with an ejaculation. I wouldn't let someone use that fact to justify cranking their hog, much less telling me all about it.
I apologise for making you feel like I was attacking that post for no reason. I intended to point out that I thought it was an empty statement which brought me no insight or enlightenment and didn't help me change my mind on the worth of ideas (in a vacuum).
Re:Miscellaneous Arduino bits and pieces
by squarefoot on Monday September 04, 2017 @01:54PM
(#15169766)
And for those wanting to use small AVR processor modules without the Arduino IDE and libraries, here's some information. Those modules cost less than €2 on Ebay, just search for "attiny85 module"
Re:Miscellaneous Arduino bits and pieces
by gh02t on Monday September 04, 2017 @05:03PM
(#15170849)
A heads up for these, the ATtiny is a different family than the ATmega's in the Arduino Uno. They are not 100% compatible, and if you are a beginner that can be problematic. Also the Tiny85 in particular that these modules use expose very few pins (5 usable).
That said, I use the Tiny85 all the time as they require minimal external components, so they are good to drop into a design for taking care of functions like interfacing peripherals or simple logic. For people just starting out though I'd recommend a Nano clone, they can be had for about the same price.
In the end, I learned about mains filtering, switch mode power supplies, safety clearances, fail-safety, microcontrollers and programming touch screens all at the same time. Despite there being cheaper, off-the-shelf solutions available, I preferred this approach.
Some enclosures are extruded aluminum with screw on end caps. If your device is suited to the endcap being made of PCB, you just have another PCB (printed end panel?) to layout.
Here's one example video that shows the technique: https://www.youtube.com/watch?v=Yj0Bv4UEFSs&feature=youtu.be...
https://hackaday.com/2015/06/03/how-to-build-beautiful-enclo...
Though I also recently did a project built inside of a section of PVC pipe. https://youtu.be/O6hGviGHaFY
Perhaps there's something similar for CNC?
To take an example, http://vwlowen.co.uk/arduino/spectrum-analyser/spectrum-anal... about taking a simple 2.4 GHz module and building a spectrum analyzer, is a nice post. You can tell he enjoyed doing it.
https://www.youtube.com/user/mikeselectricstuff
I started with this one:
https://www.youtube.com/watch?v=la-sGpTpkxE
"My old BBC Micro system" ... which kind of established his credibilities in my mind, and then I just kept going, devouring his entire channel. Recommended - this guy knows his stuff, and unlike certain other youtube channels in this genre there is no annoying bravado.
A suggestion is to buy eg a MSP430 Launchpad ($10) or STM8 development board (<$1 on Aliexpress) and write simple programs for those. Those cpus are very simple and great starting points.
https://hackaday.com/2016/10/27/basic-interpreter-hidden-in-...
You'll become an ace at optimization and memory conservation.
(awkward reply to "why is that?" though)
Interference is likely nowadays, with wifi in every apartment and everywhere, but one thing to consider is if you have any really old equipment on your wifi? If you have eg an 802.11b thing on the network, the router (perhaps the other devices too) downgrade to 802.11b too, to have a common denominator.
Interesting to hear your results, please do share later!
I think it could be done with a Raspberry Pi, and hopefully with minimal soldering inside the server itself.
https://www.crowdsupply.com/ben-wang/remoteboot
I've created a successful Kickstarter project doing exactly this ;)
Uses a ESP8266 chip and has the basic version of what you described
However, I'd need it to be open-source, because connecting it to a HP Proliant server is probably not trivial (these beasts have two power supplies). Also, I need it to work over ethernet.
A Raspberry Pi would be so overpowered it is almost comical, but then again, for the money it is still a great solution.
It seems you just negged them for no reason.
> every valuable project starts with an idea though
It's a tautology which adds nothing to the understanding of the reader: of course every valuable project starts with an idea, just like every great human being started with an ejaculation. I wouldn't let someone use that fact to justify cranking their hog, much less telling me all about it.
I apologise for making you feel like I was attacking that post for no reason. I intended to point out that I thought it was an empty statement which brought me no insight or enlightenment and didn't help me change my mind on the worth of ideas (in a vacuum).
Good luck!
http://blog.ithasu.org/2014/12/blinking-a-digispark-without-...
That said, I use the Tiny85 all the time as they require minimal external components, so they are good to drop into a design for taking care of functions like interfacing peripherals or simple logic. For people just starting out though I'd recommend a Nano clone, they can be had for about the same price.