Coder Social home page Coder Social logo

bq / bitbloq-offline Goto Github PK

View Code? Open in Web Editor NEW
30.0 26.0 24.0 727.2 MB

Bitbloq is an offline application that helps children program robots and boards

Home Page: http://bitbloq.bq.com

License: GNU General Public License v3.0

HTML 4.13% Shell 0.07% Python 6.42% Smarty 0.03% C 65.81% Makefile 0.43% C++ 13.08% Batchfile 0.01% Objective-C 1.05% Logos 0.09% Assembly 1.22% Perl 0.01% CSS 0.08% JavaScript 0.20% PHP 0.31% Roff 7.06%

bitbloq-offline's Introduction

Bitbloq Offline

[es_ES]

ESTE PROYECTO ESTÁ DISCONTINUADO Y NO RECIBIRÁ SOPORTE

Esta es la versión offline oficial del proyecto Bitbloq, una herramienta de programación visual de Arduino.

Puedes utilizar la versión online aquí.

En la versión actual soportamos las siguientes placas:

  • Arduino UNO
  • Freaduino UNO
  • BQ ZUM

Y los siguientes robots:

  • ZOWI

¿Utilizas otra placa o robot y quieres que la añadamos en Bitbloq? Escríbenos a [email protected] e intentaremos hablar con el fabricante para que nos permita introducirlo en Bitbloq. Por supuesto es un proyecto Open Source y también aceptamos contribuciones de cualquier persona siempre que sean correctas.

Actualmente Bitbloq offline funciona en las siguientes plataformas:

  • Linux (Ubuntu 12.04 y superior, Fedora 21, Debian 8)
  • Mac OS X 10.9 o superior
  • Windows 7 y posterior, ambos 32 y 64 (la versión ARM de Windows no está soportada por ahora).

Puedes encontrar los instaladores de la aplicación aquí:

Notas:

  • Es una aplicación portable, no requiere instalación ni permisos de administrador para ejecutarse, pero tu placa es posible que requiera drivers, hemos añadido algunos en la carpeta drivers de la aplicación. ¡ Acuérdate de instalarlos !

  • Acuérdate de descomprimir el fichero que te descargas en una carpeta en la que luego el usuario que lo utilice tenga permisos, por ejemplo, en windows no la descomprimas directamente en "c:", o en la carpeta de "c:/Archivos de programa", ejemplos válidos son la carpeta "Documentos" del usuario o en el escritorio.

  • ¿No te detecta la placa y está conectada el ordenador? Revisa este documento y si sigues teniendo incidencias, no dudes en escríbirnos a [email protected].

Recuerda que al ser una aplicación offline, no tendrás todas las ventajas ni novedades de la web. Te recomendamos que la uses solo cuando no tienes conexión estable a internet.

alt tag

Bitbloq Offline

[en_GB]

THIS PROJECT IS DISCONTINUED AND WILL NO RECEIVE FURTHER SUPPORT

This is the offline version of the Bitbloq project, a visual programming tool for Arduino.

You can visit the online version here

The current version supports the following boards:

  • Arduino UNO
  • Freaduino UNO
  • BQ ZUM

And the following robots:

  • ZOWI

Do you have a board or robot that is not in Bitbloq? Email us to [email protected], and we will reach the manufacturer to introduce it on Bitbloq. Bitbloq is an Open Source project so we will accept contributions adding new boards / robots if they are correct.

In this platforms:

  • Linux (Ubuntu 12.04 and later, Fedora 21, Debian 8)
  • Mac OS X 10.9 or greater
  • Windows 7 and later, both 32 and 64 (ARM version os Windows is not suported for now).

You can find binaries here:

Getting Started

Clone the repo:

git clone https://github.com/bq/bitbloq-offline.git

Get into the directory:

   cd bitbloq-offline/

Install npm and Bower components:

npm install
bower install

Launch the app:

electron .

Packaging

Just build for all Operating systems:

grunt dist

Or depending on the operating system:

  • Windows:

      grunt build:windows
    
  • Linux:

      grunt build:linux
    
  • Mac:

      grunt build:mac
    

This will generate a /dist/{os} folder with the app ready to be launched.

App Structure

app
├── fonts // App fonts
├── images // App images
│   ├── boards // Images for boards
│   ├── components // Images for components
│   ├── icons // Icons for svgstore
│   └── robots // Images for robots
├── res // Common resources
│   ├── locales // Language translations
│   ├── menus // JSON files for generating menus
│   └── web2board // web2board nested app
├── scripts // Angular scripts
│   ├── controllers // Angular controllers
│   ├── directives // Angular directives
│   ├── factories // Angular factories
│   └── services // Angular services
├── styles // App styles
│   ├── components // Styles for components
│   ├── vendor // Vendor styles
│   └── views // Styles for views
└── views // All views
│   ├── components // Views for components
│   └── view.html // App normal view
└── main.js // Electron config

Developing

You can set your own config in main.js file.

Grunt tasks

grunt svgstore // Generates an svg sprite from icons folder.
grunt sass // Compiles scss files to a single main.css file.
grunt watch // Watches yout changes and reloads the app.

bitbloq-offline's People

Contributors

avalero avatar dieguezz avatar fdombq avatar irenesanznieto avatar lauradra avatar tocalvo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitbloq-offline's Issues

Serial monitor doesn't open any window

When I click on the View/Show serial monitor menu, nothing happens (so I can't interact with the serial port :( ).

Is there any way I can start Bitbloq with some debug option so that it will send anything to stdout/stderr? Or is there any log file?

If I use Show Web2Board, a new window opens. In Plugins I can choose Serial Monitor, but again, nothings happens.

I'm on linux BTW.

linux pre-build broken

the prebuild linux binary is broken:
2017/04/23 09:55:11 - Found available ports: ['/dev/ttyS0', '/dev/ttyUSB0']
2017/04/23 09:55:11 - Error in asynchronous task
Traceback (most recent call last):
File "/home/jorge/repos/web2board/src/libs/Decorators/Asynchronous.py", line 44, in overFunction
File "/home/jorge/repos/web2board/src/frames/Web2boardWindow.py", line 210, in __getPorts
File "/home/jorge/repos/web2board/src/libs/CompilerUploader.py", line 178, in getPort
CompilerException: No port found, check the board: "bt328" is connected

BTW I am not jorge :)

bt328 is connected and visible at /dev/ttyUSB0

dmesg:

[53994.317594] usb 5-1: new full-speed USB device number 4 using ohci-pci
[53994.499648] usb 5-1: New USB device found, idVendor=0403, idProduct=6001
[53994.499659] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[53994.499667] usb 5-1: Product: FT232R USB UART
[53994.499672] usb 5-1: Manufacturer: FTDI
[53994.499678] usb 5-1: SerialNumber: AH03SA92
[53994.505753] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
[53994.505848] usb 5-1: Detected FT232RL
[53994.509851] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0

PIO env always bt328 whatever board chosen (windows)

Hi,

I am currently on the process of adding a new board to bitbloq offline : Teensy. This board is known from platformio, and sketches compiles fine using platformio IDE on atom, but not with web2board.

I checked "bitbloq-offline\app\res\web2board\win32\info.log" and pioenv remains identical whatever board is used :

PIOENV=bt328
PLATFORM=atmelavr
BOARD=zumbt328

Though it works for all boards based on regular arduino, it is not working for a board like Teensy.

I can't find where the board is specified.

Where could be the problem?

Add translation

Include the translation libs from Bitbloq, the grunt tasks and create a poeditor account

web2board fails in linux32bits with Bitbloq 1.2.3

I tried the last bitbloq 1.2.3 linux 32 version. In the menu I clic in "Show web2board" and I get a warn "web2board is disconected"

I open a terminal in the path ./resources/app/app/res/web2board/linux32/
I run ./web2boardLauncher and I get this message:

web2board: proceso no encontrado
Traceback (most recent call last):
  File "<string>", line 90, in <module>
  File "logging/__init__.py", line 1197, in critical
  File "logging/__init__.py", line 1271, in _log
  File "logging/__init__.py", line 1281, in handle
  File "logging/__init__.py", line 1321, in callHandlers
  File "libs/LoggingUtils.py", line 47, in handle
  File "logging/__init__.py", line 749, in handle
  File "libs/LoggingUtils.py", line 50, in emit
  File "importlib/__init__.py", line 37, in import_module
  File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "libs/MainApp.py", line 14, in <module>
  File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "tornado/web.py", line 87, in <module>
  File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "tornado/locale.py", line 45, in <module>
  File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "csv.py", line 8, in <module>
ImportError: No module named _csv
web2board returned -1

With the 64bits version I don't have that problem.
With Bitbloq 1.0.3 there was not problem too.

Programar la placa en Windows 10

La versión 1.2.3 de bitbloq offline para windows no programa la placa zum ( directamente dice que no la detecta ), mientras que con la versión 1.0.3 sí que va perfectamente.

He probado en distintos ordenadores y me pasa en todos lo mismo, todos con W10 64 bits, y de distintas marcas. He instalado la versión web2board que viene y tampoco.

No sé que puedo estar haciendo mal o que hay que configurar para que funcione. A ver si me podéis echar una mano.

npm install

npm ERR! Linux 4.4.0-72-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: node scripts/install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.