Author Topic: Pi PICO DRO/Quill-Knee combiner  (Read 7194 times)

Offline JamesC

  • Jr. Member
  • **
  • Posts: 11
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #25 on: February 01, 2024, 04:41:57 AM »
Looking Good Bill.

Having spent a lifetime working in metric my brain struggles to convert fractions to decimals.  I can see this being a great help.

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #26 on: February 01, 2024, 07:04:19 AM »
Yes that's exactly my experience. I've no particular problem with fractions , but converting to decimal is not something i can do  in-my-head at any useful speed.

@AdeV  I love the name woodworker . it i now the internal name for this 'screen'

    def Run(self,):

        #self.ScnMan.show("About")
        #time.sleep(3)
        #self.ScnMan.show("XY")
        self.ScnMan.show("woodworker")
Bill

Offline AdeV

  • Madmodder Committee
  • Hero Member
  • *****
  • Posts: 2434
  • Country: gb
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #27 on: February 02, 2024, 04:48:15 AM »
Looks really cool!

One thing I'd be tempted to do to it - when you hit your fraction "bang on" (or, at least, as close as you can given there's inevitably some which are 0.00005" "off" from the decimal conversion) - have the scale change colour. That way, when you're woodworking, you can pretend that you're being accurate  :lol:
Cheers!
Ade.
--
Location: Wallasey, Merseyside. A long way from anywhere.
Occasionally: Zhengzhou, China. An even longer way from anywhere...

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #28 on: February 02, 2024, 07:42:18 AM »
Looks really cool!

One thing I'd be tempted to do to it - when you hit your fraction "bang on" (or, at least, as close as you can given there's inevitably some which are 0.00005" "off" from the decimal conversion) - have the scale change colour. That way, when you're woodworking, you can pretend that you're being accurate  :lol:



What's that they say about great minds?   Anyway great or small, that's what I was thinking  :nrocks:

I'm already at 50 on the grey-scale so rather than just dim , I'll try flashing it , if that looks pants , I can easily throw a border around it  - or maybe invert ?

[edit] I was going to just use the displayed accuracy , so if display is set to 1dp  it'll be +/-0.1mm etc. I'm also planning for a '@zero' output (probably logic level or O/C  and relay)
Bill

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #29 on: February 02, 2024, 10:01:40 AM »
I'm not entirely sure about the invert high light and it really only works well at lower resolutions .

I have removed the variable gray scale on the scrolling text (it was supposed to be darker at the edges, but without extra work i could only fade the whole character string - I made be able to fade at pixel level if i rewrite the display driver)



Bill

Offline AdeV

  • Madmodder Committee
  • Hero Member
  • *****
  • Posts: 2434
  • Country: gb
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #30 on: February 02, 2024, 01:24:02 PM »
Ah, I forgot you were using an OLED, which unfortunately rules out colours.

I'd be tempted to draw a single-pixel line (instead of the ">" character, or the "-" character you've used). I'd keep the highlight personally - but YMMV.

I've actually switched away from an OLED for my project - partly because they're expensive for their size (I was using Adafruit's 128x128 display, which costs a little over 20/unit); now I use a 128x160 TFT: The per unit price is around 6.00 (from a reputable supplier), I get a whole pile of colours, and some extra pixels to boot. Yeah, the viewing angle isn't as good as OLED, but that doesn't seem to be a problem in normal use.
Cheers!
Ade.
--
Location: Wallasey, Merseyside. A long way from anywhere.
Occasionally: Zhengzhou, China. An even longer way from anywhere...

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #31 on: February 02, 2024, 02:46:36 PM »
I'm not sure about the oled either. As you say expensive for a small area. The Dro requires a large low res display,  but glass area seems expensive these days.

I was looking at the programmable displays (insert forgotten name here)  but they would need more code   I guess.

 
Edit.

I have managed to remove the ghosting.. the contrast setting parameter was way too high in the default driver
« Last Edit: February 02, 2024, 05:52:50 PM by BillTodd »
Bill

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #32 on: February 06, 2024, 07:10:30 AM »
Bill

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #33 on: February 10, 2024, 01:16:54 PM »
Update:

I've added a surface speed bargraph to the two axis display .ATM it assumes the axes are perpendicular but any angle could be programmed.

To compensate for the shortage of IO pins I've had to make an I2c keypad . Using a cheap LCD-I2C board made to interface LCD modules  (https://www.ebay.co.uk/itm/292479533680?)

I have a 4x4 matrix with 4 additional keys to ground (it would be possible to drive 24 keys with the 8bit chip but the lcd boards use P3 as a LED output via a transistor (it can still used as a row driver for the multiplex with a bit of bit inversion) .

 
Bill

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #34 on: February 22, 2024, 05:13:54 AM »
Apologies for lack of progress.

The A12 resurfacing work  has reached stanway , and even though I am a couple of miles away the buggers are waking me at 3 or 4am every bloody night with the low frequency vibration. It's like having a bus ticking over outside the window! 
Bill

Offline awemawson

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8967
  • Country: gb
  • East Sussex, UK
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #35 on: February 22, 2024, 12:14:16 PM »
I feel your pain Bill.

We're on the A21 and they've been doing 'safety upgrades' for weeks on end overnight. They even coned our driveway off and made us press a buzzer to summons escorts to leave the premises !
Andrew Mawson
East Sussex

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #36 on: February 22, 2024, 01:50:06 PM »
It has enabled me to time travel, just by closing my eyes...

Forwards about an hour
Bill

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner and demonic possession
« Reply #37 on: March 17, 2024, 05:36:22 PM »
Well after a couple of weeks of nocturnal jungle drums from the A12.  I just spent a week possessed by a demon...

After four days standing on my neck, it got bored and chose to move to my ears and scream as loud as it could. And, just to make things fun , it kept moving the ground beneath my feet if I tried to stand , occasionally throwing me against walls .   

Luckily, it seems to have taken a shine to my neighbour, and has now left me alone... I hope.
Bill

Offline JamesC

  • Jr. Member
  • **
  • Posts: 11
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #38 on: March 21, 2024, 07:38:33 AM »
Hope it is gone for good,

We have the 'upgrade for your convenience' of the M27 to look forward to. One of the diversion routes is past our front door.  :hammer:

James

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #39 on: March 21, 2024, 11:01:50 AM »
Hope it is gone for good,


It made a brief return at the weekend - apparently buzzing around my head in a small jet engined vehicle  . I feel ok at the moment.

Quote
We have the 'upgrade for your convenience' of the M27 to look forward to. One of the diversion routes is past our front door.  :hammer:

James
You have my deepest sympathy  -  I know some of the locals had the trucks from Felixstow and Harwich trundling past the home in the early hours when they closed the main road -  It would caused nightmares ... had they been able to sleep.

Luckily I've had the demon to keep me company while the A12 work is progressing - It didn't wake me last-night - I'm hoping the trend continues...

« Last Edit: March 21, 2024, 12:46:16 PM by BillTodd »
Bill

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #40 on: March 31, 2024, 08:05:24 AM »
Gonads!

This project will be paused while the damage done by demon is surgically repaired.

...

Bill

Offline JamesC

  • Jr. Member
  • **
  • Posts: 11
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #41 on: April 02, 2024, 05:56:49 AM »
Hope it goes well Bill and you make a spedy recovery

Offline BillTodd

  • Hero Member
  • *****
  • Posts: 1099
  • Country: 00
  • Colchester Essex (where the lathes were made)
Re: Pi PICO DRO/Quill-Knee combiner
« Reply #42 on: April 03, 2024, 02:45:49 AM »
Thanks James  ,

They said ' bypass' , I was thinking flyover and round-about .
Bill