Jump to content
43oh

Bernard

Members
  • Content Count

    68
  • Joined

  • Last visited

About Bernard

  • Rank
    Level 1

Profile Information

  • Gender
    Male

Recent Profile Visitors

549 profile views
  1. Hi, Months ago I ordered this booster pack ( 2.2 240x320 LCD V2 )and so far I haven't used it. I would like to know if it is CC3200 compatible. I Dont want to plug it on cc3200 board, just wire it but I do not understand this BP pinout. Can someone help me Thanks and salutations.
  2. Hi, May be this help : http://playground.arduino.cc/Code/TimingRollover Salutations
  3. Hi, Ethernet example " EthernetWebServer " doesn't compile under Energia 013 here is error message : In file included from awebserver.ino:8:0: C:\Users\Nardo\energia-0101E0013\hardware\lm4f\libraries\Ethernet/Ethernet.h:12:28: error: redefinition of 'const IPAddress INADDR_NONE' In file included from C:\Users\Nardo\energia-0101E0013\hardware\lm4f\libraries\Ethernet/Ethernet.h:8:0, from awebserver.ino:8: C:\Users\Nardo\energia-0101E0013\hardware\lm4f\cores\lm4f/IPAddress.h:73:17: error: 'const IPAddress INADDR_NONE' previously declared here Under Energia012 it compiles
  4. I think it's true, although I added a 10uF cap, sometimes the program freeze when server get a client and need more power. I will try a 47uF. To be continued ... Salutations
  5. Hi, Finaly everything is ok .. a 10uF on the nRF24l01 breakout !!! Sorry for the inconvenience caused. Best regards Bernard
  6. @spirillis : thanks for replying. Yes Internet part works when I comment out Enrf24-related items. When I comment out //Ethernet.begin(mac, ip); //server.begin(); radio is ok and I get DHT22 values. Another clue, Resetting the TM4C129 board several times .. sometimes I cans see DHT22 values : copy of terminal with loop debug : Enrf24 radio transceiver status: DEEP SLEEP <1uA power consumption Loop begin <---- nada Enrf24 radio transceiver status: DEEP SLEEP <1uA power consumption Loop begin <---- nada Enrf24 radio transceiver status: DEEP SLEEP <1uA
  7. Hi, Sorry for my previous post, better to forget it . Here is another more clear I hope in order to explain my problem /* TM4C129 SPI module 1 */ #include <Ethernet.h> #include <Enrf24.h> #include <nRF24L01.h> #include <SPI.h> Enrf24 radio(PE_0,PE_2,PE_1); // CE, CSN, IRQ + SCK/MOSI/MISO ==> PB_5/PE_4/PE_5 const uint8_t rxaddr[] = { 0xF0,0xF0,0xF0,0xF0,0xE1 }; unsigned long prev_time; byte mac[] = { 0x00, 0x1A, 0xB6, 0x02, 0xB1, 0x27 }; IPAddress ip(192,168,0, 13); EthernetServer server(80); void setup(){ Serial.begin(115200); Serial.flush(); E
  8. Hi, I would like to centralize several RF sensors on TM4C129 and make a web server, so I write this simple sketch ( may be too simple) But, Serial.println("inbuf"); doesn't work and client.print(inbuf); works once. /* Tiva launchpad connected TM4C129 nRF24L01 RX SPI module 1 26/06/2014 */ #include <Ethernet.h> #include <Enrf24.h> #include <nRF24L01.h> #include <string.h> #include <SPI.h> byte mac[] = { 0x00, 0x1A, 0xB6, 0x02, 0xB1, 0x27 }; byte ip[] = { 192,168,0, 13 }; EthernetServer server(80); Enrf24 radio(PE_0,PE_2,PE_1); // CE, CSN, I
  9. Hi again, I forgot to post the TX side : /* MSP 430g2553 TX DHT22 25/06/2014 */ #include <Enrf24.h> #include <nRF24L01.h> #include <string.h> #include <SPI.h> #include <DHT22_430.h> #define DHTPIN P1_4 DHT22 mySensor(DHTPIN); Enrf24 radio(P2_0, P2_1, P2_2); // P2.0=CE, P2.1=CSN, P2.2=IRQ const uint8_t txaddr[] = { 0xF0,0xF0,0xF0,0xF0,0xE1 }; boolean flag = 0; void dump_radio_status_to_serialport(uint8_t); void setup() { Serial.begin(9600); SPI.begin(); SPI.setDataMode(SPI_MODE0); SPI.setBitOrder(1); // MSB-first mySensor.begin(); radio.b
  10. Hi, Here is a working example TM4C129 using Enrf24 library /* Tiva launchpad connected TM4C129 nRF24L01 RX SPI module 2 25/06/2014 */ #include <Enrf24.h> #include <nRF24L01.h> #include <string.h> #include <SPI.h> Enrf24 radio(PE_0,PE_2,PE_1); // CE, CSN, IRQ + SCK/MOSI/MISO ==> PD_3/PD_0/PD_1 const uint8_t rxaddr[] = { 0xF0,0xF0,0xF0,0xF0,0xE1 }; unsigned long prev_time; void setup() { Serial.begin(9600); Serial.flush(); SPI.setModule(2); SPI.begin(); SPI.setDataMode(SPI_MODE0); SPI.setBitOrder(1); radio.begin(); // Defaults 1Mb
  11. Hi, Thank you energia for reply. I just tried your example under Firefox ubuntu and it perfectly works. I don't know why it doesn't work under Firefox windows .. not a big problem. Salutations
  12. Hi everyone, I have just received TM4C129 evaluation board and test with this program I have found on google. #include <Ethernet.h> // MAC address from Ethernet shield sticker under board byte mac[] = { 0x00, 0x1A, 0xB6, 0x02, 0xB1, 0x27 }; IPAddress ip(192,168, 0, 13); // IP address, may need to change depending on network EthernetServer server(80); // create a server at port 80 void setup() { Ethernet.begin(mac, ip); // initialize Ethernet device server.begin(); // start to listen for clients } void loop() { EthernetClient client = server.available();
  13. Hi, Thank you very much Chicken.. it works perfectly Bernard
×
×
  • Create New...