Dev Boards

Discussion in 'The Thunderdome' started by fl0at_, Oct 3, 2019.

  1. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    We have a disproportionate number of engineers and code monkeys here, so maybe someone can help me.

    Does anyone play with dev boards like arduino? I need to have a high level discussion that leads to specifics on how I can build multi tasking into a single threaded microcontroller.
     
  2. ptclaus98

    ptclaus98 Contributor

    I'm just here for the discussion. I have an arduino that I had big plans for but it hasn't worked out. Was going to make a climate control/music player/dashboard that was capable of connecting to a megasquirt board.
     
  3. doolmeonce

    doolmeonce Member

    Accidentally clicked on this thread. Any discussion about megasquirting I will follow. Proceed.
     
    kmf600, justingroves, Ssmiff and 2 others like this.
  4. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    Let me save you a lot of pain.

    Ambient makes a bunch of weather stations that can plug in to USB.

    That + WeeWx = Remote weather with http dashboard
     
  5. InVolNerable

    InVolNerable Fark Master Flex

    Does this megasquirt board have anything to do with the porn emails Card’s partner is sending out?
     
  6. lumberjack4

    lumberjack4 Chieftain

    I don't know if you can do it with Arduinos, but I've flashed the Mbed RTOS on micro-controllers before to get the the illusion of multitasking and threads.
     
  7. ptclaus98

    ptclaus98 Contributor

    I don't think we're talking about the same kind of dashboard. I'm talking about making one for a car, that shows me everything from the tach to oil pressure.
     
  8. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    I see now. I had weather station in mind. Not sure why.

    Your project is more complicated than mine, but I can get you started, if you like.

    My project uses various sensors, switches buttons and LCD to display various sensed and switched things.

    LCD is not touch screen though.
     
  9. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    I grossly mistyped mega squirt as multi squirt.

    And I recommend nobody do that. Especially on the company WiFi.
     
    justingroves likes this.
  10. lumberjack4

    lumberjack4 Chieftain

    If you want the mechanical readings (speed, rpm, oil pressure, temps, etc) you can do that over CAN through the OBD-II diagnostic port, which is pretty straight forward and well documented. If you want to go really easy you can use a STN1110 chip to do most of the hard work for you (https://www.obdsol.com/solutions/chips/stn1110/). I believe you just pass it text commands via UART and it gives you the data back, no OBD-II knowledge required. If you want to control infotainment that's on a separate bus and more complicated to interface with.
     
  11. ptclaus98

    ptclaus98 Contributor

    I would prefer it that way, fits with the theme I'm going for.

    Lumberjack, it's not likely that the car I plan on doing this with would even have OBD, and definitely not OBDII. The MS board would collect the data, I want to convert said data and display it on command, similar to how modern displays work in a car, but without the fancy design.
     
  12. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    How would you get tach?
     
  13. ptclaus98

    ptclaus98 Contributor

    Wire it into the harness for MS
     
  14. lumberjack4

    lumberjack4 Chieftain

    I see. Sounds like an interesting project. The only thing I know about cars is how to talk to the on-board computers.
     
  15. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    Interesting. Wiring it would be like wiring any other sensor, then, probably. Drop on a digital input, and use a pull up resistor.

    Code probably just a digital read, and likely already a library out there.
     
  16. fl0at_

    fl0at_ Humorless, asinine, joyless pr*ck

    My current catastrophe. 12V with 10A fuse to block. Powers 12V breadboard for some things, and the load side of a relay.

    Then to 12V to 5V converter, to other half of block, to 5V breadboard with controller.

    Then sensors and buttons and bleh. I still have two more switches and like 8 more things to add to this bastard.
     

    Attached Files:

Share This Page