Skip to main content

Messages

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

Messages - Shaos

18
Project logs / Re: nedoCPU-32 - board for PIC32 in DIP28
[quote author="Shaos"]A few days ago I found this project:
http://hackaday.io/project/2032-pic32-oscilloscope
and decided to use it as a base for my open source game library for PIC32s.
Will it be interesting for anybody? NTSC game console that could be assembled on the breadboard with cost below $20 - I think it's pretty cool ;)
P.S. Later I can add color with some extra chips, but for now it's black&white 256x200...[/quote]

Actually I added color without extra chips ;)

[attachment=0]

The only thing was required is 14.31818 MHz external crystal :)

And bunch of capacitors and resistors (and PIC32MX chip of course)

P.S. Colors are generated by patterns of 4 pixels in a row on 640x200 black and white screen (like in CGA composite trick):

[attachment=1]
21
General discussion / Re: Idea of online schematics and PCB "old school" editor...
Now Lib/Brd/PLCC has 7 manually drawn "pre-wired" PLCC sockets (I think it's much easier to use PLCC if it has pre-routed SOIC-like wires which go left and right ; )

P.S. Lib/Brd/SIP already has all possible "single in-line packages" from 1 to 36 pins, Lib/Brd/DIP already has a good number of "dual in-line packages": 300 mil DIP2/4/6/8/10/12/14/16/18/20/22/24/28/32, 600 mil DIP24/28/32/40 and 900 mil DIP64 and Lib/Brd/SOIC already has SOIC8/14/16/18/20/24/28/32 packages listed with all popular dimensions (all three libraries are generated programmatically by the client-side script).
23
General discussion / Re: Idea of online schematics and PCB "old school" editor...
[quote author="ian"]Wow! This is insanely awesome! I really like what you shared about the construction, and I love "software as service" that is completely open source. Usually I see it as a trap because the backend is off limits. Really nice work![/quote]

Thanks! In my case the backend is a few dozens lines of a glue code to have an interface to the server-side SQLite database - there is no so much intelligence on the server-side yet, but client side code is already a little bit heavy...
24
General discussion / Re: Idea of online schematics and PCB "old school" editor...
Version 0.2 of Circuits.CC is available on http://circuits.cc and (because it's 100% open source) on the GitHub: https://github.com/shaos/circuits_cc

Finally I used my byte-code to implement a component library (with 200 components in it and most of them are programmatically generated on the fly). Now Circuits.CC is almost 3000 lines of code - 2% server side program in Hope+SQLite (public domain), 79% client side scripts in JavaScript (including LGPL libraries) and 19% client side scripts in my own Roberta programming language (GPLv3), compiled to the byte-code that is translated to JavaScript on the page load and it's working in all modern web-browsers.

P.S. Also Copy/Paste feature is there and linked to the library "Clipboard" where user may copy up to 99 items, but it's not saved anywhere - it will disappear after page reloading...

P.P.S. Next tasks:
- Gerber/Excellon generator
- Logic simulator with logging and visualization
- Plugins written in Roberta programming language to simulate complex components as microcontrollers/memory/displays etc.

P.P.P.S. Best user experience is for Chrome and Safari. For FireFox it is not so good because every time when it loads new images, it breaks HTML-table for a few seconds and it looks ugly. It also works on Konqueror, Opera and IE8, but slower.
26
General discussion / Re: Idea of online schematics and PCB "old school" editor...
[quote author="hak8or"]Oh wow, this is amazing. :P[/quote]

Thanks!

[quote author="hak8or"]Thank you for open sourcing it too! Hopefully you will get a good following of people, and in a few years maybe, just maybe, beat Altium in PCB and schematic design! But first, we must get started with ASCII art of a few specific body parts, like what is getting started on the top right ish of the board.[/quote]

Actually I think about something just for hobbyists - with DIP, PLCC and SOIC support, but not smaller (for 99% hobby needs even Eagle is too heavy)

[quote author="hak8or"]Anyways, yeah, this is awesome! Are you referring to auto routing when you said auto tracing? I am excited to see any PCB's that might come of this![/quote]

Right, I meant auto routing - for this approach it should not be too compex...
29
General discussion / Re: Idea of online schematics and PCB "old school" editor...
[quote author="matseng"]It's a really neat concept from a programming standpoint, and I also would have loved using it on a dos machine 25 years ago.

But as today I'm not really sure why you choose to make it look like an old clunky dos program....?[/quote]

It will work in more browsers than canvas ;)

Also algorithms are much easier to implement in such simplified system...
30
General discussion / Re: Idea of online schematics and PCB "old school" editor...
Also it will be 100% open source. Currently it's unusual mix of technologies: SQLite + Hope on the server side and JavaScript + custom bytecode interpreter (for now just JS, but custom VM will be added soon) on the client side. No canvas in JS! Just old style tables with sliced images in it. So technically it may work even in older browsers. Any thoughts?...

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01642448504session_write_close ( )...(null):0
20.01672580128ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01672580904Database_MySQL->query( ).../DatabaseHandler.php:119
40.06212719664Database_MySQL->error( ).../Db-mysql.class.php:273