Dc voltmeter 0-55v
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
You could also have FUL lol
I'm happy you have gone from not knowing what's going on, to now creating your own custom characters.
Well done!
I'm happy you have gone from not knowing what's going on, to now creating your own custom characters.
Well done!
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
It's all your hard work Martin i wouldn't have done it without your help i was broken down back then you remember? not until you came in and opened my eyes thanks allot I also wanted to see the simulation work too as you said but if you have allot on you this is already enough thanks a million times.
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Is using hex numbers instead of decimals reduce code size? Coz all my code has fit in well into the 16F88 now.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
No, they take up same space.
255 = FF = 8bits = 1 byte.
Hex was only used because that's what is used on the website posted a link to.
255 = FF = 8bits = 1 byte.
Hex was only used because that's what is used on the website posted a link to.
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
My charger code works really well am now going to build its transformer and control it's primary tapings for low and high charge.Just for my small battery connected on my alarm i coded in flowcode too here bads guys like taking what they have not worked for at night so i designed an alarm in flowcode it keeps them away.
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
I just wish flowcode had an option to change comment color would be nice for bigger codes sections like for me when youve just added a comment a small star comes next to it on the left with a red Dot in the middle would be nice if you could click on that star and then opens up small boxes of colors to choose from for a given comment.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
That's where Flowcode comes in handy, rapid prototyping.Derrihj wrote:Just for my small battery connected on my alarm i coded in flowcode too here bads guys like taking what they have not worked for at night so i designed an alarm in Flowcode it keeps them away.
Sorry to heat about thefts ,that mush really suck.
You could as your wishes to Feature Requests, if don't ask may never get added.Derrihj wrote:I just wish flowcode had an option to change comment color
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Imentioned the schematic in a earlier post and you said you just created a PCB.
Without a schematic that is very impressive.
For future projects I would recommend a free Schematic design package called Kicad.
I use it for all my projects.[/quote]
Do your have download link for kicad and user tutorials and may be video link for how to use it?
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
Kicad can be downloaded from here
A very useful app to go with it is free Kicad component search plug-in.
Information can be found here
However from experience you should not set it up with the suggested past.
I can take you though it when become use to Kicad.
There are plenty of Kicad 5 tutorials around, but make sure you only learn version 5 tutorials and not version 4
Just search for kicad 5 tutorials.
My advice is learm the short cut keys, they can be different for schematic and PCB.
All short-cut keys can be customised.
In the schematic you don't need to keep clicking on a component.
Just hover over.
g to drag, m to move, r to rotate and c to copy for example.
A very useful app to go with it is free Kicad component search plug-in.
Information can be found here
However from experience you should not set it up with the suggested past.
I can take you though it when become use to Kicad.
There are plenty of Kicad 5 tutorials around, but make sure you only learn version 5 tutorials and not version 4
Just search for kicad 5 tutorials.
My advice is learm the short cut keys, they can be different for schematic and PCB.
All short-cut keys can be customised.
In the schematic you don't need to keep clicking on a component.
Just hover over.
g to drag, m to move, r to rotate and c to copy for example.
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
This is the finished charger I did some trick on the secondary ac voltage to get Bulk charge,to last for 80% of recharge and the remaining 20% for absorption then Float i also put your word FUL for full but am going to re do the PCB with 4 relays 3 for the 3 changing states and one for fan with a temperature sensor like the LM35 coz the transformer worms up a little but the trick I did on the secondary ac really worked the battery is kept at 13.5v when FUL for that I used a smaller wire for reduced amps and much voltage when fully charged.that means I have 3 secondary wire terminals thru relay that is one for higher charge bulk 80% of charge and one for absorption at reduced amps 20% and float very low amps like 0.3amps and high voltage to keep my battery arround 13.5v it's a small 18ah battery for which require a maximum of around 20% of it's Ah value or less for the first stage
- Attachments
-
- IMG_20200419_222601_162~2.jpg (107.96 KiB) Viewed 11281 times
-
- IMG_20200419_232713_211~2.jpg (107.06 KiB) Viewed 11281 times
-
- IMG_20200419_222818_376.jpg (166.2 KiB) Viewed 11281 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Martin's it's working really well am also supprised with only the transformer trick for stages of amps and voltage I really have to make new pcb coz I had only two relays I had to shift wires in order to test the stages have to make new pcb with temperature control for both battery and transformer and also have another small 7seg to indicate amps or just have one 7 seg to display all may be also flash amps for given seconds it will be a complex project but I have to do it for my battery.Atleast it's better than not having a charger at-all.
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Hi Martin just downloaded Kicad 5.1.5-3 do i need to download any component library for both shecmatic and PCB? If yes do you have a link for good library as the kicad library is not straight clear and i prefer the THT
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
Yes there are additional additional libraries to the built in ones, they are on GitHub.
There is Digikey & Sparkfun
I have only just installed sparkFun one, and would not recommend it as it's in the format for the older versions of Kicad.
I Find the easiest method is to download the zip file and extract to a new folder e.g \Kicad Libraries\digikey-KiCad-Libraries-master
The schematic symbols & footprints need to be added separately, but it's easy to do and is very quick.
Run Kicad and create a new project.
Click the Schematic Layout Editor icon.
Within the schematic, Select Preferences, Manage Symbol Libraries.
Select Add existing library to table (next to the large + button).
Browse to the new libraries, Go into the symbols folder, use Ctrl A keys to select all then Just select open.
For footprints, still within schematic editor select the IC symbol at the top (Footprint Editor).
Its the same as for symbols (Preferences, Mange footprint libraries - Make sure you have the global tab selected), but instead you go to the footprints folder and just add the folder instead of individual footprints.
You can tell if all is working.
Within schematic select place symbol (amplifier icon on the right), then click anywhere within the sheet.
A new window will open.
Scroll down and you should see a load of listings for dk, showing symbol and footprint:
There is Digikey & Sparkfun
I have only just installed sparkFun one, and would not recommend it as it's in the format for the older versions of Kicad.
I Find the easiest method is to download the zip file and extract to a new folder e.g \Kicad Libraries\digikey-KiCad-Libraries-master
The schematic symbols & footprints need to be added separately, but it's easy to do and is very quick.
Run Kicad and create a new project.
Click the Schematic Layout Editor icon.
Within the schematic, Select Preferences, Manage Symbol Libraries.
Select Add existing library to table (next to the large + button).
Browse to the new libraries, Go into the symbols folder, use Ctrl A keys to select all then Just select open.
For footprints, still within schematic editor select the IC symbol at the top (Footprint Editor).
Its the same as for symbols (Preferences, Mange footprint libraries - Make sure you have the global tab selected), but instead you go to the footprints folder and just add the folder instead of individual footprints.
You can tell if all is working.
Within schematic select place symbol (amplifier icon on the right), then click anywhere within the sheet.
A new window will open.
Scroll down and you should see a load of listings for dk, showing symbol and footprint:
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
What does these warnings below really mean yet the code compiles successfully!!! What do they mean does it mean there is something done wrongly in the code?
- Attachments
-
- Screenshot_20200429-192608.png
- (269.86 KiB) Downloaded 628 times
-
- Screenshot_20200429-192247.png
- (173.46 KiB) Downloaded 628 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
Flowcode have a lot of functions involving strings, floats etc.
The warning are to tell you they have not been use,so will not use the memory reserved for them.
So it's nothing to worry about.
The warning are to tell you they have not been use,so will not use the memory reserved for them.
So it's nothing to worry about.
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Thanks Martin I've been busy trying to make my new 18Ah battery charge control PCB with the 3 charge steps just finished it now am trying to write the code will let you know when am done or when i need help but you can have a look at the finished pcb below and let me know what i should have changed.
- Attachments
-
- 18Ah Battery Charge Control.pdf
- (306.08 KiB) Downloaded 141 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
It would be much better if you can create the full schematic using Kicad (or an alternative PCB design package of your choice).
If you are struggling then I can make good start of it for you?
Kicad can do let you design a professional looking PCB and export all the required gerbers for PCB manufacturing.
If you are struggling then I can make good start of it for you?
Kicad can do let you design a professional looking PCB and export all the required gerbers for PCB manufacturing.
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Yes am planning to learn kicad coz i saw its not really hard but for this PCB since i had done the first one it was to be easy for me to edit the old file into the new one with little to change.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
Currently not got access to a printer, so will find it more difficult to reverse engineer.
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
It's ok Martin thanks for everything will let you know when am done with the code ofcos am to use Test5b our lockdown is a few days to end as all shops here have been closed so hope they will open so i can get the required components to build the circuit i will get sometime to watch the kicad videos to get used to it and get me started.
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
As i wait for the shops to be open down here Martin, i made a post about the SIPO (74HC595), if you have sometime,It would be of an added advantage if you can please share knowledge on how to use Test5b with the 595 in the other post,it would be very nice if u can also help and provide a flow chat for the 595 with Test5b in that 595 post just like you did for this one coz with a live flowchat,it speeds up learning thanks Martin i love to see this test5b take action on the 595 too.Thanks.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Dc voltmeter 0-55v
Not seen that post, do you have a link to it?Derrihj wrote:i made a post about the SIPO (74HC595)
Martin
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Dc voltmeter 0-55v
Here it is http://www.matrixtsl.com/mmforums/viewt ... 76&t=21820 But i would love to see this exact Test5b flow-chat and see how to go about it with the 595