From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.90.209 with SMTP id l17mr1906453icm.34.1409694051597; Tue, 02 Sep 2014 14:40:51 -0700 (PDT) X-Received: by 10.140.37.39 with SMTP id q36mr81725qgq.10.1409694051461; Tue, 02 Sep 2014 14:40:51 -0700 (PDT) Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!uq10no8642276igb.0!news-out.google.com!q8ni8qal.1!nntp.google.com!dc16no656240qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 2 Sep 2014 14:40:51 -0700 (PDT) In-Reply-To: <60a42dc6-d8d0-4432-ae5a-86de18b82840@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.188.251.113; posting-account=mOyWBQoAAAD7S-NBmMUOr9hRClcL0vqR NNTP-Posting-Host: 87.188.251.113 References: <60a42dc6-d8d0-4432-ae5a-86de18b82840@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: STM32F4 Discovery, communication and libraries From: rrr.eee.27@gmail.com Injection-Date: Tue, 02 Sep 2014 21:40:51 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:188811 Date: 2014-09-02T14:40:51-07:00 List-Id: On Wednesday, August 27, 2014 12:38:33 AM UTC+2, Roy Emmerich wrote: > I discovered Ada 2 days ago, so stick with me. >=20 > I am starting a business which will focus on creating a cheap, modular, o= pen=20 > source data logger/controller usable across multiple domains. At the mome= nt I > am in the prototyping stage, using the following hardware: > ... A few biased remarks from the original author of AVR-Ada. I wouldn't comple= tely exclude the AVR microcontrollers from your thoughts. 1. They are reasonably priced. You can start with some hobby boards like so= me Arduino clones for less than 20 EURO. 2. a data logger typically does not need the processing power of the 32bit = ARM mcus. With a step up dcdc converter and well choosen sleep modes you ca= n run your logger for years on a single AA battery. 3. You can program them in Ada. See the AVR-Ada project on SF: http://sourc= eforge.net/p/avr-ada/wiki/Home/ The project includes drivers for=20 - I2C (called TWI on AVR),=20 - OneWire (you can get lots of quite cheap sensors for the OneWire bus) - debouncing code for direct inputs like keys or switches - UART for a serial console - FAT filesystem for writing your collected data to a (micro)SD card Admittedly you don't get tasking with AVR-Ada. Despite all the discussions = in this thread I don't think it would be helpful in your case anyway. You c= an read out all your sensors and write them to the SD card in a single loop= . Even if you do that several times per second (e.g. for filtering your inp= ut data) your board will be in sleep mode most of the time. 3 There is a big community for related electronics and programming on mikro= controller.net. It's mostly in German language, some discussions are in Eng= lish, too. 4 There is small but very helpful bunch of people on the AVR-Ada devel mail= ing list. I know that at least one of them once programmed data acquisition= and control systems (SCADA) professionally :-) HTH Rolf