poltreal.blogg.se

Raspberry pi vs arduino for nixie tube block
Raspberry pi vs arduino for nixie tube block












raspberry pi vs arduino for nixie tube block
  1. #Raspberry pi vs arduino for nixie tube block serial
  2. #Raspberry pi vs arduino for nixie tube block full
  3. #Raspberry pi vs arduino for nixie tube block software
  4. #Raspberry pi vs arduino for nixie tube block code

As of August 2012, here are some representative prices: Arduino Ethernetĭespite being cheaper, software development is easier on the Raspberry Pi. In fact, its biggest downside is the complete lack of any mounting holes on the PCB! By contrast the Raspberry Pi is both cheaper and easier to use. I’ve wanted to build an NTP driven clock for ages, but using an Arduino or a PIC seemed to be quite a lot of hassle and fairly expensive. Needless to say the regulator was the most significant part of the electronics!īoth the inverter and the regulator fitted easily on a small piece of stripboard.įinally, we obviously want to run only one cable to the clock, so I hacked the clock to accept the +12V from one of the spare pins on the GPS input connection (pin 6 in case I forget). It’s true that something like a 7805 would work, but you’d have to dissipate about 3W of heat which is a bit of a bore. The Pi wants 5V, so I built a simple switching regulator around a LMZ12002 10 to drop the voltage. The power supply supplied with the clock is rated at 1.5A though, so obviously the best solution would be to power the Raspberry Pi from that too. The clock needs a 12V supply, and draws about 500mA in normal operation. Obviously it would be nice to minimize the number of power supplies and cables we need. A simple NPN-transistor inverter converts the levels into something the clock will accept: Logic LevelĪs you’ll see the conversion isn’t faithful, but it works.

#Raspberry pi vs arduino for nixie tube block serial

Interfacing the Raspberry Pi’s serial output to the Nixie clock proved equally easy.

raspberry pi vs arduino for nixie tube block

#Raspberry pi vs arduino for nixie tube block code

You can grab the code from github 9 Hardware In fact, the most difficult part wasn’t making the serial port say the right things, but telling the kernel to keep its hands off! Happily Clayton Smith provided an excellent recipe 8 to do this.īy contrast, the software itself is just a few lines of Perl. To avoid running an Ethernet cable, I installed one of those dinky USB WiFi adapters.

#Raspberry pi vs arduino for nixie tube block full

To synthesize the fake GPS signal, a Raspberry Pi 7 seemed the obvious choice: it’s cheap and small, yet runs a full Linux distribution. Extracts the time from the GPRMC sentence.This implies that a ‘1’ is represented by a negative voltage and a ‘0’ by a positive one. Expects a normal 4800 baud, 8N1 NMEA serial signal.Happily Dieter at Nocrotec quickly supplied the answers.

raspberry pi vs arduino for nixie tube block

The kit is almost too easy to build, because most of the components are SMD parts which are pre-soldered to the PCB.Īlthough the documentation includes the pin-out for the GPS, it is silent about which signals are expected. The ИН-18 Blue Dream 4 was the nicest looking clock kit I could find, so I bought one.

raspberry pi vs arduino for nixie tube block

I was sure I could replace the GPSr with a computer and fake the signal. That seemed easier, but then a better idea struck me: some of the clock designs accept NMEA 3 data from a GPS receiver. Perhaps I could adapt a kit: most of the clocks have a microcontroller inside, so my next idea was to take an existing clock kit and hack the firmware. My initial plan was to design my own clock, but it seemed unlikely that I’d make anything which looked as good as the kits, even were I to spend a lot of time on the process. 2 That way, it would always be accurate, even jumping forwards and back to accommodate summer time. I thought it would be fun to build a Nixie Clock, but I wanted one which got the time from the Internet using NTP.














Raspberry pi vs arduino for nixie tube block