Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. sj44k
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    sj44k

    @sj44k

    3
    Reputation
    35
    Posts
    729
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    sj44k Follow

    Best posts made by sj44k

    • RE: Raspberry GPIO NRF24l01+ make error

      YEAH !
      It works !! thanks for pointing me in the right direction !
      Arduino needed the right scketch uploade (I messed so much with it I needed to go back which I just did)

      As a reference for all who are trying to get this to work.

      Use this pinout for the RPI B+
      Radio 1 grijs GND Rpi 25
      Radio 2 paars 3v3 Rpi 17
      Radio 3 blauw CE Rpi 22
      Radio 4 groen CS Rpi 24
      Radio 5 Geel SCK Rpi 23
      Radio 6 oranje MOSI Rpi 19
      Radio 7 Rood MISO Rpi 21

      Arduino Mega
      Radio 1 GND Paars Arduino GND
      Radio 2 3v3 Blauw Arduino 3,3v
      Radio 3 CE Groen Arduino 48
      Radio 4 CS Geel Arduino 49
      Radio 5 SCK Oranje Arduino 52
      Radio 6 MOSI Rood Arduino 51
      Radio 7 MISO Bruin Arduino 50

      I used the Libs mentioned in the post above by Vladut Grecu :
      https://github.com/mysensors/Raspberry

      I used this Temperature sketch :
      http://www.mysensors.org/build/temp

      Before I did got the Temp sketch operational I needed to clear my EEprom :
      http://arduino.cc/en/Tutorial/EEPROMClear

      /*
       * EEPROM Clear
       *
       * Sets all of the bytes of the EEPROM to 0.
       * This example code is in the public domain.
      
       */
      
      #include <EEPROM.h>
      
      void setup()
      {
        // write a 0 to all 512 bytes of the EEPROM
        for (int i = 0; i < 512; i++)
          EEPROM.write(i, 0);
         
        // turn the LED on when we're done
        digitalWrite(13, HIGH);
      }
      
      void loop()
      {
      }
      

      Than we need to edit the sketch a bit due to the fact that the Rpi gateway DOES NOT hand out the Node ID's automaticly, and the Sketch is not Arduino Mega compatible so :

      Set the Node ID manualy add

      gw.begin(NULL,10,false);
      

      Make sure the sketch is compatible with the Arduino MEGA pins (as published abover here)
      Change Line 12 in the sketch :

      MySensor gw;
      

      into

      MySensor gw(48,49)
      

      Than compile and hook everything up and upload the compiled sketch and start the Rpi (SPI enabled) and start
      ./PiGatewaySerial

      Output should show on your Pi when you
      Cat /dev/ttyMySensorsGateway

      Big Thank you to @Vladut-Grecu !

      posted in Controllers
      sj44k
      sj44k
    • RE: [security] Introducing signing support to MySensors

      @Anticimex
      Thanks for that info, to me it is clear that depending on the used pin in the software one should connect the ATSHA204A corresponding with the software.
      Picture does show you being correct how simple it really is to embed the ATSHA204A hardware in the total setup.

      posted in Development
      sj44k
      sj44k

    Latest posts made by sj44k

    • RE: Building an Ethernet Gateway on an Arduino Mega

      Nope but winter season is starting again so I have some spare time not being "outside" so I will be starting this project back up

      posted in Troubleshooting
      sj44k
      sj44k
    • RE: Building an Ethernet Gateway on an Arduino Mega

      @barduino
      Can you help me out here, I do not get your remark :
      So first step was to connect the wireless module to the ICSP

      As my Ethershield is using this, how will this work together with the radio and the ethershield connected to the same pins ?
      My guess I am not getting exactly what you mean.

      posted in Troubleshooting
      sj44k
      sj44k
    • RE: Building an Ethernet Gateway on an Arduino Mega

      @BulldogLowell

      :)Hunt for the red october classic 🙂

      posted in Troubleshooting
      sj44k
      sj44k
    • RE: Building an Ethernet Gateway on an Arduino Mega

      I use the ethernet gateway example of this site, and I am absolutely 100% sure it does reply on ping as when I use the same code on my UNO with the same shield, I do get an reply.
      When switching the shield to the MEGA, and placing the pins on 14 15 and 16 nothing happens.

      Do you get a ping ?

      posted in Troubleshooting
      sj44k
      sj44k
    • RE: Building an Ethernet Gateway on an Arduino Mega

      @MSchmidke I am going to try this asap and post my findings .. but sir .. could you please share with me (and the rest of the world ) how did you find out about these pins ? I love solutions but I crave to understand WHY 🙂

      But still if this works you deserve my everlasting respect for finding it and sharing !

      @Heinz
      Are you using an Arduino MEGA ? I guess you are not.

      [one hour later]
      Ok figures that you choose 14/15/16 on the mega 🙂 the RF24config.h states :

      `      const uint8_t SOFT_SPI_MISO_PIN = 16; 
            const uint8_t SOFT_SPI_MOSI_PIN = 15; 
            const uint8_t SOFT_SPI_SCK_PIN = 14;  
      

      But having that said I still am not getting a reply on a ping when I ping the ethershield .. so we are close .. but not there yet 🙂

      I do get the

      0;0;3;0;14;Gateway startup complete.
      

      So that's further than I've been so far ..

      posted in Troubleshooting
      sj44k
      sj44k
    • RE: Programming the Arduino Pro Mini 3.3V

      @tejo
      What do you propose exactly ? An ISP is needed to do the bootloader burn. But as the BLINK sketch the supplier loaded the bootloader is working right otherwise the system would not be able to run the BLINK sketch.

      Could you be a bit more specific ? I would still love to get this to work 🙂

      posted in Hardware
      sj44k
      sj44k
    • RE: Programming the Arduino Pro Mini 3.3V

      @Sparkman Thanks !

      posted in Hardware
      sj44k
      sj44k
    • RE: Programming the Arduino Pro Mini 3.3V

      Well so far no luck, and someone I know has exact the same issues, bought the boards from another seller (batch of 10) but the boards look 100% alike as fare my naked eye can tell.

      We did a lot of different experiments, which where all 100% successful on the 5v version, even with the FDTI on 3,3 volts (fluke multimeter checked) the 5v versions behaves perfect, the 3,3volts no luck whatsoever.

      My guess is that it's either a bad batch or completely fake.
      Took me too much time so might experiment a bit with it.

      Will order a different type to see if this a bad batch.

      If anyone has a supplier (link) they received working 3,3v Pro Mini board from ? This would be very valuable information

      posted in Hardware
      sj44k
      sj44k
    • RE: Help with ethernet GW

      It will not work with this IP address, and you have to put an IP address in manual in your sketch (DHCP does not work)
      The Ethernet sketch example shows at lines 64 to 69:

      IPAddress myIp (192, 168, 178, 66);  // Configure your static ip-address here    COMPILE ERROR HERE? Use Arduino IDE 1.5.7 or later!
      
      // The MAC address can be anything you want but should be unique on your network.
      // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
      // Note that most of the Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
      byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };  // DEAD BEEF FEED
      

      So IP: 192.168.178.66
      MAC : DEAD BEEF FEED"

      Did you use this sketch or can you try this one and post your results ?

      posted in Troubleshooting
      sj44k
      sj44k
    • RE: Programming the Arduino Pro Mini 3.3V

      @grzegorzc
      You are correct I need to do the manual reset I tried (at least 30 times) , but as stated above unsuccessful.

      I use the same procedure for the 5v version and I have a success rate of 95%. So I do not get it.

      I will get my hands on an FDTI with DTR Line this week hope this will solve my issue but current setup seems unsuccessful with the 3,3v Pro Mini.
      [update]

      I worked yesterday with this FTDI USB to TTL Serial Adapter Module for Arduino Mini Port 3.3V 5V and still no luck.

      Same behavior all over, my 5v arduino pro mini boards worked like a charm, but when I changed the arduino boards to this 3,3v Arduino pro mini board no luck what so ever.
      Jumper is on 3,3v and Arduino runs the pre programmed BLINK sketch fine, but no way on earth I am getting it programmed with another (not even an empty) sketch.

      Anyone ?

      posted in Hardware
      sj44k
      sj44k