Hi Ben, I found IOST http://www.smalltalking.net/Goodies/Squeak/ to use io.dll, I think that it's fine for me. I'll try it on Pharo.
I want to do this on a computer (and not with arduino for example) because my idea is to do a complete software to manage the brewing process on my little brewery and sense the temperature is just de beginning. Thanks for your answer. Facundo On Fri, Jun 9, 2017 at 11:03 PM, Ben Coman <[email protected]> wrote: > The only two historical references I see on forum.world.st are from 2006 > & 2010. > http://forum.world.st/parallel-port-access-on-Linux-td46506.html > http://forum.world.st/Physical-Etoys-released-td1574259.html > and they have some link rot. > > I'd guess your best approach would be to get something working in pure C, > and then provide functions that Pharo can call via FFI. > > Alternatively, from personal experience when I used to hoard such old > parts, it may be > economic use of your time to throw the old board away, and use a modern > microcontroller. > What you learn could facilitate more opportunities, and this stuff just > keeps getting cheaper, > while parallel ports get more expensive while knowledge of them keeps > getting less relevant. > > Maybe a $20 ESP32 with 18 ADC channels + MQTT > https://www.sparkfun.com/products/13907 > http://wiki.jackslab.org/ESP32_Onchip_Sensor > http://www.instructables.com/id/Power-and-Temperature-Data- > Logger-With-ESP32-and-A/ > https://github.com/tuanpmt/esp32-mqtt > > http://forum.world.st/MQTT-for-Squeak-td4919880.html#a4920629 > http://forum.world.st/MQTT-for-Pharo-td4927759.html#a4928045 > https://developer.ibm.com/recipes/tutorials/connect-an- > esp32-to-the-watson-iot-platform/ > > Or use a Raspberry Pi... > https://core-electronics.com.au/tutorials/temperature- > sensing-with-raspberry_pi.html > that can run Pharo directly, but I'm not sure what access to pins is > currently available. > Again you could go the FFI route, or someone else might advise. > > cheers -ben > > On Sat, Jun 10, 2017 at 8:57 AM, Facundo Vozzi <[email protected]> > wrote: > >> Hi, >> I need to access to the Parallel Port in order to use an old >> Analog/Digital board to sense temperature in a micro brewery. Is anyone >> using any package to do this? >> >> I'm using Pharo 6 on Windows. >> >> Thanks in advance, >> Facundo >> > >
