|
v1nce posted:I'm building a kind of self-calibrating stepper-motor controller thingie, and I can already feel I'm going to need an event and timer system, which goes beyond the basic low-level timer libraries. Is there any one good "framework" which provides good implementations of these kinds of things? I've maybe been doing something similar using accelstepper. Does this help? code:
|
# ¿ Mar 22, 2016 05:23 |
|
|
# ¿ May 14, 2024 02:59 |
|
BedBuglet posted:So, I have a future project I've started planning out with the bf. Part of the project requires a micro-controller to control 84 transistors (we need to control an array of electromagnets). Is there a good option for handling a dmux of an arduino to that level? 2 megas might work here.
|
# ¿ Apr 25, 2016 13:34 |
|
BedBuglet posted:I don't think so. The timing is fairly important in that they would have to be in sync to within a second. I had thought about having a mega driving some slave microcontrollers but I was a computer science major, not an electrical engineer so my experience with actually wiring up my own system is middling at best. Have one mega send data to another. I find that megas run simple programs at khz rates. Subsecond is not a problem. Look up i2c.
|
# ¿ Apr 25, 2016 15:41 |
|
Does anybody have experience with easyiot server?
|
# ¿ May 22, 2016 16:17 |
|
Lowen SoDium posted:Anyone try to power the cheapy Node MCU ESP8266 board on Amazon using 10v on the Vin pin? The silk screening on the back says 10v max, but mine popped and doesn't boot any more when I tried it. I just power it via usb. Has anyone had issues using them with wifi on a solderless breadboard? I got constant resets until I moved to another bb. No problem without wifi turned on though.
|
# ¿ May 30, 2016 05:29 |
|
Before i go too far down a bad path i'm trying something like this pH + Temp sensor v nodemcu + wifi v Raspi v Apache server v Python script v Sqlite database Looking to make a datalogging system for aquariums with multiple sensor packages on different tanks reporting back to a server on a wifi network. I think I have the whole path working in prototype, but if anyone has any tips or experience that'd be useful.
|
# ¿ May 30, 2016 05:41 |
|
Hadlock posted:ESP8266 (nodemcu) does not have an analog input IIRC which is fine, you can get an ADC device to do the conversion for you. It has one adc channel.
|
# ¿ May 30, 2016 12:58 |
|
rawrr posted:Just in case you hadn't considered it, it seems like this would be a simpler option: https://hackaday.io/project/5797-plotly-esp8266 Stuff like that looks convenient, but I'm worried about 2 things. Permanence and scalability. Eventually this system might go to ~30 nodes dumping 2+ sensor data each every hour. I want to have complex custom visualization for that without having to pop between plots. Additionally at some point most of these services charge for use based on data writes. And I don't want to be tied to a platform that might go dark or change arbitrarily in a year.
|
# ¿ May 30, 2016 13:15 |
|
I'll check it out. Looks like I can run my own thingspeak server anyways. Do you know how well it works with multiple simultaneous data visualizations? Edit: it looks like it can output different data sets on a single channel. I'm wondering how you can visualize the same kind of data across multiple channels simultaneously. Like show temperature from several channels in the same plot. Spazzle fucked around with this message at 16:14 on May 30, 2016 |
# ¿ May 30, 2016 16:00 |
|
Mr. Despair posted:I've got the same sorta deal going, I use highcharts (well, technically highstocks but that's just to get the timeline functionality) to display different things from the mysql database I have. Yeah, this is pretty close to what I'm thinking. I have a chain basically working now. Just need to create charts from stored data. Probably use python scripting.
|
# ¿ May 31, 2016 17:57 |
|
Mr. Despair posted:If you can output your data in JSON format I'm willing to bet that highcharts will make nicer looking plots with less work than any python based stuff. Was initially worried about the license stuff, but seems ok. It does look slick.
|
# ¿ May 31, 2016 18:25 |
|
COOL CORN posted:Why isn't my LCD doing anything? Does it light up and/or change when you adjust the potentiometer? Does it require 5 volts?
|
# ¿ Jun 7, 2016 22:58 |
|
Acid Reflux posted:Anyone have any favorite neopixel tutorials? I got a bunch of the little individual ones on round PCBs to play with, but everything I've come across so far seems to want to teach me how to use whole strips. My programming skill level without just cribbing code is roughly "hello world", so the more toddler-oriented the material is, the better. The strips are just individual ones linked together. I think you can actually cut singles off and use them. If you really only want one pixel you could set the strip length to one. I also prefer the fast led library. If I recall the default neopixel library was laughably slow.
|
# ¿ Sep 4, 2017 17:25 |
|
babyeatingpsychopath posted:I was using the fast LED library for strips, but now I've got some panels. Is there an equivalent to fastLED for neoMatrix? I haven't used NeoMatrixes before. Looking at the adafruit page brieflly (https://learn.adafruit.com/adafruit-neopixel-uberguide/neopixel-matrices) it implies to me that it behaves like a strip that happens to be arranged in a 2d pattern. That is, if you had a 16x16 array of 256 pixels, it could be addressed as a 256 pixel strip, where it just goes to a new line every 16 pixels, or some such depending on the toplology. If that is the case, the fast led code would probably be equally applicable. Just figure out how pixel number maps to array position. Coincidentally, I did just order a bunch of these (https://www.adafruit.com/product/2277) to drive off a raspi. I'll see how much of a boondoggle they are.
|
# ¿ Sep 4, 2017 22:38 |
|
Parts Kit posted:It may just be me or the combo of stuff I was using on a past project but Adafruit's libraries seem really bloated. I recall watching the output of both on my oscilloscope, and the neopixel bits were just way longer. Long enough that it cut into the frame rate with big chains. The fast led output was basically as short as could be dumped out of arduino.
|
# ¿ Sep 9, 2017 22:29 |
|
Sockser posted:This is probably the thread for this
|
# ¿ Oct 13, 2019 05:10 |
|
Sockser posted:Having trouble googling what I want here Maybe this? I use it with the led controller it was designed for, but it can be used separately. https://www.tindie.com/products/electromage/electromage-pixelblaze-sensor-expansion-board/
|
# ¿ Nov 28, 2021 04:50 |
|
|
# ¿ May 14, 2024 02:59 |
|
wolrah posted:
I haven't looked too deeply into WLED, but aren't you basically stuck using premade patterns unless you stream pixel data from external sources? I'd usually use fast LED on an Arduino or use a pixelblaze if I wanted a custom pattern.
|
# ¿ Mar 27, 2024 18:52 |