-
using the ADC with the arduino IDE
12/04/2015 at 19:35 • 0 commentsI've changed the two ADC resistors to 10k and 3.9k, giving me a range of 0V - 4.9V to be able to check the battery connected to the system.
Here's a little conversion script for reading and printing the values. I'm high on sugar, so it took me longer than I am able to admit :D
int r1 = 3883; int r2 = 1000; void setup() { Serial.begin(9600); } void loop() { float val = analogRead(A0); float vout = (val) * (r1 + r2) / r2 / 1023; Serial.print(val); Serial.print(" - "); Serial.println(vout); delay(200); }
-
all hand soldered
11/07/2015 at 20:24 • 4 comments -
15 dirtypbcs!
10/07/2015 at 15:02 • 11 commentstime for projects... need ideas :D
-
some updates on the 3.3V version
08/24/2015 at 14:03 • 2 comments- switched RX and TX signals
- [fixed thanks @Stefan Lochbrunner] added mini usb footprint (can't find a micro footprint and am a bit too lazy to make one)
- moved up the FTDI headers and squished the buttons to the side to make room
- moved 5V input header because it was to near to the screws
-
dirtyPCBs are in
08/17/2015 at 14:14 • 3 commentsA bit late, but I like them :)
-
some notes
08/04/2015 at 20:38 • 9 comments- I should compare the pinouts of my FTDI dongles, they seem to be different on RX vs. TX
- the pin holes for the ESP-01 version are way to tight
- I might add another 10uF cap near to the ESP module
- USB micro footprint for 5V in ?
-
boards are in
08/04/2015 at 09:02 • 2 commentsI'm a bit soldering shy right now, because tomorrow I'll fly to Marrakesh because of work. Don't be jealous, it's hot over there 40C - 104F and I won't be on a vacation!
Anyway, I'm so behind with the ESP8266 that I really look forward to do something with it. As soon as I have validated this board, I'll update the github repo and make a fixed link to OSHPark and dirtypcbs, maybe a log where people can exchange boards if they have plenty - that would be cool.
-
a general dissatisfaction with the overall situation and why dirtypcbs.com is awesome
07/20/2015 at 11:33 • 5 comments"a general dissatisfaction with the overall situation" - that's a loosely translation of a german movie quote which describes my feelings with the postal offices in Germany. So it might have been, that the boards where already as close as 20m (that's 60feet?) from my flat, but I wasn't around to pick it up since I was in America at that time and my flower watering guy was not able to pick it up from the post-office where it was brought to because I did not write an warrant. I still wonder why a 16mm package wouldn't fit in my post box, but anyway. My flower guy told me that only yesterday, so with 2 weeks of holding time for international packages they probably got send back.
So I wrote exactly that to the dirtypcbs.com guys and they replied pretty fast ( < 1 hour), considering their disclaimer, and they will make new ones and send them to me! Awesome! Makes me want to create 10x10 boards now.
-
12E board ordered
07/18/2015 at 22:04 • 0 commentsSo since my boards I ordered at dirtypcbs.com are still not here I took the time and designed the 3.3V 12E version and ordered it at OSHpark - almost 20bugs for 3 boards, but I want them badly, so I ordered them! They are also Sick-Of-Beige compliant.
-
waiting...
07/16/2015 at 21:28 • 0 commentsHmm, 5 weeks away and the boards are not here yet :( I got the LM75 boards though.
// wire is no hardware I2C but software #include <Wire.h> int t,l; void setup() { Wire.begin(); // pins 2 and 14 are SDA and SCL by default Serial.begin(9600); Serial.println("Reading the LM75"); } void loop() { Wire.write(0x00); // 0x48 or 0xC8 // B1001111 Wire.requestFrom(0x48, 2); while(Wire.available()) { int8_t msb = Wire.read(); int8_t lsb = Wire.read(); // strip one bit of the lsb lsb = (lsb & 0x80 ) >> 7; // now lsb = 0 or 1 // add to to form an float float f = msb + 0.5 * lsb; Serial.println(f,1); } delay(1000); }