<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3343&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Arduino version currency?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3343</link>
		<description><![CDATA[The most recent posts in Arduino version currency?.]]></description>
		<lastBuildDate>Fri, 06 Mar 2020 07:34:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Arduino version currency?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20407#p20407</link>
			<description><![CDATA[<p>It doesn&#039;t sound real encouraging but thanks.</p><p>edit:</p><p>I&#039;ve had a look at the link you suggested, and did a search for &quot;ESP32 module with display&quot;, which turned up some pricey ($150-ish) options along with a bunch of cheaper Arduino semi-equivalents ($20-ish).&#160; The linked text mentioned that it used a standard open-source distro, which i fear will be some ubuntu flavor that uses system-d and i ain&#039;t going there no more, but this may be blind prejudice on my part, and they didn&#039;t *say* what distro...</p><p>The Moto Z4 (which i purchased mostly for the Hasselblad camera mod, and the Z4 seems (to me) like a fairly useless device since it has no bezels and capacitive touch is so jacked up it&#039;s almost impossible to control) has some onboard processor or other which seems like another possible alternative, if one wants to produce a Mod and wed himself to the phone; I&#039;m fairly certain that i don&#039;t, i&#039;m not even buying their camera Mod because the thing is too touchy to use imo, and the in-screen fingerprint sensor is both slow and stupid.</p><p>One thing i didn&#039;t mention is that for the various products i have in mind, i want to keep the parts-list simple enough that Joe Average-ish can buy the parts and build his own, as much as possible; i figure that should put a cap on the prices people have to pay for copies, since if having it made is too much one can build it himself.</p><p>Since i already have the Arduino to learn from, i&#039;ll see how far i can take the first project, which is a battery-string-controller.&#160; The two-way communication issue is the one i expect to be the deciding issue.</p><p>Thanks again, i appreciate the assist.</p>]]></description>
			<author><![CDATA[dummy@example.com (noname)]]></author>
			<pubDate>Fri, 06 Mar 2020 07:34:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20407#p20407</guid>
		</item>
		<item>
			<title><![CDATA[Re: Arduino version currency?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20406#p20406</link>
			<description><![CDATA[<div class="quotebox"><cite>noname wrote:</cite><blockquote><div><div class="quotebox"><cite>ToxicExMachina wrote:</cite><blockquote><div><p>If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking.</p></div></blockquote></div><p>TBH i&#039;m not sure what i want to learn... no more than necessary to get the job done, i think, seeing as i&#039;m old as dirt, and have lots of projects to get dealt with before i&#039;m done on this planet. </p><p>I&#039;m deeply involved in what one might call the &quot;off-grid/self-sufficiency&quot; thing, seeing as how i&#039;ve been off-grid since 2003 and solar since 2006, and prefer to be as self-sufficient as possible.&#160; I&#039;m currently working on eradicating all use of propane here, since it&#039;s an external dependency.&#160; I&#039;m getting close, i haven&#039;t used propane for cooking in maybe a year, but it still runs the on-demand hot-water-heater, so i&#039;m working on adding an on-demand electric-hot-water-heater.&#160; Since i&#039;m doing this microwave/induction-cooktop/smart-oven business and running a standard 120v refrigerator on a 4.8kwh system, it needs to be fairly efficient.</p><p>Anyway, i found that the idle-overhead for my inverter was eating my lunch, so i set up a remote control to turn it on/off when it was needed.&#160; And when the cheap 12v fridge i was using went tits-up, i went to a 120v fridge.&#160; Then i discovered it was using more startup power than was workable given the overall system configuration (compressor), i hooked up an &quot;Inkbird-All-Purpose-Temperature-Controller-ITC-1000&quot; to the &quot;INSMA Wireless RF Switch&quot; that turns the inverter on/off, so that the inverter would start whenever the fridge temp is out-of-range. That whole business works reasonably well, but i&#039;m pushing the limits of what can be done with one-way-communication, and sticking these off-the-shelf components together is a kludge, so i&#039;m looking to get closer to the hardware so to speak, something more reliable and easier to use.</p><p>As mentioned, i have a starter Arduino kit, and also a book &quot;Practical Electronics For Inventors&quot; which i&#039;ve barely cracked open, but it looks like it will supplement what little i remember from the EE classes required when i was in CSc back in the day.&#160; From what i&#039;ve gathered there are numerous u-ctlrs on the market, Arduino, Raspberry-Pi, and whatever one is in the Moto-Z4, which i was thinking of using as a control unit before i got disgusted with the thing.</p><p>I&#039;m not sure which one is going to be best, but i&#039;ll spend a little time experimenting with the Arduino while i&#039;m learning what i can from the book.&#160; There are a number of projects that i have in mind, from thermo-electric fridge to a battery charger and suchlike.&#160; I suspect that the Raspberry-Pi is the one that&#039;ll make it easiest to monitor the system remotely and collect data, but it&#039;s early days yet.&#160; I totally suck at installing and configuring linux, but i&#039;m not seeing the Arduino as quite that capable.</p><div class="quotebox"><cite>ToxicExMachina wrote:</cite><blockquote><div><p>I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It&#039;s very cheap (the price is about 1-3$) and simple.</p></div></blockquote></div><p>ISP is &quot;internet service provider&quot;, right?&#160; New meaning, or typo?&#160; </p><p>I&#039;m a bit confused, AVR seems to be a specific series of microcontrollers, but it also seems associated with Arduino somehow.</p></div></blockquote></div><p>Initially Arduino is 8-bit AVR-based board series with Arduino IDE. Form-factor of al of Arduino boards except arduino nano or similar ones is awful: it&#039;s large for final device and microcontroller is just soldered in. Thus it&#039;s a bad solution even as development board. For example, TI Launchpad is much better solution as devkit because it&#039;s full featured development board (it&#039;s based on energy efficient 16-bit MSP430 microcontroller). Some of new Arduino boards are based on ARM Cortex M core.</p><p>Arduino IDE is a nightmare. Yes - it&#039;s simple. But it&#039;s weak and doesn&#039;t let to learn anything. For example, from Arduino you won&#039;t understand how to send a signal through a pin: it&#039;s inside digitalWrite() function. This function is surprisigly inefficient and depending on version of Arduino IDE has different maximum frequency so it&#039;s hard to get predictable behavior when you need to use this board seriously. Arduino IDE doesn&#039;t let to build optimized code because it just doesn&#039;t give any way to set compiler options. Arduino IDE is also much more complicated than pure C with avr-libc. With Arduino IDE you&#039;l never know how do you use CPU pins whereas in C with avr-libc you always know which port you use for sending a signal to a specific pin or group of pins simultaneously.</p><p>If you need data acquisition system you may look at ready-to-use solutions. You can find them as &quot;USB ADC&quot; or &quot;External ADC&quot;. Search for devices with UART support: in this case you can use terminal for obtaining necessary data.</p><p>Raspberry Pi is also technically terrible solution. I don&#039;t know who designed RPi board but it&#039;s totally horrible. It&#039;s better to find industrial grade board with GNU/Linux support. You can practice with Raspberry Pi but be ready: Raspberry Pi will be broken eventually because it was not designed as a reliable device. Usually it ruining filesystem on SD card.</p><p>ISP - In-System programmer. It&#039;s a tool for firmware flashing. By the way, you can use Arduino board as ISP.</p><div class="quotebox"><cite>noname wrote:</cite><blockquote><div><p>In a nutshell, what&#039;s the simplest setup that&#039;ll let me control a bunch of inputs/outputs, maintain two-way wireless-communication with something that has a fullscreen interface of some kind, and write data logs that can be analyzed by the control system?</p></div></blockquote></div><p>The simplest solution is ESP32 module with display. It has MCU, wireless communication and I/O pins.</p><p>Another solution is a board suitable for current task, NRF24L01 or similar module and a display for the board. I suppose you&#039;l need an SD card slot. There are a lot of boards with STM32 (ARM Cortex M0-M4) microcontrollers. Recently STMicroelectronics made interesting thing: <a href="https://www.st.com/en/microcontrollers-microprocessors/stm32mp1-series.html" rel="nofollow">https://www.st.com/en/microcontrollers- … eries.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ToxicExMachina)]]></author>
			<pubDate>Fri, 06 Mar 2020 06:29:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20406#p20406</guid>
		</item>
		<item>
			<title><![CDATA[Re: Arduino version currency?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20382#p20382</link>
			<description><![CDATA[<div class="quotebox"><cite>ToxicExMachina wrote:</cite><blockquote><div><p>If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking.</p></div></blockquote></div><p>TBH i&#039;m not sure what i want to learn... no more than necessary to get the job done, i think, seeing as i&#039;m old as dirt, and have lots of projects to get dealt with before i&#039;m done on this planet. </p><p>I&#039;m deeply involved in what one might call the &quot;off-grid/self-sufficiency&quot; thing, seeing as how i&#039;ve been off-grid since 2003 and solar since 2006, and prefer to be as self-sufficient as possible.&#160; I&#039;m currently working on eradicating all use of propane here, since it&#039;s an external dependency.&#160; I&#039;m getting close, i haven&#039;t used propane for cooking in maybe a year, but it still runs the on-demand hot-water-heater, so i&#039;m working on adding an on-demand electric-hot-water-heater.&#160; Since i&#039;m doing this microwave/induction-cooktop/smart-oven business and running a standard 120v refrigerator on a 4.8kwh system, it needs to be fairly efficient.</p><p>Anyway, i found that the idle-overhead for my inverter was eating my lunch, so i set up a remote control to turn it on/off when it was needed.&#160; And when the cheap 12v fridge i was using went tits-up, i went to a 120v fridge.&#160; Then i discovered it was using more startup power than was workable given the overall system configuration (compressor), i hooked up an &quot;Inkbird-All-Purpose-Temperature-Controller-ITC-1000&quot; to the &quot;INSMA Wireless RF Switch&quot; that turns the inverter on/off, so that the inverter would start whenever the fridge temp is out-of-range. That whole business works reasonably well, but i&#039;m pushing the limits of what can be done with one-way-communication, and sticking these off-the-shelf components together is a kludge, so i&#039;m looking to get closer to the hardware so to speak, something more reliable and easier to use.</p><p>As mentioned, i have a starter Arduino kit, and also a book &quot;Practical Electronics For Inventors&quot; which i&#039;ve barely cracked open, but it looks like it will supplement what little i remember from the EE classes required when i was in CSc back in the day.&#160; From what i&#039;ve gathered there are numerous u-ctlrs on the market, Arduino, Raspberry-Pi, and whatever one is in the Moto-Z4, which i was thinking of using as a control unit before i got disgusted with the thing.</p><p>I&#039;m not sure which one is going to be best, but i&#039;ll spend a little time experimenting with the Arduino while i&#039;m learning what i can from the book.&#160; There are a number of projects that i have in mind, from thermo-electric fridge to a battery charger and suchlike.&#160; I suspect that the Raspberry-Pi is the one that&#039;ll make it easiest to monitor the system remotely and collect data, but it&#039;s early days yet.&#160; I totally suck at installing and configuring linux, but i&#039;m not seeing the Arduino as quite that capable.</p><div class="quotebox"><cite>ToxicExMachina wrote:</cite><blockquote><div><p>I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It&#039;s very cheap (the price is about 1-3$) and simple.</p></div></blockquote></div><p>ISP is &quot;internet service provider&quot;, right?&#160; New meaning, or typo?&#160; </p><p>I&#039;m a bit confused, AVR seems to be a specific series of microcontrollers, but it also seems associated with Arduino somehow.</p><p>In a nutshell, what&#039;s the simplest setup that&#039;ll let me control a bunch of inputs/outputs, maintain two-way wireless-communication with something that has a fullscreen interface of some kind, and write data logs that can be analyzed by the control system?</p>]]></description>
			<author><![CDATA[dummy@example.com (noname)]]></author>
			<pubDate>Thu, 05 Mar 2020 10:45:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20382#p20382</guid>
		</item>
		<item>
			<title><![CDATA[Re: Arduino version currency?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20380#p20380</link>
			<description><![CDATA[<p>If you want to learn MCU programming avoid Arduino. Arduino may be a good solution only for the case of noskill dirty and fast primitive things like led blinking. I also recommend to buy a cheap ISP for flashing the microcontroller (bootloader in Arduino is very unreliable thing). USBasp is suitable device. It&#039;s very cheap (the price is about 1-3$) and simple.</p><p>apt-get install gcc-avr libc-avr avrdude<br />apt-get install any-text-editor-or-ide-like-code-blocks</p><p>AVR libc official site and manual: <a href="https://www.nongnu.org/avr-libc/" rel="nofollow">https://www.nongnu.org/avr-libc/</a><br />A simple example of AVR programming: <a href="https://www.tldp.org/HOWTO/Avr-Microcontrollers-in-Linux-Howto/x207.html" rel="nofollow">https://www.tldp.org/HOWTO/Avr-Microcon … /x207.html</a><br />Another example of AVR programming basics: <a href="https://www.swharden.com/wp/2013-01-06-avr-programming-in-linux/" rel="nofollow">https://www.swharden.com/wp/2013-01-06- … -in-linux/</a></p><p>However, if you don&#039;t want to program microcontrollers you can just install Arduino IDE from repository and use it before you drop it after a couple of weeks or even a month. You can also download latest version of Arduino IDE from official website, unpack and run it.</p>]]></description>
			<author><![CDATA[dummy@example.com (ToxicExMachina)]]></author>
			<pubDate>Thu, 05 Mar 2020 08:41:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20380#p20380</guid>
		</item>
		<item>
			<title><![CDATA[Arduino version currency?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20250#p20250</link>
			<description><![CDATA[<p>So i have a new toy, an Elegoo Arduino starter kit.&#160; Now, being the lazy individual i am, i just went to synaptic and installed the Arduino IDE shown there.&#160; However, i&#039;m concerned with whether the version in the library is current.&#160; The Elegoo docs are all like, &quot;you&#039;ll get a crappy old version&quot;, so what&#039;s the real deal?&#160; Do i need to go through the manual install process, or is our version current?</p>]]></description>
			<author><![CDATA[dummy@example.com (noname)]]></author>
			<pubDate>Thu, 27 Feb 2020 20:34:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20250#p20250</guid>
		</item>
	</channel>
</rss>
