Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MyNameIsMud

Pages: [1]
1
TFTs / Arduino DUE + 4.3" TFT + NHD-4.3-480272MF-20: PIO issues
« on: June 16, 2017, 12:17:15 AM »
Hi,

I'm struggling a bit with the setup: I have the NHD-4.3-480272EF-ASXN display plus the NHD-4.3-480272MF-20 controller board. The example code provided for the setup works nicely with Mega but I'm having issues porting it for Arduino DUE.

The main issue is the PIO register manipulation, does anybody have idea how it should be done?

I've tried the following to configure the PIO (from Arduino forum):

  PIOC->PIO_PER = 0x01FF;  // Configure PORTC to PIO controller, pins 33-40
  PIOC->PIO_OER = 0x01FF;  // Enable PORTC to output
  PIOC->PIO_ODSR = something; // Write something on pins 33-40

It does not seem to work. Am I missing something completely?

I verified the wiring setup by digitalwriting the parallel port, and it works but is terribly slow.

BR,
Lassi

2
Customer Projects / Re: Custom Motorcycle Instrumentation
« on: January 16, 2017, 11:37:24 PM »
Brilliant, thank you for sharing Lassi! Are you pulling the data via the SDS port?

Thanks Paul!

Im using 4-bit parallel port with the displays + additional lines for the chip select, seems to be working nicely.

The gauge control box reads EMU PWM signals for speed and tach, also a couple of separate EMU AUX ports for sensor data so no serial data there either. The water injection system has its own control system which gives out warnings for low water etc. The gauge control box has few of its own sensors also.

Wanted to make the code as simple and robust as possible to avoid issues with critical systems, also wanted to build the gauge and control box so that if they fail, it will not have an effect on the other systems, you just don't see any readings.

Have to say, its been a real learning experience for a mechanical engineer... :D DOH! Though the displays seem to be tough - they have held up nicely all kind of handling and mishaps!

--
Lassi


3
Customer Projects / Custom Motorcycle Instrumentation
« on: January 16, 2017, 04:23:33 AM »
Hi,

Decided to share a hobby project I've been working on lately. :)

Its a custom instrumentation for a turbocharged Suzuki Hayabusa. It uses two NHD-0420CW-AR3 OLED displays, showing the speed, rpm and other sensor data. The software development is ongoing but the basic layout can be seen from the pics.

The cover lens also has warning lights integrated to it, the cover lens print openings have been done using Laser. There is also a ambient light sensor sniffing the Lux level.

The casing is black anodized aluminum, and the machining marks on the front bezel have been designed to create some visual effect.

The gauge is connected to a self made control unit which communicates with the engine management unit and water injection system.


--
Lassi

Pages: [1]