-
-
Out of interest are people adding female or male headers on to the boards? Also anyone prefer them on the top of bottom of the board. I've been using female headers at the moment on the outer pins pointing out from the top but I'm tempted to go with male pins on the new board I bought facing down so i can push the board in to a breadboard.
-
-
Just had a quick look through and since I'm still a js newbie I'm guessing I need to do the following:
- remove the serial port require
- replace all serial port references with similar serial references as per espruino serial.setup etc
- remove event emitter?! or does espruino have this lib in place already? and replace with ..?
Ok I'm stuck already @Gordon any tips? I don't mind doing the leg work :)
- remove the serial port require
-
Just found this library which I think I might butcher up and create a module for us:
https://github.com/emilsedgh/modem/blob/master/lib/modem.js
-
-
-
-
I think to someone who has not come from a JS background at first it did catch me off guard as I was thinking hmmm has something gone wrong here. However after reading up a bit on the site and realising why it was happening I'm quite comfortable with the output.
As you say it can "look messy" but I'm not overly worried about that. I assume this question has come up a few times when doing demos/needed explanation?
-
-
-
@mattbrailsford thanks, I've just received my replacement Espruino and I've sorted out a few of my arduino shields to run through:
- GPS (Adafruit ultimate shield)
- GSM (Official Arduino, with the capacitor which has been known to explode)
- Wi-Fi (Official Arduino shield plus has XBee connector)
- SD Card (Official)
- Stepper/Servo Shield (Chinese Copy)
I have a few more but if the above pass then all should be ok. The GSM shield is the one I'm most interested in as its been known to be a pain even when sat on top of a Uno.
- GPS (Adafruit ultimate shield)
-
-
-
-
@Hardware_Hacks - http://c-mobberley.com/wordpress/ - adafruit learning publisher
-
-
Just taken a look at the link and USB dongles have always been an option but for my projects I was always looking for breadboard friendly and low powered solutions which is why I ended up with the click. However saying that there is nothing stopping you getting a gsm dongle as suggested and soldering in some jumper wires on to the contacts of the USB and then putting these wires into your espruino pins.
One thing to note is pay attention to the current requirements of the module, some require up to 2Amps in bursts which can be a real pain. However most USB modules should be OK due to laptops not being able to output this much from standard USB ports.
-
-
It lives again thanks to the alternative wiring method! =]
Connected =undefined >echo(0); <<<<<{"VERSION":"1v55","BUILD_DATE":"Mar 3 2014","BUILD_TIME":"17:37:21","BOARD":"ESPRUINOBOARD","CHIP":"STM32F103RCT6","CHIP_FAMILY":"STM32F1","FLASH":262144,"RAM":49152,"SERIAL":"33FFD505-41573033-23501043","CONSOLE":"Serial1"}>>>>> =undefined >
-
-
-
So after a few tweets back and forth with @Gordon regarding a GSM library I thought I would first make a small attempt at producing something which will send a SMS and then build from there.
Little did I know I have naff all javascript skills so began the learning process. After a few hours I have ended up with the following code:
https://gist.github.com/Hardware-Hacks/2fffb92cb3b277585cd9#file-gistfile1-js
I'm not going to overly explain what is going on as you can all read but the stop and start GSM functions are specific to the GSM2 Click board which is based on the M95 GSM chip. Everything else should hopefully be quite generic.
A few things I know need improving which I would love some help on:
Any help points/leg work much appreciated =]