Any UI code writers, modders for hire $$$ ?

33 posts / 0 new
Last post

Pages

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa
Any UI code writers, modders for hire $$$ ?

Wanting a custom e switch UI wrote and flashed onto a driver. Or even a finished light. Willing to pay.

Edit see dream UI below ( Warning bad photos, bad writing.)

Edit. Emisar D4, Emisar D1, Skilhunt H03, FW3A and Novatac (if someone what to try) are the host lights I am wanting this UI for. XM-L2 or XP-L2.

Edit. I will call my dream UI “Mimic”

This attempt Failed

Third Attempt http://budgetlightforum.com/node/62901

Edited by: chadvone on 10/08/2018 - 18:19
zeroflow
Online
Last seen: 8 min 58 sec ago
Joined: 05/23/2017 - 02:15
Posts: 164
Location: Austria

To start off, there are some technical questions:

  • Which flashlight will receive the driver (and which LED(s) does it use)?
  • Which driver should be used (Texas Avenger family and derivates or something else?)
  • What should the UI look like?

Each of those questions can change the whole project from pretty easy to very hard.

 

For example: If you want an Emisar D4 with a Zebralight-like UI, that's pretty easy (and already done by Toykeeper).

But if you want some XHP35 light with a boost driver - good luck with that.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

Lights in mind are Skilhunt H03, Emisar D4 and the FW3A when it comes out. Would like one of each.

Hoping for a 3 channel driver. Thinking of making a video on how I would like the UI.

Edit 10-4-18 Got some bad photos of the UI.

Edit 10-6-18 Started another to see if others would be interested in this UI Some things have changed from crap photos to the Text in this thread http://budgetlightforum.com/node/62865

Ok, I know my Spelling and hand writing are very poor. I hope this give everyone the idea of how this UI could work.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

This UI covers all I think I want in a light.

Quick access to 3 levels of your choosing. G1-G2 and half Max
Memory
Stepped ramping. With reversing. I like it to calculate run times.
Instant Momentary Max. 4 clicks- press
Instant Momentary Strobe. 5 clicks-press
Auto OFF
Start in low
Start in Half Max around 500 lumens.
Start in Beacon, Strobe or Bike flasher (you pick)

What would this UI be good for??? EVERYTHING

More later

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 2 hours 41 min ago
Joined: 01/12/2013 - 14:40
Posts: 8276
Location: (469219) 2016 HO3

Sounds like the concept is a work in progress.

What kind of budget do you have? Hiring software developers usually isn’t cheap.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

ToyKeeper wrote:
Sounds like the concept is a work in progress.

What kind of budget do you have? Hiring software developers usually isn’t cheap.

Yes, just a concept. Or maybe you could call it a dream.

Budget, hmmm, I am poor , but I am willing to sell off my other lights, or even work overtime.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

I am hoping you are interested, This UI in a few lights would be the end of a long quest for me.

Edit, very much like some of your work Cool

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

Reserved, going to open it up some.

Andrew_Debbie
Offline
Last seen: 4 days 20 hours ago
Joined: 11/18/2017 - 12:36
Posts: 504
Location: Isle Of Anglesey

ToyKeeper wrote:
Sounds like the concept is a work in progress.

What kind of budget do you have? Hiring software developers usually isn’t cheap.

OP needs to nail down the specification.

==

I have been thinking about building a flexible driver development board. One that can hold a couple of different ATTiny pinouts. I know everyone uses the ’85 because of the package. — Pads for AMC7135s, pads for an FET, a bread board area and screw terminals to connect to a host.

I’m sure it is easier to just buy a couple drivers and kludge but where is the fun in that…

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029

Andrew_Debbie wrote:

I have been thinking about building a flexible driver development board. One that can hold a couple of different ATTiny pinouts. I know everyone uses the ’85 because of the package. — Pads for AMC7135s, pads for an FET, a bread board area and screw terminals to connect to a host.

I’m sure it is easier to just buy a couple drivers and kludge but where is the fun in that…

Easiest is to buy something like https://uk.farnell.com/c/tools-production-supplies/prototyping-tools-bre... for the SMD parts (MCU), and a breadboard such as https://www.rapidonline.com/K-H-AD-11-Advanced-Solderless-Breadboard-958...

And a bag full of leaded passives, even ones that you have salvaged from WEEE (a solder sucker and braid come in handy, and you might learn a little from taking such things apart).

As well as a lot of pre-made jumper wires, just to save tedious effort DIYing them.

No excuse for not trying things out, messing about, learning. Instead of sitting behind a PC playing with Eagle, (better KiCad) and sending underdeveloped designs to e.g. OSH Park for fabrication.

If something works on one of these breadboards, it will almost certainly work much better on a PCB. But it’s sort of a rite of passage to make it work cleanly under all circumstances, and satisfying.

You do need a ‘scope though. (As well of course as a PSU or just a cell, and a multimeter.) There is a USB PC dual channel ‘scope available from Hantek that is adequate to perhaps 20 MHz, which might be good enough on a budget. Even comes with a couple of probes. For £50. Total bargain. Even just for the probes.

You might not even need a soldering iron, if you learn how to dab solder paste onto SMD pads and warm it up with a hot air gun. But I would strongly recommend buying a very good iron, and learning how to use it.

This is not a tool to cheap-out on, nor the solder, and other materials. But Rosin flux and IPA for cleaning are quite generic and dirt cheap, and just work. It’s only when you want to do something a little more tricky that you might need more specialised stuff.

Flashy Mike
Flashy Mike's picture
Offline
Last seen: 3 hours 7 min ago
Joined: 01/14/2016 - 16:38
Posts: 1159
Location: Germany

One of my test setups:

This test setup costs about 10$ including programmer and all components.

You don’t need FETs and AMCs for testing, power LEDs would be too bright for longer testing anyway. Use simple 5mm or 3mm LEDs, one for each channel, connected to the MCUs output port with a resistor between. Much better for fine tuning and detecting bugs.
Many MCUs are available in DIL casings which you can fix on the breadboard without any adapter. There a adapter boards for surface mount versions of MCUs available at OSHPARK, made for a dollar or two.
A scope is helpful indeed, but frequencies can also be measured with most multimeters. A multimeter is required for sure.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

No sleep last night.
Changes coming to 3 4 5 clicks

Flashy Mike
Flashy Mike's picture
Offline
Last seen: 3 hours 7 min ago
Joined: 01/14/2016 - 16:38
Posts: 1159
Location: Germany

345 clicks is a lot …

Andrew_Debbie
Offline
Last seen: 4 days 20 hours ago
Joined: 11/18/2017 - 12:36
Posts: 504
Location: Isle Of Anglesey

Tom Tom wrote:

Easiest is to buy something

I’ve got the basic tools and passives. I don’t have a decent oscilloscope anymore. I use MacOS and Ubuntu which might rule out the USB Hantek. I’d rather have a stand alone tool anyway. I don’t own a laptop… (sorry for the thread hijack —- I’ll go away now)

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa
chadvone wrote:
No sleep last night. Changes coming to 3 4 5 clicks

True that.

Hmmm, quoted myself, guess I need to learn the internet

eas
eas's picture
Offline
Last seen: 3 days 17 hours ago
Joined: 07/14/2014 - 18:53
Posts: 1348
Location: PNW

Andrew_Debbie wrote:
Tom Tom wrote:

Easiest is to buy something

I don’t have a decent oscilloscope anymore. I use MacOS and Ubuntu which might rule out the USB Hantek. I’d rather have a stand alone tool anyway.


I haven’t used it, but Sigrok runs on linux and MacOS and supports the Hantek USB scopes. The Digilent Analog Discovery also has software for MacOS and Linux. I hear you on a stand-alone scope, though.

.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

OP needs to nail down the specification.

Yes I do , I have it. Just getting it across to words. Maybe I make some Photos.

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029
eas wrote:
I hear you on a stand-alone scope, though.

Indeed, The USB devices are all very well as starter ‘scopes, but nothing beats a real one, with tactile knobs for timebase, trigger level, post (and pre. on DSO) triggering delay. Basically the more knobs the better, touch screens, buttons and PC interfaces just get in the way.

Fortunately these are even affordable for first-world hobbyists, and it seems rather good. E.g. https://www.amazon.co.uk/Hantek-DSO5102P-Digital-Oscilloscope-Real-Time/...

And https://makeradvisor.com/hantek-dso5102p-digital-storage-oscilloscope-ds...

Other makes are also available.

20 years ago I had to pay £5000 each for LeCroys, with lesser specification and capability. Nowadays of course that sort of money gets you a LeCroy with almost unbelievable capability. It is so cheap to kit out a professional R+D lab nowadays, when the capital equipment is now such a small proportion of a skilled engineer’s salary, and of course mostly tax-deductible.

As long as you make enough money to have to pay tax in the countries where you do business, which is rather important, but that seems not to be understood by some companies.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

Ok, Got some Photos of how I want the UI to function. If anyone see any problems. Or has any Questions please let me know.

This UI could do what many different lights can do and many things lights cant do. I believe it is very easy to navigate, and there isn’t much that needs to be remembered.

CP 1/2Max another CP-Max CP is not remembered
CC Jumps between to groups
P Press, ramps up from off, and up and down from on.
P after 3-7C, Think P for program, Or P for Pick a level.
3C Constant on Strobe, Beacon, Bike flasher, or an extra level
4C Squeeze light. Light only lights while button pressed. Power cycle to exit.
5C Squeeze to 3C or max strobe. Light only on while button pressed. Power cycle to exit.
6C Auto off. Light shuts off after time has passed
7C Extra disco modes, mood lighting, party flashers, battery Check. etc etc.

The G1 G2 brightness spacing probably needs more thought, as well as the ramp speed, and press times.

Andrew_Debbie
Offline
Last seen: 4 days 20 hours ago
Joined: 11/18/2017 - 12:36
Posts: 504
Location: Isle Of Anglesey

Flashy Mike wrote:

This test setup costs about 10$ including programmer and all components.

I see your point. I ordered a programmer, ATtiny 85 on a board, and ribbon cable from FastTech.
I have stacks of these freebies from PCBWay. They must use them to fill out empty spaces in panels. The whole setup will be well under $10

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029

That perfboard looks handy, but I find stripboard, e.g. Veroboard, or cheaper copies, easier to use.

Though there is the added expense of a track-cutter.

I still prefer to start with a re-usable socketed breadboard until I’m happy with the circuit design, and only then transfer it to a permanent soldered version.

For perfboard I like to use wire-wrap wire, but again you need a few tools, at least an insulation stripper, some needle nose pliers and a side cutter. Better still a wrap/unwrap tool to twist it around the leads of the components before soldering.

No, this is not really wirewrap, where an engineered square pin with sharp corners is used without solder, it’s just a hybrid way of quickly wiring then soldering things up, that works nicely IME.

A big illuminated magnifying glass on a stand also helps.

The wire-wrap wire is very easy to work with, the insulation very resistant to heat/botched soldering, and being silver plated, solderability is excellent.

As Flashy Mike has shown, building a development setup can be simple and inexpensive, whichever way you do it. I have two of the FastTech USBasps which work well, I didn’t realise that they also sold Atinys already mounted on 0.1” leads, I’d better have another look.

Andrew_Debbie
Offline
Last seen: 4 days 20 hours ago
Joined: 11/18/2017 - 12:36
Posts: 504
Location: Isle Of Anglesey
Tom Tom wrote:
I didn’t realise that they also sold Atinys already mounted on 0.1” leads, I’d better have another look.

I ordered one of these…

https://www.fasttech.com/p/5054500

Andrew_Debbie
Offline
Last seen: 4 days 20 hours ago
Joined: 11/18/2017 - 12:36
Posts: 504
Location: Isle Of Anglesey

Might need a few modifications for flashlight coding.

Schematic:

https://s3.amazonaws.com/digistump-resources/files/97a1bb28_DigisparkSch...

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

Update.

Going to give it a shot myself.

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029

Andrew_Debbie wrote:
Might need a few modifications for flashlight coding.

Schematic:

https://s3.amazonaws.com/digistump-resources/files/97a1bb28_DigisparkSch...

I’d recommend starting from the schematic of the BLF Q8 driver.

This is the classic FET+1, perfected by DEL, which is at the core of many subsequent drivers from other designers.

Note: R1 and R2, the old voltage divider, are not populated, current firmware uses a different method to measure cell voltage, and this, along with other firmare changes, reduced power consumption dramatically and freed up another pin (for e.g. driving a second bank of 7135s).

However if you want to experiment with e.g. BLF A6 or X6 drivers, and their simpler firmware, you would need to put them back.

DEL was generous enough to publish it, instead of only showing a PCB layout, and leaving it to the inquisitive to puzzle it out by reverse-engineering.

Here it is:

http://budgetlightforum.com/comment/1194313#comment-1194313

Open the image in a new tab and you’ll get the full size version from dropbox.

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029

chadvone wrote:

This thread can be deleted.

Please don’t ask for that. Otherwise the forum archive ceases to become a useful resource for others, in the future.

chadvone
chadvone's picture
Offline
Last seen: 6 hours 13 min ago
Joined: 08/28/2015 - 23:48
Posts: 1186
Location: Iowa

As you were writing this, I decided to edit my post. Even though I don’t understand what your saying. I may in the future.
PLease keep going.

Anyone what to share more info on there test set ups?

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029

Andrew_Debbie wrote:
Might need a few modifications for flashlight coding.

Schematic:

https://s3.amazonaws.com/digistump-resources/files/97a1bb28_DigisparkSch...

It is set up for Aurdino coding, including their bootloader.

Which is fine. And has opened up some sort of coding to a great many.

But if you want to use C, rather than their interpreter, and develop compact code to run on a minimalist embedded device, best off starting in Atmel Studio and learning the hard way I think.

For which I think you will need an USBasp, not an Isp, (or the basic USB connection baked into these things, with their bootloader, that takes up a lot of space).

I have no idea how tricky it might be to return these things to vanilla Attiny 85s, but it might even require a high voltage programmer to re-set some fuses.

They do look good though, I suspect the one you linked to, and many others, are now knock-offs. The real ones from the original designers cost much more, and are now unavailable. But still less than a cup of over-priced coffee, or half a pint of “craft” beer. Sad.

Take a look at e.g. Julian Iletts channel for some background. This is a very old video (2014) but explains a few things.

And yes these MCUs have been around for a long while. Consider them mature (extremely so).

https://www.youtube.com/watch?v=hXXmpfnbWTs

And take a look at https://www.youtube.com/watch?v=0B88dsW93SA

I only dabble in firmware enough to exercise my hardware designs with test harnesses, the clever work is done by proper skilled developers.

Andrew_Debbie
Offline
Last seen: 4 days 20 hours ago
Joined: 11/18/2017 - 12:36
Posts: 504
Location: Isle Of Anglesey

Tom Tom wrote:
Andrew_Debbie wrote:
Might need a few modifications for flashlight coding.

Schematic:

https://s3.amazonaws.com/digistump-resources/files/97a1bb28_DigisparkSch...

It is set up for Aurdino coding, including their bootloader.

For which I think you will need an USBasp,

I have a USBasp on the way. I was planning to use that to reprogram the ATtiny85. The board brings all the pins out to headers, so I wouldn’t even need a clip. It didn’t occur to me that the USBasp might not be able to change fuse settings. If it doesn’t how do people set the fuses?

< sigh > I need to finish reading the 25/45/85 data sheet.

If it doesn’t work it was only a couple of dollars. I might be able to use it elsewhere.

I was planning on using Ubuntu with avr-gcc to compile.

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 2 hours 41 min ago
Joined: 01/12/2013 - 14:40
Posts: 8276
Location: (469219) 2016 HO3

If the usbasp can flash the firmware, it can also set the fuses. But if the MCU is very underclocked or uses the reset pin, it could require high-voltage reprogramming.

As for learning, there is a fairly significant amount of example code in the repository to learn from… and for making e-switch UIs, there’s also a UI toolkit which eliminates most of the need to touch low-level code. The toolkit takes a significant chunk of ROM, but it makes the rest of the process much easier and may also reduce code size overall compared to older coding styles.

Tom Tom
Offline
Last seen: 1 hour 15 min ago
Joined: 09/10/2017 - 08:30
Posts: 1029
ToyKeeper wrote:
As for learning, there is a fairly significant amount of example code in the repository to learn from… and for making e-switch UIs, there’s also a UI toolkit which eliminates most of the need to touch low-level code.

I’ve already pointed Chadvone there, on the backchannel.

Hopefully not another Flintrock (I don’t think so at all).

The more the merrier, we do need more talent.

Pages