In The Ever lasting Chain Of Experiments The Next Project, ultrasonics, part 4

In The Ever lasting Chain Of Experiments The Next Project, ultrasonic anti-fouling for boats.

So how do I test these things and write the soft when not even having the parts?

OK, here is the test setup now:

formatting link

Most if you will recognize the 'keyboard' it is used to enter symbols that have a meaning to the assembler I use, something to do with that whatshisname Turing say instructions what the 'chip' in this case a 18F14K22 from Microchip, needs to do next. Now that chip also has a lot of counters, 2 comparators, and a PWM generator, ADCs, and a lot of other stuff, like UARTs and what not, not to forget an internal clock generator with a 4 x PLL to speed things up if needed. So I'm running at 64 MHz FYI.

The sjip is into ze progrummer, that is the board with the green LED, and that board is connected to a PC with a parallel printer port, so this is my variant of the NOPPP programmer (No Parts Programmer) and it runs my jppp18 software no cost programming software with the gpasm no (cost assembler (part of Linux gputils).

There is somewhere out of view a 12V DC supply to test it all. That supply also at the same time in parallel powers a lot of other gadgets.. so shorting it is NOT GOOD.

Anyways, I have 2 scope probes on the sjip, you can see those, and soldered some wires to the OLED module (iic bus actually) to see if I screwed up on the OLED DRIVERS.

I did not, just made one mistake calling a 32 bit display where there was an 8 bit value, so that is fixed now. The raspi in the pictjure has nothing to do with this, well it does, but that is for navigation. The silvery thing on the left is part of the frequency counter in a D shell.

OK, in the menu I did set the low battery cutoff voltage to 19 V, to test if it would display LOW BATT ,and shut off, and it does. Now ain't that great :-)

NORMALLY it would run like this:

formatting link

And produce something like this waveform to drive a transformer in push-pull:

formatting link

As you can see all ferry simple. So, instead of doing things in a hardway, eh in hardware, most of these things can be done the way you like it in software. Added setting the deadtime to the menu... (serial port).

Now I really need to add OLED contrast to the menu, as it is way to bright by default.

So, D-felloping is ferry simple.

Who needs MPlab, slimulators, hundreds of dollaars stuff, what not.

WITHABITOFLUCK when parts arrive I can just hook it up Tronix is really simple.

It takes more time to write this stuff, make the videos, upload those, keep track of the doku-mental-ation.

So and this scope, a TRIO CS-1552A, is from 1979 I think. As ye can sea, it is plenty good to work on a 64 MHz sjip.

So whatsyouwaiting for.

Reply to
Jan Panteltje
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.