Jump to content

redmist

Members
  • Content Count

    56
  • Joined

  • Last visited

  • Days Won

    1

redmist last won the day on June 9

redmist had the most liked content!

About redmist

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. redmist

    programmable logic

    I'd also like to move away from the Generic Dash to something more customized around my needs. Although I've "fudged" the generic dash such that I can display my gearbox temp, unfortunately the AIM Evo 4 that I'm currently using in the offroad race car requires that protocol. The rally car runs a G4 Storm, which by default does't appear to have a Generic Dash 2 LLC (although I'm sure I could create one). I am however having an issue with either the arduino libraries or the MCP2515 controller. Specifically it's dropping large amounts of frames from the buffer and given a small delay in the program (such as a write to the 7 Segs) it drops all but the frame 0. It's a weird timing issue as I can "count" main loop cycles in the hundreds before an can bus interrupt is generated. Might have a crack with one of my ESP8266 devices (which is sure to make everything worse).
  2. redmist

    programmable logic

    I've currently got all 6 seven segments and the 8x8 Matrix to work with Link "generic dash" can bus output. There is some work to do with my neopixel library conflicting another of my libraries, and a weird issue with my can bus adapter only picking up frame 0 or 1 when you start to introduce a delay (like writing to the 7 Segs). However given a correction of my frame issue I'm not seeing any problems with refresh from the Nano. Weird thing is the Nano will do several hundred main loops prior to picking yet another frame 0 from the buffer. Although there is a deep imprint of my keyboard in my forehead I'm enjoying battling with the cheap ahrse and very flashy intelligent 7 Segs, 8x8 and neopixels... the cheap can bus adapter... not so much.
  3. redmist

    programmable logic

    Thought the Teensy still required a can bus transceiver? If I could attach the teensy straight to my canbus then it would save me a tonne of grief!!! I've a friend that's had issues with Nextion and refresh rates, switched to a cell phone. Seems all the integrated intelligence screens struggle.
  4. redmist

    programmable logic

    Nice job David! Thank you for the pointers to Pauls well presented site. Thankyou Paul for spending the time and effort to detail such. I gather the reason people have migrated from the arduino mega/nano to the teensy (or other platform) is because it's just too slow? I suspect by the time I generate interrupts from the flappy paddles and insert new frames on the canbus I'll simply ask too much from this stupidly cheap device. My dash is currently being benched (chose a mass of 7 segments as they are bright in sunlight for the open race car), have it testing libraries and some basic code to pull frames and data from the canbus... it just needs some proto board... me to design and print a case (I'll keep away from PLA now thanks Dave!!!) and a tonne of tidying in code and wiring. Think I'll design and print the case around the ability to replace it with a Raspberry Pi Zero W. The nano seems fast enough, but does not seem reliable. I've also broken apart the canbus frames with my Pi based radio telemetry such that given the 7 segment and nanopixel libraries I shouldn't have too much issue migrating to the Pi.
  5. redmist

    programmable logic

    So David, do tell? Spill the code! After using a Raspberry pi and a small radio modem to transmit Link CAN Bus data over a serial link I've now started playing with an arduino to simply pull data off the bus and display it on a set of 4 x 7 Segments, an 8x8 matrix (gear display) and neopixel leds (RPM Limits). My coding is Uuuuuugly... but it works... mostly.
  6. G4 Storm, old case, updated for CAN. Generic Dash stream at 20Hz. Only CAN sniffer I have is the PiCAN 2 shield on my Pi 3. Three, frame 14 (0d) interspersed through my log... I've used both C and Python libraries. Given it's a correctly formatted CAN message I doubt it's generated by by PiCAN2 board. I guess I could drop the entire frame given it contains nothing? (don't want to send rubbish over radio). candump.txt
  7. Through my own stupidity, (and lack of 16 fingers) I used the wrong trigger to complete a stream of Link CAN (Generic Dash) data for my radio telemetry program. On triggering a completed set using the last frame as "d" (14), from the correct Link CANID I got an intermittent completion of the link data set (and sent via radio). On further investigation I've noted that it's only sending frame 14 once randomly every 5-10 or so seconds. This frame does not appear on the Generic Dash CAN Data Format. The 7 remaining words (including the 6 that are relevant) are all "00"'s Wondered if it was important, or if it had any data that I should be displaying either locally(dash) or remotely (transport truck). Cheers, Daniel.
  8. Cheers Adam, thanks for that. I suspect my USB serial adapter might not be doing RS232 but TTL. That and the fact that Putty is playing games with me.
  9. Have attempted to use the RS232 port with the Link configured to 12hz continuous. There isn't a squeek out of the port until such point in time as I kick up PCLink.
  10. I've an older G4 Storm that I'm benching for radio telemetry. It's simply a trial to enable both my G4+ Xtreme's to transmit radio telemetry, GPS data and alerts to a base. I've got the radio bridge working well, bridging between two USB devices (GPS and radio), and my program logs, truncates and transfers NMEA data to my second device without issue. However on switching to the Storm I've noted that the Continuous modes (12/25 hz, and CRC) don't appear to be continuous. As in without any input from PCLink the USB serial port is silent. I could emulate the PCLink "tuning" call, however the response doesn't appear to conform to the short or long datastream format listed in PCLink. On a requested short or long, should I send a capital "A" I get a hex FE (decimal 254) return, which I gather is an out of bounds error? Not that this should matter if I can get a continuous data stream. Am I being rather dense here and that the Datastream configuration only refers to the RS232 data? As an aside these are on two raspberry pi devices running Rasbian.
  11. What turbo are you using and are you still using the stock LIM? Cheers, Currently running a crate core FD engine in an offroad race car.
  12. Appears to work a charm. Thankyou Adam. For those of you with an AIM datalogger this LCS will give you a few different parameters to log and display. It's a pity that AIM don't give us the ability to alter the RaceStudio CAN configuration to suit our needs. Thanks again Adam.
  13. I'm attempting to get AT4 to display on my AIM EVO4 with my G4+ Xtreme. Unfortunately Race Studio is rather restrictive in terms of what it will display and the Generic Dash CAN configuration will not output AV4 unless I configure it as either OIL Temp or IAT. Both of which I'm also displaying. I noted that the VIPEC configuration for race studio includes a download for CAN_BUS_FULL.LCC.This is compatible with the early VIPEC software however I cannot read the frame layout in said version, so I can't manually copy it across to PCLink to configure my G4+. I wondered if there was a document displaying the frame layout for the VIPEC_CAN_Bus_FULL.LCC or conversion software that can copy the LCC into LCS format? Cheers, Daniel.
  14. Scraggles, wondered if you had completed your own custom LCS copy of the Generic Dash? I'm in the same boat having an AIM EVO that I can't get ANV4 data to display using the Generic Dash output. I'm about to bash keyboard and wondered if you had already completed said keyboard bashing? Scrub that. I'm going to have to find another work around. With Race Studio you can't change the sensor type. As I need all four AN temps logged and the Generic Dash only outputs 3 (and as such Race Studio is configured the same) I can't use the Generic Dash configuration. I'm going to have to find another work around. I'm hoping that I can emulate either the VIPEC CAN BUS FULL or possibly a MOTEC dash configuration. Cheers, Daniel.
  15. Ahhhhh.... will have to try that once I recover the Jimco. Thanks Scott.
×
×
  • Create New...