site issueshttps://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues2020-10-02T08:59:16Zhttps://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/17RhinoCAM tutorials are not public2020-10-02T08:59:16ZAntoine JaunardRhinoCAM tutorials are not publicHey,
The RhinoCAM tutorials listed [here](https://fabacademy.org/2020/labs/barcelona/local/#material/week07/) are not public.
Could you change this?
Thanks.Hey,
The RhinoCAM tutorials listed [here](https://fabacademy.org/2020/labs/barcelona/local/#material/week07/) are not public.
Could you change this?
Thanks.https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/16Do we still need to do group assignments?2020-09-23T07:07:31ZBenjamin ScottDo we still need to do group assignments?We were wondering if we still had to do all the group assignments, etc. ? Can't we just test things ourselves, all alone?We were wondering if we still had to do all the group assignments, etc. ? Can't we just test things ourselves, all alone?https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/15List of the endmills we have at the lab?2020-05-26T15:35:43ZBenjamin ScottList of the endmills we have at the lab?I'm doing the molding and casting assignments, do we have a list of the endmills we have? i.e. ball, flat, diameter and length?I'm doing the molding and casting assignments, do we have a list of the endmills we have? i.e. ball, flat, diameter and length?https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/14SPIFF problems2020-05-25T11:09:58ZDavid Prieto GonzálezSPIFF problemsI'm trying to get a file read and sent via server.send in my NodeMCU and I can't make it.
I think I'm not even uploading the file
here it's the documentation of what I'm trying to do and the struggles.
[http://fabacademy.org/2020/la...I'm trying to get a file read and sent via server.send in my NodeMCU and I can't make it.
I think I'm not even uploading the file
here it's the documentation of what I'm trying to do and the struggles.
[http://fabacademy.org/2020/labs/barcelona/students/david-prieto/assignments/week14/#spiff-memory-storing-a-bigger-html](http://fabacademy.org/2020/labs/barcelona/students/david-prieto/assignments/week14/#spiff-memory-storing-a-bigger-html)https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/11Grasshopper. How to separate faces.2020-05-14T18:08:14ZDavid Prieto GonzálezGrasshopper. How to separate faces.Hi,
I have a 3D figure with some faces that I want to work on to make the pieces of my Monolith. Is there any way to separate them so I set them in a 2D grid? (and back to the original place and orientation so I can "assemble" the Mono...Hi,
I have a 3D figure with some faces that I want to work on to make the pieces of my Monolith. Is there any way to separate them so I set them in a 2D grid? (and back to the original place and orientation so I can "assemble" the Monolith back)
I have a list of surfaces.
http://fabacademy.org/2020/labs/barcelona/students/david-prieto/projects/final-project/#getting-serioushttps://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/10Server-Client communication NodeMCU2020-05-15T09:42:33ZArman NajariServer-Client communication NodeMCUSo I am trying to make a server with NodeMCU(LoLin NodeMCU V3) to receive data and activate a servo motor.
This data is being sent by a NodeMCU client(Amica) which read a potentiometer value and sending it through an HTTP protocol.
the a...So I am trying to make a server with NodeMCU(LoLin NodeMCU V3) to receive data and activate a servo motor.
This data is being sent by a NodeMCU client(Amica) which read a potentiometer value and sending it through an HTTP protocol.
the access point is working and I can connect to it with my phone. the connection between client and server also is working.
However, the value of the potentiometer is not updating. Furthermore, the server is not giving any IP in return to WiFi.localIP().
Do you have any suggestions or am I in the right direction?
## Client Code
```
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
// AP Wi-Fi credentials
const char* ssid = "MyESP8266AP";
const char* password = "testpassword";
const char* host = "192.168.11.4";
// Local ESP web-server address
String data;
// DEEP_SLEEP Timeout interval
int sleepInterval = 5;
// DEEP_SLEEP Timeout interval when connecting to AP fails
int failConnectRetryInterval = 2;
int counter = 0;
float pt;
const int analogInPin = A0;
WiFiClient client;
void setup() {
pinMode(analogInPin, INPUT);
ESP.eraseConfig();
WiFi.persistent(false);
Serial.begin(115200);
Serial.println();
Serial.println("BEGIN");
delay(500);
WiFi.begin(ssid, password);
Serial.println("");
while (WiFi.status() != WL_CONNECTED) {
if(counter > 20){
Serial.println("- can't connect, going to sleep");
hibernate(failConnectRetryInterval);
}
delay(500);
Serial.print(".");
counter++;
}
Serial.println("- wifi connected");
Serial.println("IP Address: "); Serial.println(WiFi.localIP());
readSensor();
Serial.println("- send GET request");
sendHttp();
Serial.println();
Serial.println("- got back to sleep");
Serial.println("");
Serial.println("**************************");
hibernate(sleepInterval);
}
void sendHttp() {
if(client.connect(host,80)){
String url = "/update?pt=";
url+= String(pt);
client.print(String("GET")+url+"HTTP/1.1\r\n"+"Host: "+host+"\r\n"+"Connection: keep-alive\r\n\r\n");
delay(10);
Serial.println("Response:");
while(client.available()){
String line = client.readStringUntil('\r');
Serial.print(line);
}
}
}
void readSensor() {
delay(200);
pt = analogRead(analogInPin);
if (isnan(pt)) {
pt = 0.00;
}
Serial.println("- potentiometer read : "+String(pt));
}
void hibernate(int pInterval) {
WiFi.disconnect();
ESP.deepSleep(10 * 600000 * pInterval, WAKE_RFCAL);
delay(100);
}
void loop() {}
```
## Server Code
```
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <Servo.h>
const char *ssid = "MyESP8266AP";
const char *password = "testpassword";
IPAddress ip(192, 168, 11, 4);
IPAddress gateway(192, 168, 11, 1);
IPAddress subnet(255, 255, 255, 0);
ESP8266WebServer server(80);
Servo myservo; // create servo object to control a servo
//static const uint8_t D2 = 4;
float pt;
void setup(void) {
WiFi.mode(WIFI_AP);
WiFi.softAPConfig(ip,gateway,subnet);
WiFi.softAP(ssid,password);
Serial.begin(115200);
Serial.println();
Serial.println("IP Address: "); Serial.println(WiFi.localIP());
delay(10);
server.on("/",handle_index);
server.on("/update",handle_update);
server.begin();
// attaches the servo on D2 or GPIO4 of the NodeMCU devkit v1.0
myservo.attach(D2);
}
void handle_index() {
server.send(200, "text/plain", String(pt));
}
void handle_update() {
pt = server.arg("pt").toFloat();
Serial.println(pt);
server.send(200, "text/plain", "updated");
servo(pt);
}
void loop(){
server.handleClient();
}
void servo(float pt){
if (pt>0 && pt<1024){
float pos = map(pt,0,1023,0,180);
myservo.write(pos);
}
}
```https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/9Pipeline set up for COVID-19 map2020-05-08T15:08:21ZArman NajariPipeline set up for COVID-19 mapI am trying to set up a page to visualize the twites related to Coronavirus and I faced some difficulty.
* first I could not make the pipeline works (I have the **.gilab-ci.yml** file in my repo)
* I cannot find how to add the access ...I am trying to set up a page to visualize the twites related to Coronavirus and I faced some difficulty.
* first I could not make the pipeline works (I have the **.gilab-ci.yml** file in my repo)
* I cannot find how to add the access token to the gitlab .env.
https://gitlab.fabcloud.org/arman.najari/covid-19-map
```
image: python:alpine
before_script:
- pip install -r requirements.txt
pages:
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
```https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/6[Final Project] Local comments2020-03-16T09:58:48Zsantifu[Final Project] Local commentshttps://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/5General issues2020-03-16T10:17:29ZÓscar González fernándezGeneral issuesPost here your issues with the issues.Post here your issues with the issues.https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/4[Input Devices] Local Comments2020-03-16T10:11:20ZÓscar González fernández[Input Devices] Local Comments## Input Devices
https://fabacademy.org/2020/docs/fabacademy-assessment/input_devices.html
The second half of the Fab Academy programme is designed to build on the previous weeks. You will be synthesising information and implementi...## Input Devices
https://fabacademy.org/2020/docs/fabacademy-assessment/input_devices.html
The second half of the Fab Academy programme is designed to build on the previous weeks. You will be synthesising information and implementing skills that you were introduced to in the first half of the programme and encouraged to integrate these into your final project proposal.
### Group assignment
- [ ] Probe an input device's analog levels and digital signals
### Individual assignment
- [ ] Measure something: add a sensor to a microcontroller board that you have designed and read it.
### Learning outcomes
- [ ] Demonstrate workflows used in circuit board design and fabrication
- [ ] Implement and interpret programming protocols
### Have you?
- [ ] Described your design and fabrication process using words/images/screenshots or linked to previous examples.
- [ ] Explained the programming process/es you used and how the microcontroller datasheet helped you.
- [ ] Explained problems and how you fixed them
- [ ] Included original design files and code
Post here problems and issues that you might have in the class.https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/3[Applications and implications] Local Comments2020-03-16T10:11:32ZÓscar González fernández[Applications and implications] Local Comments## Applications and Implications
https://fabacademy.org/2020/docs/fabacademy-assessment/applications_and_implications.html
Propose a final project masterpiece that integrates the range of units covered.
- [ ] Your project should i...## Applications and Implications
https://fabacademy.org/2020/docs/fabacademy-assessment/applications_and_implications.html
Propose a final project masterpiece that integrates the range of units covered.
- [ ] Your project should incorporate 2D and 3D design,
- [ ] additive and subtractive fabrication processes,
- [ ] electronics design and production,
- [ ] microcontroller interfacing and programming,
- [ ] system integration and packaging
- [ ] Where possible, you should make rather than buy the parts of your project
- [ ] Projects can be separate or joint, but need to show individual mastery of the skills, and be independently operable
See Final Project Requirements for a complete list of requirements you must fulfil.
### Learning outcomes
- [ ] Define the scope of a project
- [ ] Develop a project plan Have you answered these questions?
- [ ] what will it do?
- [ ] who has done what beforehand?
- [ ] What will you design?
- [ ] what materials and components will be used?
- [ ] where will they come from?
- [ ] how much will they cost?
- [ ] what parts and systems will be made?
- [ ] what processes will be used?
- [ ] what questions need to be answered?
- [ ] how will it be evaluated?
The answers to the questions above will allow you to create your BOM (Bill Of Materials).
Post here problems and issues that you might have in the class.https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/2[Computer Controlled Machining] Local Comments2020-03-16T10:11:40ZÓscar González fernández[Computer Controlled Machining] Local Comments## Computer-Controlled Machining
https://fabacademy.org/2020/docs/fabacademy-assessment/computer-controlled_machining.html
### Group assignment
- [ ] Test runout, alignment, speeds, feeds, and toolpaths for your machine
- [ ] Document ...## Computer-Controlled Machining
https://fabacademy.org/2020/docs/fabacademy-assessment/computer-controlled_machining.html
### Group assignment
- [ ] Test runout, alignment, speeds, feeds, and toolpaths for your machine
- [ ] Document your work (in a group or individually)
### Individual project
- [ ] Make (design+mill+assemble) something big
### Learning outcomes
- [ ] Demonstrate 2D design development for CNC production
- [ ] Describe workflows for CNC production
### Have you?
- [ ] Linked to the group assignment page
- [ ] Documented how you designed your object (something big)
- [ ] Documented how you made your CAM-toolpath
- [ ] Documented how you made something BIG (setting up the machine, using fixings, testing joints, adjusting feeds and speeds, depth of cut etc.)
- [ ] Described problems and how you fixed them
- [ ] Included your design files and ‘hero shot’ photos of final object
Post here problems and issues that you might have in the class.https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/barcelona/site/-/issues/1[Embedded Programming] Local Comments2020-03-16T10:11:47ZÓscar González fernández[Embedded Programming] Local Comments## Embedded Programming
Evaluation: https://fabacademy.org/2020/docs/fabacademy-assessment/embedded_programming.html
### Group assignment
- [ ] Compare the performance and development workflows for other architectures
### Individual a...## Embedded Programming
Evaluation: https://fabacademy.org/2020/docs/fabacademy-assessment/embedded_programming.html
### Group assignment
- [ ] Compare the performance and development workflows for other architectures
### Individual assignment
- [ ] Read a microcontroller data sheet.
- [ ] Program your board to do something, with as many different programming languages and programming environments as possible.
### Learning outcomes
- [ ] Identify relevant information in a microcontroller data sheet.
- [ ] Implement programming protocols.
### Have you?
- [ ] Documented what you learned from reading a microcontroller datasheet.
- [ ] What questions do you have? What would you like to learn more about?
- [ ] Programmed your board
- [ ] Described the programming process/es you used
- [ ] Included your code
Post here problems and issues that you might have in the class.