Jump to content
43oh

abecedarian

Members
  • Content Count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by abecedarian

  1. Where the sensor will be mounted should be a design consideration and could help determine which sensor type to go with. High heat might mean Hall can't be used; oil / dusty environment might preclude optical. Electrical noise might cause issues as well. Also, I noticed you mention a magnet passing a pickup coil. An alternative would be a variable reluctance sensor. These can sense ferrous metals passing by without the need to embed a magnet in some sort of trigger; they are commonly used in automotive and related applications where they might be subject to harsh conditions. Their down
  2. Should be able to find a NEMA 3 or 4 enclosure fairly easily, then have a small hole (1/2" or so) at the bottom covered with Gore-Tex. Gore-Tex is breathable so shouldn't affect actual air pressure and humidity readings but also helps prevent sizeable moisture droplets from permeating the fabric; drips and splashed water shouldn't enter but forced spray from a hose might.
  3. Just wanted to be sure we're all on the same different pages together.
  4. Maybe my math is off, but a millisecond is one/one-thousandth (1/1000) of a second. So, the aforementioned 0.00003051757812500000 seconds is 0.030517578125 milliseconds... not 30.517578125 milliseconds.
  5. I'm just hypothesizing here but doesn't the F5529 have an RTC within? Makes me wonder why Energia doesn't leverage that for millis and such functions.
  6. We could go out of the box, though, and use FTDI or similar devices to give USB support via UART. That is sort of where my mind was.
  7. I'd think that since USB host provides +5V, using either an ADC or a simple GPIO pin on the MCU to sense if that's present would be enough to tell you the device is connected to a USB port and can choose power mode accordingly. USB OTG is another story though.
  8. msp430 have an intrinsic, native 16 bit depth, so a byte is 8 bits out of 16. Shift a byte 16 bits to the left, or right for that matter, and wouldn't you be left with what you started with?... I mean if the compiler uses a rotate rather than a shift and discard bits if the shift is the same as the intrinsic....? Ignore me; I'm an idiot.
  9. On one hand, if it's published, you would have copyright over the works published. Not the same as patent protection, but still valuable because the term involved is substantially longer. Copyright is actually a bit more loosely interpreted, if I remember correctly, though. On the other hand, if you just roughly describe it, without publishing the code, you don't have copyright over the idea. A student whose works are attached by a teacher / professor should have their papers in hand and could prove they were the originator of the idea.
  10. Wonder if one could attach a change interrupt to the pin used by tone, and invert another pin based on the tone pin? Thet would probably be slightly out of phase due to processing the interrupt and such, but that might help more with a sinusoidal output as opposed to square wave.
  11. I'm running Win10 x64 on this computer and am having no problems... other than the AP my Chronos watch has whose drivers are unsigned. *edit- doing what @@spirilis mentioned, rebooting to allow installing the drivers without driver verification, then rebooting again and updating the driver for the device in question to point at the unsigned driver works.
  12. Depending on which ADC you're using, if it has something like a "conversion complete" signal, you could connect that to an interrupt capable pin and then read the data from the ADC whenever it signals it's ready.
  13. @@greeeg I was messaged about this. There will be two displays, one for each player. My suggestion was to maybe do this in C, then look at the code the compiler generated.
  14. I would say "no", it shouldn't affect anything. Energia on Windows is basically, just that. Where you may have problems is with drivers for the LP, but I've yet to see anything I haven't been able to easily rectify... save for if I'm moving from 32bit Windows to 64bit.
  15. One display, two buttons... hmmm.... How does one player do something without the other seeing it? Coordinates could be easy enough. Rather than thinking about a 4x4 grid, think 16 places. So, one button could select which one of those 16 spaces is where their "ship" resides, and the other button would be "enter". Obviously, limit movement of the ship to only one space away from where it was previously. Then the user would select which of the other spaces they think the opponent is in and again, press "enter". I might carry it a bit further, in as much as if one moves their shi
  16. @@Fmilburn - Are you suggesting periodic resets as a manner of practice? As in, even if things are working, reset just "because"?
  17. No clue as to what ads. Sometimes it works just fine, but if the ad banners hiccup, the browser stops trying to load the page.
  18. Whelp, problem is back again. Seems to be related to the banner ads. If they go animated, things crash.
  19. @spirilis- yes, this is off topic but does clarify something. I hope @@B@tto will forgive me for dragging us this way.
  20. Not what I would've expected but I see now it works. void setup() { // put your setup code here, to run once: pinMode(RED_LED, OUTPUT); } void loop() { // put your main code here, to run repeatedly: static int u = 1; digitalWrite(RED_LED, u); delay(500); u = !u; }Does, in fact, blink the LED.
×
×
  • Create New...