An archive of community.esquilo.io as of Saturday January 26, 2019.

More tutorials?

softwarejanitor

I am currently working on a couple more... Now that I am more comfortable with I2C it opens up a bunch of things.

DS3232RTC Real Time Clock + Temperature Sensor. I have the Adafruit I2C breakout board and I will interface it to the Esquilo with a 1602A LCD being used to output the time and temperature. There was a pre-existing Esquilo library for this one, so I will just be providing some demo code + wiring diagrams, etc.

HTU21D Temperature + Humidity Sensor. Similar to above, I have the Adafruit breakout with I2C, output will be to LCD. Again, this one already has a pre-existing Esquilo library so I will just be providing the tutorial info.

BMP180 Temperature + Barometric Pressure. I have the SwitchDoc Labs WeatherPiArduino board. This is an I2C attached device and output for the tutorial will be to the LCD. This one I am porting the library from both Arduino C/C++ as well as some LUA code that I found. I will hopefully have it done soon.

A couple of non-sensor parts I could do are the Adafruit 32KB I2C FRAM breakout board and the Adafruit ADS1015 2 Channel ADC I2C board.

I also have the following sensors on order which hopefully will make it here soon. Shipping from China can be slow....

DS18B20 Temperature Sensor (pre-existing Esquilo Library)
DHT11 Temperature + Humidity Sensor (pre-existing Esquilo Library)
BMP280 Barometric Pressure Sensor (newer version of BMP180, see above)
LM35 Temperature Sensor (will probably have to port library from Arduino)
AS3925 MOD-1016 Lightning Sensor (will probably have to port library from Arduino)

I've also got a 1602A LCD with the I2C interface, one with the I2C and a keypad and a 2004 (20x4) LCD screen
on order.

I am open to any feedback on things y'all would like to see or if you would like any of these to be prioritized over the others or anything like that.

softwarejanitor

I forgot one... I also have a ADXL335 3-axis accellerometer on an Adafruit I2C breakout

I've got some other misc. parts I may do some tutorials for as well... 8 segment LED, 4x8 segment LED, 8x8 LED Matrix, joystick, misc buttons and switches, IR Remote, etc.

Any interest in RS232 -> TTL converters? I've got a couple of solutions there which I could do tutorials on.

softwarejanitor

I just ordered some more parts from China...

ADS1115 16 bit ADC breakout board
Keyes MQ3 Alcohol Sensor Module (Breathalizer! should be fun)
MCP4725 i2C DAC Module
2,4" TFT LCD Touch Screen Shield
Analog Rotary Sensor Module
Digital Tilt Sensor Module
360 degree Rotary Encoder Module
RFID Sensor card & Fob Set
etc

I'm hoping to eventually have 20+ tutorial projects that are basic building blocks people can use to make more complicated and interesting things. Kind of like building with Legos vs. whittling Lego blocks out of wood.

If anyone would like to help out It would be cool to have people who have some of the same sensors I do contribute their libraries to the cause. I have the libraries I have ported so far out on GitHub and the projects are both here and on Hackster. For that matter if anyone wants to tackle creating any tutorials like these, go ahead, it won't hurt my feelings any. There are plenty to go around. I've listed quite a few, but I am really only scratching the surface. on what is out there.

JefferyS

That's great Sofwarejanitor, my squirrel skills are not so great but I'm getting better, I have a complete system of 8 DS18B20 probes and Mosfet controllers controlling 5 SSR's for heaters using the PID library.

I'm working on documenting it and going to share it soon. I think the Esquilo is awesome but the more examples and libraries for hardware the better.

Look forward to seeing your tutorials.

Love the Adafruit stuff :slight_smile:

Thanks,

Jeffery

softwarejanitor

Yeah, the more the better when it comes to examples. The Esquilo is so much nicer to deal with than Arduinos, especially if you want network connectivity, but even just for the code-debug cycle because of the built in IDE vs. having to code-compile-download-test. I've done C for 30+ years and C++ for nearly 25 years so Squirrel has taken a little getting used to but for the most part I like it.

One thing I've noticed is that there are sort of three levels of developers for these small boards. There are the people who can look at just a data sheet for a part and create a whole library from scratch and everything else. There are people who are about where I am at the moment that can enhance or port existing libraries and then use them. And then there are a lot more people who are more dependent on having libraries written for them, but if they have an API they can use those building blocks to make some pretty cool stuff. I'm hoping to get to the next level myself but I also hope to provide the "Lego blocks" that others can use.

Adafruit isn't usually cheap, but they make nice clean and well documented products that make it pretty simple. It is also cool that they release their libraries and everything under a permissive open source license.

JefferyS

Ya, I'm more in the last group lol but learning a lot and making great progress. I don't think I would have gone so far using the Arduino mostly that the network and IDE and other system function are ready to go and I can just hook up hardware and start writing code.

Ya, their not the cheapest but I like to buy from them because they have good products and support and like you said they release their libraries and stuff so I will get what I can from them.

Thanks,

Jeffery

softwarejanitor

I started out back in the Apple II days and did some hardware h4x0ring back then. In those days there wasn't much built for you so you, and the hardware was actually at a similar level to an Arduino. Maybe even more primitive in some ways. But it did force you to learn a lot in order to do anything cool. The Esquilo I think should open up the world of "making" and IoT (and possibly also robotics and some other stuff) to a whole lot of people who, like you say would probably not get as far with an Arduino due to the primitiveness of that platform. I think a big enough set of "Lego Blocks" for the Esquilo could really push it over the top for those people.

Anyway, as I said, I am in the middle group right now I think, but I'm working on building up my low level knowledge (and in a lot of cases just trying to remember a lot of stuff I haven't used in a long time like a lot of low level binary math and logic and stuff).

I've got a bunch of stuff from Adafruit and I will probably continue to buy some stuff from them as well as Sparkfun, but I've also found some places I can order more "raw" parts very inexpensively, so I am taking advantage of that also to expand what I have available to play with.

I should have at least 1 or 2 more tutorials on line over the weekend. I'm hoping over the next few weeks to have 20+ written up including a bunch that will all be new to me like controlling stepper motors, servos and other stuff like that.